1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Do PGAC_FUNC_GETPWUID_R_5ARG and PGAC_FUNC_STRERROR_R_INT tests with the

same thread flags that will be used to compile thread.c.  Add comment to
make sure no one breaks it.
This commit is contained in:
Bruce Momjian
2004-06-16 02:58:28 +00:00
parent d70a42e642
commit e854bc4ac7
2 changed files with 9 additions and 5 deletions

6
configure vendored
View File

@ -13697,9 +13697,8 @@ _ACEOF
fi
done
CFLAGS="$_CFLAGS"
LIBS="$_LIBS"
# 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
@ -13813,6 +13812,9 @@ _ACEOF
fi
CFLAGS="$_CFLAGS"
LIBS="$_LIBS"
else
# do not use values from template file
PTHREAD_CFLAGS=