This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: win32 compiler test V3a





----- Original Message -----
From: "Akim Demaille" <akim@epita.fr>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin-apps@sources.redhat.com>; <autoconf@gnu.org>
Sent: Friday, March 16, 2001 8:40 PM
Subject: Re: win32 compiler test V3a


> >>>>> "Robert" == Robert Collins <robert.collins@itdomain.com.au>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]