aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-08-23 07:19:00 +0000
committerNathan Scott <nathans@sgi.com>2002-08-23 07:19:00 +0000
commit5fbdd011f332460813ec0ed93b880f86609a4e99 (patch)
tree727913f61a64292dfbc1345deb1573938c954e23
parenta7f6e05576f1deb5d099c8625736b70037a8ef35 (diff)
downloaddmapi-dev-5fbdd011f332460813ec0ed93b880f86609a4e99.tar.gz
trivial change allowing LIBTOOL var to specify where libtool lives, just
the same as we do for other build tools.
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 310c6e1..5b8e762 100644
--- a/configure.in
+++ b/configure.in
@@ -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 @@ AC_CHECK_HEADER(xfs/handle.h,, [
])
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.'