From: "Tim Van Holder" To: , "'Andrew Cottrell'" Cc: "Eli Zaretskii" Subject: Re: Grep 2.5e beta port to DJGPP Date: Tue, 27 Nov 2001 18:50:25 +0100 Message-ID: <000b01c1776b$fecc9170$28f8e0d5@pandora.be> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Importance: Normal Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > It's probably a simple matter of adding to configure.in a call to some > AC_* macro, and regenerating the configure script and config.h.in. I don't think there's a simple standard macro to detect whether a macro exists, so you'll probably have to run some test program to detect it. So I'd suggest simply using #ifdef ISSOCK ... ISSOCK(x) #endif in the source (IIRC this is what several other packages do).