X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fcheck-decl.m4;h=3c18b03f12d023a82133ba0a4cc6fe5fb6973e1b;hb=603d2944945d084c2b46af808808bcc2f2e73abe;hp=f9202eab7eaa7f59490475b3a8162de9fa672867;hpb=9b1445bd01af11c9c2b508e2c642fa415fb9c829;p=gnulib.git diff --git a/m4/check-decl.m4 b/m4/check-decl.m4 index f9202eab7..3c18b03f1 100644 --- a/m4/check-decl.m4 +++ b/m4/check-decl.m4 @@ -1,4 +1,4 @@ -#serial 10 +#serial 13 dnl This is just a wrapper function to encapsulate this kludge. dnl Putting it in a separate file like this helps share it between @@ -43,7 +43,7 @@ AC_DEFUN(jm_CHECK_DECLS, #endif ' - AC_CHECK_DECLS(( + AC_CHECK_DECLS([ free, getenv, geteuid, @@ -55,10 +55,11 @@ AC_DEFUN(jm_CHECK_DECLS, nanosleep, realloc, stpcpy, + strndup, strstr, strtoul, strtoull, - ttyname), , , $headers) + ttyname], , , $headers) ]) dnl FIXME: when autoconf has support for it. @@ -67,5 +68,5 @@ AC_DEFUN(_jm_DECL_HEADERS, [ AC_REQUIRE([AC_HEADER_STDC]) AC_CHECK_HEADERS(memory.h string.h strings.h stdlib.h unistd.h sys/time.h \ - utmpx.h) + utmp.h utmpx.h) ])