aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-libgtop-sysdeps.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-23 01:19:01 +0800
committerMartin Baulig <martin@src.gnome.org>1998-07-23 01:19:01 +0800
commit81d8fde809a4262e08ab94be4cdd05092e19f764 (patch)
tree35502eea1c3c479cf866776467967e353c4f73f3 /macros/gnome-libgtop-sysdeps.m4
parent8e57014762a07900c9620caebda607f179d24ea3 (diff)
downloadgsoc2013-evolution-81d8fde809a4262e08ab94be4cdd05092e19f764.tar.gz
gsoc2013-evolution-81d8fde809a4262e08ab94be4cdd05092e19f764.tar.zst
gsoc2013-evolution-81d8fde809a4262e08ab94be4cdd05092e19f764.zip
Added some reasonable defaults to allow cross compiling; removed
1998-07-22 Martin Baulig <martin@home-of-linux.org> * gnome-fileutils.m4: Added some reasonable defaults to allow cross compiling; removed `mountlist.o' and `fsusage.o' from LIBOBJS. svn path=/trunk/; revision=283
Diffstat (limited to 'macros/gnome-libgtop-sysdeps.m4')
-rw-r--r--macros/gnome-libgtop-sysdeps.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/gnome-libgtop-sysdeps.m4 b/macros/gnome-libgtop-sysdeps.m4
index 2aa1688e75..cec72f847b 100644
--- a/macros/gnome-libgtop-sysdeps.m4
+++ b/macros/gnome-libgtop-sysdeps.m4
@@ -21,11 +21,10 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
[ --with-linux-table Use the table () function from Martin Baulig],[
linux_table="$withval"],[linux_table=auto])
- AC_MSG_CHECKING(for table function in Linux Kernel)
-
if test $linux_table = yes ; then
AC_CHECK_HEADER(linux/table.h, linux_table=yes, linux_table=no)
elif test $linux_table = auto ; then
+ AC_MSG_CHECKING(for table function in Linux Kernel)
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
@@ -52,10 +51,9 @@ main (void)
exit (ret < 1 ? ret : 0);
}
], linux_table=yes, linux_table=no, linux_table=no)
+ AC_MSG_RESULT($linux_table)
fi
- AC_MSG_RESULT($linux_table)
-
if test $linux_table = yes ; then
AC_DEFINE(HAVE_LINUX_TABLE)
fi