Skip to content

Commit afdaee9

Browse files
author
Sascha Schumann
committed
Nuke more quotes
1 parent 9982ff5 commit afdaee9

File tree

38 files changed

+143
-143
lines changed

38 files changed

+143
-143
lines changed

acinclude.m4

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dnl notation.
7070
dnl
7171
AC_DEFUN(PHP_EVAL_LIBLINE,[
7272
for ac_i in $1; do
73-
case "$ac_i" in
73+
case $ac_i in
7474
-l*)
7575
ac_ii=`echo $ac_i|cut -c 3-`
7676
PHP_ADD_LIBRARY($ac_ii,,$2)
@@ -90,7 +90,7 @@ dnl build system which are only given in compiler notation.
9090
dnl
9191
AC_DEFUN(PHP_EVAL_INCLINE,[
9292
for ac_i in $1; do
93-
case "$ac_i" in
93+
case $ac_i in
9494
-I*)
9595
ac_ii=`echo $ac_i|cut -c 3-`
9696
PHP_ADD_INCLUDE($ac_ii)
@@ -142,7 +142,7 @@ int readdir_r(DIR *, struct dirent *);
142142
ac_cv_what_readdir_r=none
143143
])
144144
])
145-
case "$ac_cv_what_readdir_r" in
145+
case $ac_cv_what_readdir_r in
146146
POSIX)
147147
AC_DEFINE(HAVE_POSIX_READDIR_R,1,[whether you have POSIX readdir_r]);;
148148
old-style)
@@ -154,7 +154,7 @@ int readdir_r(DIR *, struct dirent *);
154154
AC_DEFUN(PHP_SHLIB_SUFFIX_NAME,[
155155
PHP_SUBST(SHLIB_SUFFIX_NAME)
156156
SHLIB_SUFFIX_NAME=so
157-
case "$host_alias" in
157+
case $host_alias in
158158
*hpux*)
159159
SHLIB_SUFFIX_NAME=sl
160160
;;
@@ -230,7 +230,7 @@ AC_DEFUN(PHP_LIBGCC_LIBPATH,[
230230
])
231231

232232
AC_DEFUN(PHP_ARG_ANALYZE,[
233-
case "[$]$1" in
233+
case [$]$1 in
234234
shared,*)
235235
ext_output="yes, shared"
236236
ext_shared=yes
@@ -612,7 +612,7 @@ dnl
612612
dnl add a library to the link line
613613
dnl
614614
AC_DEFUN(PHP_ADD_LIBRARY,[
615-
case "$1" in
615+
case $1 in
616616
c|c_r|pthread*) ;;
617617
*)
618618
ifelse($3,,[
@@ -811,9 +811,9 @@ AC_DEFUN(PHP_SOLARIS_PIC_WEIRDNESS,[
811811
AC_MSG_CHECKING(whether -fPIC is required)
812812
if test -n "$EXT_SHARED"; then
813813
os=`uname -sr 2>/dev/null`
814-
case "$os" in
814+
case $os in
815815
"SunOS 5.6"|"SunOS 5.7")
816-
case "$CC" in
816+
case $CC in
817817
gcc*|egcs*) CFLAGS="$CFLAGS -fPIC";;
818818
*) CFLAGS="$CFLAGS -fpic";;
819819
esac

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ AC_AIX
9393

9494
BSD_MAKEFILE=no
9595

96-
case "$host_alias" in
96+
case $host_alias in
9797
*solaris*)
9898
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
9999
if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
@@ -653,7 +653,7 @@ divert(6)
653653
enable_shared=yes
654654
enable_static=yes
655655
656-
case "$php_build_target" in
656+
case $php_build_target in
657657
program)
658658
enable_shared=no
659659
;;

ext/ccvs/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ AC_ARG_WITH(ccvs,
88
[
99
if test "$withval" != "no"; then
1010
CCVS_DIR="$withval"
11-
test -f $withval/include/cv_api.h && CCVS_INCLUDE_DIR="$withval/include"
12-
test -f $withval/lib/libccvs.a && CCVS_LIB_DIR="$withval/lib"
11+
test -f $withval/include/cv_api.h && CCVS_INCLUDE_DIR=$withval/include
12+
test -f $withval/lib/libccvs.a && CCVS_LIB_DIR=$withval/lib
1313
1414
if test -n "$CCVS_DIR"; then
1515
AC_MSG_RESULT(yes)

ext/cpdf/config.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AC_ARG_WITH(cpdflib,
66
DIR is the cpdfllib install directory,
77
defaults to /usr.],
88
[
9-
case "$withval" in
9+
case $withval in
1010
no)
1111
AC_MSG_RESULT(no) ;;
1212
yes)
@@ -19,7 +19,7 @@ AC_ARG_WITH(cpdflib,
1919
PHP_ADD_LIBRARY(jpeg)
2020
;;
2121
*)
22-
test -f $withval/include/cpdflib.h && CPDFLIB_INCLUDE="$withval/include"
22+
test -f $withval/include/cpdflib.h && CPDFLIB_INCLUDE=$withval/include
2323
if test -n "$CPDFLIB_INCLUDE" ; then
2424
AC_MSG_RESULT(yes)
2525
PHP_EXTENSION(cpdf)
@@ -31,7 +31,7 @@ AC_ARG_WITH(cpdflib,
3131
[ --with-jpeg-dir[=DIR] jpeg dir for cpdflib 2.x],[
3232
AC_MSG_RESULT(yes)
3333
if test -z $withval; then
34-
withval="/usr/local"
34+
withval=/usr/local
3535
fi
3636
LIBS="$LIBS -L$withval/lib"
3737
AC_CHECK_LIB(jpeg,jpeg_read_header, ,[AC_MSG_RESULT(no)],)
@@ -46,7 +46,7 @@ AC_ARG_WITH(cpdflib,
4646
[ --with-tiff-dir[=DIR] tiff dir for cpdflib 2.x],[
4747
AC_MSG_RESULT(yes)
4848
if test -z $withval; then
49-
withval="/usr/local"
49+
withval=/usr/local
5050
fi
5151
LIBS="$LIBS -L$withval/lib"
5252
AC_CHECK_LIB(tiff,TIFFOpen, ,[AC_MSG_RESULT(no)],)

ext/cybercash/config.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ AC_ARG_WITH(cybercash,
77
install directory.],
88
[
99
if test "$withval" != "no"; then
10-
test -f $withval/mckcrypt.h && MCK_DIR="$withval"
11-
test -f $withval/c-api/mckcrypt.h && MCK_DIR="$withval/c-api"
10+
test -f $withval/mckcrypt.h && MCK_DIR=$withval
11+
test -f $withval/c-api/mckcrypt.h && MCK_DIR=$withval/c-api
1212
if test -n "$MCK_DIR"; then
1313
AC_MSG_RESULT(yes)
1414
PHP_EXTENSION(cybercash)
15-
old_LIBS="$LIBS"
15+
old_LIBS=$LIBS
1616
LIBS="$LIBS -L$MCK_DIR/lib"
1717
AC_CHECK_LIB(mckcrypto,base64_encode,[AC_DEFINE(HAVE_MCK,1,[ ])],
1818
[AC_MSG_ERROR(Please reinstall the CyberCash MCK - cannot find mckcrypto lib)])
19-
LIBS="$old_LIBS"
19+
LIBS=$old_LIBS
2020
PHP_ADD_LIBRARY_WITH_PATH(mckcrypto, $MCK_DIR/lib)
2121
PHP_ADD_INCLUDE($MCK_DIR)
2222
else

ext/db/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ if test "$PHP_DB" != "no"; then
3333
if test "$DBM_LIB" = "-lgdbm"; then
3434
AC_CHECK_HEADER(gdbm.h, [ GDBM_INCLUDE="" ], [
3535
AC_MSG_RESULT("Try /usr/local/include/gdbm.h");
36-
AC_CHECK_HEADER(/usr/local/include/gdbm.h, [ GDBM_INCLUDE="-I/usr/local/include" ],[
36+
AC_CHECK_HEADER(/usr/local/include/gdbm.h, [ GDBM_INCLUDE=-I/usr/local/include ],[
3737
AC_MSG_RESULT("Try /opt/local/include/gdbm.h");
38-
AC_CHECK_HEADER(/opt/local/include/gdbm.h, [ GDBM_INCLUDE="-I/opt/local/include" ],[
38+
AC_CHECK_HEADER(/opt/local/include/gdbm.h, [ GDBM_INCLUDE=-I/opt/local/include ],[
3939
dnl if in /usr/pkg/include, do not add anything. See above.
4040
AC_MSG_RESULT("Try /usr/pkg/include/gdbm.h");
4141
AC_CHECK_HEADER(/usr/pkg/include/gdbm.h, [ GDBM_INCLUDE="" ],[

ext/domxml/config.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dnl config.m4 for extension domxml
33

44
AC_DEFUN(PHP_DOM_CHECK_VERSION,[
55
old_CPPFLAGS=$CPPFLAGS
6-
CPPFLAGS="-I$DOMXML_DIR/include"
6+
CPPFLAGS=-I$DOMXML_DIR/include
77
AC_MSG_CHECKING(for libxml version)
88
AC_EGREP_CPP(yes,[
99
#include <libxml/xmlversion.h>
@@ -47,9 +47,9 @@ if test "$PHP_DOM" != "no"; then
4747
PHP_ADD_INCLUDE($DOMXML_DIR/include)
4848

4949
if test -f $DOMXML_DIR/lib/libxml2.a -o -f $DOMXML_DIR/lib/libxml2.s? ; then
50-
DOM_LIBNAME="xml2"
50+
DOM_LIBNAME=xml2
5151
else
52-
DOM_LIBNAME="xml"
52+
DOM_LIBNAME=xml
5353
fi
5454

5555
PHP_SUBST(DOMXML_SHARED_LIBADD)

ext/fbsql/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if test "$PHP_FBSQL" != "no"; then
1414

1515
for i in /Local/Library /usr /usr/local /opt /Library; do
1616
if test -f $i/FrontBase/include/FBCAccess/FBCAccess.h; then
17-
FBSQL_INSTALLATION_DIR="$i/FrontBase"
17+
FBSQL_INSTALLATION_DIR=$i/FrontBase
1818
break
1919
fi
2020
done

ext/fribidi/config.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnl if module was requested with default path of fribidi installation then
1717
dnl $PHP_FRIBIDI will be "yes"
1818

1919
if test "$PHP_FRIBIDI" = "yes"; then
20-
PHP_FRIBIDI="/usr/local"
20+
PHP_FRIBIDI=/usr/local
2121
fi
2222

2323

@@ -26,7 +26,7 @@ dnl $PHP_FRIBIDI will be "yes"
2626

2727
AC_MSG_CHECKING([for header files in "$PHP_FRIBIDI/include/fribidi"])
2828
if test -f $PHP_FRIBIDI/include/fribidi/fribidi.h && test -f $PHP_FRIBIDI/include/fribidi/fribidi_types.h && test -f $PHP_FRIBIDI/include/fribidi/fribidi_char_sets.h; then
29-
FRIBIDI_INCDIR="$PHP_FRIBIDI/include/fribidi/"
29+
FRIBIDI_INCDIR=$PHP_FRIBIDI/include/fribidi/
3030
AC_MSG_RESULT([found all])
3131
else
3232
AC_MSG_RESULT([missing])
@@ -38,7 +38,7 @@ dnl $PHP_FRIBIDI will be "yes"
3838

3939
AC_MSG_CHECKING([for libfribidi.so file in "$PHP_FRIBIDI/lib/"])
4040
if test -f "$PHP_FRIBIDI/lib/libfribidi.so" ; then
41-
FRIBIDI_LIBDIR="$PHP_FRIBIDI/lib/"
41+
FRIBIDI_LIBDIR=$PHP_FRIBIDI/lib/
4242
AC_MSG_RESULT([found])
4343
else
4444
AC_MSG_RESULT([missing])

ext/gd/config.m4

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ AC_DEFUN(PHP_GD_FREETYPE1,[
7676
if test -n "$PHP_TTF" ; then
7777
for i in /usr /usr/local "$PHP_TTF" ; do
7878
if test -f "$i/include/freetype.h" ; then
79-
TTF_DIR="$i"
79+
TTF_DIR=$i
8080
unset TTF_INC_DIR
8181
fi
8282
if test -f "$i/include/freetype/freetype.h"; then
83-
TTF_DIR="$i"
84-
TTF_INC_DIR="$i/include/freetype"
83+
TTF_DIR=$i
84+
TTF_INC_DIR=$i/include/freetype
8585
fi
8686
done
8787
fi
@@ -90,7 +90,7 @@ AC_DEFUN(PHP_GD_FREETYPE1,[
9090
PHP_ADD_LIBRARY_WITH_PATH(ttf, $TTF_DIR/lib, GD_SHARED_LIBADD)
9191
fi
9292
if test -z "$TTF_INC_DIR"; then
93-
TTF_INC_DIR="$TTF_DIR/include"
93+
TTF_INC_DIR=$TTF_DIR/include
9494
fi
9595
PHP_ADD_INCLUDE($TTF_INC_DIR)
9696
else
@@ -106,8 +106,8 @@ AC_DEFUN(PHP_GD_FREETYPE2,[
106106
if test "$PHP_FREETYPE_DIR" != "no"; then
107107
for i in /usr /usr/local "$PHP_FREETYPE_DIR" ; do
108108
if test -f "$i/include/freetype2/freetype/freetype.h"; then
109-
FREETYPE2_DIR="$i"
110-
FREETYPE2_INC_DIR="$i/include/freetype2/freetype"
109+
FREETYPE2_DIR=$i
110+
FREETYPE2_INC_DIR=$i/include/freetype2/freetype
111111
fi
112112
done
113113
@@ -131,7 +131,7 @@ AC_DEFUN(PHP_GD_T1LIB,[
131131
if test "$PHP_T1LIB" != "no"; then
132132
for i in /usr/local /usr $PHP_T1LIB; do
133133
if test -f "$i/include/t1lib.h"; then
134-
T1_DIR="$i"
134+
T1_DIR=$i
135135
fi
136136
done
137137
@@ -192,7 +192,7 @@ dnl Various checks for GD features
192192
PHP_GD_FREETYPE1
193193
PHP_GD_T1LIB
194194

195-
case "$PHP_GD" in
195+
case $PHP_GD in
196196
yes)
197197
PHP_ADD_LIBRARY(gd,, GD_SHARED_LIBADD)
198198
PHP_GD_CHECK_VERSION
@@ -201,11 +201,11 @@ dnl Various checks for GD features
201201
*)
202202
dnl A whole whack of possible places where these might be
203203
for i in include/gd1.3 include/gd include gd1.3 gd ""; do
204-
test -f $PHP_GD/$i/gd.h && GD_INCLUDE="$PHP_GD/$i"
204+
test -f $PHP_GD/$i/gd.h && GD_INCLUDE=$PHP_GD/$i
205205
done
206206

207207
for i in lib/gd1.3 lib/gd lib gd1.3 gd ""; do
208-
test -f $PHP_GD/$i/libgd.so -o -f $PHP_GD/$i/libgd.a && GD_LIB="$PHP_GD/$i"
208+
test -f $PHP_GD/$i/libgd.so -o -f $PHP_GD/$i/libgd.a && GD_LIB=$PHP_GD/$i
209209
done
210210

211211
if test -n "$GD_INCLUDE" && test -n "$GD_LIB" ; then
@@ -220,12 +220,12 @@ dnl A whole whack of possible places where these might be
220220

221221
dnl NetBSD package structure
222222
if test -f /usr/pkg/include/gd/gd.h -a -z "$GD_INCLUDE" ; then
223-
GD_INCLUDE="/usr/pkg/include/gd"
223+
GD_INCLUDE=/usr/pkg/include/gd
224224
fi
225225

226226
dnl SuSE 6.x package structure
227227
if test -f /usr/include/gd/gd.h -a -z "$GD_INCLUDE" ; then
228-
GD_INCLUDE="/usr/include/gd"
228+
GD_INCLUDE=/usr/include/gd
229229
fi
230230

231231
PHP_EXPAND_PATH($GD_INCLUDE, GD_INCLUDE)

ext/gettext/config.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ if test "$PHP_GETTEXT" != "no"; then
2020
GETTEXT_LIBDIR=$GETTEXT_DIR/lib
2121
GETTEXT_INCDIR=$GETTEXT_DIR/include
2222

23-
O_LDFLAGS="$LDFLAGS"
23+
O_LDFLAGS=$LDFLAGS
2424
LDFLAGS="$LDFLAGS -L$GETTEXT_LIBDIR"
25-
AC_CHECK_LIB(intl, bindtextdomain, GETTEXT_LIBS="intl",[
25+
AC_CHECK_LIB(intl, bindtextdomain, GETTEXT_LIBS=intl,[
2626
AC_CHECK_LIB(c, bindtextdomain, GETTEXT_LIBS= ,[
2727
AC_MSG_ERROR(Unable to find required gettext library)
2828
])
2929
])
30-
LDFLAGS="$O_LDFLAGS"
30+
LDFLAGS=$O_LDFLAGS
3131

3232
AC_DEFINE(HAVE_LIBINTL,1,[ ])
3333
PHP_EXTENSION(gettext, $ext_shared)

ext/informix/config.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ WARNING: You asked for Informix support, but don't have \\\$INFORMIXDIR
2020
PHP_ADD_LIBPATH($INFORMIXDIR/lib, INFORMIX_SHARED_LIBADD)
2121
PHP_ADD_LIBPATH($INFORMIXDIR/lib/esql, INFORMIX_SHARED_LIBADD)
2222
else
23-
IFX_LIBDIR="$IFX_LIBDIR"
23+
IFX_LIBDIR=$IFX_LIBDIR
2424
fi
2525
else
2626
IFX_INCDIR=$PHP_INFORMIX/incl/esql
2727
if test -z "$IFX_LIBDIR"; then
2828
PHP_ADD_LIBPATH($PHP_INFORMIX/lib, INFORMIX_SHARED_LIBADD)
2929
PHP_ADD_LIBPATH($PHP_INFORMIX/lib/esql, INFORMIX_SHARED_LIBADD)
3030
else
31-
IFX_LIBDIR="$IFX_LIBDIR"
31+
IFX_LIBDIR=$IFX_LIBDIR
3232
fi
3333
if test "$PHP_INFORMIX" != "$INFORMIXDIR"; then
3434
INFORMIX_WARNING="
@@ -52,7 +52,7 @@ WARNING: You specified Informix base install directory that is different
5252
CPPFLAGS="$CPPFLAGS $IFX_INCLUDE"
5353
LDFLAGS="$LDFLAGS $IFX_LFLAGS"
5454

55-
case "$host_alias" in
55+
case $host_alias in
5656
*aix*)
5757
CPPFLAGS="$CPPFLAGS -D__H_LOCALEDEF";;
5858
esac
@@ -62,16 +62,16 @@ WARNING: You specified Informix base install directory that is different
6262
IFX_VERSION=[`esql -V | sed -ne '1 s/^[^0-9]*\([0-9]\)\.\([0-9]*\).*/\1\2/p'`]
6363
if test $IFX_VERSION -ge "900"; then
6464
AC_DEFINE(HAVE_IFX_IUS,1,[ ])
65-
IFX_ESQL_FLAGS="-EDHAVE_IFX_IUS"
65+
IFX_ESQL_FLAGS=-EDHAVE_IFX_IUS
6666
else
67-
IFX_ESQL_FLAGS="-EUHAVE_IFX_IUS"
67+
IFX_ESQL_FLAGS=-EUHAVE_IFX_IUS
6868
fi
6969
PHP_SUBST(IFX_ESQL_FLAGS)
7070
PHP_SUBST(INFORMIX_SHARED_LIBADD)
7171
AC_DEFINE_UNQUOTED(IFX_VERSION, $IFX_VERSION, [ ])
7272
PHP_EXTENSION(informix, $ext_shared)
7373
for i in $IFX_LIBS; do
74-
case "$i" in
74+
case $i in
7575
*.o)
7676
PHP_ADD_LIBPATH($abs_builddir/ext/informix, INFORMIX_SHARED_LIBADD)
7777
PHP_ADD_LIBRARY(php_ifx, 1, INFORMIX_SHARED_LIBADD)

0 commit comments

Comments
 (0)