[mapserver-commits] r9012 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed May 13 10:40:31 EDT 2009


Author: dmorissette
Date: 2009-05-13 10:40:31 -0400 (Wed, 13 May 2009)
New Revision: 9012

Modified:
   trunk/mapserver/configure
   trunk/mapserver/configure.in
Log:
Added missing line in libpng detection patch (#3010)

Modified: trunk/mapserver/configure
===================================================================
--- trunk/mapserver/configure	2009-05-07 21:03:09 UTC (rev 9011)
+++ trunk/mapserver/configure	2009-05-13 14:40:31 UTC (rev 9012)
@@ -9446,6 +9446,7 @@
     test -f $PNG_DIR/png.h && PNG_INCLUDE="$PNG_DIR"
     if test -n "$PNG_INCLUDE" ; then
             old_cflags="$CFLAGS"
+      CFLAGS="$ZLIB_INC $CFLAGS"
       # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
 

Modified: trunk/mapserver/configure.in
===================================================================
--- trunk/mapserver/configure.in	2009-05-07 21:03:09 UTC (rev 9011)
+++ trunk/mapserver/configure.in	2009-05-13 14:40:31 UTC (rev 9012)
@@ -895,6 +895,7 @@
     if test -n "$PNG_INCLUDE" ; then
       dnl make sure we'll be able to find zlib.h
       old_cflags="$CFLAGS"
+      CFLAGS="$ZLIB_INC $CFLAGS"
       AC_CHECK_HEADER([$PNG_INCLUDE/png.h],,
         [AC_MSG_ERROR([cannot find png headers])])
       CFLAGS="$old_cflags"



More information about the mapserver-commits mailing list