From: <hu...@us...> - 2002-10-17 17:07:26
|
Update of /cvsroot/libexif/gexif In directory usw-pr-cvs1:/tmp/cvs-serv13112 Modified Files: autogen.sh Log Message: doesnt't build without libtool Index: autogen.sh =================================================================== RCS file: /cvsroot/libexif/gexif/autogen.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- autogen.sh 5 Oct 2002 18:10:53 -0000 1.5 +++ autogen.sh 17 Oct 2002 17:07:23 -0000 1.6 @@ -46,6 +46,14 @@ DIE=1 } +(libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtool installed to compile $PROJECT." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/gnu/libtool/" + DIE=1 +} + (automake${AUTOMAKE_SUFFIX} --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have automake installed to compile $PROJECT." @@ -134,6 +142,12 @@ ( sed -e 's#\(^SUBDIRS.*\)$#\1 intl#' Makefile.am >Makefile.am.new \ && mv Makefile.am.new Makefile.am ) esac + + echo "Cleaning stuff generated by libtoolize" + rm -f ltmain.sh config.guess config.sub + + echo "Running libtoolize --copy" + libtoolize --copy || fail echo "Cleaning stuff generated by aclocal" rm -f aclocal.m4 |