File tree Expand file tree Collapse file tree 4 files changed +8774
-6070
lines changed Expand file tree Collapse file tree 4 files changed +8774
-6070
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ case $basic_machine in
261
261
| d10v | d30v | dlx | dsp16xx \
262
262
| epiphany \
263
263
| fido | fr30 | frv \
264
- | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0 | hppa64 \
264
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265
265
| hexagon \
266
266
| i370 | i860 | i960 | ia64 \
267
267
| ip2k | iq2000 \
@@ -384,7 +384,7 @@ case $basic_machine in
384
384
| elxsi-* \
385
385
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
386
386
| h8300-* | h8500-* \
387
- | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0-* | hppa64-* \
387
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw] -* | hppa64-* \
388
388
| hexagon-* \
389
389
| i* 86-* | i860-* | i960-* | ia64-* \
390
390
| ip2k-* | iq2000-* \
@@ -1411,7 +1411,7 @@ case $os in
1411
1411
os=` echo $os | sed -e ' s|nto|nto-qnx|' `
1412
1412
;;
1413
1413
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1414
- | -windows* | -osx | -abug | -os9* | -beos* | -haiku* \
1414
+ | -windows* | -osx | -abug | -netware * | - os9* | -beos* | -haiku* \
1415
1415
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews* )
1416
1416
;;
1417
1417
-mac* )
Original file line number Diff line number Diff line change @@ -19,15 +19,21 @@ if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then
19
19
elif test -f $PHP_ZLIB/include/zlib.h; then
20
20
ZLIB_DIR=$PHP_ZLIB
21
21
ZLIB_INCDIR=$ZLIB_DIR/include
22
+ elif test -f $PHP_ZLIB/develop/headers/zlib.h; then
23
+ ZLIB_DIR=$PHP_ZLIB
24
+ ZLIB_INCDIR=$ZLIB_DIR/develop/headers
22
25
fi
23
26
else
24
- for i in /usr/local /usr $PHP_ZLIB_DIR; do
27
+ for i in /usr/local /usr /system $PHP_ZLIB_DIR; do
25
28
if test -f $i/include/zlib/zlib.h; then
26
29
ZLIB_DIR=$i
27
30
ZLIB_INCDIR=$i/include/zlib
28
31
elif test -f $i/include/zlib.h; then
29
32
ZLIB_DIR=$i
30
33
ZLIB_INCDIR=$i/include
34
+ elif test -f $i/develop/headers/zlib.h; then
35
+ ZLIB_DIR=$i
36
+ ZLIB_INCDIR=$i/develop/headers
31
37
fi
32
38
done
33
39
fi
@@ -42,7 +48,7 @@ if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then
42
48
esac
43
49
44
50
AC_MSG_CHECKING ( [ for zlib version >= 1.2.0.4] )
45
- ZLIB_VERSION=`$EGREP "define ZLIB_VERSION" $ZLIB_DIR/include /zlib.h | $SED -e 's/[ [ ^0-9\.] ] //g'`
51
+ ZLIB_VERSION=`$EGREP "define ZLIB_VERSION" $ZLIB_INCDIR /zlib.h | $SED -e 's/[ [ ^0-9\.] ] //g'`
46
52
AC_MSG_RESULT ( [ $ZLIB_VERSION] )
47
53
if test `echo $ZLIB_VERSION | $SED -e 's/[ [ ^0-9] ] / /g' | $AWK '{print $1*1000000 + $2*10000 + $3*100 + $4}'` -lt 1020004; then
48
54
AC_MSG_ERROR ( [ libz version greater or equal to 1.2.0.4 required] )
You can’t perform that action at this time.
0 commit comments