+dnl
dnl $Id$
+dnl
AC_MSG_CHECKING(for ASPELL support)
AC_ARG_WITH(aspell,
+dnl
dnl $Id$
+dnl
-PHP_ARG_ENABLE(bcmath, for bc style precision math functions,
+PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
[ --enable-bcmath Enable bc style precision math functions.])
if test "$PHP_BCMATH" != "no"; then
LIB_BUILD($ext_builddir/libbcmath,$ext_shared,yes)
LIB_BUILD($ext_builddir/libbcmath/src,$ext_shared,yes)
fi
-
-dnl ## Local Variables:
-dnl ## tab-width: 4
-dnl ## End:
+dnl
dnl $Id$
+dnl
PHP_ARG_ENABLE(calendar,whether to enable calendar conversion support,
[ --enable-calendar Enable support for calendar conversion])
+dnl
dnl $Id$
-dnl config.m4 for PHP4 CCVS Extension
+dnl
PHP_ARG_WITH(ccvs, for CCVS support,
[ --with-ccvs[=DIR] Include CCVS support])
dnl $Id$
-AC_MSG_CHECKING(whether to include cpdflib support)
+AC_MSG_CHECKING(for cpdflib support)
AC_ARG_WITH(cpdflib,
-[ --with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).
- DIR is the cpdfllib install directory,
- defaults to /usr.],
+[ --with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).],
[
case $withval in
no)
+dnl
dnl $Id$
+dnl
-PHP_ARG_WITH(crack, whether to include crack support,
+PHP_ARG_WITH(crack, for CRACKlib support,
[ --with-crack[=DIR] Include crack support.])
if test "$PHP_CRACK" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension ctype
-dnl don't forget to call PHP_EXTENSION(ctype)
-
-dnl Comments in this file start with the string 'dnl'.
-dnl Remove where necessary. This file will not work
-dnl without editing.
-
-dnl If your extension references something external, use with:
-
-dnl PHP_ARG_WITH(ctype, for ctype support,
-dnl Make sure that the comment is aligned:
-dnl [ --with-ctype Include ctype support])
-
-dnl Otherwise use enable:
+dnl
PHP_ARG_ENABLE(ctype, whether to enable ctype support,
[ --enable-ctype Enable ctype support])
+dnl
dnl $Id$
-dnl config.m4 for extension CURL
+dnl
PHP_ARG_WITH(curl, for CURL support,
[ --with-curl[=DIR] Include CURL support])
-dnl config.m4 for extension CyberCash
-dnl don't forget to call PHP_EXTENSION(cybercash)
+dnl
+dnl $Id$
+dnl
AC_MSG_CHECKING(for CyberCash support)
AC_ARG_WITH(cybercash,
+dnl
dnl $Id$
-dnl config.m4 for extension cybermut
-
+dnl
PHP_ARG_WITH(cybermut, for cybermut support,
[ --with-cybermut[=DIR] Include CyberMut (french Credit Mutuel telepaiement)])
-
if test "$PHP_CYBERMUT" != "no"; then
for i in /usr/local /usr $PHP_CYBERMUT; do
if test -r $i/cm-mac.h; then
-dnl config.m4 for extension cyrus
+dnl
+dnl $Id$
+dnl
PHP_ARG_WITH(cyrus, for cyrus imap support,
[ --with-cyrus Include cyrus imap support])
+dnl
dnl $Id$
-dnl config.m4 for extension db
-dnl don't forget to call PHP_EXTENSION(db)
-
+dnl
# Checks for libraries.
# Prefer gdbm, Berkeley DB and ndbm/dbm, in that order
])
-PHP_ARG_WITH(db, whether to include old xDBM support,
+PHP_ARG_WITH(db, for xDBM support,
[ --with-db Include old xDBM support (deprecated)])
if test "$PHP_DB" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension dba
-dnl don't forget to call PHP_EXTENSION(dba)
+dnl
AC_DEFUN(PHP_TEMP_LDFLAGS,[
old_LDFLAGS=$LDFLAGS
+dnl
dnl $Id$
+dnl
AC_ARG_WITH(dbase,[],[enable_dbase=$withval])
-PHP_ARG_ENABLE(dbase,whether to enable the bundled dbase library,
+PHP_ARG_ENABLE(dbase,whether to enable dbase support,
[ --enable-dbase Enable the bundled dbase library])
if test "$PHP_DBASE" = "yes"; then
+dnl
dnl $Id$
-dnl config.m4 for extension dbplus
-
+dnl
PHP_ARG_WITH(dbplus, for dbplus support,
[ --with-dbplus Include dbplus support])
+dnl
+dnl $Id$
+dnl
PHP_ARG_ENABLE(dbx,whether to enable dbx support,
[ --enable-dbx Enable dbx])
-PHP_ARG_ENABLE(dio, whether to enable dio support,
-[ --enable-dio Enable dio support])
+dnl
+dnl $Id$
+dnl
+
+PHP_ARG_ENABLE(dio, whether to enable direct I/O support,
+[ --enable-dio Enable direct I/O support])
if test "$PHP_DIO" != "no"; then
PHP_EXTENSION(dio, $ext_shared)
+dnl
dnl $Id$
-dnl config.m4 for extension domxml
+dnl
AC_DEFUN(PHP_DOM_CHECK_VERSION,[
old_CPPFLAGS=$CPPFLAGS
PHP_ARG_WITH(dom, for DOM support,
[ --with-dom[=DIR] Include DOM support (requires libxml >= 2.4.2).
- DIR is the libxml install directory,
- defaults to /usr.])
+ DIR is the libxml install directory.])
if test "$PHP_DOM" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension exif
+dnl
-PHP_ARG_ENABLE(exif, whether to enable exif support,
-dnl Make sure that the comment is aligned:
-[ --enable-exif Enable exif support])
+PHP_ARG_ENABLE(exif, whether to enable EXIF support,
+[ --enable-exif Enable EXIF support])
if test "$PHP_EXIF" != "no"; then
AC_DEFINE(HAVE_EXIF, 1, [Whether you want exif support])
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(fbsql, for FrontBase SQL92 (fbsql) support,
-[ --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base
- directory.])
+[ --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base directory.])
if test "$PHP_FBSQL" != "no"; then
+dnl
dnl $Id$
+dnl
-PHP_ARG_WITH(fdftk, for fdftk support,
-[ --with-fdftk[=DIR] Include fdftk support])
+PHP_ARG_WITH(fdftk, for FDF support,
+[ --with-fdftk[=DIR] Include FDF support.])
if test "$PHP_FDFTK" != "no"; then
done
if test -z "$FDFTK_DIR"; then
- AC_MSG_ERROR(FdfTk.h or fdftk.h not found. Please reinstall the fdftk distribution)
+ AC_MSG_ERROR(FdfTk.h or fdftk.h not found. Please reinstall the fdftk distribution.)
fi
PHP_ADD_INCLUDE($FDFTK_DIR/include)
+dnl
dnl $Id$
+dnl
AC_ARG_WITH(filepro,[],[enable_filepro=$withval])
PHP_ARG_ENABLE(filepro,whether to enable the bundled filePro support,
-[ --enable-filepro Enable the bundled read-only filePro support])
+[ --enable-filepro Enable the bundled read-only filePro support.])
if test "$PHP_FILEPRO" = "yes"; then
AC_DEFINE(HAVE_FILEPRO, 1, [ ])
+dnl
dnl $Id$
-dnl config.m4 for extension fribidi
+dnl
-PHP_ARG_WITH(fribidi, whether to add fribidi support,
-[ --with-fribidi[=DIR] Include fribidi support (requires FriBidi >=0.1.12).
- DIR is the fribidi installation directory -
- default /usr/local/])
+PHP_ARG_WITH(fribidi, for FriBidi support,
+[ --with-fribidi[=DIR] Include fribidi support (requires FriBidi >=0.1.12).])
if test "$PHP_FRIBIDI" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension ftp
-dnl don't forget to call PHP_EXTENSION(ftp)
+dnl
PHP_ARG_ENABLE(ftp,whether to enable FTP support,
[ --enable-ftp Enable FTP support])
])
AC_DEFUN(PHP_GD_FREETYPE1,[
- PHP_ARG_WITH(ttf,whether to include include FreeType 1.x support,
+ PHP_ARG_WITH(ttf,for FreeType 1.x support,
[ --with-ttf[=DIR] GD: Include FreeType 1.x support])
if test "$PHP_TTF" != "no"; then
])
AC_DEFUN(PHP_GD_T1LIB,[
- PHP_ARG_WITH(t1lib, whether to include T1lib support,
+ PHP_ARG_WITH(t1lib, for T1lib support,
[ --with-t1lib[=DIR] GD: Include T1lib support.])
if test "$PHP_T1LIB" != "no"; then
])
AC_DEFUN(PHP_GD_TTSTR,[
- PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in gd,
- [ --enable-gd-native-ttf GD: Enable TrueType string function in gd])
+ PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in GD,
+ [ --enable-gd-native-ttf GD: Enable TrueType string function.])
if test "$PHP_GD_NATIVE_TTF" = "yes"; then
AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
])
-PHP_ARG_WITH(gd, whether to include GD support,
-[ --with-gd[=DIR] Include GD support (DIR is GD's install dir).
- Set DIR to "shared" to build as a dl, or
- "shared,DIR" to build as a dl and still specify DIR.])
+PHP_ARG_WITH(gd, for GD support,
+[ --with-gd[=DIR] Include GD support (DIR is GD's install dir).])
if test "$PHP_GD" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension gettext
-dnl don't forget to call PHP_EXTENSION(gettext)
+dnl
-PHP_ARG_WITH(gettext,whether to include GNU gettext support,
-[ --with-gettext[=DIR] Include GNU gettext support. DIR is the gettext
- install directory, defaults to /usr/local])
+PHP_ARG_WITH(gettext,for GNU gettext support,
+[ --with-gettext[=DIR] Include GNU gettext support.])
if test "$PHP_GETTEXT" != "no"; then
for i in /usr /usr/local $PHP_GETTEXT; do
+dnl
dnl $Id$
-dnl config.m4 for extension gmp
+dnl
-dnl If your extension references something external, use with:
-
-PHP_ARG_WITH(gmp, for gmp support,
-dnl Make sure that the comment is aligned:
-[ --with-gmp Include gmp support])
+PHP_ARG_WITH(gmp, for GNU MP support,
+[ --with-gmp Include GNU MP support])
if test "$PHP_GMP" != "no"; then
+dnl
dnl $Id$
+dnl
AC_MSG_CHECKING(for Hyperwave support)
AC_ARG_WITH(hyperwave,
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(icap,for ICAP support,
[ --with-icap[=DIR] Include ICAP support.])
+dnl
dnl $Id$
-dnl config.m4 for extension iconv
+dnl
PHP_ARG_WITH(iconv, for iconv support,
[ --with-iconv[=DIR] Include iconv support])
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(informix,for Informix support,
[ --with-informix[=DIR] Include Informix support. DIR is the Informix base
+dnl
dnl $Id$
-dnl config.m4 for extension ingres_ii
+dnl
PHP_ARG_WITH(ingres, for Ingres II support,
[ --with-ingres[=DIR] Include Ingres II support. DIR is the Ingres
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(interbase,for InterBase support,
[ --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
-# $Id$
-# config.m4 for extension java
+dnl
+dnl $Id$
+dnl
AC_MSG_CHECKING(for Java support)
AC_ARG_WITH(java,
-[ --with-java[=DIR] Include Java support. DIR is the base install
- directory for the JDK. This extension can only
- be built as a shared dl.],
+[ --with-java[=DIR] Include Java support. DIR is the JDK base install directory.
+ This extension is always built as shared.],
[
if test "$withval" != "no"; then
JAVA_SHARED=libphp_java.la
+dnl
dnl $Id$
+dnl
AC_DEFUN(PHP_LDAP_CHECKS, [
if test -f $1/include/ldap.h; then
LDAP_LIBDIR=$1/lib
fi
])
-
-PHP_ARG_WITH(ldap,whether to include LDAP support,
-[ --with-ldap[=DIR] Include LDAP support. DIR is the LDAP base
- install directory.])
+
+PHP_ARG_WITH(ldap,for LDAP support,
+[ --with-ldap[=DIR] Include LDAP support.])
if test "$PHP_LDAP" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension mailparse
+dnl
PHP_ARG_ENABLE(mailparse, whether to enable mailparse support,
-[ --enable-mailparse Enable mailparse support])
+[ --enable-mailparse Enable mailparse support.])
if test "$PHP_MAILPARSE" != "no"; then
if test "$ext_shared" != "yes" && test "$enable_mbstring" != "yes"; then
+dnl
dnl $Id$
-dnl config.m4 for extension mbstring
+dnl
PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support,
[ --enable-mbstring Enable multibyte string support])
AC_MSG_CHECKING(whether to enable japanese encoding translation)
AC_ARG_ENABLE(mbstr_enc_trans,
-[ --enable-mbstr-enc-trans Enable japanese encoding translation],[
+[ --enable-mbstr-enc-trans
+ Enable japanese encoding translation],[
if test "$enableval" = "yes" ; then
AC_DEFINE(MBSTR_ENC_TRANS, 1, [ ])
AC_MSG_RESULT(yes)
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(mcal,for MCAL support,
[ --with-mcal[=DIR] Include MCAL support.])
dnl
PHP_ARG_WITH(mcrypt, for mcrypt support,
-[ --with-mcrypt[=DIR] Include mcrypt support. DIR is the mcrypt install
- directory.])
+[ --with-mcrypt[=DIR] Include mcrypt support.])
if test "$PHP_MCRYPT" != "no"; then
for i in /usr/local /usr $PHP_MCRYPT; do
+dnl
dnl $Id$
-dnl config.m4 for extension mhash
-dnl don't forget to call PHP_EXTENSION(mhash)
+dnl
PHP_ARG_WITH(mhash, for mhash support,
-[ --with-mhash[=DIR] Include mhash support. DIR is the mhash
- install directory.])
+[ --with-mhash[=DIR] Include mhash support.])
if test "$PHP_MHASH" != "no"; then
for i in /usr/local /usr /opt/mhash $PHP_MHASH; do
+dnl
dnl $Id$
-dnl config.m4 for extension libming
+dnl
-PHP_ARG_WITH(ming, whether to include ming support,
-[ --with-ming[=DIR] Include ming support])
+PHP_ARG_WITH(ming, for MING support,
+[ --with-ming[=DIR] Include MING support])
if test "$PHP_MING" != "no"; then
for i in $PHP_MING /usr/local /usr; do
+dnl
dnl $Source$
dnl $Id$
+dnl
PHP_ARG_WITH(mnogosearch,for mnoGoSearch support,
[ --with-mnogosearch[=DIR]
+dnl
+dnl $Id$
+dnl
PHP_ARG_WITH(msession, for msession support,
[ --with-msession[=DIR] Include msession support])
+dnl
dnl $Id$
+dnl
dnl
dnl Test mSQL version by checking if msql.h has "IDX_TYPE" defined.
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(muscat, for Muscat support,
-[ --with-muscat[=DIR] Include muscat support.])
+[ --with-muscat[=DIR] Include Muscat support.])
if test "$PHP_MUSCAT" != "no"; then
PHP_EXTENSION(muscat, $ext_shared)
+dnl
dnl $Id$
+dnl
sinclude(ext/mysql/libmysql/acinclude.m4)
sinclude(ext/mysql/libmysql/mysql.m4)
])
PHP_ARG_WITH(mysql, for MySQL support,
-[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
- directory. If unspecified, the bundled MySQL library
- will be used.], yes)
+[ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory.
+ If unspecified, the bundled MySQL library will be used.], yes)
if test "$PHP_MYSQL" != "no"; then
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
+dnl
dnl $Id$
-dnl config.m4 for extension ncurses
+dnl
PHP_ARG_WITH(ncurses, for ncurses support,
-[ --with-ncurses[=DIR] Include ncurses support])
+[ --with-ncurses[=DIR] Include ncurses support.])
if test "$PHP_NCURSES" != "no"; then
# --with-ncurses -> check with-path
+dnl
dnl $Id$
+dnl
AC_DEFUN(AC_OCI8_VERSION,[
AC_MSG_CHECKING([Oracle version])
+dnl
dnl $Id$
+dnl
dnl
dnl Figure out which library file to link with for the Solid support.
+dnl
dnl $Id$
-dnl config.m4 for extension OpenSSL
+dnl
if test "$OPENSSL_DIR"; then
PHP_EXTENSION(openssl, $ext_shared)
+dnl
dnl $Id$
+dnl
AC_DEFUN(AC_ORACLE_VERSION,[
AC_MSG_CHECKING([Oracle version])
+dnl
dnl $Id$
-dnl config.m4 for extension overload
+dnl
-PHP_ARG_ENABLE(overload,for user-space object overloading support,
-[ --enable-overload Enable user-space object overloading support])
+PHP_ARG_ENABLE(overload,whether to enable user-space object overloading support,
+[ --enable-overload Enable user-space object overloading support.])
if test "$PHP_OVERLOAD" != "no"; then
AC_DEFINE(HAVE_OVERLOAD, 1, [ ])
+dnl
dnl $Id$
-dnl config.m4 for extension ovrimos
-dnl don't forget to call PHP_EXTENSION(ovrimos)
+dnl
PHP_ARG_WITH(ovrimos, for Ovrimos SQL Server support,
[ --with-ovrimos[=DIR] Include Ovrimos SQL Server support. DIR is the
- Ovrimos' libsqlcli install directory.])
+ Ovrimos libsqlcli install directory.])
if test "$PHP_OVRIMOS" != "no"; then
for i in /usr/local /usr $PHP_OVRIMOS; do
+dnl
dnl $Id$
-dnl config.m4 for extension pcntl
+dnl
dnl Process Control (pcntl) extentsion --EXPERIMENTAL--
dnl TODO - Add platform checks
+
PHP_ARG_ENABLE(pcntl, whether to enable pcntl support,
[ --enable-pcntl Enable experimental pcntl support (CGI ONLY!)])
+dnl
dnl $Id$
-dnl config.m4 for extension pcre
+dnl
dnl By default we'll compile and link against the bundled PCRE library
dnl if DIR is supplied, we'll use that for linking
-PHP_ARG_WITH(pcre-regex,whether to include PCRE support,
+PHP_ARG_WITH(pcre-regex,for PCRE support,
[ --without-pcre-regex Do not include Perl Compatible Regular Expressions
support. Use --with-pcre-regex=DIR to specify DIR
where PCRE's include and library files are located,
fi
PHP_SUBST(PCRE_SHARED_LIBADD)
-
AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1, [ ])])
+dnl
dnl $Id$
-dnl config.m4 for extension pcre
+dnl
dnl By default we'll compile and link against the bundled PCRE library
dnl if DIR is supplied, we'll use that for linking
-PHP_ARG_WITH(pcre-regex,whether to include PCRE support,
+PHP_ARG_WITH(pcre-regex,for PCRE support,
[ --without-pcre-regex Do not include Perl Compatible Regular Expressions
support. Use --with-pcre-regex=DIR to specify DIR
where PCRE's include and library files are located,
fi
PHP_SUBST(PCRE_SHARED_LIBADD)
-
AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1, [ ])])
+dnl
dnl $Id$
-dnl config.m4 for extension pfpro
+dnl
-PHP_ARG_WITH(pfpro, whether to include Verisign Payflow Pro support,
-[ --with-pfpro[=DIR] Include Verisign Payflow Pro support])
+PHP_ARG_WITH(pfpro, for Verisign Payflow Pro support,
+[ --with-pfpro[=DIR] Include Verisign Payflow Pro support.])
if test "$PHP_PFPRO" != "no"; then
PFPRO_LIB=libpfpro.so
+dnl
dnl $Id$
+dnl
AC_DEFUN(PGSQL_INC_CHK,[if test -r $i$1/libpq-fe.h; then PGSQL_DIR=$i; PGSQL_INCDIR=$i$1])
PHP_ARG_WITH(pgsql,for PostgreSQL support,
[ --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
- base install directory, defaults to /usr/local/pgsql.
- Set DIR to "shared" to build as a dl, or "shared,DIR"
- to build as a dl and still specify DIR.])
+ base install directory, defaults to /usr/local/pgsql.])
if test "$PHP_PGSQL" != "no"; then
PHP_EXPAND_PATH($PHP_PGSQL, PHP_PGSQL)
PHP_ADD_LIBRARY_WITH_PATH(pq, $PGSQL_LIBDIR, PGSQL_SHARED_LIBADD)
PHP_EXTENSION(pgsql,$ext_shared)
+ PHP_SUBST(PGSQL_SHARED_LIBADD)
+ PHP_SUBST(PGSQL_INCLUDE)
fi
-PHP_SUBST(PGSQL_INCLUDE)
-PHP_SUBST(PGSQL_SHARED_LIBADD)
+dnl
dnl $Id$
-dnl config.m4 for extension posix
-dnl don't forget to call PHP_EXTENSION(posix)
+dnl
-PHP_ARG_ENABLE(posix,whether to include POSIX-like functions,
+PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions,
[ --disable-posix Disable POSIX-like functions], yes)
if test "$PHP_POSIX" = "yes"; then
+dnl
dnl $Id$
+dnl
-PHP_ARG_WITH(pspell,whether to include pspell support,
+PHP_ARG_WITH(pspell,for PSPELL support,
[ --with-pspell[=DIR] Include PSPELL support.])
if test "$PHP_PSPELL" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension qtdom
-dnl don't forget to call PHP_EXTENSION(qtdom)
+dnl
AC_MSG_CHECKING(whether to include QDOM support)
AC_ARG_WITH(qtdom,
+dnl
dnl $Id$
-dnl config.m4 for extension readline
-dnl don't forget to call PHP_EXTENSION(readline)
+dnl
PHP_ARG_WITH(libedit,for libedit readline replacement,
[ --with-libedit[=DIR] Include libedit readline replacement.])
PHP_ARG_WITH(readline,for readline support,
-[ --with-readline[=DIR] Include readline support. DIR is the readline
- install directory.])
+[ --with-readline[=DIR] Include readline support.])
if test "$PHP_READLINE" != "no" -o "$PHP_LIBEDIT" != "no"; then
if test "$PHP_SAPI" != "cgi"; then
AC_DEFINE(HAVE_LIBEDIT, 1, [ ])
PHP_EXTENSION(readline, $ext_shared)
-fi
\ No newline at end of file
+fi
+dnl
dnl $Id$
-dnl config.m4 for extension recode
-dnl don't forget to call PHP_EXTENSION(recode)
-
+dnl
PHP_ARG_WITH(recode,for recode support,
-[ --with-recode[=DIR] Include recode support. DIR is the recode install
- directory.])
+[ --with-recode[=DIR] Include recode support.])
if test "$PHP_RECODE" != "no"; then
RECODE_LIST="$PHP_RECODE /usr /usr/local /opt"
-# $Id$
-# config.m4 for extension java
+dnl
+dnl $Id$
+dnl
AC_MSG_CHECKING(for Java support)
AC_ARG_WITH(java,
-[ --with-java[=DIR] Include Java support. DIR is the base install
- directory for the JDK. This extension can only
- be built as a shared dl.],
+[ --with-java[=DIR] Include Java support. DIR is the JDK base install directory.
+ This extension is always built as shared.],
[
if test "$withval" != "no"; then
JAVA_SHARED=libphp_java.la
+dnl
dnl $Id$
-dnl config.m4 for extension Xmlrpc
+dnl
sinclude(ext/xmlrpc/libxmlrpc/acinclude.m4)
sinclude(ext/xmlrpc/libxmlrpc/xmlrpc.m4)
sinclude(libxmlrpc/xmlrpc.m4)
PHP_ARG_WITH(xmlrpc, for XMLRPC-EPI support,
-[ --with-xmlrpc[=DIR] Include XMLRPC-EPI support])
+[ --with-xmlrpc[=DIR] Include XMLRPC-EPI support.])
PHP_ARG_WITH(expat-dir, libexpat dir for XMLRPC-EPI,
-[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI])
+[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI.])
if test "$PHP_XMLRPC" != "no"; then
+dnl
dnl $Id$
+dnl
dnl vim: syntax=config
-dnl My first config.m4 - now much improved... :-)
-
-PHP_ARG_WITH(satellite, whether to enable CORBA support via Satellite,
-dnl Make sure that the comment is aligned:
+PHP_ARG_WITH(satellite, for CORBA support via Satellite,
[ --with-satellite[=DIR] Enable CORBA support via Satellite (EXPERIMENTIAL)
DIR is the base directory for ORBit])
+dnl
dnl $Id$
+dnl
+
+PHP_ARG_ENABLE(session, whether to enable PHP sessions,
+[ --disable-session Disable session support], yes)
PHP_ARG_WITH(mm,for mm support,
[ --with-mm[=DIR] Include mm support for session storage])
-PHP_ARG_ENABLE(session, whether to enable session support,
-[ --disable-session Disable session support], yes)
-
if test "$PHP_MM" != "no"; then
for i in /usr/local /usr $PHP_MM; do
if test -f "$i/include/mm.h"; then
+dnl
dnl $Id$
+dnl
+
PHP_ARG_ENABLE(shmop, whether to enable shmop support,
[ --enable-shmop Enable shmop support])
dnl
PHP_ARG_WITH(snmp,for SNMP support,
-[ --with-snmp[=DIR] Include SNMP support. DIR is the SNMP base
- install directory, defaults to searching through
- a number of common locations for the snmp install.
- Set DIR to "shared" to build as a dl, or "shared,DIR"
- to build as a dl and still specify DIR.])
+[ --with-snmp[=DIR] Include SNMP support.])
if test "$PHP_SNMP" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension sockets
+dnl
PHP_ARG_ENABLE(sockets, whether to enable sockets support,
[ --enable-sockets Enable sockets support])
+dnl
dnl $Id$
-dnl config.m4 for extension libswf
+dnl
PHP_ARG_WITH(swf, for libswf support,
[ --with-swf[=DIR] Include swf support])
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(sybase,for Sybase support,
[ --with-sybase[=DIR] Include Sybase-DB support. DIR is the Sybase home
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(sybase-ct, for Sybase-CT support,
[ --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
+dnl
dnl $Id$
+dnl
PHP_ARG_ENABLE(sysvsem,whether to enable System V semaphore support,
[ --enable-sysvsem Enable System V semaphore support.])
+dnl
dnl $Id$
+dnl
PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support,
-[ --enable-sysvshm Enable the System V shared memory support])
+[ --enable-sysvshm Enable the System V shared memory support.])
if test "$PHP_SYSVSHM" != "no"; then
AC_DEFINE(HAVE_SYSVSHM, 1, [ ])
+dnl
dnl $Id$
-dnl config.m4 for extension vpopmail
+dnl
PHP_ARG_WITH(vpopmail, for vpopmail support,
[ --with-vpopmail[=DIR] Include vpopmail support.])
+dnl
dnl $Id$
-dnl config.m4 for extension wddx
+dnl
-PHP_ARG_ENABLE(wddx,for WDDX support,
-[ --enable-wddx Enable WDDX support])
+PHP_ARG_ENABLE(wddx,whether to enable WDDX support,
+[ --enable-wddx Enable WDDX support.])
if test "$PHP_WDDX" != "no"; then
if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then
-# $Source$
-# $Id$
+dnl
+dnl $Id$
+dnl
dnl Fallback for --with-xml[=DIR]
AC_ARG_WITH(xml,[],enable_xml=$withval)
order=12
fi
-PHP_ARG_ENABLE(xml,for XML support,
+PHP_ARG_ENABLE(xml,whether to enable XML support,
[ --disable-xml Disable XML support using bundled expat lib], yes)
PHP_ARG_WITH(expat-dir, external libexpat install dir,
+dnl
dnl $Id$
-dnl config.m4 for extension Xmlrpc
+dnl
sinclude(ext/xmlrpc/libxmlrpc/acinclude.m4)
sinclude(ext/xmlrpc/libxmlrpc/xmlrpc.m4)
sinclude(libxmlrpc/xmlrpc.m4)
PHP_ARG_WITH(xmlrpc, for XMLRPC-EPI support,
-[ --with-xmlrpc[=DIR] Include XMLRPC-EPI support])
+[ --with-xmlrpc[=DIR] Include XMLRPC-EPI support.])
PHP_ARG_WITH(expat-dir, libexpat dir for XMLRPC-EPI,
-[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI])
+[ --with-expat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI.])
if test "$PHP_XMLRPC" != "no"; then
-dnl config.m4 for extension xslt
+dnl
+dnl $Id$
+dnl
dnl +------------------------------------------------------------------------------+
dnl | This is where the magic of the extension reallly is. Depending on what |
dnl | backend the user chooses, this script performs the magic |
dnl +------------------------------------------------------------------------------+
-dnl $Id$
PHP_ARG_ENABLE(xslt, whether to enable xslt support,
-[ --enable-xslt Enable xslt support])
+[ --enable-xslt Enable xslt support.])
-PHP_ARG_WITH(xslt-sablot, whether to enable the XSLT Sablotron backend,
-[ --with-xslt-sablot XSLT: Enable the sablotron backend])
+PHP_ARG_WITH(xslt-sablot, for XSLT Sablotron backend,
+[ --with-xslt-sablot XSLT: Enable the sablotron backend.])
PHP_ARG_WITH(expat-dir, libexpat dir for Sablotron XSL support,
-[ --with-expat-dir=DIR Sablotron: libexpat dir for Sablotron 0.50])
+[ --with-expat-dir=DIR XSLT: libexpat dir for Sablotron 0.50])
if test "$PHP_XSLT" != "no"; then
+dnl
dnl $Id$
+dnl
PHP_ARG_WITH(yaz,for YAZ support,
-[ --with-yaz[=DIR] Include YAZ support (ANSI/NISO Z39.50). DIR is
- the YAZ bin install directory])
+[ --with-yaz[=DIR] Include YAZ support (ANSI/NISO Z39.50).
+ DIR is the YAZ bin install directory.])
if test "$PHP_YAZ" != "no"; then
+dnl
dnl $Id$
-dnl config.m4 for extension yp
-dnl don't forget to call PHP_EXTENSION(yp)
+dnl
PHP_ARG_ENABLE(yp,whether to include YP support,
-[ --enable-yp Include YP support])
+[ --enable-yp Include YP support.])
if test "$PHP_YP" != "no"; then
AC_DEFINE(HAVE_YP,1,[ ])
+dnl
dnl $Id$
-dnl config.m4 for extension zziplib
-
-PHP_ARG_WITH(zip,whether to include zziplib support,
-[ --with-zip[=DIR] Include zip support (requires zziplib >= 0.10.6).
- DIR is the zziplib install directory,
- default is /usr/local.])
+dnl
+PHP_ARG_WITH(zip,for ZIP support,
+[ --with-zip[=DIR] Include ZIP support (requires zziplib >= 0.10.6).])
if test "$PHP_ZIP" != "no"; then
PHP_EXTENSION(zip, $ext_shared)
PHP_ARG_WITH(zlib-dir,if the location of ZLIB install directory is defined,
[ --with-zlib-dir=<DIR> Define the location of zlib install directory])
-PHP_ARG_WITH(zlib,whether to include ZLIB support,
-[ --with-zlib[=DIR] Include zlib support (requires zlib >= 1.0.9).
- DIR is the zlib install directory.])
+PHP_ARG_WITH(zlib,for ZLIB support,
+[ --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9).])
if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then
PHP_EXTENSION(zlib, $ext_shared)