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