Re: Defining variable depending on uname output

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux