@@ -13964,43 +13964,8 @@ if test x"$pgac_cv_computed_goto" = xyes ; then
13964
13964
$as_echo "#define HAVE_COMPUTED_GOTO 1" >>confdefs.h
13965
13965
13966
13966
fi
13967
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
13968
- $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
13969
- if ${ac_cv_struct_tm+:} false; then :
13970
- $as_echo_n "(cached) " >&6
13971
- else
13972
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973
- /* end confdefs.h. */
13974
- #include <sys/types.h>
13975
- #include <time.h>
13976
-
13977
- int
13978
- main ()
13979
- {
13980
- struct tm tm;
13981
- int *p = &tm.tm_sec;
13982
- return !p;
13983
- ;
13984
- return 0;
13985
- }
13986
- _ACEOF
13987
- if ac_fn_c_try_compile "$LINENO"; then :
13988
- ac_cv_struct_tm=time.h
13989
- else
13990
- ac_cv_struct_tm=sys/time.h
13991
- fi
13992
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13993
- fi
13994
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13995
- $as_echo "$ac_cv_struct_tm" >&6; }
13996
- if test $ac_cv_struct_tm = sys/time.h; then
13997
-
13998
- $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
13999
-
14000
- fi
14001
-
14002
13967
ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
14003
- #include <$ac_cv_struct_tm >
13968
+ #include <time.h >
14004
13969
14005
13970
"
14006
13971
if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
@@ -14012,47 +13977,6 @@ _ACEOF
14012
13977
14013
13978
fi
14014
13979
14015
- if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
14016
-
14017
- $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
14018
-
14019
- fi
14020
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
14021
- $as_echo_n "checking for tzname... " >&6; }
14022
- if ${ac_cv_var_tzname+:} false; then :
14023
- $as_echo_n "(cached) " >&6
14024
- else
14025
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026
- /* end confdefs.h. */
14027
- #include <stdlib.h>
14028
- #include <time.h>
14029
- #ifndef tzname /* For SGI. */
14030
- extern char *tzname[]; /* RS6000 and others reject char **tzname. */
14031
- #endif
14032
-
14033
- int
14034
- main ()
14035
- {
14036
- atoi(*tzname);
14037
- ;
14038
- return 0;
14039
- }
14040
- _ACEOF
14041
- if ac_fn_c_try_link "$LINENO"; then :
14042
- ac_cv_var_tzname=yes
14043
- else
14044
- ac_cv_var_tzname=no
14045
- fi
14046
- rm -f core conftest.err conftest.$ac_objext \
14047
- conftest$ac_exeext conftest.$ac_ext
14048
- fi
14049
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
14050
- $as_echo "$ac_cv_var_tzname" >&6; }
14051
- if test $ac_cv_var_tzname = yes; then
14052
-
14053
- $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
14054
-
14055
- fi
14056
13980
14057
13981
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "#include <sys/types.h>
14058
13982
#ifdef HAVE_SYS_IPC_H
0 commit comments