summaryrefslogtreecommitdiff
path: root/ext/dav
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-30 04:07:46 +0000
committerSascha Schumann <sas@php.net>1999-12-30 04:07:46 +0000
commit2c99bef442d71a455628628e932daf26aaec8a46 (patch)
treef4a7ca3e976ff07d3d6a730bded4ed1598b6ff8d /ext/dav
parente3af8ed3217b0a3bd46382e523bb12cfdc12e230 (diff)
downloadphp-git-2c99bef442d71a455628628e932daf26aaec8a46.tar.gz
Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e. AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
Diffstat (limited to 'ext/dav')
-rw-r--r--ext/dav/config.h.stub2
-rw-r--r--ext/dav/config.m46
2 files changed, 3 insertions, 5 deletions
diff --git a/ext/dav/config.h.stub b/ext/dav/config.h.stub
deleted file mode 100644
index 90a0bc1de4..0000000000
--- a/ext/dav/config.h.stub
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Define to compile with mod_dav support */
-#define HAVE_MOD_DAV 0
diff --git a/ext/dav/config.m4 b/ext/dav/config.m4
index c2b83adbc7..3847c5cb26 100644
--- a/ext/dav/config.m4
+++ b/ext/dav/config.m4
@@ -13,17 +13,17 @@ AC_ARG_WITH(mod-dav,
else
if test "$withval" != "no"; then
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_MOD_DAV, 1)
+ AC_DEFINE(HAVE_MOD_DAV, 1, [Whether you have mod_dav])
CFLAGS="$CFLAGS -DHAVE_MOD_DAV -I$withval"
INCLUDES="$INCLUDES -I$withval"
PHP_EXTENSION(dav)
else
AC_MSG_RESULT(no)
- AC_DEFINE(HAVE_MOD_DAV, 0)
+ AC_DEFINE(HAVE_MOD_DAV, 0, [Whether you have mod_dav])
fi
fi
],[
AC_MSG_RESULT(no)
- AC_DEFINE(HAVE_MOD_DAV, 0)
+ AC_DEFINE(HAVE_MOD_DAV, 0, [Whether you have mod_dav])
])