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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
CFLAGS="$_CFLAGS"
|
# do this test with the proper thread flags
|
||||||
LIBS="$_LIBS"
|
|
||||||
echo "$as_me:$LINENO: checking whether getpwuid_r takes a fifth argument" >&5
|
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
|
echo $ECHO_N "checking whether getpwuid_r takes a fifth argument... $ECHO_C" >&6
|
||||||
if test "${pgac_func_getpwuid_r_5arg+set}" = set; then
|
if test "${pgac_func_getpwuid_r_5arg+set}" = set; then
|
||||||
@ -13543,6 +13542,8 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CFLAGS="$_CFLAGS"
|
||||||
|
LIBS="$_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
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
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -1059,9 +1059,10 @@ _LIBS="$LIBS"
|
|||||||
CFLAGS="$CFLAGS $THREAD_CPPFLAGS"
|
CFLAGS="$CFLAGS $THREAD_CPPFLAGS"
|
||||||
LIBS="$LIBS $THREAD_LIBS"
|
LIBS="$LIBS $THREAD_LIBS"
|
||||||
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
|
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
|
||||||
|
# do this test with the proper thread flags
|
||||||
|
PGAC_FUNC_GETPWUID_R_5ARG
|
||||||
CFLAGS="$_CFLAGS"
|
CFLAGS="$_CFLAGS"
|
||||||
LIBS="$_LIBS"
|
LIBS="$_LIBS"
|
||||||
PGAC_FUNC_GETPWUID_R_5ARG
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user