summaryrefslogtreecommitdiff
path: root/ext/yp
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/yp
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/yp')
-rw-r--r--ext/yp/config.h.stub5
-rw-r--r--ext/yp/config.m44
2 files changed, 2 insertions, 7 deletions
diff --git a/ext/yp/config.h.stub b/ext/yp/config.h.stub
deleted file mode 100644
index 768e64e5a9..0000000000
--- a/ext/yp/config.h.stub
+++ /dev/null
@@ -1,5 +0,0 @@
-/* define if you want to use the yp extension */
-/* #undef HAVE_LIBYP */
-
-#undef HAVE_YP
-#undef SOLARIS_YP
diff --git a/ext/yp/config.m4 b/ext/yp/config.m4
index 981be1b589..151661abf8 100644
--- a/ext/yp/config.m4
+++ b/ext/yp/config.m4
@@ -8,13 +8,13 @@ AC_ARG_WITH(yp,
[
if test "$withval" = "yes"; then
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_YP)
+ AC_DEFINE(HAVE_YP,,[ ])
PHP_EXTENSION(yp)
if test `uname` = "SunOS";then
release=`uname -r`
case "$release" in
5*)
- AC_DEFINE(SOLARIS_YP)
+ AC_DEFINE(SOLARIS_YP,,[ ])
;;
*)
;;