We need to define LIBSUPPORT and SUPPORTINCS under all circumstances as it

1998-12-09  Martin Baulig  <martin@home-of-linux.org>

	* configure.in: We need to define LIBSUPPORT and SUPPORTINCS under
	all circumstances as it is in gnome-libs.
This commit is contained in:
Martin Baulig
1998-12-09 21:19:44 +00:00
committed by Martin Baulig
parent 9e41d36684
commit 3daeda7307
2 changed files with 9 additions and 10 deletions

View File

@@ -1,5 +1,8 @@
1998-12-09 Martin Baulig <martin@home-of-linux.org> 1998-12-09 Martin Baulig <martin@home-of-linux.org>
* 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 * include/glibtop/procargs.h (glibtop_get_proc_args): Make the
return value a `char *' instead of a `const char *'. return value a `char *' instead of a `const char *'.

View File

@@ -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(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),) AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS),)
LIBSUPPORT= if test "x$gnome_found" = xyes ; then
SUPPORTINCS= LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport"
if test "$need_gnome_support" = yes; then SUPPORTINCS="$GNOME_INCLUDEDIR"
if test "x$gnome_found" = xyes ; then else
LIBSUPPORT="$GNOME_LIBDIR -lgnomesupport" LIBSUPPORT='$(top_builddir)/support/libgnomesupport.la'
SUPPORTINCS="$GNOME_INCLUDEDIR" SUPPORTINCS='-DNEED_GNOMESUPPORT_H -I$(top_builddir)/support -I$(top_srcdir)/support'
else
LIBSUPPORT='$(top_builddir)/support/libgnomesupport.la'
SUPPORTINCS='-DNEED_GNOMESUPPORT_H -I$(top_builddir)/support -I$(top_srcdir)/support'
fi
fi fi
dnl Some ugly hack; if '-lgnomesupport' is part of $GNOME_LIBS, dnl Some ugly hack; if '-lgnomesupport' is part of $GNOME_LIBS,