OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [newlib/] [libgloss/] [riscv/] [configure.ac] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#=========================================================================
2
# configure.ac for riscv libgloss and crt0
3
#=========================================================================
4
 
5
#-------------------------------------------------------------------------
6
# Project metadata
7
#-------------------------------------------------------------------------
8
 
9
m4_define( proj_name,         [RISC-V libgloss])
10
m4_define( proj_version,      [?])
11
m4_define( proj_maintainer,   [Andrew Waterman])
12
m4_define( proj_abbreviation, [riscv-libgloss])
13
 
14
#-------------------------------------------------------------------------
15
# Setup
16
#-------------------------------------------------------------------------
17
 
18
AC_INIT([proj_name],[proj_version],[proj_maintainer],[proj_abbreviation])
19
AC_CONFIG_SRCDIR([crt0.S])
20
AC_CONFIG_AUX_DIR([${srcdir}/../..])
21
 
22
#-------------------------------------------------------------------------
23
# Checks for programs
24
#-------------------------------------------------------------------------
25
 
26
LIB_AC_PROG_CC
27
AC_CHECK_TOOL([AR],[ar])
28
AC_CHECK_TOOL([RANLIB],[ranlib])
29
AC_PROG_INSTALL
30
 
31
#-------------------------------------------------------------------------
32
# Output
33
#-------------------------------------------------------------------------
34
 
35
if test "$srcdir" = "." ; then
36
  if test "${with_target_subdir}" != "." ; then
37
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
38
  else
39
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
40
  fi
41
else
42
  libgloss_topdir="${srcdir}/../.."
43
fi
44
AC_CONFIG_AUX_DIR($libgloss_topdir)
45
AC_CONFIG_FILES(Makefile,
46
. ${libgloss_topdir}/config-ml.in,
47
srcdir=${srcdir}
48
target=${target}
49
with_multisubdir=${with_multisubdir}
50
ac_configure_args="${ac_configure_args} --enable-multilib"
51
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
52
libgloss_topdir=${libgloss_topdir}
53
)
54
AC_OUTPUT

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.