----- Original Message -----
From: "Akim Demaille" <[EMAIL PROTECTED]>
To: "Robert Collins" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 8:40 PM
Subject: Re: win32 compiler test V3a
> >>>>> "Robert" == Robert Collins <[EMAIL PROTECTED]>
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