File tree 2 files changed +147
-143
lines changed 2 files changed +147
-143
lines changed Original file line number Diff line number Diff line change 1
1
# Macros that test various C library quirks
2
- # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.6 2001/01/09 18:40:13 petere Exp $
2
+ # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.7 2001/01/10 17:07:18 petere Exp $
3
3
4
4
5
5
# PGAC_VAR_INT_TIMEZONE
8
8
# HAVE_INT_TIMEZONE.
9
9
AC_DEFUN ( [ PGAC_VAR_INT_TIMEZONE] ,
10
10
[ AC_CACHE_CHECK ( for int timezone , pgac_cv_var_int_timezone ,
11
- [ AC_TRY_LINK ( [ #include <time.h>] ,
12
- [ int res = timezone / 60;] ,
11
+ [ AC_TRY_LINK ( [ #include <time.h>
12
+ int res;] ,
13
+ [ res = timezone / 60;] ,
13
14
[ pgac_cv_var_int_timezone=yes] ,
14
15
[ pgac_cv_var_int_timezone=no] ) ] )
15
16
if test x"$pgac_cv_var_int_timezone" = xyes ; then
131
132
# HAVE_SYS_NERR.
132
133
AC_DEFUN ( [ PGAC_VAR_SYS_NERR] ,
133
134
[ AC_CACHE_CHECK ( [ for sys_nerr] , pgac_cv_var_sys_nerr ,
134
- [ AC_TRY_LINK ( [ extern int sys_nerr;] ,
135
- [ int x = sys_nerr;] ,
135
+ [ AC_TRY_LINK ( [ extern int sys_nerr;
136
+ int x;] ,
137
+ [ x = sys_nerr;] ,
136
138
[ pgac_cv_var_sys_nerr=yes] ,
137
139
[ pgac_cv_var_sys_nerr=no] ) ] )
138
140
if test x"$pgac_cv_var_sys_nerr" = xyes ; then
You can’t perform that action at this time.
0 commit comments