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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
$NetBSD: patch-aa,v 1.10 2002/04/11 01:31:34 jlam Exp $
--- configure.orig Sat Jan 26 18:19:48 2002
+++ configure
@@ -1325,8 +1325,8 @@
fi
if test x$gnome_cv_orbit_found = xyes; then
- ORBIT_CFLAGS=`orbit-config --cflags client server`
- ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
+ ORBIT_CFLAGS=`$ORBIT_CONFIG --cflags client server`
+ ORBIT_LIBS=`$ORBIT_CONFIG --use-service=name --libs client server`
else
@@ -1343,8 +1343,8 @@
gnome_cv_gnorba_found=no
if test x$gnome_cv_orbit_found = xyes; then
- GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
- GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ GNORBA_CFLAGS="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`$GNOME_CONFIG --libs gnorba gnomeui`"
if test -n "$GNORBA_LIBS"; then
gnome_cv_gnorba_found=yes
fi
@@ -1364,8 +1364,8 @@
fi
if test x$gnome_cv_orbit_found = xyes; then
- GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
- GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ GNORBA_CFLAGS="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`$GNOME_CONFIG --libs gnorba gnomeui`"
else
@@ -7250,8 +7250,8 @@
CFLAGS_save=$CFLAGS
LIBS_save=$LIBS
-CFLAGS=`gnome-config --cflags gnomeui`
-LIBS=`gnome-config --libs gnomeui`
+CFLAGS=`$GNOME_CONFIG --cflags gnomeui`
+LIBS=`$GNOME_CONFIG --libs gnomeui`
echo $ac_n "checking for gnome_window_icon_set_default_from_file in -lgnomeui""... $ac_c" 1>&6
echo "configure:7258: checking for gnome_window_icon_set_default_from_file in -lgnomeui" >&5
@@ -8974,6 +8974,11 @@
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
+# NetBSD: set DATADIRNAME to "share"
+DATADIRNAME="share"
+INTLDEPS=
+INTLLIBS="-lintl"
+
# AM_GNOME_GETTEXT above substs $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
gnomelocaledir='${prefix}/share/locale'
@@ -9203,7 +9208,10 @@
PIXBUF_CFLAGS=`$GNOME_CONFIG --cflags gdk_pixbuf`
PIXBUF_LIBS=`$GNOME_CONFIG --libs gdk_pixbuf`
if test "x$PIXBUF_CFLAGS" != x ; then
- vers=`gdk-pixbuf-config --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+ if test "x$GDK_PIXBUF_CONFIG" = "x"; then
+ GDK_PIXBUF_CONFIG=gdk-pixbuf-config
+ fi
+ vers=`$GDK_PIXBUF_CONFIG --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
if test "$vers" -ge 0007000; then
echo "$ac_t""found" 1>&6
else
@@ -9231,8 +9239,8 @@
echo $ac_n "checking for Glade libraries >= $LIBGLADE_REQUIRED""... $ac_c" 1>&6
echo "configure:9233: checking for Glade libraries >= $LIBGLADE_REQUIRED" >&5
libglade_ok=no
-if gnome-config --libs libglade > /dev/null 2>&1; then
- verstxt=`gnome-config --modversion libglade`
+if $GNOME_CONFIG --libs libglade > /dev/null 2>&1; then
+ verstxt=`$GNOME_CONFIG --modversion libglade`
vers=`echo "$verstxt" | awk -F. '{ printf "%d", $1 * 1000 + $2;}'`
if test "$vers" -ge 14; then
echo "$ac_t""$marker_ok found $verstxt" 1>&6
@@ -9248,14 +9256,14 @@
fi
unset libglade_ok
GT_LIBS="libglade zvt gnorba gnomeui"
-GNOME_TERMINAL_LIBS=`gnome-config --libs $GT_LIBS`
-GNOME_TERMINAL_CFLAGS=`gnome-config --cflags $GT_LIBS`
+GNOME_TERMINAL_LIBS=`$GNOME_CONFIG --libs $GT_LIBS`
+GNOME_TERMINAL_CFLAGS=`$GNOME_CONFIG --cflags $GT_LIBS`
-GLADE_LIBS=`gnome-config --libs libglade`
-GLADE_CFLAGS=`gnome-config --cflags libglade`
+GLADE_LIBS=`$GNOME_CONFIG --libs libglade`
+GLADE_CFLAGS=`$GNOME_CONFIG --cflags libglade`
|