diff --git a/ChangeLog b/ChangeLog index ad774abc..05bcf818 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-12-09 Martin Baulig + * configure.in: We need to define LIBSUPPORT and SUPPORTINCS under + all circumstances as it is in gnome-libs. + * include/glibtop/procargs.h (glibtop_get_proc_args): Make the return value a `char *' instead of a `const char *'. diff --git a/configure.in b/configure.in index 956e7e0f..94e2da3e 100644 --- a/configure.in +++ b/configure.in @@ -234,16 +234,12 @@ dnl Debugging AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],AC_DEFINE(LIBGTOP_ENABLE_DEBUG),) AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS),) -LIBSUPPORT= -SUPPORTINCS= -if test "$need_gnome_support" = yes; then - if test "x$gnome_found" = xyes ; then - LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" - SUPPORTINCS="$GNOME_INCLUDEDIR" - else - LIBSUPPORT='$(top_builddir)/support/libgnomesupport.la' - SUPPORTINCS='-DNEED_GNOMESUPPORT_H -I$(top_builddir)/support -I$(top_srcdir)/support' - fi +if test "x$gnome_found" = xyes ; then + LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" + SUPPORTINCS="$GNOME_INCLUDEDIR" +else + LIBSUPPORT='$(top_builddir)/support/libgnomesupport.la' + SUPPORTINCS='-DNEED_GNOMESUPPORT_H -I$(top_builddir)/support -I$(top_srcdir)/support' fi dnl Some ugly hack; if '-lgnomesupport' is part of $GNOME_LIBS,