File tree 4 files changed +60
-66
lines changed
4 files changed +60
-66
lines changed Original file line number Diff line number Diff line change @@ -373,55 +373,55 @@ dnl Then headers.
373
373
dnl ----------------------------------------------------------------------------
374
374
375
375
dnl QNX requires unix.h to allow functions in libunix to work properly.
376
- AC_CHECK_HEADERS ( [ \
377
- dirent.h \
378
- sys/param.h \
379
- sys/types.h \
380
- sys/time.h \
381
- netinet/in.h \
382
- alloca.h \
383
- arpa/inet.h \
384
- arpa/nameser.h \
385
- dns.h \
386
- fcntl.h \
387
- grp.h \
388
- ieeefp.h \
389
- langinfo.h \
390
- linux/sock_diag.h \
391
- poll.h \
392
- pty.h \
393
- pwd.h \
394
- resolv.h \
395
- strings.h \
396
- syslog.h \
397
- sysexits.h \
398
- sys/ioctl.h \
399
- sys/file.h \
400
- sys/mman.h \
401
- sys/mount.h \
402
- sys/poll.h \
403
- sys/resource.h \
404
- sys/select.h \
405
- sys/socket.h \
406
- sys/stat.h \
407
- sys/statfs.h \
408
- sys/statvfs.h \
409
- sys/vfs.h \
410
- sys/sysexits.h \
411
- sys/uio.h \
412
- sys/wait.h \
413
- sys/loadavg.h \
414
- unistd.h \
415
- unix.h \
416
- utime.h \
417
- sys/utsname.h \
418
- sys/ipc.h \
419
- dlfcn.h \
420
- tmmintrin.h \
421
- nmmintrin.h \
422
- wmmintrin.h \
423
- immintrin.h
424
- ] , [ ] , [ ] , [
376
+ AC_CHECK_HEADERS ( m4_normalize ( [
377
+ dirent.h
378
+ sys/param.h
379
+ sys/types.h
380
+ sys/time.h
381
+ netinet/in.h
382
+ alloca.h
383
+ arpa/inet.h
384
+ arpa/nameser.h
385
+ dns.h
386
+ fcntl.h
387
+ grp.h
388
+ ieeefp.h
389
+ langinfo.h
390
+ linux/sock_diag.h
391
+ poll.h
392
+ pty.h
393
+ pwd.h
394
+ resolv.h
395
+ strings.h
396
+ syslog.h
397
+ sysexits.h
398
+ sys/ioctl.h
399
+ sys/file.h
400
+ sys/mman.h
401
+ sys/mount.h
402
+ sys/poll.h
403
+ sys/resource.h
404
+ sys/select.h
405
+ sys/socket.h
406
+ sys/stat.h
407
+ sys/statfs.h
408
+ sys/statvfs.h
409
+ sys/vfs.h
410
+ sys/sysexits.h
411
+ sys/uio.h
412
+ sys/wait.h
413
+ sys/loadavg.h
414
+ unistd.h
415
+ unix.h
416
+ utime.h
417
+ sys/utsname.h
418
+ sys/ipc.h
419
+ dlfcn.h
420
+ tmmintrin.h
421
+ nmmintrin.h
422
+ wmmintrin.h
423
+ immintrin.h
424
+ ] ) ,,, [ dnl
425
425
#ifdef HAVE_SYS_PARAM_H
426
426
#include <sys/param.h>
427
427
#endif
@@ -1331,11 +1331,9 @@ else
1331
1331
if test "$fiber_os" = 'mac'; then
1332
1332
AC_DEFINE ( [ _XOPEN_SOURCE] , 1 , [ ] )
1333
1333
fi
1334
- AC_CHECK_HEADER ( ucontext.h , [
1335
- AC_DEFINE ( [ ZEND_FIBER_UCONTEXT] , 1 , [ ] )
1336
- ] , [
1337
- AC_MSG_ERROR ( [ fibers not available on this platform] )
1338
- ] )
1334
+ AC_CHECK_HEADER ( [ ucontext.h] ,
1335
+ [ AC_DEFINE ( [ ZEND_FIBER_UCONTEXT] , [ 1] , [ ] ) ] ,
1336
+ [ AC_MSG_ERROR ( [ fibers not available on this platform] ) ] )
1339
1337
fi
1340
1338
1341
1339
ZEND_INIT
Original file line number Diff line number Diff line change 6
6
dnl Check for CCRandomGenerateBytes
7
7
dnl header absent in previous macOs releases
8
8
dnl
9
- AC_CHECK_HEADERS ( [ CommonCrypto/CommonRandom.h] , [ ] , [ ] ,
10
- [
11
- #include <sys/types.h>
12
- #include <Availability.h>
13
- #include <CommonCrypto/CommonCryptoError.h>
9
+ AC_CHECK_HEADERS ( [ CommonCrypto/CommonRandom.h] ,,, [ dnl
10
+ #include <sys/types.h>
11
+ #include <Availability.h>
12
+ #include <CommonCrypto/CommonCryptoError.h>
14
13
] )
15
14
16
15
dnl
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PHP_ARG_WITH([external-libcrypt],
61
61
if test "$PHP_EXTERNAL_LIBCRYPT" != "no"; then
62
62
PHP_CHECK_FUNC(crypt, crypt)
63
63
PHP_CHECK_FUNC(crypt_r, crypt)
64
- AC_CHECK_HEADERS ( crypt.h )
64
+ AC_CHECK_HEADERS ( [ crypt.h] )
65
65
if test "$ac_cv_func_crypt_r" = "yes"; then
66
66
PHP_CRYPT_R_STYLE
67
67
fi
384
384
dnl Check net/if.h for net_get_interfaces. Darwin and BSD-like systems need
385
385
dnl sys/socket.h to be included with net/if.h.
386
386
dnl
387
- AC_CHECK_HEADERS ( [ net/if.h] ,[ ] , [ ] ,
388
- [
387
+ AC_CHECK_HEADERS ( [ net/if.h] ,,, [ dnl
389
388
#ifdef HAVE_SYS_SOCKET_H
390
389
#include <sys/socket.h>
391
390
#endif
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ PHP_ARG_ENABLE([sysvmsg],
4
4
[ Enable sysvmsg support] ) ] )
5
5
6
6
if test "$PHP_SYSVMSG" != "no"; then
7
- AC_CHECK_HEADER ( [ sys/msg.h] ,
8
- [ ] ,
9
- [ AC_MSG_ERROR ( [ Cannot enable System V IPC support, sys/msg.h is missing] )
10
- ] )
7
+ AC_CHECK_HEADER ( [ sys/msg.h] ,,
8
+ [ AC_MSG_ERROR ( [ Cannot enable System V IPC support, sys/msg.h is missing] ) ] )
11
9
12
10
AC_DEFINE ( HAVE_SYSVMSG , 1 , [ ] )
13
11
PHP_NEW_EXTENSION(sysvmsg, sysvmsg.c, $ext_shared)
You can’t perform that action at this time.
0 commit comments