4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-28 18:10:23 +08:00
newlib-cygwin/newlib/libc/sys/configure.in
Jeff Johnston 45c8bb8f8c 2005-08-31 Paul Brook <paul@codesourcery.com>
* configure.host: Set have_crt0 to no for Arm targts when not
        providing syscalls.  Set sys_dir=arm unconditionally.
        Default have_crt0 based on sys_dir.
        * configure.in: Use have_crt0.
        * libc/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * configure: Regenerate.
        * libc/configure: Regenerate.
        * libc/sys/configure: Regenerate.
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
        Only build other files when providing syscalls.
        * libc/sys/arm/Makefile.in: Regenerate.
        * libc/sys/arm/aeabi_atexit.c: New file.
2005-08-31 20:39:43 +00:00

33 lines
800 B
Plaintext

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(../..)
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
if test -n "${sys_dir}"; then
AC_CONFIG_SUBDIRS(${sys_dir})
fi
CRT0=
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
fi
AC_SUBST(CRT0)
AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
AC_OUTPUT(Makefile)