summaryrefslogtreecommitdiff
path: root/x11/gnomelibs/files/patch-ac
blob: be621cf51bccb7a3b5d69b6dba3c87440a645984 (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
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
--- gnome-config.in.orig	Mon Feb 15 20:05:33 1999
+++ gnome-config.in	Tue Mar  2 09:00:51 1999
@@ -43,25 +43,25 @@
 
 Known values for LIBRARY are:
 
-    glib	(calls glib-config)
+    glib	(calls glib12-config)
     idl         (to be used with orbit-idl)
     gnome
     gnomeui
     gnorba
-    gtk		(calls gtk-config)
+    gtk		(calls gtk12-config)
     gtkxmhtml	(only --libs)
     zvt		(only --libs)
 
 If LIBRARY is none of these,
     
-    ${libdir}/<LIBRARY>Conf.sh
+    ${sysconfdir}/<LIBRARY>Conf.sh
 
 is looked in for the necessary information.  Those currently installed 
 appear to be:
 
 EOF
 
-    conf_shs=`cd ${libdir}; echo *Conf.sh`
+    conf_shs=`cd ${sysconfdir}; echo *Conf.sh`
 
     if test "x$conf_shs" = x || test "x$conf_shs" = 'x*Conf.sh'; then
 	echo "    <NONE>"
@@ -146,36 +146,36 @@
 	usage 1
 	;;
     glib)
-	the_libs="$the_libs `glib-config --libs`"
-	the_flags="$the_flags `glib-config --cflags`"
+	the_libs="$the_libs `glib12-config --libs`"
+	the_flags="$the_flags `glib12-config --cflags`"
 	;;
     gtk)
-	the_libs="$the_libs `gtk-config --libs`"
-	the_flags="$the_flags `gtk-config --cflags`"
+	the_libs="$the_libs `gtk12-config --libs`"
+	the_flags="$the_flags `gtk12-config --cflags`"
 	;;
     gnome)
-       	the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
+       	the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@ -lintl"
   	the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
 	;;
     gnomeui)
-	the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@"
+	the_libs="$the_libs @GNOME_LIBDIR@ -lXpm -ljpeg -lpng -lz -ltiff -lgif @GNOMEUI_LIBS@ -lintl"
 	the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
 	;;
     gtkxmhtml)
-	the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@"
+	the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@ -lintl"
 	;;
     gnorba)
-        the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@"
+        the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@ -lintl"
 	the_flags="$the_flags @GNOME_INCLUDEDIR@ @ORBIT_CFLAGS@"
         ;;
     idl)
         the_flags="@GNOME_IDLDIR@"
 	;;
     zvt)
-	the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"
+	the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@ -lintl"
 	;;
     *)
-	cnf_sh=${libdir}/${1}Conf.sh
+	cnf_sh=${sysconfdir}/${1}Conf.sh
 	if test -f ${cnf_sh}; then
 	    . ${cnf_sh}
 	    up_name=`echo $1 | tr a-z A-Z`