blob: 76bf057621ae4ec0d19f3fecb1bd13c635a7ad62 (
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
|
$NetBSD: patch-ae,v 1.2 2002/02/27 06:41:06 jlam Exp $
--- configure.in.orig Thu Apr 26 15:46:16 2001
+++ configure.in Wed Feb 27 01:35:59 2002
@@ -130,8 +130,8 @@
if $dynworks; then
AC_DEFINE(USE_GMODULE)
- GMODULE_LIBS="`glib-config --libs gmodule`"
- GMODULE_FLAGS="`glib-config --cflags gmodule`"
+ GMODULE_LIBS="`$GLIB_CONFIG --libs gmodule`"
+ GMODULE_FLAGS="`$GLIB_CONFIG --cflags gmodule`"
AC_SUBST(GMODULE_LIBS)
AC_SUBST(GMODULE_FLAGS)
AC_MSG_RESULT(yes)
@@ -142,6 +142,7 @@
dnl Check for location of rgb.txt file (works without, but better with)
AC_MSG_CHECKING([for location of rgb.txt database])
+if test -z "$path_rgb_txt"; then
dnl default to this..
path_rgb_txt=/usr/lib/X11/rgb.txt
@@ -154,6 +155,7 @@
break
fi
done
+fi
fi
AC_MSG_RESULT([$path_rgb_txt])
AC_DEFINE_UNQUOTED(PATH_RGB_TXT,"$path_rgb_txt")
|