summaryrefslogtreecommitdiff
path: root/graphics/imlib/files/patch-configure
blob: 4b30ed7af91f8ad582f9c403a608a9d26c439288 (plain) (blame)
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
32
33
--- configure.orig	Thu Feb 15 03:29:17 2001
+++ configure	Thu Mar 22 15:02:05 2001
@@ -2034,8 +2034,8 @@
 if test "x$GDK_IMLIB" != x; then
   oLIBS="$LIBS"
   oCFLAGS="$CFLAGS"
-  LIBS="$LIBS `glib-config --libs gmodule`"
-  CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
+  LIBS="$LIBS `${GLIB_CONFIG} --libs gmodule`"
+  CFLAGS="$CFLAGS `${GLIB_CONFIG} --cflags gmodule`"
   if test "$cross_compiling" = yes; then
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
@@ -2085,8 +2085,8 @@
 #define USE_GMODULE 1
 EOF
 
-   GMODULE_LIBS="`glib-config --libs gmodule`"
-   GMODULE_FLAGS="`glib-config --cflags gmodule`"
+   GMODULE_LIBS="`${GLIB_CONFIG} --libs gmodule`"
+   GMODULE_FLAGS="`${GLIB_CONFIG} --cflags gmodule`"
    
    
    echo "$ac_t""yes" 1>&6
@@ -4205,7 +4205,7 @@
   echo "$ac_t""$jpeg_ok" 1>&6
   if test "$jpeg_ok" = yes; then 
     JPEGLIBS="-ljpeg"
-    SUPPORT_LIBS="$SUPPORT_LIBS -ljpeg"; cat >> confdefs.h <<\EOF
+    SUPPORT_LIBS="$SUPPORT_LIBS"; cat >> confdefs.h <<\EOF
 #define HAVE_LIBJPEG 1
 EOF