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
AC_CANONICAL_TARGET and then
case "$target" in
*-*-linux*)
...
;;
*-*-freebsd*)
...
;;
...
esac
("$target" doesn't need the quotes, but I do them anyway.)
H
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