X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=configure.ac;h=962c1b7e1ce3bcaa3684fb9f4804da6f3f464986;hp=12de743e70da3ac77fb5217f9b5ee7aec4b19206;hb=49176fecb4ab0c7a2474d50ff98a6f105c2a638f;hpb=e8ce01860673214bae97a6b793a7f55e13128dba diff --git a/configure.ac b/configure.ac index 12de743..962c1b7 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ AH_BOTTOM([#endif /* SRD_CONFIG_H */]) # Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden # and enforce use of SRD_API to explicitly mark all public API functions. -CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden" +CFLAGS="$CFLAGS -Wall -Wextra -Wmissing-prototypes -fvisibility=hidden" # Checks for programs. AC_PROG_CC @@ -134,21 +134,6 @@ AC_SUBST([LIBSIGROK_LIBS]) # These are already checked: inttypes.h stdint.h stdlib.h string.h unistd.h. AC_CHECK_HEADER([sys/resource.h], [], [build_runtc="no"]) -# Checks for typedefs, structures, and compiler characteristics. -AC_C_INLINE -AC_TYPE_INT8_T -AC_TYPE_INT16_T -AC_TYPE_INT32_T -AC_TYPE_INT64_T -AC_TYPE_UINT8_T -AC_TYPE_UINT16_T -AC_TYPE_UINT32_T -AC_TYPE_UINT64_T -AC_TYPE_SIZE_T - -# Checks for library functions. -AC_CHECK_FUNCS([memset strtoull]) - AC_SUBST(DECODERS_DIR, "$datadir/libsigrokdecode/decoders") AC_SUBST(MAKEFLAGS, '--no-print-directory') AC_SUBST(AM_LIBTOOLFLAGS, '--silent')