summaryrefslogtreecommitdiff
path: root/ext/ctype/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ctype/config.m4')
-rw-r--r--ext/ctype/config.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/ctype/config.m4 b/ext/ctype/config.m4
new file mode 100644
index 0000000..7d575a3
--- /dev/null
+++ b/ext/ctype/config.m4
@@ -0,0 +1,11 @@
+dnl
+dnl $Id$
+dnl
+
+PHP_ARG_ENABLE(ctype, whether to enable ctype functions,
+[ --disable-ctype Disable ctype functions], yes)
+
+if test "$PHP_CTYPE" != "no"; then
+ AC_DEFINE(HAVE_CTYPE, 1, [ ])
+ PHP_NEW_EXTENSION(ctype, ctype.c, $ext_shared)
+fi