From 65afc576ea1888d4e51e436c2910b8823b2421a9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Jan 2006 10:00:36 +0000 Subject: configure no longer warns on "missing" if the current path contains a space --- acinclude.m4 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 8aeb49708..546c373d6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1302,3 +1302,19 @@ else AC_MSG_RESULT($DLFOUNDFILE) fi ]) + +# This is only a temporary fix. This macro is here to replace the broken one +# delivered by the automake project (including the 1.9.6 release). As soon as +# they ship a working version we SHOULD remove this work-around. + +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} \"$am_aux_dir/missing\"" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) -- cgit v1.2.3