Skip to content

Commit 7025ffd

Browse files
committed
Add all Autotools configure options
1 parent 54ad935 commit 7025ffd

24 files changed

+8324
-0
lines changed

docs/autotools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ Other custom options that don't follow this pattern are used for adjusting
190190
specific features during the build process.
191191
192192
See `./configure --help` for all available configuration options and variables.
193+
Configure options for all PHP versions are listed also in the
194+
[Autotools directory](/docs/autotools/).
193195
194196
Some common arguments can be passed to command-line options:
195197

docs/autotools/PHP-4.0.txt

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
Usage: configure [options] [host]
2+
Options: [defaults in brackets after descriptions]
3+
Configuration:
4+
--cache-file=FILE cache test results in FILE
5+
--help print this message
6+
--no-create do not create output files
7+
--quiet, --silent do not print `checking...' messages
8+
--version print the version of autoconf that created configure
9+
Directory and file names:
10+
--prefix=PREFIX install architecture-independent files in PREFIX
11+
[/usr/local]
12+
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
13+
[same as prefix]
14+
--bindir=DIR user executables in DIR [EPREFIX/bin]
15+
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
16+
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
17+
--datadir=DIR read-only architecture-independent data in DIR
18+
[PREFIX/share]
19+
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
20+
--sharedstatedir=DIR modifiable architecture-independent data in DIR
21+
[PREFIX/com]
22+
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
23+
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
24+
--includedir=DIR C header files in DIR [PREFIX/include]
25+
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
26+
--infodir=DIR info documentation in DIR [PREFIX/info]
27+
--mandir=DIR man documentation in DIR [PREFIX/man]
28+
--srcdir=DIR find the sources in DIR [configure dir or ..]
29+
--program-prefix=PREFIX prepend PREFIX to installed program names
30+
--program-suffix=SUFFIX append SUFFIX to installed program names
31+
--program-transform-name=PROGRAM
32+
run sed PROGRAM on installed program names
33+
Host type:
34+
--build=BUILD configure for building on BUILD [BUILD=HOST]
35+
--host=HOST configure for HOST [guessed]
36+
--target=TARGET configure for TARGET [TARGET=HOST]
37+
Features and packages:
38+
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
39+
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
40+
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
41+
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
42+
--x-includes=DIR X include files are in DIR
43+
--x-libraries=DIR X library files are in DIR
44+
--enable and --with options recognized:
45+
--with-aolserver=DIR Specify path to the installed AOLserver
46+
--with-apxs[=FILE] Build shared Apache module. FILE is the optional
47+
pathname to the Apache apxs tool; defaults to apxs.
48+
--with-apache[=DIR] Build Apache module. DIR is the top-level Apache
49+
build directory, defaults to /usr/local/etc/httpd.
50+
--with-mod_charset Enable transfer tables for mod_charset (Rus Apache).
51+
--with-apxs2[=FILE] Build shared Apache 2.0 module. FILE is the optional
52+
pathname to the Apache apxs tool; defaults to apxs.
53+
--with-caudium=DIR Build PHP as a Pike module for use with Caudium
54+
DIR is the Caudium server dir, with the default value
55+
/usr/local/caudium/server.
56+
--with-fhttpd[=DIR] Build fhttpd module. DIR is the fhttpd sources
57+
directory, defaults to /usr/local/src/fhttpd.
58+
--with-fastcgi=SRCDIR Build PHP as FastCGI application
59+
--with-isapi=DIR Build PHP as an ISAPI module for use with Zeus.
60+
--with-nsapi=DIR Specify path to the installed Netscape
61+
--with-phttpd=DIR
62+
--with-roxen=DIR Build PHP as a Pike module. DIR is the base Roxen
63+
directory, normally /usr/local/roxen/server.
64+
--enable-roxen-zts Build the Roxen module using Zend Thread Safety.
65+
--with-servlet[=DIR] Include servlet support. DIR is the base install
66+
directory for the JSDK. This SAPI prereqs the
67+
java extension must be built as a shared dl.
68+
--with-thttpd=SRCDIR Build PHP as thttpd module
69+
--with-exec-dir[=DIR] Only allow executables in DIR when in safe mode
70+
defaults to /usr/local/php/bin
71+
--with-aspell[=DIR] Include ASPELL support.
72+
--with-ccvs[=DIR] Compile CCVS support into PHP4. Please specify your
73+
CCVS base install directory as DIR.
74+
--with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).
75+
DIR is the cpdfllib install directory,
76+
defaults to /usr.
77+
--with-jpeg-dir[=DIR] jpeg dir for cpdflib 2.x
78+
--with-tiff-dir[=DIR] tiff dir for cpdflib 2.x
79+
--with-cybercash[=DIR] Include CyberCash support. DIR is the CyberCash MCK
80+
install directory.
81+
--with-gdbm[=DIR] Include GDBM support
82+
--with-ndbm[=DIR] Include NDBM support
83+
--with-db2[=DIR] Include Berkeley DB2 support
84+
--with-db3[=DIR] Include Berkeley DB3 support
85+
--with-dbm[=DIR] Include DBM support
86+
--with-cdb[=DIR] Include CDB support
87+
88+
--with-zlib-dir[=DIR] zlib dir for libxml or include zlib support
89+
90+
--enable-gd-native-ttf Enable TrueType string function in gd
91+
--with-gd[=DIR] Include GD support (DIR is GD's install dir).
92+
Set DIR to shared to build as a dl, or
93+
shared,DIR to build as a dl and still specify DIR.
94+
--with-jpeg-dir[=DIR] GD: jpeg dir for gd-1.8+
95+
--with-xpm-dir[=DIR] GD: xpm dir for gd-1.8+
96+
--with-ttf[=DIR] GD: Include FreeType 1.x support
97+
--with-t1lib[=DIR] GD: Include T1lib support.
98+
--with-hyperwave Include Hyperwave support
99+
--with-java[=DIR] Include Java support. DIR is the base install
100+
directory for the JDK. This extension can only
101+
be built as a shared dl.
102+
--with-adabas[=DIR] Include Adabas D support. DIR is the Adabas base
103+
install directory, defaults to /usr/local.
104+
--with-sapdb[=DIR] Include SAP DB support. DIR is SAP DB base
105+
install directory, defaults to /usr/local.
106+
--with-solid[=DIR] Include Solid support. DIR is the Solid base
107+
install directory, defaults to /usr/local/solid
108+
--with-ibm-db2[=DIR] Include IBM DB2 support. DIR is the DB2 base
109+
install directory, defaults to /home/db2inst1/sqllib
110+
--with-empress[=DIR] Include Empress support. DIR is the Empress base
111+
install directory, defaults to $EMPRESSPATH
112+
--with-velocis[=DIR] Include Velocis support. DIR is the Velocis base
113+
install directory, defaults to /usr/local/velocis.
114+
--with-custom-odbc[=DIR]
115+
Include a user defined ODBC support.
116+
The DIR is ODBC install base directory,
117+
which defaults to /usr/local.
118+
Make sure to define CUSTOM_ODBC_LIBS and
119+
have some odbc.h in your include dirs.
120+
E.g., you should define following for
121+
Sybase SQL Anywhere 5.5.00 on QNX, prior to
122+
run configure script:
123+
CFLAGS="-DODBC_QNX -DSQLANY_BUG"
124+
LDFLAGS=-lunix
125+
CUSTOM_ODBC_LIBS="-ldblib -lodbc".
126+
--with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base
127+
install directory, defaults to /usr/local.
128+
--with-esoob[=DIR] Include Easysoft OOB support. DIR is the OOB base
129+
install directory,
130+
defaults to /usr/local/easysoft/oob/client.
131+
--with-unixODBC[=DIR] Include unixODBC support. DIR is the unixODBC base
132+
install directory, defaults to /usr/local.
133+
--with-openlink[=DIR] Include OpenLink ODBC support. DIR is the
134+
OpenLink base install directory, defaults to
135+
/usr/local/openlink.
136+
--with-dbmaker[=DIR] Include DBMaker support. DIR is the DBMaker base
137+
install directory, defaults to where the latest
138+
version of DBMaker is installed (such as
139+
/home/dbmaker/3.6).
140+
--with-zlib-dir[=DIR] zlib dir for pdflib 3.x or include zlib support
141+
--with-jpeg-dir[=DIR] jpeg dir for pdflib 3.x
142+
--with-png-dir[=DIR] png dir for pdflib 3.x
143+
--with-tiff-dir[=DIR] tiff dir for pdflib 3.x
144+
--with-qtdom Include QtDOM support (requires Qt >= 2.2.0).
145+
--enable-ucd-snmp-hack Enable UCD SNMP hack
146+
--with-regex=TYPE regex library type: system, apache, php
147+
--with-system-regex (deprecated) Use system regex library
148+
--with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
149+
directory, defaults to /home/sybase.
150+
151+
--enable-versioning Export only required symbols.
152+
See INSTALL for more information
153+
--enable-experimental-zts This will most likely break your build
154+
--enable-inline-optimization If you have much memory and are using
155+
gcc, you might try this.
156+
--enable-memory-limit Compile with memory limit support.
157+
--with-tsrm-pth[=pth-config] Use GNU Pth.
158+
--with-tsrm-pthreads Use POSIX threads (default)

docs/autotools/PHP-4.1.txt

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
Usage: configure [options] [host]
2+
Options: [defaults in brackets after descriptions]
3+
Configuration:
4+
--cache-file=FILE cache test results in FILE
5+
--help print this message
6+
--no-create do not create output files
7+
--quiet, --silent do not print `checking...' messages
8+
--version print the version of autoconf that created configure
9+
Directory and file names:
10+
--prefix=PREFIX install architecture-independent files in PREFIX
11+
[/usr/local]
12+
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
13+
[same as prefix]
14+
--bindir=DIR user executables in DIR [EPREFIX/bin]
15+
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
16+
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
17+
--datadir=DIR read-only architecture-independent data in DIR
18+
[PREFIX/share]
19+
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
20+
--sharedstatedir=DIR modifiable architecture-independent data in DIR
21+
[PREFIX/com]
22+
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
23+
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
24+
--includedir=DIR C header files in DIR [PREFIX/include]
25+
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
26+
--infodir=DIR info documentation in DIR [PREFIX/info]
27+
--mandir=DIR man documentation in DIR [PREFIX/man]
28+
--srcdir=DIR find the sources in DIR [configure dir or ..]
29+
--program-prefix=PREFIX prepend PREFIX to installed program names
30+
--program-suffix=SUFFIX append SUFFIX to installed program names
31+
--program-transform-name=PROGRAM
32+
run sed PROGRAM on installed program names
33+
Host type:
34+
--build=BUILD configure for building on BUILD [BUILD=HOST]
35+
--host=HOST configure for HOST [guessed]
36+
--target=TARGET configure for TARGET [TARGET=HOST]
37+
Features and packages:
38+
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
39+
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
40+
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
41+
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
42+
--x-includes=DIR X include files are in DIR
43+
--x-libraries=DIR X library files are in DIR
44+
--enable and --with options recognized:
45+
--with-aolserver=DIR Specify path to the installed AOLserver
46+
--with-apxs[=FILE] Build shared Apache module. FILE is the optional
47+
pathname to the Apache apxs tool; defaults to apxs.
48+
--with-apache[=DIR] Build Apache module. DIR is the top-level Apache
49+
build directory, defaults to /usr/local/apache.
50+
--with-mod_charset Enable transfer tables for mod_charset (Rus Apache).
51+
--with-apxs2[=FILE] Build shared Apache 2.0 module. FILE is the optional
52+
pathname to the Apache apxs tool; defaults to apxs.
53+
--with-caudium=DIR Build PHP as a Pike module for use with Caudium
54+
DIR is the Caudium server dir, with the default value
55+
/usr/local/caudium/server.
56+
--with-fhttpd[=DIR] Build fhttpd module. DIR is the fhttpd sources
57+
directory, defaults to /usr/local/src/fhttpd.
58+
--with-fastcgi=SRCDIR Build PHP as FastCGI application
59+
--with-isapi=DIR Build PHP as an ISAPI module for use with Zeus.
60+
--with-nsapi=DIR Specify path to the installed Netscape
61+
--with-phttpd=DIR
62+
--with-roxen=DIR Build PHP as a Pike module. DIR is the base Roxen
63+
directory, normally /usr/local/roxen/server.
64+
--enable-roxen-zts Build the Roxen module using Zend Thread Safety.
65+
--with-servlet[=DIR] Include servlet support. DIR is the base install
66+
directory for the JSDK. This SAPI prereqs the
67+
java extension must be built as a shared dl.
68+
--with-thttpd=SRCDIR Build PHP as thttpd module
69+
--with-tux=MODULEDIR Build PHP as a TUX module (Linux only)
70+
--with-exec-dir[=DIR] Only allow executables in DIR when in safe mode
71+
defaults to /usr/local/php/bin
72+
--with-aspell[=DIR] Include ASPELL support.
73+
--with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).
74+
DIR is the cpdfllib install directory,
75+
defaults to /usr.
76+
--with-jpeg-dir[=DIR] jpeg dir for cpdflib 2.x
77+
--with-tiff-dir[=DIR] tiff dir for cpdflib 2.x
78+
--with-cybercash[=DIR] Include CyberCash support. DIR is the CyberCash MCK
79+
install directory.
80+
--with-gdbm[=DIR] Include GDBM support
81+
--with-ndbm[=DIR] Include NDBM support
82+
--with-db2[=DIR] Include Berkeley DB2 support
83+
--with-db3[=DIR] Include Berkeley DB3 support
84+
--with-dbm[=DIR] Include DBM support
85+
--with-cdb[=DIR] Include CDB support
86+
87+
88+
--with-hyperwave Include Hyperwave support
89+
--with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install dir.
90+
--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install dir.
91+
--with-java[=DIR] Include Java support. DIR is the base install
92+
directory for the JDK. This extension can only
93+
be built as a shared dl.
94+
--enable-mbstr-enc-trans Enable japanese encoding translation
95+
--with-adabas[=DIR] Include Adabas D support. DIR is the Adabas base
96+
install directory, defaults to /usr/local.
97+
--with-sapdb[=DIR] Include SAP DB support. DIR is SAP DB base
98+
install directory, defaults to /usr/local.
99+
--with-solid[=DIR] Include Solid support. DIR is the Solid base
100+
install directory, defaults to /usr/local/solid
101+
--with-ibm-db2[=DIR] Include IBM DB2 support. DIR is the DB2 base
102+
install directory, defaults to /home/db2inst1/sqllib
103+
--with-empress[=DIR] Include Empress support. DIR is the Empress base
104+
install directory, defaults to $EMPRESSPATH.
105+
From PHP4, this option only supports Empress Version
106+
8.60 and above
107+
--with-empress-bcs[=DIR]
108+
Include Empress Local Access support. DIR is the
109+
Empress base install directory, defaults to
110+
$EMPRESSPATH. From PHP4, this option only supports
111+
Empress Version 8.60 and above.
112+
--with-velocis[=DIR] Include Velocis support. DIR is the Velocis base
113+
install directory, defaults to /usr/local/velocis.
114+
--with-custom-odbc[=DIR]
115+
Include a user defined ODBC support.
116+
The DIR is ODBC install base directory,
117+
which defaults to /usr/local.
118+
Make sure to define CUSTOM_ODBC_LIBS and
119+
have some odbc.h in your include dirs.
120+
E.g., you should define following for
121+
Sybase SQL Anywhere 5.5.00 on QNX, prior to
122+
run configure script:
123+
CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"
124+
LDFLAGS=-lunix
125+
CUSTOM_ODBC_LIBS="-ldblib -lodbc".
126+
--with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base
127+
install directory, defaults to /usr/local.
128+
--with-esoob[=DIR] Include Easysoft OOB support. DIR is the OOB base
129+
install directory,
130+
defaults to /usr/local/easysoft/oob/client.
131+
--with-unixODBC[=DIR] Include unixODBC support. DIR is the unixODBC base
132+
install directory, defaults to /usr/local.
133+
--with-openlink[=DIR] Include OpenLink ODBC support. DIR is the
134+
OpenLink base install directory, defaults to
135+
/usr/local. This is the same as iODBC.
136+
--with-dbmaker[=DIR] Include DBMaker support. DIR is the DBMaker base
137+
install directory, defaults to where the latest
138+
version of DBMaker is installed (such as
139+
/home/dbmaker/3.6).
140+
--with-qtdom Include QtDOM support (requires Qt >= 2.2.0).
141+
--enable-ucd-snmp-hack Enable UCD SNMP hack
142+
--with-regex=TYPE regex library type: system, apache, php
143+
--with-system-regex (deprecated) Use system regex library
144+
145+
--enable-versioning Export only required symbols.
146+
See INSTALL for more information
147+
--with-tsrm-pth[=pth-config] Use GNU Pth.
148+
--with-tsrm-st
149+
--with-tsrm-pthreads Use POSIX threads (default)

0 commit comments

Comments
 (0)