From ff7183b4f6f87ea018486334c5e9b73ceffbd360 Mon Sep 17 00:00:00 2001 From: behdad Date: Sat, 27 Aug 2005 10:21:51 +0000 Subject: [PATCH] Small change to not run libtool if the package doesn't use it. --- bootstrap | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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