summaryrefslogtreecommitdiff
path: root/ext/cybercash
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/cybercash
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/cybercash')
-rw-r--r--ext/cybercash/config.h.stub1
-rw-r--r--ext/cybercash/config.m42
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/cybercash/config.h.stub b/ext/cybercash/config.h.stub
deleted file mode 100644
index fb5502d911..0000000000
--- a/ext/cybercash/config.h.stub
+++ /dev/null
@@ -1 +0,0 @@
-#define HAVE_MCK 0
diff --git a/ext/cybercash/config.m4 b/ext/cybercash/config.m4
index 648968b9e3..5f5730441a 100644
--- a/ext/cybercash/config.m4
+++ b/ext/cybercash/config.m4
@@ -15,7 +15,7 @@ AC_ARG_WITH(cybercash,
LIBS="$LIBS -L$MCK_DIR/lib"
AC_ADD_LIBRARY_WITH_PATH(mckcrypto, $MCK_DIR/lib)
AC_ADD_INCLUDE($MCK_DIR)
- AC_DEFINE(HAVE_MCK)
+ AC_DEFINE(HAVE_MCK,,[Whether you have CyberCash])
else
AC_MSG_ERROR(Please reinstall the CyberCash MCK - I cannot find mckcrypt.h)
AC_MSG_RESULT(no)