aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-18 10:00:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-18 10:00:36 +0000
commit65afc576ea1888d4e51e436c2910b8823b2421a9 (patch)
tree04dd40516249bf10fd765ea54d7fb1fb56d95fcc /acinclude.m4
parent8971f656b4bb1a178b59aa730da67a8e5aeabaee (diff)
configure no longer warns on "missing" if the current path contains a space
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m416
1 files changed, 16 insertions, 0 deletions
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
+])