autoconf
[Top][All Lists]
Advanced

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

Re: detecting OS


From: Ralf Corsepius
Subject: Re: detecting OS
Date: 17 Nov 2001 09:24:19 +0100

Am Sam, 2001-11-17 um 04.29 schrieb Harlan Stenn:
> AC_CANONICAL_TARGET and then
> 
> case "$target" in
>  *-*-linux*)
>     ...
>     ;;
>  *-*-freebsd*)
>     ...
>     ;;
> ...
> esac
> 
> ("$target" doesn't need the quotes, but I do them anyway.)
Sorry, $target is meant to be used for cross-tools, $host is what you
normally want to use instead.

Ralf





reply via email to

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