test for timegm() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1975,6 +1975,9 @@ if test "$USE_UNIX" = 1; then
|
||||
dnl check for vfork() (even if it's the same as fork() in modern Unices)
|
||||
AC_CHECK_FUNCS(vfork)
|
||||
|
||||
dnl check for timegm() used by datetime.cpp
|
||||
AC_CHECK_FUNCS(timegm)
|
||||
|
||||
POSIX4_LINK=
|
||||
AC_CHECK_FUNCS(nanosleep, AC_DEFINE(HAVE_NANOSLEEP), [
|
||||
AC_CHECK_LIB(posix4, nanosleep, [
|
||||
@@ -2000,7 +2003,7 @@ AC_CHECK_FUNCS(inet_addr,
|
||||
AC_DEFINE(HAVE_INET_ADDR),
|
||||
[
|
||||
AC_CHECK_LIB(nsl, inet_addr,
|
||||
INET_LINK="nsl",
|
||||
INET_LINK="nsl",
|
||||
AC_CHECK_LIB(resolv, inet_addr,
|
||||
INET_LINK="resolv"
|
||||
)
|
||||
|
@@ -625,14 +625,17 @@
|
||||
/* Define if you have pthread_cancel */
|
||||
#undef HAVE_PTHREAD_CANCEL
|
||||
|
||||
/* Define if you have shl_load() */
|
||||
#undef HAVE_SHL_LOAD
|
||||
|
||||
/* Define if you have all functions to set thread priority */
|
||||
#undef HAVE_THREAD_PRIORITY_FUNCTIONS
|
||||
|
||||
/* Define if you can specify exit functions to a thread */
|
||||
#undef HAVE_THREAD_CLEANUP_FUNCTIONS
|
||||
|
||||
/* Define if you have shl_load() */
|
||||
#undef HAVE_SHL_LOAD
|
||||
/* Define if you have timegm() function */
|
||||
#undef HAVE_TIMEGM
|
||||
|
||||
/* Define if you have vsnprintf() */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
Reference in New Issue
Block a user