cvs: /php3 setup
| From: | Ariel Shkedi | Date: | Tue, 27 Jul 1999 04:51:22 +0000 |
| Subject: | cvs: /php3 setup | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9211@lists.php.net to get a copy of this message | ||
ars Tue Jul 27 00:51:22 1999 EDT
Modified files:
/php3 setup
Log:
change of email address
partial update of setup, more configure options still need to be added
Index: php3/setup
diff -u php3/setup:1.54 php3/setup:1.55
--- php3/setup:1.54 Thu Apr 22 09:19:48 1999
+++ php3/setup Tue Jul 27 00:51:21 1999
@@ -26,10 +26,10 @@
# +----------------------------------------------------------------------+
# | Authors: Stig Sæther Bakken <ssb@fast.no> |
# | Updated By: Jim Winstead <jimw@php.net> |
-# | Ariel Shkedi <ars@ziplink.net> or <as@altavista.net> |
+# | Ariel Shkedi <asphp@dsgml.com> |
# +----------------------------------------------------------------------+
#
-# $Id: setup,v 1.54 1999/04/22 13:19:48 ssb Exp $
+# $Id: setup,v 1.55 1999/07/27 04:51:21 ars Exp $
if [ "$1" = "-q" ]; then
quiet_mode=on
@@ -211,6 +211,16 @@
# now define all the options
+define_option with-apxs 'Build as an Apache module via DSO through APXS?' yesnodir \
+ 'no apxs Pathname to the Apache apxs tool' \
+' Build a shared Apache module. "Directory" here is actually a file.\n
+ (This option needs Perl installed.)'
+
+define_option with-shared-apache 'Build as an Apache module via DSO through APACI?'
yesnodir \
+ 'no /usr/local/etc/httpd Top-level Apache build' \
+' Build a shared Apache module.\n
+ (This option needs Perl installed.)'
+
define_option with-apache 'Build as an Apache module?' yesnodir \
'no /usr/local/etc/httpd Apache base install' \
' Whether to build PHP as an Apache module. If you are running\n
@@ -340,9 +350,16 @@
define_option with-custom-odbc 'custom ODBC support?' yesnodir \
'no /usr/local CODBC install' \
-' Whether to build PHP with CODBC support. This feature was first
- developed for Sybase SQL Anywhere 5.5 on QNX, but may be used for
- any unknown ODBC driver on all flavors of UNIX.'
+' Whether to build PHP with CODBC support. This feature was first\n
+ developed for Sybase SQL Anywhere 5.5 on QNX, but may be used for\n
+ any unknown ODBC driver on all flavors of UNIX.\n
+ \n
+ Make sure to define CUSTOM_ODBC_LIBS and have some odbc.h in your include\n
+ dirs. E.g., you should define following for Sybase SQL Anywhere 5.5.00 on\n
+ QNX, prior to run configure script:\n
+ CFLAGS="-DODBC_QNX -DSQLANY_BUG"\n
+ LDFLAGS=-lunix\n
+ CUSTOM_ODBC_LIBS="-ldblib -lodbc".'
if test "$option_value_with_iodbc" != "no" -o \
"$option_value_with_solid" != "no" -o \
@@ -368,7 +385,7 @@
define_option with-pdflib 'pdflib 0.6 support? ' yesnodir \
'no /usr/local pdflib install' \
' Whether to use the pdflib support to write .pdf-files.\n
- Tested for version 0.6!'
+ Tested for version 0.6! The directory is the pdflib install directory.'
define_option with-fdftk 'Acrobat Forms (Ftf Toolkit 2.0) support? ' yesnodir \
'no /usr/local ftktk install' \
@@ -385,10 +402,8 @@
define_option enable-sysvsem 'System V semaphores support? ' yesno no \
' Whether to use the System V semaphores (currently only solaris and linux).'
-
-define_option with-config-file-path 'Default config directory?' yesnodir \
- 'no /usr/local/lib Configuration file' \
+define_option with-config-file-path 'Default config directory?' dir
"/usr/local/lib" \
' Directory where the PHP3 configuration file (php3.ini) is\n
located.'
@@ -414,14 +429,7 @@
This only sets the default, it may be enabled or disabled in the\n
configuration file later. "
-# broken configure.in doesn't check apache (bug?)
-#if test "$option_value_with_apache" != "no"; then
-# defexecdir="$option_value_with_apache/php-bin"
-#else
- defexecdir=/usr/local/bin
-#fi
-
-define_option with-exec-dir 'Default safe mode exec dir?' dir "$defexecdir" \
+define_option with-exec-dir 'Default safe mode exec dir?' dir
"/usr/local/php/bin" \
" The directory where executables that may be run from safe mode\n
are located."
@@ -442,9 +450,6 @@
no \
' Enables bc style arbitrary precision math functions.'
-# configure.in only checks these if it's a cgi so setup does the same
-if test "$option_value_with_apache" = "no"; then
-# outputing the bank line isn't really possible, but it would be nice
define_option enable-force-cgi-redirect 'Enable redirect checking?' yesno no \
' When using PHP as a CGI binary, this will make PHP always first check\n
that it is used by redirection (for example under Apache, by using\n
@@ -465,7 +470,6 @@
' If this is enabled, the PHP CGI binary can safely be placed outside\n
of the web tree and people will not be able to circumvent .htaccess\n
security.'
-fi
define_option enable-memory-limit 'Enable memory limit?' yesno no \
' Compile with memory limit support.'