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:
committed by
Martin Baulig
parent
9e41d36684
commit
3daeda7307
@@ -1,5 +1,8 @@
|
||||
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
|
||||
return value a `char *' instead of a `const char *'.
|
||||
|
||||
|
16
configure.in
16
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,
|
||||
|
Reference in New Issue
Block a user