/[autoconf]/autoconf/lib/autoconf/types.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/types.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by akim, Sun Oct 27 18:19:39 2002 UTC revision 1.22 by akim, Sun Oct 27 18:21:32 2002 UTC
# Line 605  if test "$ac_cv_member_struct_tm_tm_zone Line 605  if test "$ac_cv_member_struct_tm_tm_zone
605               `HAVE_STRUCT_TM_TM_ZONE' instead.])               `HAVE_STRUCT_TM_TM_ZONE' instead.])
606  else  else
607    AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,    AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
608  [AC_TRY_LINK(  [AC_LINK_IFELSE([AC_LANG_PROGRAM(
609  [#include <time.h>  [[#include <time.h>
610  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
611  extern char *tzname[]; /* RS6000 and others reject char **tzname.  */  extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
612  #endif  #endif
613  ],  ]],
614  [atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)])  [atoi(*tzname);])],
615                    [ac_cv_var_tzname=yes],
616                    [ac_cv_var_tzname=no])])
617    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
618      AC_DEFINE(HAVE_TZNAME, 1,      AC_DEFINE(HAVE_TZNAME, 1,
619                [Define to 1 if you don't have `tm_zone' but do have the external                [Define to 1 if you don't have `tm_zone' but do have the external

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26