From: <hu...@us...> - 2002-10-25 16:19:35
|
Update of /cvsroot/libexif/exif In directory usw-pr-cvs1:/tmp/cvs-serv25751 Modified Files: autogen.sh Log Message: We use libtool in this package. So we add libtoolize. End of discussion. :-) Index: autogen.sh =================================================================== RCS file: /cvsroot/libexif/exif/autogen.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- autogen.sh 5 Oct 2002 18:10:45 -0000 1.7 +++ autogen.sh 25 Oct 2002 15:06:35 -0000 1.8 @@ -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 |