source: trunk/libs/newlib/src/libgloss/riscv/configure.in @ 621

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

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

File size: 1.4 KB
Line 
1#=========================================================================
2# configure.ac for riscv libgloss and crt0
3#=========================================================================
4
5#-------------------------------------------------------------------------
6# Setup
7#-------------------------------------------------------------------------
8
9AC_INIT([crt0.S])
10AC_CONFIG_SRCDIR([crt0.S])
11AC_CONFIG_AUX_DIR([${srcdir}/../..])
12
13#-------------------------------------------------------------------------
14# Checks for programs
15#-------------------------------------------------------------------------
16
17LIB_AC_PROG_CC
18AC_CHECK_TOOL([AR],[ar])
19AC_CHECK_TOOL([RANLIB],[ranlib])
20AC_PROG_INSTALL
21
22#-------------------------------------------------------------------------
23# Output
24#-------------------------------------------------------------------------
25
26if test "$srcdir" = "." ; then
27  if test "${with_target_subdir}" != "." ; then
28    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
29  else
30    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
31  fi
32else
33  libgloss_topdir="${srcdir}/../.."
34fi
35AC_CONFIG_AUX_DIR($libgloss_topdir)
36AC_CONFIG_FILES(Makefile,
37. ${libgloss_topdir}/config-ml.in,
38srcdir=${srcdir}
39target=${target}
40with_multisubdir=${with_multisubdir}
41ac_configure_args="${ac_configure_args} --enable-multilib"
42CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
43libgloss_topdir=${libgloss_topdir}
44)
45AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.