1999-03-09 01:13:40 +00:00
|
|
|
--- 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 @@
|
1999-01-14 16:59:34 +00:00
|
|
|
|
|
|
|
Known values for LIBRARY are:
|
|
|
|
|
|
|
|
- glib (calls glib-config)
|
1999-03-09 01:13:40 +00:00
|
|
|
+ glib (calls glib12-config)
|
1999-01-14 16:59:34 +00:00
|
|
|
idl (to be used with orbit-idl)
|
1998-09-06 06:34:19 +00:00
|
|
|
gnome
|
|
|
|
gnomeui
|
1998-09-30 13:51:46 +00:00
|
|
|
gnorba
|
1998-09-06 06:34:19 +00:00
|
|
|
- gtk (calls gtk-config)
|
1999-03-09 01:13:40 +00:00
|
|
|
+ gtk (calls gtk12-config)
|
1998-09-06 06:34:19 +00:00
|
|
|
gtkxmhtml (only --libs)
|
|
|
|
zvt (only --libs)
|
|
|
|
|
1999-01-14 16:59:34 +00:00
|
|
|
If LIBRARY is none of these,
|
|
|
|
|
|
|
|
- ${libdir}/<LIBRARY>Conf.sh
|
1999-03-09 01:13:40 +00:00
|
|
|
+ ${sysconfdir}/<LIBRARY>Conf.sh
|
|
|
|
|
|
|
|
is looked in for the necessary information. Those currently installed
|
|
|
|
appear to be:
|
1999-01-14 16:59:34 +00:00
|
|
|
|
|
|
|
EOF
|
1999-03-09 01:13:40 +00:00
|
|
|
|
|
|
|
- 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 @@
|
1999-01-14 16:59:34 +00:00
|
|
|
usage 1
|
|
|
|
;;
|
|
|
|
glib)
|
|
|
|
- the_libs="$the_libs `glib-config --libs`"
|
|
|
|
- the_flags="$the_flags `glib-config --cflags`"
|
1999-03-09 01:13:40 +00:00
|
|
|
+ the_libs="$the_libs `glib12-config --libs`"
|
|
|
|
+ the_flags="$the_flags `glib12-config --cflags`"
|
1998-09-06 06:34:19 +00:00
|
|
|
;;
|
1999-03-09 01:13:40 +00:00
|
|
|
gtk)
|
1998-09-06 06:34:19 +00:00
|
|
|
- the_libs="$the_libs `gtk-config --libs`"
|
|
|
|
- the_flags="$the_flags `gtk-config --cflags`"
|
1999-03-09 01:13:40 +00:00
|
|
|
+ the_libs="$the_libs `gtk12-config --libs`"
|
|
|
|
+ the_flags="$the_flags `gtk12-config --cflags`"
|
1998-09-06 06:34:19 +00:00
|
|
|
;;
|
|
|
|
gnome)
|
1999-01-14 16:59:34 +00:00
|
|
|
- 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@"
|
1998-11-19 15:06:59 +00:00
|
|
|
;;
|
|
|
|
gnomeui)
|
1999-01-14 16:59:34 +00:00
|
|
|
- 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@"
|
1998-11-19 15:06:59 +00:00
|
|
|
;;
|
|
|
|
gtkxmhtml)
|
|
|
|
- the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@"
|
|
|
|
+ the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@ -lintl"
|
|
|
|
;;
|
|
|
|
gnorba)
|
1999-01-01 02:47:12 +00:00
|
|
|
- the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@"
|
|
|
|
+ the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@ -lintl"
|
1998-11-19 15:06:59 +00:00
|
|
|
the_flags="$the_flags @GNOME_INCLUDEDIR@ @ORBIT_CFLAGS@"
|
|
|
|
;;
|
1999-01-01 02:47:12 +00:00
|
|
|
idl)
|
|
|
|
the_flags="@GNOME_IDLDIR@"
|
|
|
|
;;
|
1998-11-19 15:06:59 +00:00
|
|
|
zvt)
|
|
|
|
- the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"
|
|
|
|
+ the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@ -lintl"
|
|
|
|
;;
|
|
|
|
*)
|
1999-03-09 01:13:40 +00:00
|
|
|
- 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`
|