1 dnl This is the newlib/libm/machine configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
5 AC_INIT([newlib],[NEWLIB_VERSION])
6 AC_CONFIG_SRCDIR([i386])
8 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9 AC_CONFIG_AUX_DIR(../../..)
11 NEWLIB_CONFIGURE(../..)
13 dnl We have to add the following lines because automake detects the
14 dnl references to libtool libraries from aclocal and tries to verify that
15 dnl AM_PROG_LIBTOOL is being used. This must be added after
16 dnl the call to NEWLIB_CONFIGURE.
18 if test "${use_libtool}" = "yes"; then
25 if test -n "${libm_machine_dir}"; then
26 case ${libm_machine_dir} in
27 i386) AC_CONFIG_SUBDIRS(i386) ;;
28 spu) AC_CONFIG_SUBDIRS(spu) ;;
30 if test "${use_libtool}" = "yes"; then
31 machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
33 machlib=${libm_machine_dir}/lib.${aext}
37 AC_SUBST(libm_machine_dir)
40 AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x)
41 AC_CONFIG_FILES([Makefile])