From 476d930069bf93dd3c26d6a5e61308353c6bf41c Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Wed, 11 Nov 1998 12:19:57 +0000 Subject: [PATCH] fix buglet with making GLIB_LIBS (shouldn't have been tripped, but bug * configure.in: fix buglet with making GLIB_LIBS (shouldn't have been tripped, but bug nevertheless) -Yosh --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e31cf37d04..f9fc72815d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 11 04:18:57 PST 1998 Manish Singh + + * configure.in: fix buglet with making GLIB_LIBS (shouldn't have + been tripped, but bug nevertheless) + Wed Nov 11 02:27:46 CET 1998 Marc Lehmann * libgimp/gimp.c (gimp_run_procedure2): fixed a memory leak, diff --git a/configure.in b/configure.in index 8c800ad563..d3cefce96d 100644 --- a/configure.in +++ b/configure.in @@ -75,7 +75,7 @@ dnl Evil stuff to extract GLIB stuff from gtk-config output dnl (we want to make sure it matches with the gtk we're using) GLIB_CFLAGS=`echo $GTK_CFLAGS | sed 's/^.*\(-I[^ ]*glib[^ ]* *-I[^ ]*\).*$/\1/'` GLIB_LDFLAGS=`echo $gtk_libs | sed -e 's/^.*-lgdk[^ ]* *\(-L[^ ]*\).*$/\1/' -e 's/^.* -lgdk[^ ]* .*$//'` -if test -z "$glib_ldflags" ; then +if test -z "$GLIB_LDFLAGS" ; then GLIB_LDFLAGS=`echo $GTK_LIBS | sed 's/^ *\(-L[^ ]*\) .*$/\1/'` fi GLIB_LIBS="$GLIB_LDFLAGS `echo $GTK_LIBS | sed 's/^.*\(-lglib[^ ]*\).*$/\1/'`"