| 1 | # Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.
|
|---|
| 2 | #
|
|---|
| 3 | # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
|
|---|
| 4 | # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
|
|---|
| 5 | #
|
|---|
| 6 | # Permission is hereby granted to use or copy this program
|
|---|
| 7 | # for any purpose, provided the above notices are retained on all copies.
|
|---|
| 8 | # Permission to modify the code and to distribute modified code is granted,
|
|---|
| 9 | # provided the above notices are retained, and a notice that the code was
|
|---|
| 10 | # modified is included with the above copyright notice.
|
|---|
| 11 | #
|
|---|
| 12 | # Original author: Tom Tromey
|
|---|
| 13 |
|
|---|
| 14 | # FIXME: We temporarily define our own version of AC_PROG_CC. This is
|
|---|
| 15 | # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
|
|---|
| 16 | # are probably using a cross compiler, which will not be able to fully
|
|---|
| 17 | # link an executable. This should really be fixed in autoconf
|
|---|
| 18 | # itself.
|
|---|
| 19 |
|
|---|
| 20 | AC_DEFUN(GC_CONFIGURE,
|
|---|
| 21 | [
|
|---|
| 22 | dnl Default to --enable-multilib
|
|---|
| 23 | AC_ARG_ENABLE(multilib,
|
|---|
| 24 | [ --enable-multilib build many library versions (default)],
|
|---|
| 25 | [case "${enableval}" in
|
|---|
| 26 | yes) multilib=yes ;;
|
|---|
| 27 | no) multilib=no ;;
|
|---|
| 28 | *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
|
|---|
|
|---|