]> gcc.gnu.org Git - gcc.git/blob - libada/configure.in
cselib.c (hash_table): Remove GTY marker.
[gcc.git] / libada / configure.in
1 # Configure script for libada.
2 # Copyright 2003, 2004 Free Software Foundation, Inc.
3 #
4 # This file is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 AC_INIT
19 AC_CONFIG_SRCDIR([Makefile.in])
20
21 # This is an autoconf 2.5x script.
22 AC_PREREQ([2.57])
23
24 # Very limited version of AC_MAINTAINER_MODE.
25 AC_ARG_ENABLE(
26 [maintainer-mode],
27 AC_HELP_STRING([--enable-maintainer-mode],
28 [enable make rules and dependencies not useful (and
29 sometimes confusing) to the casual installer]),
30 [case ${enable_maintainer_mode} in
31 yes) MAINT='' ;;
32 no) MAINT='#' ;;
33 *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
34 esac
35 maintainer_mode=${enableval}],
36 [MAINT='#'])
37 AC_SUBST([MAINT])dnl
38
39 # Start of actual configure tests
40
41 # Output: create a Makefile.
42 AC_CONFIG_FILES([Makefile])
43
44 AC_CANONICAL_SYSTEM
45
46 AC_ARG_ENABLE(shared,
47 [ --disable-shared don't provide a shared libgnat],
48 [
49 case $enable_shared in
50 yes | no) ;;
51 *)
52 enable_shared=no
53 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
54 for pkg in $enableval; do
55 if test "$pkg" = "ada" || test "$pkg" = "libada"; then
56 enable_shared=yes
57 fi
58 done
59 IFS="$ac_save_ifs"
60 ;;
61 esac
62 ], [enable_shared=yes])
63 AC_SUBST(enable_shared)
64
65 AC_OUTPUT
This page took 0.037789 seconds and 5 git commands to generate.