summaryrefslogtreecommitdiff
blob: 32eba37c584f35db69f6ea4ef518ba2011b46c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -aur libgdiplus-1.1.10-orig/configure.in libgdiplus-1.1.10/configure.in
--- libgdiplus-1.1.10-orig/configure.in	2005-11-09 19:08:08.000000000 -0800
+++ libgdiplus-1.1.10/configure.in	2005-12-22 00:53:51.000000000 -0800
@@ -207,8 +207,8 @@
       AC_MSG_WARN(*** GIF loader will not be built (giflibrary not found) ***))
   fi
 
-if ! test x$GIF != x; then
-   AC_CHECK_LIB(gif, DGifOpenFileName,
+if test x$with_libgif != xno && ! test x$GIF != x; then
+   AC_CHECK_LIB(ungif, DGifOpenFileName,
       [AC_CHECK_HEADER(gif_lib.h,
 	GIF='ungif'; LIBGIF='-lungif',
 	AC_MSG_WARN(*** GIF loader will not be built (ungiflibrary not found) ***))],