diff --git a/ChangeLog b/ChangeLog index c0560dd2..656a795e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +1998-06-05 Martin Baulig + + * support: removed that directory. + + * configure.in: we check whether '-lgnomesupport' is + included in $GNOME_LIBS and add it together with + $GNOME_LIBDIR to LIBSUPPORT in this case. + + Gnome (gnome-libs) is now required to build libgtop, + added short comment to configure.in how to revert this + change. + + * Makefile.am: removed `support' subdir. + 1998-06-03 Martin Baulig * libgtop.spec: New file. diff --git a/configure.in b/configure.in index 37f2ec14..52268dec 100644 --- a/configure.in +++ b/configure.in @@ -115,6 +115,15 @@ dnl fi dnl AC_SUBST(LIBSUPPORT) dnl AC_SUBST(SUPPORTINCS) +dnl Some ugly hack; if '-lgnomesupport' is part of $GNOME_LIBS, we include it here. +echo "$GNOME_LIBS" | grep -q -e '-lgnomesupport' +if test $? = 0 ; then + LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" + SUPPORTINCS="$GNOME_INCLUDEDIR" +fi +AC_SUBST(LIBSUPPORT) +AC_SUBST(SUPPORTINCS) + dnl These definitions are expanded in make. LIBGTOP_LIBS='-L$(libdir)' LIBGTOP_INCS='-I$(includedir)'