Skip to content

Commit f1397d5

Browse files
author
foobar
committed
Unified the configure messages.
1 parent e858d27 commit f1397d5

File tree

84 files changed

+255
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+255
-203
lines changed

ext/aspell/config.m4

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
AC_MSG_CHECKING(for ASPELL support)
46
AC_ARG_WITH(aspell,

ext/bcmath/config.m4

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

3-
PHP_ARG_ENABLE(bcmath, for bc style precision math functions,
5+
PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
46
[ --enable-bcmath Enable bc style precision math functions.])
57

68
if test "$PHP_BCMATH" != "no"; then
@@ -10,7 +12,3 @@ if test "$PHP_BCMATH" != "no"; then
1012
LIB_BUILD($ext_builddir/libbcmath,$ext_shared,yes)
1113
LIB_BUILD($ext_builddir/libbcmath/src,$ext_shared,yes)
1214
fi
13-
14-
dnl ## Local Variables:
15-
dnl ## tab-width: 4
16-
dnl ## End:

ext/calendar/config.m4

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
PHP_ARG_ENABLE(calendar,whether to enable calendar conversion support,
46
[ --enable-calendar Enable support for calendar conversion])

ext/ccvs/config.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for PHP4 CCVS Extension
3+
dnl
34

45
PHP_ARG_WITH(ccvs, for CCVS support,
56
[ --with-ccvs[=DIR] Include CCVS support])

ext/cpdf/config.m4

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
dnl $Id$
22

3-
AC_MSG_CHECKING(whether to include cpdflib support)
3+
AC_MSG_CHECKING(for cpdflib support)
44
AC_ARG_WITH(cpdflib,
5-
[ --with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).
6-
DIR is the cpdfllib install directory,
7-
defaults to /usr.],
5+
[ --with-cpdflib[=DIR] Include cpdflib support (requires cpdflib >= 2).],
86
[
97
case $withval in
108
no)

ext/crack/config.m4

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

3-
PHP_ARG_WITH(crack, whether to include crack support,
5+
PHP_ARG_WITH(crack, for CRACKlib support,
46
[ --with-crack[=DIR] Include crack support.])
57

68
if test "$PHP_CRACK" != "no"; then

ext/ctype/config.m4

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension ctype
3-
dnl don't forget to call PHP_EXTENSION(ctype)
4-
5-
dnl Comments in this file start with the string 'dnl'.
6-
dnl Remove where necessary. This file will not work
7-
dnl without editing.
8-
9-
dnl If your extension references something external, use with:
10-
11-
dnl PHP_ARG_WITH(ctype, for ctype support,
12-
dnl Make sure that the comment is aligned:
13-
dnl [ --with-ctype Include ctype support])
14-
15-
dnl Otherwise use enable:
3+
dnl
164

175
PHP_ARG_ENABLE(ctype, whether to enable ctype support,
186
[ --enable-ctype Enable ctype support])

ext/curl/config.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension CURL
3+
dnl
34

45
PHP_ARG_WITH(curl, for CURL support,
56
[ --with-curl[=DIR] Include CURL support])

ext/cybercash/config.m4

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
dnl config.m4 for extension CyberCash
2-
dnl don't forget to call PHP_EXTENSION(cybercash)
1+
dnl
2+
dnl $Id$
3+
dnl
34

45
AC_MSG_CHECKING(for CyberCash support)
56
AC_ARG_WITH(cybercash,

ext/cybermut/config.m4

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension cybermut
3-
3+
dnl
44

55
PHP_ARG_WITH(cybermut, for cybermut support,
66
[ --with-cybermut[=DIR] Include CyberMut (french Credit Mutuel telepaiement)])
77

8-
98
if test "$PHP_CYBERMUT" != "no"; then
109
for i in /usr/local /usr $PHP_CYBERMUT; do
1110
if test -r $i/cm-mac.h; then

ext/cyrus/config.m4

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
dnl config.m4 for extension cyrus
1+
dnl
2+
dnl $Id$
3+
dnl
24

35
PHP_ARG_WITH(cyrus, for cyrus imap support,
46
[ --with-cyrus Include cyrus imap support])

ext/db/config.m4

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension db
3-
dnl don't forget to call PHP_EXTENSION(db)
4-
3+
dnl
54

65
# Checks for libraries.
76
# Prefer gdbm, Berkeley DB and ndbm/dbm, in that order
@@ -26,7 +25,7 @@ AC_DEFUN(AC_PREFERRED_DB_LIB,[
2625
])
2726

2827

29-
PHP_ARG_WITH(db, whether to include old xDBM support,
28+
PHP_ARG_WITH(db, for xDBM support,
3029
[ --with-db Include old xDBM support (deprecated)])
3130

3231
if test "$PHP_DB" != "no"; then

ext/dba/config.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension dba
3-
dnl don't forget to call PHP_EXTENSION(dba)
3+
dnl
44

55
AC_DEFUN(PHP_TEMP_LDFLAGS,[
66
old_LDFLAGS=$LDFLAGS

ext/dbase/config.m4

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
AC_ARG_WITH(dbase,[],[enable_dbase=$withval])
46

5-
PHP_ARG_ENABLE(dbase,whether to enable the bundled dbase library,
7+
PHP_ARG_ENABLE(dbase,whether to enable dbase support,
68
[ --enable-dbase Enable the bundled dbase library])
79

810
if test "$PHP_DBASE" = "yes"; then

ext/dbplus/config.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension dbplus
3-
3+
dnl
44

55
PHP_ARG_WITH(dbplus, for dbplus support,
66
[ --with-dbplus Include dbplus support])

ext/dbx/config.m4

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
dnl
2+
dnl $Id$
3+
dnl
14

25
PHP_ARG_ENABLE(dbx,whether to enable dbx support,
36
[ --enable-dbx Enable dbx])

ext/dio/config.m4

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
PHP_ARG_ENABLE(dio, whether to enable dio support,
2-
[ --enable-dio Enable dio support])
1+
dnl
2+
dnl $Id$
3+
dnl
4+
5+
PHP_ARG_ENABLE(dio, whether to enable direct I/O support,
6+
[ --enable-dio Enable direct I/O support])
37

48
if test "$PHP_DIO" != "no"; then
59
PHP_EXTENSION(dio, $ext_shared)

ext/domxml/config.m4

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension domxml
3+
dnl
34

45
AC_DEFUN(PHP_DOM_CHECK_VERSION,[
56
old_CPPFLAGS=$CPPFLAGS
@@ -20,8 +21,7 @@ AC_DEFUN(PHP_DOM_CHECK_VERSION,[
2021

2122
PHP_ARG_WITH(dom, for DOM support,
2223
[ --with-dom[=DIR] Include DOM support (requires libxml >= 2.4.2).
23-
DIR is the libxml install directory,
24-
defaults to /usr.])
24+
DIR is the libxml install directory.])
2525

2626
if test "$PHP_DOM" != "no"; then
2727

ext/exif/config.m4

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension exif
3+
dnl
34

4-
PHP_ARG_ENABLE(exif, whether to enable exif support,
5-
dnl Make sure that the comment is aligned:
6-
[ --enable-exif Enable exif support])
5+
PHP_ARG_ENABLE(exif, whether to enable EXIF support,
6+
[ --enable-exif Enable EXIF support])
77

88
if test "$PHP_EXIF" != "no"; then
99
AC_DEFINE(HAVE_EXIF, 1, [Whether you want exif support])

ext/fbsql/config.m4

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
PHP_ARG_WITH(fbsql, for FrontBase SQL92 (fbsql) support,
4-
[ --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base
5-
directory.])
6+
[ --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base directory.])
67

78
if test "$PHP_FBSQL" != "no"; then
89

ext/fdf/config.m4

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

3-
PHP_ARG_WITH(fdftk, for fdftk support,
4-
[ --with-fdftk[=DIR] Include fdftk support])
5+
PHP_ARG_WITH(fdftk, for FDF support,
6+
[ --with-fdftk[=DIR] Include FDF support.])
57

68
if test "$PHP_FDFTK" != "no"; then
79

@@ -12,7 +14,7 @@ if test "$PHP_FDFTK" != "no"; then
1214
done
1315

1416
if test -z "$FDFTK_DIR"; then
15-
AC_MSG_ERROR(FdfTk.h or fdftk.h not found. Please reinstall the fdftk distribution)
17+
AC_MSG_ERROR(FdfTk.h or fdftk.h not found. Please reinstall the fdftk distribution.)
1618
fi
1719

1820
PHP_ADD_INCLUDE($FDFTK_DIR/include)

ext/filepro/config.m4

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
AC_ARG_WITH(filepro,[],[enable_filepro=$withval])
46

57
PHP_ARG_ENABLE(filepro,whether to enable the bundled filePro support,
6-
[ --enable-filepro Enable the bundled read-only filePro support])
8+
[ --enable-filepro Enable the bundled read-only filePro support.])
79

810
if test "$PHP_FILEPRO" = "yes"; then
911
AC_DEFINE(HAVE_FILEPRO, 1, [ ])

ext/fribidi/config.m4

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension fribidi
3+
dnl
34

4-
PHP_ARG_WITH(fribidi, whether to add fribidi support,
5-
[ --with-fribidi[=DIR] Include fribidi support (requires FriBidi >=0.1.12).
6-
DIR is the fribidi installation directory -
7-
default /usr/local/])
5+
PHP_ARG_WITH(fribidi, for FriBidi support,
6+
[ --with-fribidi[=DIR] Include fribidi support (requires FriBidi >=0.1.12).])
87

98
if test "$PHP_FRIBIDI" != "no"; then
109

ext/ftp/config.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension ftp
3-
dnl don't forget to call PHP_EXTENSION(ftp)
3+
dnl
44

55
PHP_ARG_ENABLE(ftp,whether to enable FTP support,
66
[ --enable-ftp Enable FTP support])

ext/gd/config.m4

+6-8
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ AC_DEFUN(PHP_GD_XPM,[
9191
])
9292

9393
AC_DEFUN(PHP_GD_FREETYPE1,[
94-
PHP_ARG_WITH(ttf,whether to include include FreeType 1.x support,
94+
PHP_ARG_WITH(ttf,for FreeType 1.x support,
9595
[ --with-ttf[=DIR] GD: Include FreeType 1.x support])
9696
9797
if test "$PHP_TTF" != "no"; then
@@ -148,7 +148,7 @@ AC_DEFUN(PHP_GD_FREETYPE2,[
148148
])
149149

150150
AC_DEFUN(PHP_GD_T1LIB,[
151-
PHP_ARG_WITH(t1lib, whether to include T1lib support,
151+
PHP_ARG_WITH(t1lib, for T1lib support,
152152
[ --with-t1lib[=DIR] GD: Include T1lib support.])
153153
154154
if test "$PHP_T1LIB" != "no"; then
@@ -175,8 +175,8 @@ AC_DEFUN(PHP_GD_T1LIB,[
175175
])
176176

177177
AC_DEFUN(PHP_GD_TTSTR,[
178-
PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in gd,
179-
[ --enable-gd-native-ttf GD: Enable TrueType string function in gd])
178+
PHP_ARG_ENABLE(gd-native-ttf, whether to enable truetype string function in GD,
179+
[ --enable-gd-native-ttf GD: Enable TrueType string function.])
180180
181181
if test "$PHP_GD_NATIVE_TTF" = "yes"; then
182182
AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
@@ -205,10 +205,8 @@ AC_DEFUN(PHP_GD_CHECK_VERSION,[
205205
])
206206

207207

208-
PHP_ARG_WITH(gd, whether to include GD support,
209-
[ --with-gd[=DIR] Include GD support (DIR is GD's install dir).
210-
Set DIR to "shared" to build as a dl, or
211-
"shared,DIR" to build as a dl and still specify DIR.])
208+
PHP_ARG_WITH(gd, for GD support,
209+
[ --with-gd[=DIR] Include GD support (DIR is GD's install dir).])
212210

213211
if test "$PHP_GD" != "no"; then
214212

ext/gettext/config.m4

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension gettext
3-
dnl don't forget to call PHP_EXTENSION(gettext)
3+
dnl
44

5-
PHP_ARG_WITH(gettext,whether to include GNU gettext support,
6-
[ --with-gettext[=DIR] Include GNU gettext support. DIR is the gettext
7-
install directory, defaults to /usr/local])
5+
PHP_ARG_WITH(gettext,for GNU gettext support,
6+
[ --with-gettext[=DIR] Include GNU gettext support.])
87

98
if test "$PHP_GETTEXT" != "no"; then
109
for i in /usr /usr/local $PHP_GETTEXT; do

ext/gmp/config.m4

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension gmp
3+
dnl
34

4-
dnl If your extension references something external, use with:
5-
6-
PHP_ARG_WITH(gmp, for gmp support,
7-
dnl Make sure that the comment is aligned:
8-
[ --with-gmp Include gmp support])
5+
PHP_ARG_WITH(gmp, for GNU MP support,
6+
[ --with-gmp Include GNU MP support])
97

108
if test "$PHP_GMP" != "no"; then
119

ext/hyperwave/config.m4

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
AC_MSG_CHECKING(for Hyperwave support)
46
AC_ARG_WITH(hyperwave,

ext/icap/config.m4

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
PHP_ARG_WITH(icap,for ICAP support,
46
[ --with-icap[=DIR] Include ICAP support.])

ext/iconv/config.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
dnl
12
dnl $Id$
2-
dnl config.m4 for extension iconv
3+
dnl
34

45
PHP_ARG_WITH(iconv, for iconv support,
56
[ --with-iconv[=DIR] Include iconv support])

ext/informix/config.m4

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
dnl
12
dnl $Id$
3+
dnl
24

35
PHP_ARG_WITH(informix,for Informix support,
46
[ --with-informix[=DIR] Include Informix support. DIR is the Informix base

0 commit comments

Comments
 (0)