+* [Bug 918] Only use a native md5.h if MD5Init() is available.
* [Bug 979] Provide ntptimeval if it is not otherwise present.
* [Bug 634] Re-instantiate syslog() and logfiles after the daemon fork.
* [Bug 952] Use md5 code with a friendlier license.
AC_CHECK_LIB(syslog, openlog, , , $libxnet -lsocket)))
AC_CHECK_LIB(md5, MD5Init, ,
AC_CHECK_LIB(md, MD5Init))
+AC_CHECK_FUNCS(MD5Init)
NTP_LINEEDITLIBS
esac
AC_CHECK_HEADERS(errno.h fcntl.h ieeefp.h math.h)
-# HMS: Lame, but fast.
-if test -f /etc/redhat-release
-then
- :
-else
- AC_CHECK_HEADERS(md5.h, [], [],
+AC_CHECK_HEADERS(md5.h, [], [],
[#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
])
-fi
AC_CHECK_HEADERS(memory.h netdb.h poll.h)
AC_CHECK_HEADERS(sched.h sgtty.h stdlib.h string.h termio.h)
AC_CHECK_HEADERS(termios.h timepps.h timex.h unistd.h)