[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Defining variable depending on uname output
From: |
Paulo J. Matos |
Subject: |
Defining variable depending on uname output |
Date: |
Fri, 11 Jan 2008 17:00:20 +0000 |
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
- Defining variable depending on uname output,
Paulo J. Matos <=