Yes, this is the right fix. I never suspected wsock32 would exist on a non-MS WIn machine.
--------------------------------------------------------------------------- Tom Lane wrote: > elein <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster