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: <04cc01c0adfc$b33d5980$0200a8c0@lifelesswks> From: "Robert Collins" To: "Akim Demaille" Cc: , References: <3AB0C6A2 DOT 8AFE126C AT yahoo DOT com><023d01c0ad57$68af41d0$0200a8c0 AT lifelesswks><026c01c0ad5b$4a2a76e0$0200a8c0 AT lifelesswks><029701c0ad60$66becd60$0200a8c0 AT lifelesswks><02b901c0ad61$e69fd000$0200a8c0 AT lifelesswks><002401c0ad9b$e3526d60$0200a8c0 AT lifelesswks><3AB14033 DOT 1FFE5CE0 AT yahoo DOT com><027401c0ada3$bb7845f0$0200a8c0 AT lifelesswks><04b201c0adfa$6db4ab40$0200a8c0 AT lifelesswks> Subject: Re: win32 compiler test V3a Date: Fri, 16 Mar 2001 20:37:13 +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: 16 Mar 2001 09:31:30.0877 (UTC) FILETIME=[E223D6D0:01C0ADFB] ----- Original Message ----- From: "Akim Demaille" To: "Robert Collins" Cc: ; Sent: Friday, March 16, 2001 8:40 PM Subject: Re: win32 compiler test V3a > >>>>> "Robert" == Robert Collins writes: > > Robert> I cat'd the sources so you could see... > > (One coffee later). Well, I reread your previous message, and indeed > _now_ there are sources in there. How did you do that? :) I can't do this... no I have too.. All your base are mine. :] > > Try this: > > AC_DEFUN([AC_PROG_CXX_WIN32], > [AC_REQUIRE([AC_PROG_CXX])]) > > > # High level interface for finding out compiler support for win32. > AC_DEFUN([AC_API_WIN32], > [AC_LANG_CASE( > dnl [C], [CFLAGS="$WIN32FLAGS $CFLAGS" > dnl CPPFLAGS="$WIN32FLAGS $CPPFLAGS"], > [C++], [AC_PROG_CXX_WIN32 > CXXFLAGS="$WIN32FLAGS $CXXFLAGS" > CPPFLAGS="$WIN32FLAGS $CPPFLAGS"], > [AC_FATAL([No macro support for WIN32 with ] _AC_LANG) ]) > ]) > That works. I take it that putting the [ around the AC_PROG_CXX_WIN32 is ok? or was moving the [ in the DEFUN down a line the main thing? Rob