summaryrefslogtreecommitdiff
path: root/ext/msql
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/msql
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/msql')
-rw-r--r--ext/msql/config.h.stub2
-rw-r--r--ext/msql/config.m46
2 files changed, 3 insertions, 5 deletions
diff --git a/ext/msql/config.h.stub b/ext/msql/config.h.stub
deleted file mode 100644
index 64a3517ae2..0000000000
--- a/ext/msql/config.h.stub
+++ /dev/null
@@ -1,2 +0,0 @@
-#define HAVE_MSQL 0
-#define MSQL1 0
diff --git a/ext/msql/config.m4 b/ext/msql/config.m4
index 3ed38f3e46..0213377017 100644
--- a/ext/msql/config.m4
+++ b/ext/msql/config.m4
@@ -9,10 +9,10 @@ AC_DEFUN(AC_MSQL_VERSION,[
CFLAGS="$INCLUDES $CFLAGS"
AC_TRY_COMPILE([#include <sys/types.h>
#include "msql.h"],[int i = IDX_TYPE],[
- AC_DEFINE(MSQL1,0)
+ AC_DEFINE(MSQL1,0,[ ])
MSQL_VERSION="2.0 or newer"
],[
- AC_DEFINE(MSQL1,1)
+ AC_DEFINE(MSQL1,1,[ ])
MSQL_VERSION="1.0"
])
CFLAGS=$ac_php_oldcflags
@@ -34,7 +34,7 @@ AC_ARG_WITH(msql,
fi
AC_ADD_LIBRARY_WITH_PATH(msql, $MSQL_LIBDIR)
AC_ADD_INCLUDE($MSQL_INCDIR)
- AC_DEFINE(HAVE_MSQL)
+ AC_DEFINE(HAVE_MSQL,,[ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(msql)
AC_MSQL_VERSION