diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-06-16 02:58:28 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-06-16 02:58:28 +0000 |
| commit | e854bc4ac7f1b636eef128b07861bc953dc1fd85 (patch) | |
| tree | 5533189b7ef4f3dfbe5d5dbf6b935f2ff10bee1b /configure.in | |
| parent | d70a42e6424e1531355ce9d1d1aa59e329b3c0e6 (diff) | |
| download | postgresql-e854bc4ac7f1b636eef128b07861bc953dc1fd85.tar.gz | |
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.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 2c653c236a..b276c27f22 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.362 2004/06/08 14:06:35 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.363 2004/06/16 02:58:28 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -989,12 +989,14 @@ _LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$LIBS $PTHREAD_LIBS" AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r]) -CFLAGS="$_CFLAGS" -LIBS="$_LIBS" +# 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 PTHREAD_CFLAGS= |
