From 06437c58668117f011777dbbad76fe05ebf2e7fe Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 15 Sep 1998 09:46:49 +0000 Subject: [PATCH] Applied another linuxism patch from Frederic Devernay. --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 43d06cc8..ac3a0259 100644 --- a/configure.in +++ b/configure.in @@ -221,11 +221,11 @@ fi dnl Some ugly hack; if '-lgnomesupport' is part of $GNOME_LIBS, dnl we include it here. -echo "$GNOME_LIBS" | grep -q -e '-lgnomesupport' -if test $? = 0 ; then - LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" - SUPPORTINCS="$GNOME_INCLUDEDIR" -fi +case "$GNOME_LIBS" in + '*-lgnomesupport*' ) + LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" + SUPPORTINCS="$GNOME_INCLUDEDIR" ;; +esac AC_SUBST(LIBSUPPORT) AC_SUBST(SUPPORTINCS) @@ -260,7 +260,7 @@ fi AC_SUBST(libgtop_guile_found) -if test -z $LIBGTOP_EXTRA_LIBS ; then +if test -z "$LIBGTOP_EXTRA_LIBS" ; then LIBGTOP_EXTRA_LIBS="$libs_xauth" else LIBGTOP_EXTRA_LIBS="$LIBGTOP_EXTRA_LIBS $libs_xauth"