]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
trivial change allowing LIBTOOL var to specify where libtool lives, just
authorNathan Scott <nathans@sgi.com>
Fri, 23 Aug 2002 07:19:00 +0000 (07:19 +0000)
committerNathan Scott <nathans@sgi.com>
Fri, 23 Aug 2002 07:19:00 +0000 (07:19 +0000)
the same as we do for other build tools.

configure.in

index e147d4405ca8a009112db0a3e75878a823c431ee..f6a09472ee41fd17c5193bb0fcf80d3933890ec9 100644 (file)
@@ -8,7 +8,7 @@ AC_SUBST(pkg_name)
 # defaults (to change paths and/or executables, build parameters, etc):
 #
 #   DEBUG  OPTIMIZER  MAKE  CC  LD  TAR  ZIP  RPM  AWK  SED  ECHO
-#   MALLOCLIB  DISTRIBUTION  PACKAGE_BUILDER
+#   LIBTOOL  MALLOCLIB  DISTRIBUTION  PACKAGE_BUILDER
 #
 
 DEBUG=${DEBUG:-'-DDEBUG'}              # -DNDEBUG
@@ -120,7 +120,7 @@ echo=$ECHO
 AC_SUBST(echo)
 
 dnl ensure libtool is installed
-AC_PATH_PROG(LIBTOOL, libtool,,/usr/bin)
+test -z "$LIBTOOL" && AC_PATH_PROG(LIBTOOL, libtool,,/usr/bin)
 if test "$LIBTOOL" = ""; then
        echo
        echo 'FATAL ERROR: libtool does not seem to be installed.'