From: Ken Raeburn Date: Wed, 24 Dec 2003 05:44:25 +0000 (+0000) Subject: move some basic header and function checks from lib/krb5 to include X-Git-Tag: krb5-1.4-beta1~672 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=721bd13ca6d0e00ebadcd46c40a519625ad228ea;p=krb5.git move some basic header and function checks from lib/krb5 to include git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15960 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 62e4eaf96..5ca7de2e1 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,11 @@ +2003-12-23 Ken Raeburn + + * configure.in: Check for flock, fchmod, chmod, strftime, + strptime, geteuid, setenv, unsetenv, getenv, gethostbyname2, + getifaddrs, stdarg.h, unistd.h, paths.h, regex.h, regexp.h, + regexpr.h, fcntl.h, memory.h, ifaddrs.h, and sys/filio.h, as was + previously done in the krb5 library configure script. + 2003-12-19 Ken Raeburn * fake-addrinfo.h: Include stdio.h. diff --git a/src/include/configure.in b/src/include/configure.in index dbb2cd8a9..3aad0dc48 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -9,7 +9,9 @@ AC_PROG_INSTALL AC_PROG_AWK AC_PROG_LEX AC_C_CONST -AC_CHECK_FUNCS(strdup setvbuf inet_ntoa inet_aton seteuid setresuid setreuid setegid setresgid setregid setsid) +AC_CHECK_FUNCS(strdup setvbuf inet_ntoa inet_aton seteuid setresuid setreuid setegid setresgid setregid setsid flock fchmod chmod strftime strptime geteuid setenv unsetenv getenv gethostbyname2 getifaddrs) +AC_HEADER_STDARG +AC_CHECK_HEADERS(unistd.h paths.h regex.h regexp.h regexpr.h fcntl.h memory.h ifaddrs.h sys/filio.h) dnl dnl Check what the return types for gethostbyname_r and getservbyname_r are. dnl diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 979fbaa28..b5e021571 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,3 +1,8 @@ +2003-12-23 Ken Raeburn + + * configure.in: Remove basic checks for header files and + functions, now moved into include/configure.in. + 2003-08-21 Ken Raeburn * configure.in: Don't substitute LIBOBJS, newer autoconfs don't diff --git a/src/lib/krb5/configure.in b/src/lib/krb5/configure.in index 30788fca3..816f0b721 100644 --- a/src/lib/krb5/configure.in +++ b/src/lib/krb5/configure.in @@ -7,10 +7,6 @@ AC_TYPE_UID_T AC_TYPE_OFF_T dnl dnl -AC_HEADER_STDARG -AC_CHECK_HEADERS(unistd.h paths.h regex.h regexp.h regexpr.h fcntl.h memory.h ifaddrs.h sys/filio.h) -AC_CHECK_FUNCS(flock fchmod chmod strftime strptime geteuid setenv unsetenv getenv setsid gethostbyname2 getifaddrs) -dnl AC_REPLACE_FUNCS(strdup strcasecmp getuid) KRB5_AC_REGEX_FUNCS KRB5_NEED_PROTO([#include ],strptime) dnl