Index: configure =================================================================== RCS file: /cvsroot/pgsql-server/configure,v retrieving revision 1.373 retrieving revision 1.374 diff -c -c -r1.373 -r1.374 *** configure 8 Jun 2004 14:06:35 -0000 1.373 --- configure 16 Jun 2004 02:58:24 -0000 1.374 *************** *** 13697,13705 **** fi done - CFLAGS="$_CFLAGS" - LIBS="$_LIBS" echo "$as_me:$LINENO: checking whether getpwuid_r takes a fifth argument" >&5 echo $ECHO_N "checking whether getpwuid_r takes a fifth argument... $ECHO_C" >&6 if test "${pgac_func_getpwuid_r_5arg+set}" = set; then --- 13697,13704 ---- fi done + # Do test here with thread flags echo "$as_me:$LINENO: checking whether getpwuid_r takes a fifth argument" >&5 echo $ECHO_N "checking whether getpwuid_r takes a fifth argument... $ECHO_C" >&6 if test "${pgac_func_getpwuid_r_5arg+set}" = set; then *************** *** 13812,13817 **** --- 13811,13819 ---- fi + + CFLAGS="$_CFLAGS" + LIBS="$_LIBS" else # do not use values from template file Index: configure.in =================================================================== RCS file: /cvsroot/pgsql-server/configure.in,v retrieving revision 1.362 retrieving revision 1.363 diff -c -c -r1.362 -r1.363 *** configure.in 8 Jun 2004 14:06:35 -0000 1.362 --- configure.in 16 Jun 2004 02:58:28 -0000 1.363 *************** *** 989,999 **** CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$LIBS $PTHREAD_LIBS" AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r]) - CFLAGS="$_CFLAGS" - LIBS="$_LIBS" PGAC_FUNC_GETPWUID_R_5ARG PGAC_FUNC_STRERROR_R_INT else # do not use values from template file --- 989,1001 ---- CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$LIBS $PTHREAD_LIBS" AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r]) + # Do test here with thread flags PGAC_FUNC_GETPWUID_R_5ARG PGAC_FUNC_STRERROR_R_INT + + CFLAGS="$_CFLAGS" + LIBS="$_LIBS" else # do not use values from template file