From 179cde57bd83f56cb6e0d67fc112dd4163399a38 Mon Sep 17 00:00:00 2001 From: ellson <devnull@localhost> Date: Tue, 7 Jul 2009 18:35:33 +0000 Subject: [PATCH] overide GD's explicit use of /usr/include as it breaks mingw cross-compiler --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 1901c66a9..28c44b6dc 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.40.0