cvs: php-gtk-doc / configure.in
| From: | Steph Fox | Date: | Tue, 28 Mar 2006 17:08:40 +0000 |
| Subject: | cvs: php-gtk-doc / configure.in | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-2029@lists.php.net to get a copy of this message | ||
sfox Tue Mar 28 17:08:40 2006 UTC
Modified files:
/php-gtk-doc configure.in
Log:
This version gives me:
$ autoconf -Wall
configure.in:130: warning: AC_OUTPUT should be used without arguments.
configure.in:130: You should run autoupdate.
- but if I run autoupdate, it doesn't work with autoconf 2.13
Please test!
http://cvs.php.net/viewcvs.cgi/php-gtk-doc/configure.in?r1=1.30&r2=1.31&diff_format=u
Index: php-gtk-doc/configure.in
diff -u php-gtk-doc/configure.in:1.30 php-gtk-doc/configure.in:1.31
--- php-gtk-doc/configure.in:1.30 Sun Mar 26 19:00:10 2006
+++ php-gtk-doc/configure.in Tue Mar 28 17:08:40 2006
@@ -14,9 +14,9 @@
# +----------------------------------------------------------------------+
#
-# $Id: configure.in,v 1.30 2006/03/26 19:00:10 sfox Exp $
+# $Id: configure.in,v 1.31 2006/03/28 17:08:40 sfox Exp $
-AC_INIT
+AC_INIT([manual/global.ent])
make_command=""
for a in "$MAKE" make gmake gnumake; do
@@ -31,8 +31,6 @@
AC_MSG_ERROR(GNU make is required)
fi
-AC_CONFIG_SRCDIR([manual/global.ent])
-
AC_PATH_PROG(XSLTPROC, xsltproc, no)
if [ test "$XSLTPROC" = "no" ]; then
AC_MSG_ERROR(cannot find xsltproc)
@@ -62,7 +60,8 @@
AC_SUBST(TS)
AC_MSG_CHECKING(for language)
-AC_ARG_WITH(lang, AC_HELP_STRING([--with-lang=LANG], [choose a language to work with]),
+AC_ARG_WITH(lang,
+[ --with-lang=LANG choose a language to work with],
[
if [ test ! -d "$MANUAL/$withval" ]; then
AC_MSG_RESULT()
@@ -80,7 +79,8 @@
AC_SUBST(LANGDIR)
# need an old copy of the source to check against for updates
-AC_ARG_WITH(history, AC_HELP_STRING([--enable-history=PATH], [path to archived module copy (for
updates)]),
+AC_ARG_WITH(history,
+[ --with-history=PATH path to archived module copy (for updates)],
[
HISTORY=$withval
AC_MSG_CHECKING(for archive path)
@@ -106,7 +106,8 @@
# make quiet builds optional
AC_MSG_CHECKING(whether to build silently)
-AC_ARG_ENABLE(output, AC_HELP_STRING([--disable-output], [whether to build silently]),
+AC_ARG_ENABLE(output,
+[ --disable-output whether to build silently],
[
RESULT=yes
QUIET=1
@@ -119,16 +120,14 @@
AC_MSG_RESULT($RESULT)
AC_SUBST(QUIET)
-AC_CONFIG_FILES([\
+AC_OUTPUT([ \
Makefile \
$SCRIPT_DIR/manual.xml \
$SCRIPT_DIR/mtoc.xml \
$SCRIPT_DIR/testmanual.xml \
-$STYLESHEET_DIR/chunk.xsl \
$STYLESHEET_DIR/phpweb.xsl \
$STYLESHEET_DIR/updates.xsl \
$SCRIPT_DIR/genchapterents.php ])
-AC_OUTPUT
echo creating chapters.ent
$PHP -q $SCRIPT_DIR/genchapterents.php > $MANUAL/chapters.ent