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
; return 0; }
EOF
if { (eval echo configure:15529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
; return 0; }
EOF
if { (eval echo configure:15529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- wx_cv_var_timezone=__timezone
+ wx_cv_var_timezone=timezone
else
echo "configure: failed program was:" >&5
else
echo "configure: failed program was:" >&5
; return 0; }
EOF
if { (eval echo configure:15575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
; return 0; }
EOF
if { (eval echo configure:15575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- wx_cv_var_timezone=timezone
+ wx_cv_var_timezone=__timezone
else
echo "configure: failed program was:" >&5
else
echo "configure: failed program was:" >&5
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
LIBS="$LIBS -lole32 -luuid"
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
LIBS="$LIBS -lole32 -luuid"
+ cat >> confdefs.h <<\EOF
+#define wxUSE_OLE 1
+EOF
+
if test "$wxUSE_METAFILE" = "yes"; then
cat >> confdefs.h <<\EOF
if test "$wxUSE_METAFILE" = "yes"; then
cat >> confdefs.h <<\EOF
- wx_cv_var_timezone=__timezone
+ wx_cv_var_timezone=timezone
- wx_cv_var_timezone=timezone
+ wx_cv_var_timezone=__timezone
],
AC_MSG_ERROR(no timezone variable)
)
],
AC_MSG_ERROR(no timezone variable)
)
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
LIBS="$LIBS -lole32 -luuid"
ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
LIBS="$LIBS -lole32 -luuid"
dnl metafiles need the ole code, right?? if not this
dnl doesn't need to be in here.
dnl metafiles need the ole code, right?? if not this
dnl doesn't need to be in here.