| [2] | 1 | # Process this file with autoconf to produce a configure script.
|
|---|
| [1391] | 2 | # Copyright (C) 1995, 1997, 1998, 1999, 2002, 2003
|
|---|
| 3 | # Free Software Foundation, Inc.
|
|---|
| [2] | 4 | # Contributed by Dave Love ([email protected]).
|
|---|
| 5 | #
|
|---|
| 6 | #This file is part of GNU Objective C.
|
|---|
| 7 | #
|
|---|
| 8 | #GNU Objective C is free software; you can redistribute it and/or modify
|
|---|
| 9 | #it under the terms of the GNU General Public License as published by
|
|---|
| 10 | #the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 11 | #any later version.
|
|---|
| 12 | #
|
|---|
| 13 | #GNU Objective C is distributed in the hope that it will be useful,
|
|---|
| 14 | #but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | #GNU General Public License for more details.
|
|---|
| 17 | #
|
|---|
| 18 | #You should have received a copy of the GNU General Public License
|
|---|
| 19 | #along with GNU Objective C; see the file COPYING. If not, write to
|
|---|
| 20 | #the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|---|
| 21 | #02111-1307, USA.
|
|---|
| 22 |
|
|---|
| 23 | AC_PREREQ(2.13)
|
|---|
| 24 | AC_INIT(objc/objc.h)
|
|---|
| 25 | AC_CONFIG_HEADER(config.h)
|
|---|
| 26 |
|
|---|
| 27 | # This works around the fact that libtool configuration may change LD
|
|---|
| 28 | # for this particular configuration, but some shells, instead of
|
|---|
| 29 | # keeping the changes in LD private, export them just because LD is
|
|---|
| 30 | # exported.
|
|---|
| 31 | ORIGINAL_LD_FOR_MULTILIBS=$LD
|
|---|
| 32 |
|
|---|
| 33 | GLIBCPP_TOPREL_CONFIGURE
|
|---|
| 34 |
|
|---|
| 35 | AC_CANONICAL_SYSTEM
|
|---|
| 36 | target_alias=${target_alias-$target}
|
|---|
| 37 | AC_SUBST(target_alias)
|
|---|
| 38 |
|
|---|
| 39 | GLIBCPP_CONFIGURE(.)
|
|---|
| 40 | GLIBCPP_EXPORT_INSTALL_INFO
|
|---|
| 41 |
|
|---|
| 42 | # If the language specific compiler does not exist, but the "gcc" directory
|
|---|
| 43 | # does, we do not build anything. Note, $r is set by the top-level Makefile.
|
|---|
| 44 | # Note that when we look for the compiler, we search both with and without
|
|---|
| 45 | # extension to handle cross and canadian cross builds.
|
|---|
| |
|---|