mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
[gdb] Clean whitespace in *.ac and *.m4 files
This is the result of: ... $ git rm -f $(find gdb* -name "*.ac") $ git rm -f $(find gdb* -name "*.m4") $ git commit -a -m tmp $ git revert HEAD $ git rebase --whitespace=fix HEAD^ $ git reset --soft HEAD^ $ git commit --amend ... and running autoreconf -f in directories gdb, gdb/testsuite, gdbsupport and gdbserver. Tested on x86_64-linux. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -30,28 +30,28 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
AC_DEFUN([AM_GDB_COMPILER_TYPE],[
|
||||
|
||||
AC_CACHE_CHECK([the compiler type],
|
||||
[gdb_cv_compiler_type],
|
||||
[gdb_cv_compiler_type],
|
||||
[gdb_cv_compiler_type=unknown
|
||||
if test "$gdb_cv_compiler_type" = unknown; then
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([],
|
||||
[
|
||||
#if !defined __GNUC__ || defined __clang__
|
||||
#error not gcc
|
||||
#endif
|
||||
])],
|
||||
[gdb_cv_compiler_type=gcc], [])
|
||||
[AC_LANG_PROGRAM([],
|
||||
[
|
||||
#if !defined __GNUC__ || defined __clang__
|
||||
#error not gcc
|
||||
#endif
|
||||
])],
|
||||
[gdb_cv_compiler_type=gcc], [])
|
||||
fi
|
||||
|
||||
if test "$gdb_cv_compiler_type" = unknown; then
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([],
|
||||
[
|
||||
#ifndef __clang__
|
||||
#error not clang
|
||||
#endif
|
||||
])],
|
||||
[gdb_cv_compiler_type=clang], [])
|
||||
[AC_LANG_PROGRAM([],
|
||||
[
|
||||
#ifndef __clang__
|
||||
#error not clang
|
||||
#endif
|
||||
])],
|
||||
[gdb_cv_compiler_type=clang], [])
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user