diff options
author | DJ Delorie <dj@redhat.com> | 2014-06-10 07:09:35 +0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2014-06-10 07:09:35 +0400 |
commit | d043b4c527db22a7c753962ac65129e99c884e49 (patch) | |
tree | c618cc8ea3d226ba3991b1274af914074e3ec5bf /newlib/libc/configure.in | |
parent | 4d79de90e119c12adcadb5c00208ce608d385dd3 (diff) |
* configure.host (default_newlib_nano_malloc): New.
(msp430): Set it.
* configure.in (newlib_nano_malloc): Leave unset if not set by
the user.
* configure: Regenerate.
* libc/configure.in (NEWLIB_NANO_MALLOC): Set after running
configure.host.
(newlib_nano_malloc): Leave unset if not set by the user.
* libc/configure: Regenerate.
Diffstat (limited to 'newlib/libc/configure.in')
-rw-r--r-- | newlib/libc/configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in index 7ca0352da..8a6b81d85 100644 --- a/newlib/libc/configure.in +++ b/newlib/libc/configure.in @@ -24,11 +24,12 @@ AC_ARG_ENABLE(newlib_nano_malloc, yes) newlib_nano_malloc=yes ;; no) newlib_nano_malloc=no ;; *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc) ;; - esac],[newlib_nano_malloc=no]) -AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) + esac],[newlib_nano_malloc=]) NEWLIB_CONFIGURE(..) +AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) + 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. |