X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6C99BD1C4DF for ; Mon, 11 Aug 2003 21:46:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 49113-07 for ; Mon, 11 Aug 2003 18:45:06 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 41CA2D1C47A for ; Mon, 11 Aug 2003 18:46:23 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h7BLjtu03603; Mon, 11 Aug 2003 17:45:55 -0400 (EDT) From: Bruce Momjian Message-Id: <200308112145.h7BLjtu03603@candle.pha.pa.us> Subject: Re: Windows on SuSE? 7.4 In-Reply-To: <5069.1060625697@sss.pgh.pa.us> To: Tom Lane Date: Mon, 11 Aug 2003 17:45:55 -0400 (EDT) Cc: elein , pgsql-hackers@postgresql.org, elein X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/651 X-Sequence-Number: 42309 Yes, this is the right fix. I never suspected wsock32 would exist on a non-MS WIn machine. --------------------------------------------------------------------------- Tom Lane wrote: > elein 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, Pennsylvania 19073