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)
|
dnl check for vfork() (even if it's the same as fork() in modern Unices)
|
||||||
AC_CHECK_FUNCS(vfork)
|
AC_CHECK_FUNCS(vfork)
|
||||||
|
|
||||||
|
dnl check for timegm() used by datetime.cpp
|
||||||
|
AC_CHECK_FUNCS(timegm)
|
||||||
|
|
||||||
POSIX4_LINK=
|
POSIX4_LINK=
|
||||||
AC_CHECK_FUNCS(nanosleep, AC_DEFINE(HAVE_NANOSLEEP), [
|
AC_CHECK_FUNCS(nanosleep, AC_DEFINE(HAVE_NANOSLEEP), [
|
||||||
AC_CHECK_LIB(posix4, nanosleep, [
|
AC_CHECK_LIB(posix4, nanosleep, [
|
||||||
|
@@ -625,14 +625,17 @@
|
|||||||
/* Define if you have pthread_cancel */
|
/* Define if you have pthread_cancel */
|
||||||
#undef 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 */
|
/* Define if you have all functions to set thread priority */
|
||||||
#undef HAVE_THREAD_PRIORITY_FUNCTIONS
|
#undef HAVE_THREAD_PRIORITY_FUNCTIONS
|
||||||
|
|
||||||
/* Define if you can specify exit functions to a thread */
|
/* Define if you can specify exit functions to a thread */
|
||||||
#undef HAVE_THREAD_CLEANUP_FUNCTIONS
|
#undef HAVE_THREAD_CLEANUP_FUNCTIONS
|
||||||
|
|
||||||
/* Define if you have shl_load() */
|
/* Define if you have timegm() function */
|
||||||
#undef HAVE_SHL_LOAD
|
#undef HAVE_TIMEGM
|
||||||
|
|
||||||
/* Define if you have vsnprintf() */
|
/* Define if you have vsnprintf() */
|
||||||
#undef HAVE_VSNPRINTF
|
#undef HAVE_VSNPRINTF
|
||||||
|
Reference in New Issue
Block a user