From aa5ac8fc10d5c04fbdf78145aa5d933685ec796d Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Mon, 12 Dec 2005 09:38:15 +0000 Subject: remove unused file. 2005-12-12 James Henstridge * doc/auto-macros.texi.in: remove unused file. * doc/libgtop2.texi: don't include auto-macros.texi. * doc/Makefile.am: don't build auto-macros.texi, since none of its macros are used in the documentation any more. * include/glibtop/global.h: don't include from headers. * .../*.c: make sure is the first thing included. * acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than inlining it. * acinclude.m4, libgtop-sysdeps.m4: use third argument to AC_DEFINE() to set the comment. * configure.in: modernise a bit. * acconfig.h: remove file, since it is deprecated * autogen.sh: require automake 1.9 instead of 1.4. --- libgtop-sysdeps.m4 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'libgtop-sysdeps.m4') diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4 index c96bbd9e..5fffc118 100644 --- a/libgtop-sysdeps.m4 +++ b/libgtop-sysdeps.m4 @@ -54,7 +54,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ fi if test $libgtop_smp = yes ; then - AC_DEFINE(HAVE_LIBGTOP_SMP) + AC_DEFINE(HAVE_LIBGTOP_SMP, 1, [Define if libgtop supports SMP]) fi AM_CONDITIONAL(LIBGTOP_SMP, test $libgtop_smp = yes) @@ -152,7 +152,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ ], have_i4b=yes, have_i4b=no) AC_MSG_RESULT($have_i4b) if test x$have_i4b = xyes; then - AC_DEFINE(HAVE_I4B) + AC_DEFINE(HAVE_I4B, 1, [Define if I4B is available]) AC_MSG_CHECKING([for I4B accounting]) AC_TRY_COMPILE([ #include @@ -180,7 +180,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ ], have_i4b_acct=yes, have_i4b_acct=no) AC_MSG_RESULT($have_i4b_acct) if test x$have_i4b_acct = xyes ; then - AC_DEFINE(HAVE_I4B_ACCT) + AC_DEFINE(HAVE_I4B_ACCT, 1, + [Define if I4B accounting is supported]) else AC_WARN([ *** I4B accounting disabled - you won't get any PPP statistics. @@ -211,7 +212,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ fi AC_MSG_CHECKING(for Linux kernel version code) - AC_DEFINE_UNQUOTED(GLIBTOP_LINUX_VERSION_CODE, $os_version_code) + AC_DEFINE_UNQUOTED(GLIBTOP_LINUX_VERSION_CODE, $os_version_code, + [Same as LINUX_VERSION_CODE either from or from the running kernel (if there are no configured kernel sources).]) AC_MSG_RESULT($os_version_code) ;; solaris*) @@ -223,7 +225,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ os_version_code=`echo "$os_version_expr" | dc` AC_MSG_CHECKING(for Solaris release code) - AC_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code) + AC_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code, + [Solaris release code (eg. 251 for Solaris 2.5.1).]) AC_MSG_RESULT($os_version_code) ;; esac @@ -235,11 +238,12 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ AC_MSG_RESULT($libgtop_need_server) if test x$libgtop_need_server = xyes ; then - AC_DEFINE(NEED_LIBGTOP) + AC_DEFINE(NEED_LIBGTOP, 1, [Define if libgtop is required]) fi if test x$libgtop_use_machine_h = xyes ; then - AC_DEFINE(HAVE_GLIBTOP_MACHINE_H) + AC_DEFINE(HAVE_GLIBTOP_MACHINE_H, 1, + [Define if machine.h in libgtop sysdeps dir]) fi AM_CONDITIONAL(NEED_LIBGTOP, test x$libgtop_need_server = xyes) -- cgit v1.2.1