1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
been before.
AC_CHECK_HEADERS(values.h, AC_DEFINE(HAVE_VALUES_H))
# Check for some functions
-AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
+AC_CHECK_FUNCS(localtime_r rand_r lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
# Check for sys_errlist
AC_MSG_CHECKING(for sys_errlist)
CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
-AC_CHECK_FUNCS(localtime_r rand_r)
-
dnl **********************************************
dnl *** GDefaultMutex setup and initialization ***
dnl **********************************************
* MT safe
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "glib.h"
#include <time.h>
* MT safe
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "glib.h"
#include <time.h>