autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updated win32 macro


From: Akim Demaille
Subject: Re: updated win32 macro
Date: 15 Mar 2001 13:32:55 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

>>>>> "Robert" == Robert Collins <address@hidden> 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)])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]