source: trunk/src/gcc/libobjc/configure.in@ 2060

Last change on this file since 2060 was 1392, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 4.5 KB
RevLine 
[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
23AC_PREREQ(2.13)
24AC_INIT(objc/objc.h)
25AC_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.
31ORIGINAL_LD_FOR_MULTILIBS=$LD
32
33GLIBCPP_TOPREL_CONFIGURE
34
35AC_CANONICAL_SYSTEM
36target_alias=${target_alias-$target}
37AC_SUBST(target_alias)
38
39GLIBCPP_CONFIGURE(.)
40GLIBCPP_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.