1999-05-30 04:02:08 +00:00
|
|
|
--- gnome-config.in.orig Thu Apr 15 13:59:46 1999
|
|
|
|
+++ gnome-config.in Sat May 8 17:32:13 1999
|
1999-03-09 01:13:40 +00:00
|
|
|
@@ -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>"
|
1999-05-30 04:02:08 +00:00
|
|
|
@@ -146,19 +146,19 @@
|
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-05-30 04:02:08 +00:00
|
|
|
the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
|
1999-01-14 16:59:34 +00:00
|
|
|
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@"
|
1999-05-30 04:02:08 +00:00
|
|
|
+ the_libs="$the_libs @GNOME_LIBDIR@ -lXpm -ljpeg -lpng -lz -ltiff -lgif @GNOMEUI_LIBS@"
|
1999-01-14 16:59:34 +00:00
|
|
|
the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
|
1998-11-19 15:06:59 +00:00
|
|
|
;;
|
|
|
|
gtkxmhtml)
|
1999-05-30 04:02:08 +00:00
|
|
|
@@ -175,7 +175,7 @@
|
|
|
|
the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"
|
1998-11-19 15:06:59 +00:00
|
|
|
;;
|
|
|
|
*)
|
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`
|