1. configure now checks first for timezone, then _timezone and

then __timezone, so that we don't use glibc's internal variable whenever possible
2. added wxUSE_OLE so that MSW compiles with Mingw32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-07-08 22:52:59 +00:00
parent f6045f99ba
commit 4f11a3437b
2 changed files with 13 additions and 8 deletions

View File

@@ -3484,10 +3484,10 @@ if test "$wxUSE_DATETIME" = "yes"; then
],
[
int tz;
tz = __timezone;
tz = timezone;
],
[
wx_cv_var_timezone=__timezone
wx_cv_var_timezone=timezone
],
[
AC_TRY_COMPILE(
@@ -3508,10 +3508,10 @@ if test "$wxUSE_DATETIME" = "yes"; then
],
[
int tz;
tz = timezone;
tz = __timezone;
],
[
wx_cv_var_timezone=timezone
wx_cv_var_timezone=__timezone
],
AC_MSG_ERROR(no timezone variable)
)
@@ -3942,6 +3942,7 @@ if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
LIBS="$LIBS -lole32 -luuid"
AC_DEFINE(wxUSE_OLE)
dnl metafiles need the ole code, right?? if not this
dnl doesn't need to be in here.