From 3c8d7e989948736e373cb28e9d29a858137dabae Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 30 Nov 2011 01:16:42 +0000 Subject: [PATCH] check sysinfo fct --- config.h.in | 3 +++ configure | 2 +- configure.ac | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index 14197cc..1e799c2 100644 --- a/config.h.in +++ b/config.h.in @@ -123,6 +123,9 @@ /* Define to 1 if you have the `strtol' function. */ #undef HAVE_STRTOL +/* Define to 1 if you have the `sysinfo' function. */ +#undef HAVE_SYSINFO + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H diff --git a/configure b/configure index 4fdcda9..fc841b0 100755 --- a/configure +++ b/configure @@ -4818,7 +4818,7 @@ $as_echo "#define realloc rpl_realloc" >>confdefs.h fi -for ac_func in gettimeofday memmove socket strdup strtol +for ac_func in gettimeofday memmove socket strdup strtol sysinfo do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" diff --git a/configure.ac b/configure.ac index 65ab621..f25d92b 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_TYPE_SSIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC -AC_CHECK_FUNCS([gettimeofday memmove socket strdup strtol]) +AC_CHECK_FUNCS([gettimeofday memmove socket strdup strtol sysinfo]) AM_GNU_GETTEXT_VERSION([0.16]) AM_GNU_GETTEXT([external]) -- 2.7.4