X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdbsupport%2Fconfigure.ac;h=401e16f821da462b81d39f9a949b0b419165780b;hb=629c2962801801338b35c68554d30aa4455e6c0c;hp=6002871c969150191faa081e0007035ec7f5d607;hpb=da5bd37ebc6d9816be970d8a668a6a04508774c8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbsupport/configure.ac b/gdbsupport/configure.ac index 6002871c96..401e16f821 100644 --- a/gdbsupport/configure.ac +++ b/gdbsupport/configure.ac @@ -48,6 +48,9 @@ AM_CONDITIONAL(SELFTEST, $enable_unittests) # Check the return and argument types of ptrace. GDB_AC_PTRACE +# Detect support warning flags. +AM_GDB_WARNINGS + TARGET_WORD_SIZE=`sed -n 's,#define BFD_ARCH_SIZE \(.*\)$,\1,p' ../bfd/bfd-in3.h` AC_DEFINE_UNQUOTED(TARGET_WORD_SIZE, $TARGET_WORD_SIZE, [Define to the word size for the target.])