Yes, this is the right fix. I never suspected wsock32 would exist on a
non-MS WIn machine.
---------------------------------------------------------------------------
Tom Lane wrote:
> elein <elein@norcov.com> writes:
> > It sounds like Joe's guess on this was right.
>
> I've committed this fix in configure.in:
>
> ***************
> *** 631,637 ****
> AC_CHECK_LIB(gen, main)
> AC_CHECK_LIB(PW, main)
> AC_CHECK_LIB(resolv, main)
> - AC_CHECK_LIB(wsock32, main)
> AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
> # QNX:
> AC_CHECK_LIB(unix, main)
> --- 636,641 ----
> ***************
> *** 645,650 ****
> --- 649,659 ----
> AC_SEARCH_LIBS(fdatasync, [rt posix4])
> # Cygwin:
> AC_CHECK_LIB(cygipc, shmget)
> + # WIN32:
> + if test "$PORTNAME" = "win32"
> + then
> + AC_CHECK_LIB(wsock32, main)
> + fi
>
> if test "$with_readline" = yes; then
> PGAC_CHECK_READLINE
>
>
> regards, tom lane
>
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073