]> sourceware.org Git - newlib-cygwin.git/blame - libgloss/cris/configure.in
2006-05-10 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / libgloss / cris / configure.in
CommitLineData
3a267038
JJ
1dnl This file is based on ../mcore/configure.in
2dnl Process this file with autoconf to produce a configure script.
4e71dc1e 3AC_PREREQ(2.59)
3a267038
JJ
4AC_INIT(Makefile.in)
5
6if test "${enable_shared}" = "yes" ; then
7 echo "Shared libraries not supported for cross compiling, ignored"
8fi
9
10if test "$srcdir" = "." ; then
11 if test "${with_target_subdir}" != "." ; then
12 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
13 else
14 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
15 fi
16else
17 libgloss_topdir="${srcdir}/../.."
18fi
19AC_CONFIG_AUX_DIR($libgloss_topdir)
20
21AC_CANONICAL_SYSTEM
22AC_ARG_PROGRAM
23
24AC_PROG_INSTALL
25
3a267038
JJ
26LIB_AC_PROG_CC
27AS=${AS-as}
28AC_SUBST(AS)
29AR=${AR-ar}
30AC_SUBST(AR)
31LD=${LD-ld}
32AC_SUBST(LD)
33AC_PROG_RANLIB
4e71dc1e 34LIB_AM_PROG_AS
3a267038
JJ
35
36host_makefile_frag=${srcdir}/../config/default.mh
37
38dnl We have to assign the same value to other variables because autoconf
39dnl doesn't provide a mechanism to substitute a replacement keyword with
40dnl arbitrary data or pathnames.
41dnl
42host_makefile_frag_path=$host_makefile_frag
43AC_SUBST(host_makefile_frag_path)
44AC_SUBST_FILE(host_makefile_frag)
45
4e71dc1e 46AC_CONFIG_FILES(Makefile,
3a267038
JJ
47. ${libgloss_topdir}/config-ml.in,
48srcdir=${srcdir}
49target=${target}
00a4b31a 50with_multisubdir=${with_multisubdir}
3a267038
JJ
51ac_configure_args="${ac_configure_args} --enable-multilib"
52CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
53libgloss_topdir=${libgloss_topdir}
54)
4e71dc1e 55AC_OUTPUT
This page took 0.088675 seconds and 5 git commands to generate.