mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 11:54:47 +00:00
configure: Make sure timezone and daylight are variables.
This commit is contained in:
parent
182d150aa9
commit
ff2bd66137
4
configure
vendored
4
configure
vendored
@ -23652,7 +23652,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
int
|
||||
main ()
|
||||
{
|
||||
timezone;
|
||||
timezone = 1
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@ -23727,7 +23727,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
int
|
||||
main ()
|
||||
{
|
||||
daylight;
|
||||
daylight = 1
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1435,14 +1435,14 @@ AC_CHECK_MEMBERS([ns_msg._msg_ptr],,,
|
||||
|
||||
dnl Check for the external timezone variables timezone and daylight
|
||||
AC_CACHE_CHECK([for timezone variable], ac_cv_have_timezone,
|
||||
AC_TRY_LINK([#include <time.h>],[timezone;],
|
||||
AC_TRY_LINK([#include <time.h>],[timezone = 1],
|
||||
ac_cv_have_timezone="yes", ac_cv_have_timezone="no"))
|
||||
if test "$ac_cv_have_timezone" = "yes"
|
||||
then
|
||||
AC_DEFINE(HAVE_TIMEZONE, 1, [Define if you have the timezone variable])
|
||||
fi
|
||||
AC_CACHE_CHECK([for daylight variable], ac_cv_have_daylight,
|
||||
AC_TRY_LINK([#include <time.h>],[daylight;],
|
||||
AC_TRY_LINK([#include <time.h>],[daylight = 1],
|
||||
ac_cv_have_daylight="yes", ac_cv_have_daylight="no"))
|
||||
if test "$ac_cv_have_daylight" = "yes"
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user