From 6e6cd5bde6164914615f5e82a1b49ed5b2c25eb9 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 4 Apr 2002 22:41:11 +0000 Subject: 2002-04-04 Jeff Johnston * Makefile.am: Add support for installing crt1.o if one exists. * configure.host: Specify crt1.o for linux. * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use. * Makefile.in: Regenerated. * configure: Ditto. * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING): Added for non-Cygwin, non-RTEMS configurations. * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/crt1.c: New empty file to override one defaulted by gcc. This fixes problem with reconfiguring linux newlib build. * libc/sys/linux/sysconf.c: New file. --- newlib/configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'newlib/configure') diff --git a/newlib/configure b/newlib/configure index 359665cf9..a87b42352 100755 --- a/newlib/configure +++ b/newlib/configure @@ -2371,6 +2371,11 @@ fi +CRT1=${crt1} +CRT1_DIR=${crt1_dir} + + + if test -n "${libm_machine_dir}"; then LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in fi @@ -2623,6 +2628,8 @@ s%@HAVE_DOC_FALSE@%$HAVE_DOC_FALSE%g s%@subdirs@%$subdirs%g s%@CRT0@%$CRT0%g s%@CRT0_DIR@%$CRT0_DIR%g +s%@CRT1@%$CRT1%g +s%@CRT1_DIR@%$CRT1_DIR%g s%@LIBM_MACHINE_OBJECTLIST@%$LIBM_MACHINE_OBJECTLIST%g s%@MACHINE_OBJECTLIST@%$MACHINE_OBJECTLIST%g s%@SYS_OBJECTLIST@%$SYS_OBJECTLIST%g -- cgit v1.2.3