no timezone variable is only a warning instead of an error (use tm_gmtoff

instead, in particular for Darwin / Mac OS X)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2002-05-12 08:49:36 +00:00
parent 50947acc3b
commit 62cc730f58
2 changed files with 322 additions and 317 deletions

634
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2062,6 +2062,8 @@ equivalent variable and GTK+ is version 1.2.3 or above.
if test "$wxUSE_MAC" = 1; then
if test "$wxUSE_PRECOMP" = "yes"; then
CPPFLAGS="$CPPFLAGS -cpp-precomp"
else
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
fi
CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
CFLAGS="$CFLAGS -fpascal-strings"
@ -3668,6 +3670,7 @@ if test "$wxUSE_DATETIME" = "yes"; then
AC_CHECK_FUNCS(strptime)
dnl check for timezone variable
dnl doesn't exist under Darwin / Mac OS X which uses tm_gmtoff instead
AC_CACHE_CHECK(for timezone variable in <time.h>,
wx_cv_var_timezone,
[
@ -3708,7 +3711,7 @@ if test "$wxUSE_DATETIME" = "yes"; then
],
[
if test "$USE_DOS" = 0 ; then
AC_MSG_ERROR(no timezone variable)
AC_MSG_WARN(no timezone variable, will use tm_gmtoff instead)
fi
]
)