Got it: AM_CONDITIONAL([DARWIN], [test x$uname == xDarwin]) On Jan 11, 2008 5:00 PM, Paulo J. Matos <pocm@xxxxxxxxxxx> wrote: > 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 > -- 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