diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-09-15 09:46:49 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-09-15 09:46:49 +0000 |
commit | 06437c58668117f011777dbbad76fe05ebf2e7fe (patch) | |
tree | abd4179183b21a0e773e9da4ef19d5d69ee4ea73 /configure.in | |
parent | 72c987735ef3377c34a9b0c2ffae2dd44dcb303c (diff) | |
download | libgtop-06437c58668117f011777dbbad76fe05ebf2e7fe.tar.gz |
Applied another linuxism patch from Frederic Devernay.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
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" |