[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)
From: |
Earnie Boyd |
Subject: |
Re: AC_CYGWIN etc. (Was: AC_OBJEXT again) |
Date: |
Wed, 13 Dec 2000 12:13:15 -0800 (PST) |
--- Akim Demaille <address@hidden> wrote:
>
> Here is my proposal.
>
>
-8<-
I have a problem with
-8<-
>
> @defmac AC_CYGWIN
> @maindex CYGWIN
> -Checked for the Cygwin environment in which case the shell variable
> address@hidden is set to @samp{yes}. @code{AC_EXEEXT} now handles this
> -task.
> +Check for the Cygwin environment in which case the shell variable
> address@hidden is set to @samp{yes}. Don't use this macro, the dignified
> +means to check the nature of the host is using
> address@hidden As a matter of fact this macro is defined as:
> +
> address@hidden
> +AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
> +case $host_os in
> + *cygwin* ) CYGWIN=yes;;
> + * ) CYGWIN=no;;
> +esac
> address@hidden example
> @end defmac
>
in that the variable CYGWIN is used by Cygwin to control Cygwin
characteristics. It is not a variable that should be set arbitrarily to some
arbitrary value. Perhaps use ACYGWIN instead.
Cheers,
=====
Earnie Boyd
mailto:address@hidden
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/