delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/15/07:23:15

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: "Alexandre Oliva" <oliva AT lsd DOT ic DOT unicamp DOT br>,
<cygwin-apps AT sources DOT redhat DOT com>, <autoconf AT gnu DOT org>
Subject: Re: updated win32 macro
References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks>
<022001c0accf$29b724d0$0200a8c0 AT lifelesswks>
<orelvz60mr DOT fsf AT guarana DOT lsd DOT ic DOT unicamp DOT br>
<007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks>
<00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks>
<mv4elvz5pma DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks>
<mv466hb5ohw DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
<011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks>
<01a301c0ad49$4a522850$0200a8c0 AT lifelesswks>
From: Akim Demaille <akim AT epita DOT fr>
Date: 15 Mar 2001 13:32:55 +0100
In-Reply-To: <01a301c0ad49$4a522850$0200a8c0@lifelesswks>
Message-ID: <mv4ofv343go.fsf@nostromo.lrde.epita.fr>
Lines: 20
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 just went and looked at the AC_LANG stuff properly - to
Robert> support that properly it seems like I need to choose _which_
Robert> variables get altered on the basis of the current stack value,
Robert> or go with language specific functions.

Robert> Whats better? Is it worth supporting the AC_LANG for this
Robert> essentially non-unix feature? I'm happy to put the time in if
Robert> it is..

You are not concerned by the current language at all in the low level
macro, and the high level macro should set the compiler or flags var
associated to the current language.  There is no direct support for
this, you have to

AC_LANG_CASE([C],          [CFLAGS="$CFLAGS $WIN32FLAGS],
             [C++],        [CXXFLAGS="$CXXFLAGS $WIN32FLAGS],
             [Fortran 77], [FFLAGS="$FFLAGS $WIN32FLAGS],
             [AC_FATAL([NIah?  Never heard of] _AC_LANG)])

- Raw text -


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