X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=configure.in;h=364a3d88cd3655ab0527cdc930fcfdd396bfc340;hp=42fd5fd639334e15777d193d7916d46e27a68eeb;hb=1de959ca1c9e67ef57f77ec2d7a1132b73153abb;hpb=6be91c28cab0c66c54d57303e193f8a0717e4491 diff --git a/configure.in b/configure.in index 42fd5fd639..364a3d88cd 100644 --- a/configure.in +++ b/configure.in @@ -9,6 +9,7 @@ AC_SEARCH_LIBS([dlopen], [dl]) AC_CHECK_HEADERS(jtag_minidriver.h) AC_CHECK_HEADERS(sys/param.h) AC_CHECK_HEADERS(sys/time.h) +AC_CHECK_HEADERS(sys/select.h) AC_CHECK_HEADERS(elf.h) AC_CHECK_HEADERS(strings.h) AC_CHECK_HEADERS(stdbool.h) @@ -218,7 +219,7 @@ AC_ARG_ENABLE(verbose_usb_comms, [Enable verbose USB communication messages (for debugging)]), [debug_usb_comms=$enableval], []) -AC_MSG_CHECKING([whether to enable verbose JTAB I/O messages]); +AC_MSG_CHECKING([whether to enable verbose JTAG I/O messages]); AC_MSG_RESULT($debug_jtag_io) if test $debug_jtag_io = yes; then AC_DEFINE([_DEBUG_JTAG_IO_],[1], [Print verbose JTAG I/O messages]) @@ -776,6 +777,8 @@ AC_PROG_RANLIB GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security" if test "${gcc_wextra}" = yes; then GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter" + GCC_WARNINGS="${GCC_WARNINGS} -Wbad-function-cast" + GCC_WARNINGS="${GCC_WARNINGS} -Wcast-align" fi if test "${gcc_werror}" = yes; then GCC_WARNINGS="${GCC_WARNINGS} -Werror"