On Jan 11, 2008 5:16 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > 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? > You're right, thanks for your elegant solution. Cheers, Paulo Matos > 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 > -- 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