fi
done
-CFLAGS="$_CFLAGS"
-LIBS="$_LIBS"
+# do this test with the proper 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
fi
+CFLAGS="$_CFLAGS"
+LIBS="$_LIBS"
fi
dnl Process this file with autoconf to produce a configure script.
-dnl $Header: /cvsroot/pgsql/configure.in,v 1.301.2.8 2004/06/08 15:36:35 pgsql Exp $
+dnl $Header: /cvsroot/pgsql/configure.in,v 1.301.2.9 2004/06/16 03:47:35 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
CFLAGS="$CFLAGS $THREAD_CPPFLAGS"
LIBS="$LIBS $THREAD_LIBS"
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
+# do this test with the proper thread flags
+PGAC_FUNC_GETPWUID_R_5ARG
CFLAGS="$_CFLAGS"
LIBS="$_LIBS"
-PGAC_FUNC_GETPWUID_R_5ARG
fi