diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-08 04:30:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-08 04:30:58 +0000 |
commit | 313f13497935d2831e76f9b8b61ccc762dc1cc65 (patch) | |
tree | 93a01ca36804bb039081dda1b395c00fc83e8fd5 /newlib/libc/machine/tic80/aclocal.m4 | |
parent | 9cca06eea1c41b643d102bd00b121df86b12ec5f (diff) | |
download | newlib-313f13497935d2831e76f9b8b61ccc762dc1cc65.zip newlib-313f13497935d2831e76f9b8b61ccc762dc1cc65.tar.gz newlib-313f13497935d2831e76f9b8b61ccc762dc1cc65.tar.bz2 |
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/libc/machine/tic80/aclocal.m4')
-rw-r--r-- | newlib/libc/machine/tic80/aclocal.m4 | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/newlib/libc/machine/tic80/aclocal.m4 b/newlib/libc/machine/tic80/aclocal.m4 index c5340bf..8e46a11 100644 --- a/newlib/libc/machine/tic80/aclocal.m4 +++ b/newlib/libc/machine/tic80/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,16 +332,3 @@ 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]) - |