diff mbox

[RFA,1/2] : Don't ignore target_header_dir when deciding inhibit_libc

Message ID 87r3z211a6.fsf@kepler.schwinge.homeip.net
State New
Headers show

Commit Message

Thomas Schwinge Sept. 23, 2014, 9:21 p.m. UTC
Hi!

On Thu, 4 Sep 2014 23:40:40 +0200, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> The directory at $target_header_dir is [...]

> gcc:
> 	* configure.ac (target_header_dir): Move block defining
> 	this to before the block setting inhibit_libc.
> 	(inhibit_libc): When considering $with_headers, just
> 	check it it's explicitly "no".  If not, also check if
> 	$target_header_dir/stdio.h is present.  If not, set
> 	inhibit_libc=true.
> 	* configure: Regenerate.

This got committed as r215439.  In r215532 I just put the following on
top -- perhaps your tree was "dirty" some way or another when you
regenerated gcc/configure?

commit 5bf45fadf3e45d4feb74472862a2fbe7917869b8
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Sep 23 21:15:36 2014 +0000

    Properly regenerate gcc/configure.
    
    	gcc/
    	* configure: Regenerate.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215532 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog |  4 ++++
 gcc/configure | 32 ++------------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)



Grüße,
 Thomas
diff mbox

Patch

diff --git gcc/ChangeLog gcc/ChangeLog
index 651497d..f2b7b2d 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,7 @@ 
+2014-09-23  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* configure: Regenerate.
+
 2014-09-23  Alan Lawrence  <alan.lawrence@arm.com>
 
 	* combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
diff --git gcc/configure gcc/configure
index 32e8094..380a235 100755
--- gcc/configure
+++ gcc/configure
@@ -6607,35 +6607,7 @@  fi
 if test $enable_werror_always = yes; then :
   strict_warn="$strict_warn${strict_warn:+ }-Werror"
 fi
- if test "xmanual" != xmanual; then :
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is GCC >=manual" >&5
-$as_echo_n "checking whether $CC is GCC >=manual... " >&6; }
-if test "${acx_cv_prog_cc_gcc_manual_or_newer+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  set fnord `echo manual | tr '.' ' '`
-     shift
-     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#if __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ \
-  < $1 * 10000 + $2 * 100 + $3
-#error insufficient
-#endif
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  acx_cv_prog_cc_gcc_manual_or_newer=yes
-else
-  acx_cv_prog_cc_gcc_manual_or_newer=no
-fi
-rm -f conftest.err conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_gcc_manual_or_newer" >&5
-$as_echo "$acx_cv_prog_cc_gcc_manual_or_newer" >&6; }
- if test $acx_cv_prog_cc_gcc_manual_or_newer = yes; then :
-  strict_warn="$strict_warn${strict_warn:+ }-Werror"
-fi
 
-fi
 
 
 # The above macros do nothing if the compiler is not GCC.  However, the
@@ -18077,7 +18049,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 18080 "configure"
+#line 18052 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -18183,7 +18155,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 18186 "configure"
+#line 18158 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H