summaryrefslogtreecommitdiff
path: root/ext/informix
diff options
context:
space:
mode:
Diffstat (limited to 'ext/informix')
-rw-r--r--ext/informix/Makefile.am3
-rw-r--r--ext/informix/config.h.stub11
-rw-r--r--ext/informix/readme.ifx0
-rw-r--r--ext/informix/setup.stub9
4 files changed, 18 insertions, 5 deletions
diff --git a/ext/informix/Makefile.am b/ext/informix/Makefile.am
index 7122ce04f5..18b8a4fd08 100644
--- a/ext/informix/Makefile.am
+++ b/ext/informix/Makefile.am
@@ -10,3 +10,6 @@ ifx.c: ifx.ec
else \
touch ifx.c; \
fi)
+
+clean:
+ -rm -f ifx.c
diff --git a/ext/informix/config.h.stub b/ext/informix/config.h.stub
index 4b90981e71..a61d630e4d 100644
--- a/ext/informix/config.h.stub
+++ b/ext/informix/config.h.stub
@@ -1,2 +1,9 @@
-/* define if you want to use the informix extension */
-/* #undef HAVE_LIBINFORMIX */
+#ifndef HAVE_IFX
+#define HAVE_IFX 0
+#endif
+#ifndef HAVE_IFX_IUS
+#define HAVE_IFX_IUS 0
+#endif
+#ifndef IFX_VERSION
+#define IFX_VERSION 0
+#endif
diff --git a/ext/informix/readme.ifx b/ext/informix/readme.ifx
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ext/informix/readme.ifx
diff --git a/ext/informix/setup.stub b/ext/informix/setup.stub
index a7476fb79e..9a9d1ad841 100644
--- a/ext/informix/setup.stub
+++ b/ext/informix/setup.stub
@@ -1,6 +1,9 @@
# $Source$
# $Id$
-define_option with-informix 'informix support?' yesnodir no \
-' Whether to build the informix extension.'
-
+define_option with-informix 'Informix support?' yesnodir \
+ "no $INFORMIXDIR Informix home" \
+' Whether to build PHP with Informix support. If you have not set up your\n
+ Informix environment, enter what $INFORMIXDIR is usually set to here.\n
+ You MUST set $INFORMIXDIR before trying to compile!\n
+ More info about Informix can be found at http://www.informix.com/.'