diff options
| author | Bruce Momjian | 2009-01-14 16:39:58 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2009-01-14 16:39:58 +0000 |
| commit | 62f09e92beba437a02777c8b2f7988c98a355d1c (patch) | |
| tree | 960b10255c7e212ef4c08185feeea7dcb530c0bb /configure.in | |
| parent | 08585dcf1391dca2c0e9a2b6d824df182cff7aa6 (diff) | |
Renable threading build for Solaris 2.5, per report from Andrew Chernow
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 38c26f2194..ff5964d77e 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.585 2009/01/11 18:02:17 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.586 2009/01/14 16:39:58 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -870,6 +870,12 @@ AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt]) AC_SEARCH_LIBS(crypt, crypt) # Solaris: AC_SEARCH_LIBS(fdatasync, [rt posix4]) +# Required for thread_test.c on Solaris 2.5: +case $host_os in + solaris*) + AC_SEARCH_LIBS(gethostbyname_r, nsl) + ;; +esac # Cygwin: AC_SEARCH_LIBS(shmget, cygipc) |
