2000-02-18 03:39:52 +08:00
|
|
|
dnl This is the newlib/libc/sys configure.in file.
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
AC_PREREQ(2.5)
|
|
|
|
AC_INIT(a29khif)
|
|
|
|
|
|
|
|
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 enable libtool after NEWLIB_CONFIGURE because if we try and
|
|
|
|
dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
|
|
|
|
dnl line of the macro which fail because appropriate LDFLAGS are not set.
|
|
|
|
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 "${sys_dir}"; then
|
|
|
|
AC_CONFIG_SUBDIRS(${sys_dir})
|
|
|
|
fi
|
|
|
|
|
|
|
|
CRT0=
|
2005-09-01 04:39:43 +08:00
|
|
|
if test "x${have_crt0}" = "xyes"; then
|
2000-02-18 03:39:52 +08:00
|
|
|
CRT0=crt0.o
|
|
|
|
fi
|
|
|
|
AC_SUBST(CRT0)
|
|
|
|
|
|
|
|
AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|