check sysinfo fct
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 30 Nov 2011 01:16:42 +0000 (01:16 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 30 Nov 2011 01:16:42 +0000 (01:16 +0000)
config.h.in
configure
configure.ac

index 14197cc..1e799c2 100644 (file)
 /* 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 <sys/socket.h> header file. */
 #undef HAVE_SYS_SOCKET_H
 
index 4fdcda9..fc841b0 100755 (executable)
--- 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"
index 65ab621..f25d92b 100644 (file)
@@ -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])