From: Ken Raeburn Date: Sat, 13 Sep 2003 03:33:14 +0000 (+0000) Subject: Alpha OSF build fails because daemon() tries to call setpgrp because X-Git-Tag: krb5-1.4-beta1~741 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a90c524a02c79ec49b6039702d7bc0523a1db57;p=krb5.git Alpha OSF build fails because daemon() tries to call setpgrp because it doesn't know setsid is available. It's using autoconf.h, but no longer using the defines set in lib/krb5/posix/Makefile. * configure.in: Check for setsid() and . ticket: 1847 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15817 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 2b6e00778..4614d3a14 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2003-09-12 Ken Raeburn + + * configure.in: Check for setsid() and . + 2003-08-29 Ken Raeburn * fake-addrinfo.h (WRAP_GETADDRINFO, COPY_FIRST_CANONNAME): Don't diff --git a/src/include/configure.in b/src/include/configure.in index 788381342..dbb2cd8a9 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -9,7 +9,7 @@ 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) +AC_CHECK_FUNCS(strdup setvbuf inet_ntoa inet_aton seteuid setresuid setreuid setegid setresgid setregid setsid) dnl dnl Check what the return types for gethostbyname_r and getservbyname_r are. dnl @@ -89,7 +89,7 @@ AC_CHECK_HEADER(termios.h,dnl AC_DEFINE(POSIX_TERMIOS,1,[Define if termios.h exists and tcsetattr exists]))]) dnl KRB5_SIGTYPE -AC_CHECK_HEADERS(stdlib.h string.h stddef.h unistd.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h macsock.h xom.h sys/uio.h sys/filio.h sys/select.h time.h) +AC_CHECK_HEADERS(stdlib.h string.h stddef.h unistd.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h macsock.h xom.h sys/uio.h sys/filio.h sys/select.h time.h paths.h) AC_HEADER_STDARG KRB5_AC_INET6 dnl