Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <01ea01c0ad4f$fe94f350$0200a8c0@lifelesswks> From: "Robert Collins" To: "Akim Demaille" Cc: "Alexandre Oliva" , , References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks><022001c0accf$29b724d0$0200a8c0 AT lifelesswks><007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks><00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks><00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks><011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks><01b801c0ad4b$9b2f1380$0200a8c0 AT lifelesswks><01c401c0ad4c$7e469ad0$0200a8c0 AT lifelesswks> Subject: Re: updated win32 macro Date: Fri, 16 Mar 2001 00:00:57 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 15 Mar 2001 12:55:11.0252 (UTC) FILETIME=[2BA35540:01C0AD4F] ----- Original Message ----- From: "Akim Demaille" To: "Robert Collins" Cc: "Alexandre Oliva" ; ; Sent: Friday, March 16, 2001 12:05 AM Subject: Re: updated win32 macro > >>>>> "Robert" == Robert Collins writes: > > >> Then there is yet another thing to introduce IMHO, AC_SYS_WIN32 or > >> so, which does define this symbol to yes/no. You high level macro > >> ac_requires it. > > Robert> Doesn't that just check the _current_ support ? > > Sorry, I don't understand. > > Is the feature your trying to test related to the compiler, or to the > system? If the language is relevant, then indeed AC_SYS is wrong. If > the language is not, then I don't understand your sentence: all that > matters is whether we are running this system or not, to decide, for > instance, of the programs to compile. > I assume AC_SYS_WIN32 is a system feature test? I can't see it on the autoconf manual page... We are trying to enable a feature of the system/compiler that may not be enabled by default. The language will likely be relevant (thus the low level tests), and the feature once enabled is language specific. Having a C compiler that has the necessary files for WIN32 compilation and linking does not imply having a C++ compiler that can do the same. All that matters here is whether we can find some way compile WIN32 code (as part of a program) AND tell the user that we have found that way. In one sense it's two separate problems: a) force the compiler to compile & link win32 source if possible. b) allow the user to #define their code to avoid compilation errors on pure unix systems. Rob