Date: 11/28/99
- Next message: Rasmus Lerdorf: "[PHP-DEV] cvs: /CVSROOT cvsusers"
- Previous message: Stig Bakken: "Re: [PHP-DEV] A phpdoc mailing list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rasmus Lerdorf: "[PHP-DEV] cvs: /CVSROOT cvsusers"
- Previous message: Stig Bakken: "Re: [PHP-DEV] A phpdoc mailing list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

