summaryrefslogtreecommitdiff
path: root/www/bluefish/patches/patch-aa
blob: e92d5d20ac61edad2d9d3a74f1f8deecf8f98c9f (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
$NetBSD: patch-aa,v 1.3 2000/08/16 05:38:35 jlam Exp $

--- configure.in.orig	Sun May 14 11:36:13 2000
+++ configure.in	Tue Aug 15 09:13:11 2000
@@ -94,6 +94,7 @@
   AC_MSG_ERROR(GTK was not detected, or a sufficent version was not found. This is a bad thing)
 fi
 
+if false; then
 AC_CHECK_LIB(gdk_imlib, main,  
    [ LIBS="$LIBS -lgdk_imlib"
    AC_SUBST(IMLIB)
@@ -109,6 +110,12 @@
 ,
 AC_DEFINE(HAVE_LIBGDK_IMLIB,0)
 )
+else
+   GDK_IMLIB_CFLAGS="`imlib-config --cflags-gdk`"
+   GDK_IMLIB_LIBS="`imlib-config --libs-gdk`"
+   CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS"
+   LIBS="$LIBS $GDK_IMLIB_LIBS"
+fi
 
 AC_CHECK_LIB(posix4, nanosleep, 
 	LIBS="$LIBS -lposix4"