mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
7f8fa1de4f
In order to transition to automake, we have to use hardcoded paths in the AC_CONFIG_AUX_DIR macro call (since automake evaluates the path itself, and doesn't expand vars), so simplify all the calls here.
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
#=========================================================================
|
|
# configure.ac for riscv libgloss and crt0
|
|
#=========================================================================
|
|
|
|
#-------------------------------------------------------------------------
|
|
# Setup
|
|
#-------------------------------------------------------------------------
|
|
|
|
AC_INIT([crt0.S])
|
|
AC_CONFIG_SRCDIR([crt0.S])
|
|
AC_CONFIG_AUX_DIR(../..)
|
|
|
|
#-------------------------------------------------------------------------
|
|
# Checks for programs
|
|
#-------------------------------------------------------------------------
|
|
|
|
LIB_AC_PROG_CC
|
|
AC_CHECK_TOOL([AR],[ar])
|
|
AC_CHECK_TOOL([RANLIB],[ranlib])
|
|
AC_PROG_INSTALL
|
|
|
|
#-------------------------------------------------------------------------
|
|
# Output
|
|
#-------------------------------------------------------------------------
|
|
|
|
AC_CONFIG_FILES(Makefile,
|
|
. ${srcdir}/../../config-ml.in,
|
|
srcdir=${srcdir}
|
|
target=${target}
|
|
with_multisubdir=${with_multisubdir}
|
|
ac_configure_args="${ac_configure_args} --enable-multilib"
|
|
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|
)
|
|
AC_OUTPUT
|