From c35ba525fc0b113e789dace37b74806d41256c1d Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 5 Jan 2011 17:13:24 +0000 Subject: [PATCH] 2011-01-05 Ralf Corsepius * libc/configure.in: Remove redundant posix_dir processing. * libc/configure: Regenerate. --- newlib/ChangeLog | 9 +++++++-- newlib/libc/configure | 28 +++------------------------- newlib/libc/configure.in | 11 ----------- 3 files changed, 10 insertions(+), 38 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 531f6c34d..c0e31a556 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2011-01-05 Ralf Corsepius + + * libc/configure.in: Remove redundant posix_dir processing. + * libc/configure: Regenerate. + 2010-12-31 Ralf Corsepius * MAINTAINERS: Change corinna@vinchen.de to corinna@vinschen.de. @@ -37,12 +42,12 @@ * libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite. -2010-12-08 Ralf Corsepius +2010-12-08 Ralf Corsepius * include/sys/types.h: Add #if defined(__rtems__) around pthread_attr_t.guardsize. -2010-12-08 Joel Sherrill +2010-12-08 Joel Sherrill * include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack, pthread_attr_getguardsize, pthread_attr_setguardsize. diff --git a/newlib/libc/configure b/newlib/libc/configure index a831df57f..7781d51f7 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -625,7 +625,10 @@ HAVE_XDR_DIR_FALSE HAVE_XDR_DIR_TRUE LIBC_XDR_DEF LIBC_XDR_LIB +HAVE_POSIX_DIR_FALSE +HAVE_POSIX_DIR_TRUE LIBC_POSIX_DEF +LIBC_POSIX_LIB HAVE_STDIO64_DIR_FALSE HAVE_STDIO64_DIR_TRUE LIBC_STDIO64_DEF @@ -638,9 +641,6 @@ HAVE_SIGNAL_DIR_FALSE HAVE_SIGNAL_DIR_TRUE LIBC_SIGNAL_DEF LIBC_SIGNAL_LIB -HAVE_POSIX_DIR_FALSE -HAVE_POSIX_DIR_TRUE -LIBC_POSIX_LIB CRT0 subdirs CPP @@ -11805,24 +11805,6 @@ fi -LIBC_POSIX_LIB= -if test -n "${posix_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} - else - LIBC_POSIX_LIB=${posix_dir}/lib.${aext} - fi -fi - - if test x${posix_dir} != x; then - HAVE_POSIX_DIR_TRUE= - HAVE_POSIX_DIR_FALSE='#' -else - HAVE_POSIX_DIR_TRUE='#' - HAVE_POSIX_DIR_FALSE= -fi - - LIBC_SIGNAL_LIB= LIBC_SIGNAL_DEF= if test -n "${signal_dir}"; then @@ -12225,10 +12207,6 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${HAVE_POSIX_DIR_TRUE}" && test -z "${HAVE_POSIX_DIR_FALSE}"; then - as_fn_error "conditional \"HAVE_POSIX_DIR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${HAVE_SIGNAL_DIR_TRUE}" && test -z "${HAVE_SIGNAL_DIR_FALSE}"; then as_fn_error "conditional \"HAVE_SIGNAL_DIR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in index 6e40d49ac..a7f665a07 100644 --- a/newlib/libc/configure.in +++ b/newlib/libc/configure.in @@ -41,17 +41,6 @@ dnl For each directory which we may or may not want, we define a name dnl for the library and an automake conditional for whether we should dnl build the library. -LIBC_POSIX_LIB= -if test -n "${posix_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} - else - LIBC_POSIX_LIB=${posix_dir}/lib.${aext} - fi -fi -AC_SUBST(LIBC_POSIX_LIB) -AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x) - LIBC_SIGNAL_LIB= LIBC_SIGNAL_DEF= if test -n "${signal_dir}"; then