sniper          Wed Dec 21 21:50:08 2005 EDT

  Modified files:              (Branch: PHP_4_4)
    /php-src/ext/ming   config.m4 
  Log:
  - Fix possible problem in not finding ming.h
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/ming/config.m4?r1=1.19.2.1&r2=1.19.2.1.4.1&diff_format=u
Index: php-src/ext/ming/config.m4
diff -u php-src/ext/ming/config.m4:1.19.2.1 
php-src/ext/ming/config.m4:1.19.2.1.4.1
--- php-src/ext/ming/config.m4:1.19.2.1 Fri Jul 11 07:48:33 2003
+++ php-src/ext/ming/config.m4  Wed Dec 21 21:50:08 2005
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.19.2.1 2003/07/11 07:48:33 sniper Exp $
+dnl $Id: config.m4,v 1.19.2.1.4.1 2005/12/21 21:50:08 sniper Exp $
 dnl
 
 PHP_ARG_WITH(ming, for MING support,
@@ -40,6 +40,8 @@
   PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD)
 
   AC_MSG_CHECKING([for destroySWFBlock])
+  old_CPPFLAGS=$CPPFLAGS
+  CPPFLAGS=-I$MING_INC_DIR
   AC_TRY_RUN([
 #include "ming.h"
 int destroySWFBlock(int a, int b) {
@@ -58,8 +60,6 @@
   ]) 
 
   dnl Check Ming version (FIXME: if/when ming has some better way to detect 
the version..)
-  old_CPPFLAGS=$CPPFLAGS
-  CPPFLAGS=-I$MING_INC_DIR
   AC_EGREP_CPP(yes, [
 #include <ming.h>
 #ifdef SWF_SOUND_COMPRESSION

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

Reply via email to