summaryrefslogtreecommitdiff
path: root/ext/posix/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/config.m4')
-rw-r--r--ext/posix/config.m413
1 files changed, 4 insertions, 9 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4
index 1d54a9a71a..cc17d0329f 100644
--- a/ext/posix/config.m4
+++ b/ext/posix/config.m4
@@ -2,17 +2,12 @@ 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)
+
+PHP_ARG_ENABLE(posix,whether to include POSIX-like functions,
+[ --disable-posix Disable POSIX-like functions], yes)
if test "$PHP_POSIX" = "yes"; then
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
- PHP_EXTENSION(posix)
+ PHP_EXTENSION(posix, $ext_shared)
fi