2017-07-27 16:45:47 +08:00
|
|
|
#=========================================================================
|
|
|
|
# configure.ac for riscv libgloss and crt0
|
|
|
|
#=========================================================================
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Setup
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
AC_INIT([crt0.S])
|
|
|
|
AC_CONFIG_SRCDIR([crt0.S])
|
2022-01-07 00:53:26 -05:00
|
|
|
AC_CONFIG_AUX_DIR(../..)
|
2017-07-27 16:45:47 +08:00
|
|
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# 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,
|
2022-01-07 00:53:26 -05:00
|
|
|
. ${srcdir}/../../config-ml.in,
|
2017-07-27 16:45:47 +08:00
|
|
|
srcdir=${srcdir}
|
|
|
|
target=${target}
|
|
|
|
with_multisubdir=${with_multisubdir}
|
|
|
|
ac_configure_args="${ac_configure_args} --enable-multilib"
|
|
|
|
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
|
)
|
|
|
|
AC_OUTPUT
|