Add new field that reflects changes to corlib for remoting
[mono.git] / configure.in
index 32fab6dadbb7628f21db0b48c99edbed3a110baa..d5b43f2b7ddb976562abfc8d0007d68d8766c0a6 100644 (file)
@@ -1,7 +1,7 @@
 AC_INIT(README)
 AC_CANONICAL_SYSTEM
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mono, 0.16)
+AM_INIT_AUTOMAKE(mono, 0.17)
 AM_MAINTAINER_MODE
 
 # Thread configuration inspired by sleepycat's db
@@ -369,24 +369,24 @@ if test x$platform_win32 = xno; then
        dnl ********************************
        dnl *** Checks for timezone stuff **
        dnl ********************************
-       AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
+       AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
                AC_TRY_COMPILE([
                        #include <time.h>
-               ], [
-                       timezone = 1;
-               ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
-       if test $ac_cv_var_timezone = yes; then
-               AC_DEFINE(HAVE_TIMEZONE)
+                       ], [
+                       struct tm tm;
+                       tm.tm_gmtoff = 1;
+                       ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
+       if test $ac_cv_struct_tm_gmtoff = yes; then
+               AC_DEFINE(HAVE_TM_GMTOFF)
        else
-               AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
+               AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
                        AC_TRY_COMPILE([
                                #include <time.h>
-                               ], [
-                               struct tm tm;
-                               tm.tm_gmtoff = 1;
-                               ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
-               if test $ac_cv_struct_tm_gmtoff = yes; then
-                       AC_DEFINE(HAVE_TM_GMTOFF)
+                       ], [
+                               timezone = 1;
+                       ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
+               if test $ac_cv_var_timezone = yes; then
+                       AC_DEFINE(HAVE_TIMEZONE)
                else
                        AC_ERROR(unable to find a way to determine timezone)
                fi