diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-13 19:46:15 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-13 19:46:15 +0000 |
commit | 7b9c0bfbfdff44f1c5a4ae72da4ce4752ba0df35 (patch) | |
tree | b9403dbc54b3fddad8466fe5348d47ea2f86352e | |
parent | d8f4a83e6a764c215495d682a48e20fbcb6e92bc (diff) | |
download | ppe42-binutils-7b9c0bfbfdff44f1c5a4ae72da4ce4752ba0df35.tar.gz ppe42-binutils-7b9c0bfbfdff44f1c5a4ae72da4ce4752ba0df35.zip |
* acinclude.m4 (CY_AC_C_WORKS): Remove.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/acinclude.m4 | 26 |
2 files changed, 5 insertions, 25 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4127a83b6f..65ee189aa9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-12-13 Tom Tromey <tromey@redhat.com> + + * acinclude.m4 (CY_AC_C_WORKS): Remove. + 2012-12-13 Pierre Muller <muller@sourceware.org> * coff-pe-read.c (pe_text_section_offset): Increase size of sname diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index 9d231e11ae..0873f66ac0 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -36,37 +36,13 @@ sinclude([../config/codeset.m4]) sinclude([../config/zlib.m4]) -# -# Sometimes the native compiler is a bogus stub for gcc or /usr/ucb/cc. This -# makes configure think it's cross compiling. If --target wasn't used, then -# we can't configure, so something is wrong. We don't use the cache -# here cause if somebody fixes their compiler install, we want this to work. -AC_DEFUN([CY_AC_C_WORKS], -[# If we cannot compile and link a trivial program, we can't expect anything to work -AC_MSG_CHECKING(whether the compiler ($CC) actually works) -AC_TRY_COMPILE(, [/* don't need anything here */], - c_compiles=yes, c_compiles=no) - -AC_TRY_LINK(, [/* don't need anything here */], - c_links=yes, c_links=no) - -if test x"${c_compiles}" = x"no" ; then - AC_MSG_ERROR(the native compiler is broken and won't compile.) -fi - -if test x"${c_links}" = x"no" ; then - AC_MSG_ERROR(the native compiler is broken and won't link.) -fi -AC_MSG_RESULT(yes) -]) - ## ----------------------------------------- ## ## ANSIfy the C compiler whenever possible. ## ## From Franc,ois Pinard ## ## ----------------------------------------- ## # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2008, 2009 - Free Software Foundation, Inc. +# Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by |