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/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/aclocal.m4')
-rw-r--r--newlib/aclocal.m436
1 files changed, 23 insertions, 13 deletions
diff --git a/newlib/aclocal.m4 b/newlib/aclocal.m4
index 0a95ce045..9d7c20cf2 100644
--- a/newlib/aclocal.m4
+++ b/newlib/aclocal.m4
@@ -86,6 +86,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
@@ -289,6 +299,19 @@ else
fi
AC_SUBST($1)])
+# Define a conditional.
+
+AC_DEFUN(AM_CONDITIONAL,
+[AC_SUBST($1_TRUE)
+AC_SUBST($1_FALSE)
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi])
+
# Add --enable-maintainer-mode option to configure.
# From Jim Meyering
@@ -309,19 +332,6 @@ AC_DEFUN(AM_MAINTAINER_MODE,
]
)
-# Define a conditional.
-
-AC_DEFUN(AM_CONDITIONAL,
-[AC_SUBST($1_TRUE)
-AC_SUBST($1_FALSE)
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi])
-
# Like AC_CONFIG_HEADER, but automatically create stamp file.
AC_DEFUN(AM_CONFIG_HEADER,