summaryrefslogtreecommitdiff
path: root/packages/imlib/files/configure.patch
blob: 90879c15ee89446851f24d0cf2d3729bf62587dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- /tmp/configure.in	2006-09-02 12:44:16.000000000 +0200
+++ imlib-1.9.15/configure.in	2006-09-02 12:44:22.975780000 +0200
@@ -43,19 +43,6 @@
   oCFLAGS="$CFLAGS"
   LIBS="$LIBS `glib-config --libs gmodule`"
   CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
-  AC_TRY_RUN([
-#include <glib.h>
-#include <gmodule.h>
-main ()
-{
-    if (g_module_supported ())
-        exit (0);
-    else
-        exit (1);
-}
-], dynworks=true)
-  LIBS="$oLIBS"
-  CFLAGS="$oCFLAGS"
 fi
 
 dnl Now we check to see if our libtool supports shared lib deps
@@ -141,7 +128,7 @@
 fi
 AC_SUBST(GX_LIBS)
 
-CPPFLAGS="$CPPFLAGS -I$includedir -I$prefix/include"
+CPPFLAGS="$CPPFLAGS"
 
 SUPPORT_LIBS=""