delorie.com/archives/browse.cgi | search |
----- Original Message ----- From: "Akim Demaille" <akim AT epita DOT fr> To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> Cc: <cygwin-apps AT sources DOT redhat DOT com>; <autoconf AT gnu DOT org> Sent: Friday, March 16, 2001 8:40 PM Subject: Re: win32 compiler test V3a > >>>>> "Robert" == Robert Collins <robert DOT collins AT itdomain DOT com DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |