[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call AC_DISABLE_SHARED "conditionally" for a certain host
From: |
Ralf Wildenhues |
Subject: |
Re: call AC_DISABLE_SHARED "conditionally" for a certain host |
Date: |
Tue, 14 Feb 2006 11:51:29 +0100 |
User-agent: |
Mutt/1.5.11 |
* Ralf Wildenhues wrote on Tue, Feb 14, 2006 at 11:49:37AM CET:
>
> Well, hope this gets you set for the release: use
>
> | AC_CANONICAL_HOST
> | case "$host" in
> | *-*-linux* | *-*-darwin*)
> | AC_ENABLE_SHARED
> | ;;
> | *-*-mingw32*)
> | AC_DISABLE_SHARED
> | ;;
> | esac
>
> and make sure all of that comes before AC_PROG_LIBTOOL.
D'oh. That should be something like
| AC_CANONICAL_HOST
| case "$host" in
| *-*-linux* | *-*-darwin*)
| AC_ENABLE_SHARED
| ;;
| *-*-mingw32*)
| AC_DISABLE_SHARED
| ;;
| *)
| AC_ENABLE_SHARED
| ;;
| esac
of course: why keep other systems out in the cold on purpose?
(Of course you could just eliminate the case for linux/darwin
then, too.)
Cheers,
Ralf
Re: call AC_DISABLE_SHARED "conditionally" for a certain host, Christopher Hulbert, 2006/02/14