Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-02-08 07:30:58 +0300
committerJeff Johnston <jjohnstn@redhat.com>2003-02-08 07:30:58 +0300
commit313f13497935d2831e76f9b8b61ccc762dc1cc65 (patch)
tree93a01ca36804bb039081dda1b395c00fc83e8fd5 /newlib/libm/aclocal.m4
parent9cca06eea1c41b643d102bd00b121df86b12ec5f (diff)
2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
* acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration option to allow disabling of syscalls being supplied in newlib. * aclocal.m4: Regenerated. * configure: Ditto. * configure.host: Add support of new configuration option and add -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled. * doc/aclocal.m4: Regenerated. * doc/configure: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto. * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option is disabled. * libc/sys/arm/Makefile.in: Regenerated.
Diffstat (limited to 'newlib/libm/aclocal.m4')
-rw-r--r--newlib/libm/aclocal.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libm/aclocal.m4 b/newlib/libm/aclocal.m4
index 1bc6371fa..b93c4100d 100644
--- a/newlib/libm/aclocal.m4
+++ b/newlib/libm/aclocal.m4
@@ -99,6 +99,16 @@ AC_ARG_ENABLE(newlib-io-float,
*) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;;
esac], [newlib_io_float=yes])dnl
+dnl Support --disable-newlib-supplied-syscalls
+AC_ARG_ENABLE(newlib-supplied-syscalls,
+[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls],
+[case "${enableval}" in
+ yes) newlib_may_supply_syscalls=yes ;;
+ no) newlib_may_supply_syscalls=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;;
+ esac], [newlib_may_supply_syscalls=yes])dnl
+
+AM_CONDITIONAL(MAY_SUPPLY_SYSCALLS, test x[$]{newlib_may_supply_syscalls} = xyes)
dnl We may get other options which we don't document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir