diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | acconfig.h | 3 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2000-04-11 Christopher James Lahey <clahey@helixcode.com> + + * configure.in: Changed AC_DEFUN to AC_DEFINE. + + * acconfig.h: Added HAVE_TIMEZONE and HAVE_TM_GMTOFF. + 2000-04-11 Chris Toshok <toshok@helixcode.com> * configure.in: check for timezone as a variable (as it is in diff --git a/acconfig.h b/acconfig.h index b74d78a06a..82d39e3328 100644 --- a/acconfig.h +++ b/acconfig.h @@ -14,4 +14,5 @@ /* Define this if you want to build against the development gtk */ #undef HAVE_DEVGTK - +#undef HAVE_TIMEZONE +#undef HAVE_TM_GMTOFF diff --git a/configure.in b/configure.in index e78011ef95..d057649280 100644 --- a/configure.in +++ b/configure.in @@ -63,7 +63,7 @@ AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone, timezone = 1; ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no)) if test $ac_cv_var_timezone = yes; then - AC_DEFUN(HAVE_TIMEZONE) + AC_DEFINE(HAVE_TIMEZONE) else AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff, AC_TRY_COMPILE([ @@ -73,7 +73,7 @@ else 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_DEFUN(HAVE_TM_GMTOFF) + AC_DEFINE(HAVE_TM_GMTOFF) else AC_ERROR(unable to find a way to determine timezone) fi |