wez Wed Jan 15 22:11:08 2003 EDT
Modified files:
/phpdoc configure.in
Log:
Correct a slight mistake introduced by goba in revision 1.176.
If you ./configure --with-htmlcss=http://sample.com/style.css,
MANUAL="php_manual_$withval" would pick up the URL of the stylesheet and
not the default language selection, and cause the generation of rules such as:
bightml: php_manual_http://sample.com/style.css
This would cause make to fail.
(A general rule of autoconf is not to use $withval outside of an
AC_ARG_WITH declaration)
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.177 phpdoc/configure.in:1.178
--- phpdoc/configure.in:1.177 Sat Jan 11 09:03:31 2003
+++ phpdoc/configure.in Wed Jan 15 22:11:07 2003
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.177 2003/01/11 14:03:31 sander Exp $
+dnl $Id: configure.in,v 1.178 2003/01/16 03:11:07 wez Exp $
dnl autoconf initialisation
AC_INIT()
@@ -443,6 +443,7 @@
[ --with-lang=LANG Choose a language to work with],[
if test "$withval" = "yes"; then
LANG=en
+ MANUAL="php_manual_$LANG"
AC_MSG_RESULT([en (default)])
else
if test ! -d "$srcdir/$withval"; then
@@ -473,18 +474,18 @@
LANG=$withval
LANGDIR=$withval
esac
+ MANUAL="php_manual_$withval"
AC_MSG_RESULT( $withval )
fi
],[
LANG=en
LANGDIR=en
+ MANUAL="php_manual_$LANG"
AC_MSG_RESULT([en (default)])
])
AC_SUBST(LANG)
AC_SUBST(LANGDIR)
AC_SUBST(PHP_BUILD_DATE)
-
-MANUAL="php_manual_$withval"
AC_SUBST(MANUAL)
dnl localize paper size by language
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php