cvs: /phpdoc .cvsignore configure.in
| From: | Stig Bakken | Date: | Mon, 29 Nov 1999 01:05:01 +0000 |
| Subject: | cvs: /phpdoc .cvsignore configure.in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13246@lists.php.net to get a copy of this message | ||
ssb Sun Nov 28 20:05:01 1999 EDT
Modified files:
/phpdoc .cvsignore configure.in
Log:
Add --with-lang configure option.
Index: phpdoc/.cvsignore
diff -u phpdoc/.cvsignore:1.6 phpdoc/.cvsignore:1.7
--- phpdoc/.cvsignore:1.6 Mon Jul 19 23:07:02 1999
+++ phpdoc/.cvsignore Sun Nov 28 20:05:00 1999
@@ -35,3 +35,4 @@
missing.txt
diff
php
+confdefs.h
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.15 phpdoc/configure.in:1.16
--- phpdoc/configure.in:1.15 Sat Nov 27 19:08:16 1999
+++ phpdoc/configure.in Sun Nov 28 20:05:00 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.15 1999/11/28 00:08:16 ssb Exp $
+dnl $Id: configure.in,v 1.16 1999/11/29 01:05:00 ssb Exp $
AC_INIT(global.ent)
@@ -72,20 +72,37 @@
AC_MSG_CHECKING(for PHP source path)
AC_ARG_WITH(source,
-[ --with-source=[DIR] Look at the specified source directory],
+[ --with-source=[DIR] Look at the specified source directory],
[
- if test "$withval" = "no"; then
+ if test "$withval" = "no"; then
PHP_SOURCE=$withval
- else
+ else
PHP_SOURCE=../php3
- fi
+ fi
],[
PHP_SOURCE=../php3
])
AC_MSG_RESULT($PHP_SOURCE)
AC_SUBST(PHP_SOURCE)
-LANG=en
+AC_MSG_CHECKING(for language)
+AC_ARG_WITH(lang,
+[ --with-lang=LANG Choose a language to work with],
+[
+ if test "$withval" = "yes"; then
+ LANG=en
+ AC_MSG_RESULT([en (default)])
+ else
+ if test ! -d "$withval"; then
+ AC_MSG_RESULT()
+ AC_MSG_ERROR(Language \"$withval\" not supported!)
+ fi
+ LANG=$withval
+ fi
+],[
+ LANG=en
+ AC_MSG_RESULT([en (default)])
+])
AC_SUBST(LANG)
AC_OUTPUT(Makefile version.ent checkdoc manual.sgml howto.sgml howto.dsl html.dsl print.dsl
phpweb.dsl php.dsl)