edink Thu Feb 10 07:30:47 2005 EDT
Modified files:
/livedocs configure.in
Log:
Quote args in config.nice
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.31&r2=1.32&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.31 livedocs/configure.in:1.32
--- livedocs/configure.in:1.31 Wed Feb 9 17:16:00 2005
+++ livedocs/configure.in Thu Feb 10 07:30:47 2005
@@ -1,5 +1,5 @@
## A configure script
-## $Id: configure.in,v 1.31 2005/02/09 22:16:00 iliaa Exp $
+## $Id: configure.in,v 1.32 2005/02/10 12:30:47 edink Exp $
AC_PREREQ(2.13)
AC_INIT(livedoc.php)
@@ -8,7 +8,12 @@
dnl need to do this before other stuff eats up our args
echo "#!/bin/sh" > config.nice
-echo "./configure $@" >> config.nice
+echo "./configure \\" >> config.nice
+for arg in "$@"; do
+ echo "'$arg' \\" >> config.nice;
+done
+echo '"$@"' >> config.nice
+
chmod +x config.nice
AC_ARG_WITH(php,[ --with-php[=PATH] Look for PHP executable
needed for livedocs scripts],