From: Kimmo Suominen Date: Sun, 16 Jul 2000 06:01:28 +0000 (+0000) Subject: If $LIBTOOL is empty we should not try to run it. X-Git-Tag: RELEASE_1_2~231 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=6c381309884f3bf4e5ce90ea632509d615bdc3e4;p=mmh If $LIBTOOL is empty we should not try to run it. This gets rid of the "--version: not found" error. --- diff --git a/configure.in b/configure.in index c264d6e..d80a2d2 100644 --- a/configure.in +++ b/configure.in @@ -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 ] )