Re: detecting OS

2001-11-17 Thread Ralf Corsepius
Am Sam, 2001-11-17 um 04.29 schrieb Harlan Stenn: > AC_CANONICAL_TARGET and then > > case "$target" in > *-*-linux*) > ... > ;; > *-*-freebsd*) > ... > ;; > ... > esac > > ("$target" doesn't need the quotes, but I do them anyway.) Sorry, $target is meant to be used for cross-to

Re: detecting OS

2001-11-16 Thread Harlan Stenn
AC_CANONICAL_TARGET and then case "$target" in *-*-linux*) ... ;; *-*-freebsd*) ... ;; ... esac ("$target" doesn't need the quotes, but I do them anyway.) H

detecting OS

2001-11-16 Thread Helder Correia
Hello How can I write a configure.in file in a way I can make something like this: if linux do this else if freebsd do that else if solaris do this; do that; Do I have to work out with automake too? (note: if solaris then I have to do something like app_LDADD in Makefile.am) T