From bed92671a3bbbd0264fa75d54779659922b81276 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 12 Apr 2000 00:33:00 +0000 Subject: Changed AC_DEFUN to AC_DEFINE. 2000-04-11 Christopher James Lahey * configure.in: Changed AC_DEFUN to AC_DEFINE. * acconfig.h: Added HAVE_TIMEZONE and HAVE_TM_GMTOFF. svn path=/trunk/; revision=2400 --- ChangeLog | 6 ++++++ acconfig.h | 3 ++- configure.in | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3feb4d7d4f..0b4f96a8c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-04-11 Christopher James Lahey + + * configure.in: Changed AC_DEFUN to AC_DEFINE. + + * acconfig.h: Added HAVE_TIMEZONE and HAVE_TM_GMTOFF. + 2000-04-11 Chris Toshok * 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 -- cgit v1.2.3