summaryrefslogtreecommitdiff
path: root/ext/oracle
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/oracle
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/oracle')
-rw-r--r--ext/oracle/config.h.stub2
-rw-r--r--ext/oracle/config.m46
2 files changed, 3 insertions, 5 deletions
diff --git a/ext/oracle/config.h.stub b/ext/oracle/config.h.stub
deleted file mode 100644
index f6f3bcd81b..0000000000
--- a/ext/oracle/config.h.stub
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Define if you have the Oracle database client libraries */
-#define HAVE_ORACLE 0
diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4
index ffe50db702..7f7c8b94a2 100644
--- a/ext/oracle/config.m4
+++ b/ext/oracle/config.m4
@@ -146,11 +146,11 @@ AC_ARG_WITH(oracle,
else
ORACLE_SHLIBS="$ORACLE_STLIBS"
fi
- AC_DEFINE(HAVE_OCI8)
+ AC_DEFINE(HAVE_OCI8,,[ ])
;;
8.1)
ORACLE_SHLIBS="-lclntsh $ORA_SYSLIB"
- AC_DEFINE(HAVE_OCI8)
+ AC_DEFINE(HAVE_OCI8,,[ ])
;;
*)
ORACLE_SHLIBS=
@@ -160,7 +160,7 @@ AC_ARG_WITH(oracle,
# only using shared libs right now
ORACLE_LIBS=$ORACLE_SHLIBS
- AC_DEFINE(HAVE_ORACLE)
+ AC_DEFINE(HAVE_ORACLE,,[ ])
fi