source: trunk/libs/newlib/src/libgloss/i386/configure.in @ 639

Last change on this file since 639 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.1 KB
Line 
1# Copyright (c) 1995, 1996 Cygnus Support
2#
3# The authors hereby grant permission to use, copy, modify, distribute,
4# and license this software and its documentation for any purpose, provided
5# that existing copyright notices are retained in all copies and that this
6# notice is included verbatim in any distributions. No written agreement,
7# license, or royalty fee is required for any of the authorized uses.
8# Modifications to this software may be copyrighted by their authors
9# and need not follow the licensing terms described here, provided that
10# the new terms are clearly indicated on the first page of each file where
11# they apply.
12#
13# Process this file with autoconf to produce a configure script.
14#
15AC_PREREQ(2.59)
16AC_INIT(cygmon-salib.c)
17
18if test "${enable_shared}" = "yes" ; then
19    echo "Shared libraries not supported for cross compiling, ignored"
20fi
21
22if test "$srcdir" = "." ; then
23  if test "${with_target_subdir}" != "." ; then
24    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
25  else
26    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
27  fi
28else
29  libgloss_topdir="${srcdir}/../.."
30fi
31AC_CONFIG_AUX_DIR($libgloss_topdir)
32
33AC_CANONICAL_SYSTEM
34AC_ARG_PROGRAM
35
36AC_PROG_INSTALL
37
38case "$target" in
39    *coff)
40        IS_COFF="-DCOFF"
41        ;;
42    *aout)
43        IS_AOUT="-DAOUT"
44        ;;
45esac
46
47LIB_AC_PROG_CC
48AS=${AS-as}
49AC_SUBST(AS)
50AR=${AR-ar}
51AC_SUBST(AR)
52LD=${LD-ld}
53AC_SUBST(LD)
54AC_SUBST(IS_COFF)
55AC_SUBST(IS_AOUT)
56AC_SUBST(NEED_UNDERSCORE)
57AC_PROG_RANLIB
58LIB_AM_PROG_AS
59
60host_makefile_frag=${srcdir}/../config/default.mh
61
62dnl We have to assign the same value to other variables because autoconf
63dnl doesn't provide a mechanism to substitute a replacement keyword with
64dnl arbitrary data or pathnames.
65dnl
66host_makefile_frag_path=$host_makefile_frag
67AC_SUBST(host_makefile_frag_path)
68AC_SUBST_FILE(host_makefile_frag)
69
70AC_CONFIG_FILES(Makefile,
71. ${libgloss_topdir}/config-ml.in,
72srcdir=${srcdir}
73target=${target}
74with_multisubdir=${with_multisubdir}
75ac_configure_args="${ac_configure_args} --enable-multilib"
76CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
77libgloss_topdir=${libgloss_topdir}
78)
79AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.