summaryrefslogblamecommitdiff
path: root/x11/libgnome/files/patch-ac
blob: be621cf51bccb7a3b5d69b6dba3c87440a645984 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                        



                                   
                                     
                                            

            
           
                                          
                                            


                                     


                               



                                                                        
 
    






                                                                      




                                                     

                                                       
          
         

                                                    

                                                      

           


                                                                       

             


                                                                                                     





                                                                   

                                                                         

                                                                


                                   




                                                             




                                          
--- 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`