source: trunk/libs/newlib/src/newlib/libm/machine/configure.in @ 577

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

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

File size: 1.3 KB
Line 
1dnl This is the newlib/libm/machine configure.in file.
2dnl Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.59)
5AC_INIT([newlib],[NEWLIB_VERSION])
6AC_CONFIG_SRCDIR([i386])
7
8dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9AC_CONFIG_AUX_DIR(../../..)
10
11NEWLIB_CONFIGURE(../..)
12
13dnl We have to add the following lines because automake detects the
14dnl references to libtool libraries from aclocal and tries to verify that
15dnl AM_PROG_LIBTOOL is being used.  This must be added after
16dnl the call to NEWLIB_CONFIGURE.
17_LT_DECL_SED
18_LT_PROG_ECHO_BACKSLASH
19if test "${use_libtool}" = "yes"; then
20AC_LIBTOOL_WIN32_DLL
21AM_PROG_LIBTOOL
22fi
23
24machlib=
25
26if test -n "${libm_machine_dir}"; then
27  case ${libm_machine_dir} in
28        aarch64) AC_CONFIG_SUBDIRS(aarch64) ;;
29        arm) AC_CONFIG_SUBDIRS(arm) ;;
30        i386) AC_CONFIG_SUBDIRS(i386) ;;
31        nds32) AC_CONFIG_SUBDIRS(nds32) ;;
32        spu) AC_CONFIG_SUBDIRS(spu) ;;
33        riscv) AC_CONFIG_SUBDIRS(riscv) ;;
34  esac;
35  if test "${use_libtool}" = "yes"; then
36    machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
37  else
38    machlib=${libm_machine_dir}/lib.${aext}
39  fi
40fi
41
42AC_SUBST(libm_machine_dir)
43AC_SUBST(machlib)
44
45AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x)
46AC_CONFIG_FILES([Makefile])
47AC_OUTPUT
48
49
50
Note: See TracBrowser for help on using the repository browser.