Alexandre Julliard : configure:
Make sure timezone and daylight are variables.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 25 13:33:59 CDT 2006
Module: wine
Branch: master
Commit: ff2bd66137889b25dd959293c80fef3dd31b3d0e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ff2bd66137889b25dd959293c80fef3dd31b3d0e
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Aug 25 13:23:29 2006 +0200
configure: Make sure timezone and daylight are variables.
---
configure | 4 ++--
configure.ac | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index b2d5370..ca41210 100755
--- a/configure
+++ b/configure
@@ -23652,7 +23652,7 @@ #include <time.h>
int
main ()
{
-timezone;
+timezone = 1
;
return 0;
}
@@ -23727,7 +23727,7 @@ #include <time.h>
int
main ()
{
-daylight;
+daylight = 1
;
return 0;
}
diff --git a/configure.ac b/configure.ac
index 426a087..1ed3b1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1435,14 +1435,14 @@ #endif])
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
More information about the wine-cvs
mailing list