automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AM_MISSING_HAS_RUN fails when spaces in path


From: Daniel Stenberg
Subject: AM_MISSING_HAS_RUN fails when spaces in path
Date: Wed, 18 Jan 2006 11:14:42 +0100 (CET)

Hi

Here's a dead simple little patch that fixes a bug that seems to have existed since Aug 23 2001:

2006-01-18 Daniel Stenberg <address@hidden>

* m4/missing.m4: (AM_MISSING_HAS_RUN) Quote the full path to the missing
  script properly so that it can deal with paths containing spaces (and
  similar)


--- /usr/share/aclocal-1.9/missing.m4   2005-07-13 08:04:52.000000000 +0200
+++ missing.m4-removed  2006-01-18 10:41:20.538774422 +0100
@@ -23,7 +23,7 @@
 # If it does, set am_missing_run to use it, otherwise, to nothing.
 AC_DEFUN([AM_MISSING_HAS_RUN],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+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 "


--
         -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol




reply via email to

[Prev in Thread] Current Thread [Next in Thread]