source: trunk/libs/newlib/src/libgloss/aarch64/configure.in @ 468

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

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

File size: 1.4 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.59)
3AC_INIT(crt0.S)
4
5if test "$srcdir" = "." ; then
6  if test "${with_target_subdir}" != "." ; then
7    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
8  else
9    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
10  fi
11else
12  libgloss_topdir="${srcdir}/../.."
13fi
14AC_CONFIG_AUX_DIR($libgloss_topdir)
15
16AC_CANONICAL_SYSTEM
17AC_ARG_PROGRAM
18
19AC_PROG_INSTALL
20
21LIB_AC_PROG_CC
22AS=${AS-as}
23AC_SUBST(AS)
24AR=${AR-ar}
25AC_SUBST(AR)
26LD=${LD-ld}
27AC_SUBST(LD)
28AC_PROG_RANLIB
29LIB_AM_PROG_AS
30
31case "${target}" in
32  *-*-elf)
33        objtype=elf-
34        ;;
35esac
36
37AC_SUBST(objtype)
38
39host_makefile_frag=${srcdir}/../config/default.mh
40
41dnl We have to assign the same value to other variables because autoconf
42dnl doesn't provide a mechanism to substitute a replacement keyword with
43dnl arbitrary data or pathnames.
44dnl
45host_makefile_frag_path=$host_makefile_frag
46AC_SUBST(host_makefile_frag_path)
47AC_SUBST_FILE(host_makefile_frag)
48
49# Configure cpu init plug-ins
50if test -d "${srcdir}/cpu-init"; then
51  subdirs="${subdirs} cpu-init"
52  AC_CONFIG_SUBDIRS(cpu-init)
53  AC_SUBST(subdirs)
54fi
55
56AC_CONFIG_FILES(Makefile,
57. ${libgloss_topdir}/config-ml.in,
58srcdir=${srcdir}
59target=${target}
60with_multisubdir=${with_multisubdir}
61ac_configure_args="${ac_configure_args} --enable-multilib"
62CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
63libgloss_topdir=${libgloss_topdir}
64)
65AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.