[Gllug] configure.in question
- Tethys
tethys at gmail.com
Fri Nov 10 16:55:42 UTC 2006
On 11/10/06, salsaman <salsaman at xs4all.nl> wrote:
> if [[ $AC_CANONICAL_TARGET = *darwin* ]]; then
> ...
> fi
>
> but the above is not correct. Any ideas ?
You should be using a double equals, and for safety's sake,
$AC_CANONICAL_TARGET should be quoted when you dereference it. If that
still doesn't work, try:
case "$AC_CANONICAL_TARGET" in
*darwin*)
### Do something clever here
;;
*)
### Handle non-darwin cases here
;;
esac
Tet
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list