edink Wed Feb 9 13:02:08 2005 EDT
Modified files:
/livedocs configure.in
Log:
Fixed config.nice problem #31783
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.29&r2=1.30&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.29 livedocs/configure.in:1.30
--- livedocs/configure.in:1.29 Thu Nov 11 14:33:27 2004
+++ livedocs/configure.in Wed Feb 9 13:02:08 2005
@@ -1,9 +1,16 @@
## A configure script
-## $Id: configure.in,v 1.29 2004/11/11 19:33:27 wez Exp $
+## $Id: configure.in,v 1.30 2005/02/09 18:02:08 edink Exp $
AC_PREREQ(2.13)
AC_INIT(livedoc.php)
+dnl Generate config.nice (primitive, but saves some brain power)
+dnl need to do this before other stuff eats up our args
+
+echo "#!/bin/sh" > config.nice
+echo "./configure $@" >> config.nice
+chmod +x config.nice
+
AC_ARG_WITH(php,[ --with-php[=PATH] Look for PHP executable
needed for livedocs scripts],
[
if test $withval != "yes"; then
@@ -156,12 +163,5 @@
echo ""
echo "You have configured livedocs so that links are relative to
http://yourserver$WEBBASE"
echo "$OUTPUTDIR is assumed to be the dir that is displayed by your
webserver for that URL"
-
- dnl Generate config.nice (primitive, but saves some brain power)
-
- echo "#!/bin/sh" > config.nice
- echo "./configure $*" >> config.nice
- chmod +x config.nice
-
fi
dnl vim:et:sw=2:ts=2