jimw Sun Jan 6 13:22:27 2002 EDT
Modified files:
/phpdoc configure.in
Log:
Tiny fix to output when updating entities/chapters.ent.
Try to use AC_PATH_PROGS to find PHP CGI binary named 'php4' on Debian
systems. Doesn't work, since AC_PATH_PROGS appears to be broken. (But
it does still find it if it is called 'php', so left the change in so
when autoconf is fixed, the test will start working.)
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.100 phpdoc/configure.in:1.101
--- phpdoc/configure.in:1.100 Sun Jan 6 11:23:19 2002
+++ phpdoc/configure.in Sun Jan 6 13:22:27 2002
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.100 2002/01/06 16:23:19 hholzgra Exp $
+dnl $Id: configure.in,v 1.101 2002/01/06 18:22:27 jimw Exp $
dnl autoconf initialisation
AC_INIT()
@@ -22,10 +22,10 @@
AC_MSG_ERROR([$withval: not an executable file])
fi
else
- AC_PATH_PROG(PHP,"php",no)
+ AC_PATH_PROGS(PHP,"php php4",no)
fi
],[
- AC_PATH_PROG(PHP,"php",no)
+ AC_PATH_PROGS(PHP,"php php4",no)
]
)
if test $PHP = "no"; then
@@ -584,7 +584,7 @@
dnl {{{ generate additional entity file for translation support
dnl check for files and translations, create chapter entities
-echo creating chapters.ent
+echo creating entities/chapters.ent
DEPEND_FILES=""
rm -f entities/chapters.ent
echo "<!-- DON'T TOUCH - AUTOGENERATED BY ./configure -->" > entities/chapters.ent