diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-11-22 01:00:44 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-11-22 01:00:44 +0000 |
commit | 9d468a33c4e8894d40b42d3bda61ac2e7630491d (patch) | |
tree | 10658b9e036e7e35b0aa7bd51bf9a8f784d144fd /ext/ctype/config.m4 | |
parent | f8dabac6d506b94f8f94d1ee175ade17d1a63021 (diff) | |
download | php-git-9d468a33c4e8894d40b42d3bda61ac2e7630491d.tar.gz |
an experimental extension providing the C ctype function family
Diffstat (limited to 'ext/ctype/config.m4')
-rw-r--r-- | ext/ctype/config.m4 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/ctype/config.m4 b/ext/ctype/config.m4 new file mode 100644 index 0000000000..9bcdcdb2c6 --- /dev/null +++ b/ext/ctype/config.m4 @@ -0,0 +1,26 @@ +dnl $Id$ +dnl config.m4 for extension ctype +dnl don't forget to call PHP_EXTENSION(ctype) + +dnl Comments in this file start with the string 'dnl'. +dnl Remove where necessary. This file will not work +dnl without editing. + +dnl If your extension references something external, use with: + +dnl PHP_ARG_WITH(ctype, for ctype support, +dnl Make sure that the comment is aligned: +dnl [ --with-ctype Include ctype support]) + +dnl Otherwise use enable: + +PHP_ARG_ENABLE(ctype, whether to enable ctype support,[ --enable-ctype Enable ctype support]) + +if test "$PHP_CTYPE" != "no"; then + dnl If you will not be testing anything external, like existence of + dnl headers, libraries or functions in them, just uncomment the + dnl following line and you are ready to go. + AC_DEFINE(HAVE_CTYPE, 1, [ ]) + dnl Write more examples of tests here... + PHP_EXTENSION(ctype, $ext_shared) +fi |