mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Do PGAC_FUNC_GETPWUID_R_5ARG check with the proper thread flags. This
fixes Solaris thread compiles.
This commit is contained in:
parent
0bd656e407
commit
d28e714509
5
configure
vendored
5
configure
vendored
@ -13482,8 +13482,7 @@ _ACEOF
|
||||
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
|
||||
@ -13543,6 +13542,8 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
CFLAGS="$_CFLAGS"
|
||||
LIBS="$_LIBS"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
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
|
||||
@ -1059,9 +1059,10 @@ _LIBS="$LIBS"
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user