iliaa           Sun May 30 13:56:52 2004 EDT

  Modified files:              
    /php-src/ext/informix       ifx.ec Makefile.frag 
  Log:
  Fixed bug #28564 (Problem building informix as a shared extension).
  Patch by: roques at mti dot ag 
  
  
http://cvs.php.net/diff.php/php-src/ext/informix/ifx.ec?r1=1.101&r2=1.102&ty=u
Index: php-src/ext/informix/ifx.ec
diff -u php-src/ext/informix/ifx.ec:1.101 php-src/ext/informix/ifx.ec:1.102
--- php-src/ext/informix/ifx.ec:1.101   Sat Jan 17 07:59:27 2004
+++ php-src/ext/informix/ifx.ec Sun May 30 13:56:51 2004
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: ifx.ec,v 1.101 2004/01/17 12:59:27 sniper Exp $ */
+/* $Id: ifx.ec,v 1.102 2004/05/30 17:56:51 iliaa Exp $ */
 
 /* -------------------------------------------------------------------
  * if you want a function reference : "grep '^\*\*' ifx.ec" will give
@@ -36,6 +36,10 @@
 
 /* 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"
http://cvs.php.net/diff.php/php-src/ext/informix/Makefile.frag?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/informix/Makefile.frag
diff -u php-src/ext/informix/Makefile.frag:1.2 php-src/ext/informix/Makefile.frag:1.3
--- php-src/ext/informix/Makefile.frag:1.2      Thu Jun 13 20:01:41 2002
+++ php-src/ext/informix/Makefile.frag  Sun May 30 13:56:51 2004
@@ -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)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to