2000-02-18 03:39:52 +08:00
|
|
|
dnl This is the newlib/libc/machine configure.in file.
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
AC_PREREQ(2.5)
|
|
|
|
AC_INIT(d10v)
|
|
|
|
|
|
|
|
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
|
|
|
|
AC_CONFIG_AUX_DIR(../../..)
|
|
|
|
|
|
|
|
NEWLIB_CONFIGURE(../..)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
dnl We have to add the following lines because automake detects the
|
|
|
|
dnl references to libtool libraries from aclocal and tries to verify that
|
|
|
|
dnl AM_PROG_LIBTOOL is being used. This must be added after
|
|
|
|
dnl the call to NEWLIB_CONFIGURE.
|
|
|
|
|
|
|
|
if test "${use_libtool}" = "yes"; then
|
|
|
|
AC_LIBTOOL_WIN32_DLL
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
fi
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
if test -n "${machine_dir}"; then
|
|
|
|
AC_CONFIG_SUBDIRS(${machine_dir})
|
|
|
|
fi
|
|
|
|
|
|
|
|
AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|