]> granicus.if.org Git - graphviz/commitdiff
overide GD's explicit use of /usr/include as it breaks mingw cross-compiler
authorellson <devnull@localhost>
Tue, 7 Jul 2009 18:35:33 +0000 (18:35 +0000)
committerellson <devnull@localhost>
Tue, 7 Jul 2009 18:35:33 +0000 (18:35 +0000)
configure.ac

index 1901c66a9b355cac1f0a0f75d5e9a558c92bfd50..28c44b6dcfc7e1025e48243462aab390f0792ec1 100644 (file)
@@ -2452,6 +2452,10 @@ else
       fi
     fi
   fi
+  # prevent explicit use of /usr/include as it breaks mingw cross-compiles
+  if test "x$GD_INCLUDES" = "x-I/usr/include"; then
+     GD_INCLUDES="";
+  fi
 
   if test "x$with_mylibgd" = "xno"; then
     if test "x$with_libgd" = "xyes"; then