From 6c381309884f3bf4e5ce90ea632509d615bdc3e4 Mon Sep 17 00:00:00 2001 From: Kimmo Suominen Date: Sun, 16 Jul 2000 06:01:28 +0000 Subject: [PATCH] If $LIBTOOL is empty we should not try to run it. This gets rid of the "--version: not found" error. --- configure.in | 2 ++ 1 file changed, 2 insertions(+) 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 ] ) -- 1.7.10.4