autoconf
[Top][All Lists]
Advanced

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

Re: Defining variable depending on uname output


From: Ralf Wildenhues
Subject: Re: Defining variable depending on uname output
Date: Fri, 11 Jan 2008 18:16:43 +0100
User-agent: Mutt/1.5.17 (2007-12-11)

Hello Paulo,

* Paulo J. Matos wrote on Fri, Jan 11, 2008 at 06:05:40PM CET:
> Got it:
> AM_CONDITIONAL([DARWIN], [test x$uname == xDarwin])

Sure you want to test the build sytem, not the host one?

  AC_CANONICAL_HOST    # needs to be called at some point earlier
  AM_CONDITIONAL([DARWIN],
    [case $host_os in darwin*) true;; *) false;; esac])

Cheers,
Ralf




reply via email to

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