mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-17 20:09:21 +08:00
d9a1ecc006
* libtool.m4: Update from GCC. * ltsugar.m4: New. Update from GCC. * ltversion.m4: New. Update from GCC. * ltoptions.m4: New. Update from GCC. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * src-release: Update with new libtool file list. * newlib/*/configure.in: invoke _LD_DECL_SED. * newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS. * Regenerate subdirectories
38 lines
929 B
Plaintext
38 lines
929 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.59)
|
|
AC_INIT([newlib],[NEWLIB_VERSION])
|
|
AC_CONFIG_SRCDIR([i386])
|
|
|
|
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.
|
|
_LT_DECL_SED
|
|
if test "${use_libtool}" = "yes"; then
|
|
AC_LIBTOOL_WIN32_DLL
|
|
AM_PROG_LIBTOOL
|
|
fi
|
|
|
|
if test -n "${machine_dir}"; then
|
|
case ${machine_dir} in
|
|
i386) AC_CONFIG_SUBDIRS(i386) ;;
|
|
esac;
|
|
fi
|
|
|
|
CRT0=
|
|
if test -n "${machine_dir}"; then
|
|
CRT0=crt0.o
|
|
fi
|
|
AC_SUBST(CRT0)
|
|
|
|
AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|