From: behdad Date: Sat, 27 Aug 2005 10:21:51 +0000 (+0000) Subject: Small change to not run libtool if the package doesn't use it. X-Git-Tag: FRIBIDI_0_19_1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff7183b4f6f87ea018486334c5e9b73ceffbd360;p=fribidi Small change to not run libtool if the package doesn't use it. --- diff --git a/bootstrap b/bootstrap index d475c80..14e9ee6 100755 --- a/bootstrap +++ b/bootstrap @@ -1,9 +1,9 @@ #! /bin/sh ############################################################################## -# $Id: bootstrap,v 1.3 2004-06-04 09:41:11 behdad Exp $ +# $Id: bootstrap,v 1.4 2005-08-27 10:21:51 behdad Exp $ # $Author: behdad -# $Date: 2004-06-04 09:41:11 $ -# $Revision: 1.3 $ +# $Date: 2005-08-27 10:21:51 $ +# $Revision: 1.4 $ # $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/bootstrap,v $ ############################################################################## # -*- Bootstrap -*- @@ -117,7 +117,9 @@ else # add files 'config.guess', 'config.sub', 'ltconfig', 'ltmain.sh' test -f Makefile.am && MY_LIBTOOLIZEFLAGS=--automake -$DRYRUN libtoolize $HELP $VERSION $COPY $DEBUG $FORCE $MY_LIBTOOLIZEFLAGS $LIBTOOLIZEFLAGS || exit $? +if grep -q '^ *AC_PROG_LIBTOOL' configure.ac configure.in 2>/dev/null; then + $DRYRUN libtoolize $HELP $VERSION $COPY $DEBUG $FORCE $MY_LIBTOOLIZEFLAGS $LIBTOOLIZEFLAGS || exit $? +fi # generate 'aclocal.m4' if test -f configure.ac -o configure.in; then