delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/16/04:33:32

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
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>
Subject: Re: win32 compiler test V3a
References: <3AB0C6A2 DOT 8AFE126C AT yahoo DOT com>
<023d01c0ad57$68af41d0$0200a8c0 AT lifelesswks>
<026c01c0ad5b$4a2a76e0$0200a8c0 AT lifelesswks>
<mv4zoen1456 DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<029701c0ad60$66becd60$0200a8c0 AT lifelesswks>
<mv4n1an12rz DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<02b901c0ad61$e69fd000$0200a8c0 AT lifelesswks>
<mv4itlb11vc DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<002401c0ad9b$e3526d60$0200a8c0 AT lifelesswks>
<3AB14033 DOT 1FFE5CE0 AT yahoo DOT com>
<027401c0ada3$bb7845f0$0200a8c0 AT lifelesswks>
<mv4elvyysdk DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<04b201c0adfa$6db4ab40$0200a8c0 AT lifelesswks>
From: Akim Demaille <akim AT epita DOT fr>
Date: 16 Mar 2001 10:40:24 +0100
In-Reply-To: <04b201c0adfa$6db4ab40$0200a8c0@lifelesswks>
Message-ID: <mv4zoemxd9z.fsf@nostromo.lrde.epita.fr>
Lines: 45
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
MIME-Version: 1.0

>>>>> "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?  :)

| $ 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) ])
])

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019