Defining variable depending on uname output

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

 



Hello all,

I'm doing this:
AM_CONDITIONAL([DARWIN], ["$(uname)" == "Darwin"])

But this is not working, I get:
./configure: line 3797: Linux: command not found

In a common make file I would use
ifeq($(shell uname), Darwin) ...

but with configure.ac I'm quite stuck.

Any suggestions?

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK


_______________________________________________
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