If $LIBTOOL is empty we should not try to run it.
authorKimmo Suominen <kimmo@suominen.com>
Sun, 16 Jul 2000 06:01:28 +0000 (06:01 +0000)
committerKimmo Suominen <kimmo@suominen.com>
Sun, 16 Jul 2000 06:01:28 +0000 (06:01 +0000)
This gets rid of the "--version: not found" error.

configure.in

index c264d6e..d80a2d2 100644 (file)
@@ -14,11 +14,13 @@ dnl define a macro or two
 dnl ---------------------
 
 AC_DEFUN(NMH_PROG_GNU_LIBTOOL, [
+if test -n "$LIBTOOL" ; then
   tmptest=`$LIBTOOL --version 2>&1 | grep GNU`
   if test x"$tmptest" != x  ; then
     GNU_LIBTOOL=1
     AC_SUBST(GNU_LIBTOOL)dnl
   fi
+fi
 ] )