Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ff2bd661
Commit
ff2bd661
authored
Aug 25, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Make sure timezone and daylight are variables.
parent
182d150a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configure
configure
+2
-2
configure.ac
configure.ac
+2
-2
No files found.
configure
View file @
ff2bd661
...
...
@@ -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;
}
...
...
configure.ac
View file @
ff2bd661
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment