File tree Expand file tree Collapse file tree 2 files changed +147
-143
lines changed Expand file tree Collapse file tree 2 files changed +147
-143
lines changed Original file line number Diff line number Diff line change 11# 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 $
33
44
55# PGAC_VAR_INT_TIMEZONE
88# HAVE_INT_TIMEZONE.
99AC_DEFUN ( [ PGAC_VAR_INT_TIMEZONE] ,
1010[ 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;] ,
1314 [ pgac_cv_var_int_timezone=yes] ,
1415 [ pgac_cv_var_int_timezone=no] ) ] )
1516if test x"$pgac_cv_var_int_timezone" = xyes ; then
131132# HAVE_SYS_NERR.
132133AC_DEFUN ( [ PGAC_VAR_SYS_NERR] ,
133134[ 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;] ,
136138 [ pgac_cv_var_sys_nerr=yes] ,
137139 [ pgac_cv_var_sys_nerr=no] ) ] )
138140if test x"$pgac_cv_var_sys_nerr" = xyes ; then
You can’t perform that action at this time.
0 commit comments