summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-09-15 09:46:49 +0000
committerMartin Baulig <martin@src.gnome.org>1998-09-15 09:46:49 +0000
commit06437c58668117f011777dbbad76fe05ebf2e7fe (patch)
treeabd4179183b21a0e773e9da4ef19d5d69ee4ea73
parent72c987735ef3377c34a9b0c2ffae2dd44dcb303c (diff)
downloadlibgtop-06437c58668117f011777dbbad76fe05ebf2e7fe.tar.gz
Applied another linuxism patch from Frederic Devernay.
-rw-r--r--configure.in12
1 files 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"