]> granicus.if.org Git - php/commitdiff
Fixed bug #28564 (Problem building informix as a shared extension).
authorIlia Alshanetsky <iliaa@php.net>
Sun, 30 May 2004 17:56:52 +0000 (17:56 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 30 May 2004 17:56:52 +0000 (17:56 +0000)
Patch by: roques at mti dot ag

ext/informix/Makefile.frag
ext/informix/ifx.ec

index e95934fc3fc6590090b6fcfe3e939be654e67182..2da3a15e7fecb84b457bb3eb6b47075e2aabd66d 100644 (file)
@@ -1,7 +1,10 @@
+OVERALL_TARGET += $(srcdir)/ifx.c
 
 $(srcdir)/ifx.c: $(srcdir)/ifx.ec $(builddir)/libphpifx.a
        (if test -d $(INFORMIXDIR); then \
           THREADLIB=POSIX $(INFORMIXDIR)/bin/esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; mv ifx.c $@; \
+          THREADLIB=POSIX $(INFORMIXDIR)/bin/esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; \
+           mv ifx.c $@ || true; \
         else \
           touch $@; \
         fi)
index ba5114dfe83737f5bfac20039cce1093b2c1a62a..dfe9cff34c95c58bdf0d08e5c227b502b61a84c0 100644 (file)
 /* prevent mod_ssl.h's header file from being included. */
 #define AP_HOOK_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 #include "php_globals.h"
 #include "ext/standard/php_standard.h"