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 To: "Robert Collins" Cc: , Subject: Re: win32 compiler test V3a 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> From: Akim Demaille Date: 16 Mar 2001 10:40:24 +0100 In-Reply-To: <04b201c0adfa$6db4ab40$0200a8c0@lifelesswks> Message-ID: Lines: 45 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "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? :) | $ cat ./acinclude.m4 | AC_DEFUN([AC_PROG_CXX_WIN32], [ | AC_REQUIRE([AC_PROG_CXX])dnl | ]) | | | AC_DEFUN([AC_API_WIN32], [ | dnl high level interface for finding out compiler support for 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) ]) | ]) | | administrator AT LIFELESSWKS /usr/src/threadtestb | $ cat configure.in | AC_INIT | AC_API_WIN32 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) ]) ])