mirror of
https://github.com/php/php-src.git
synced 2024-10-07 17:56:12 +00:00
992eb497bf
(note that --with-xxx should be only used, if it references something external.)
19 lines
432 B
Plaintext
19 lines
432 B
Plaintext
dnl $Id$
|
|
dnl config.m4 for extension posix
|
|
dnl don't forget to call PHP_EXTENSION(posix)
|
|
|
|
AC_ARG_ENABLE(posix,
|
|
[ --disable-posix Disable POSIX-like functions],[
|
|
PHP_POSIX=$enableval
|
|
],[
|
|
PHP_POSIX=yes
|
|
])
|
|
|
|
AC_MSG_CHECKING(whether to include POSIX-like functions)
|
|
AC_MSG_RESULT($PHP_POSIX)
|
|
|
|
if test "$PHP_POSIX" = "yes"; then
|
|
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
|
|
PHP_EXTENSION(posix)
|
|
fi
|