X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=96d5277bb23a5204682365a0582ea2f04d823250;hb=da8730199a215c9ccd938202fb55ac9e3f58a0b2;hp=a963265a18221e88228acd6d7300fa1e4ebde62c;hpb=942a6d349eeab57367acd1f569118a9f1721b204;p=libserialport.git diff --git a/configure.ac b/configure.ac index a963265..96d5277 100644 --- a/configure.ac +++ b/configure.ac @@ -39,8 +39,8 @@ AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -# Enable more compiler warnings via -Wall and -Wextra. -CFLAGS="$CFLAGS -Wall -Wextra" +# Enable more compiler warnings. +CFLAGS="$CFLAGS -std=c99 -Wall -Wextra -pedantic" # Checks for programs. AC_PROG_CC @@ -119,9 +119,6 @@ AC_CHECK_MEMBERS([struct termios.c_ispeed, struct termios.c_ospeed], AC_CHECK_MEMBERS([struct termios2.c_ispeed, struct termios2.c_ospeed], [AC_DEFINE(HAVE_TERMIOS2_SPEED, 1)], [], [[#include ]]) -# Check for readlinkat. -AC_CHECK_FUNC([readlinkat], [AC_DEFINE(HAVE_READLINKAT, 1)], []) - # Check for serial_struct. AC_CHECK_TYPE([struct serial_struct], [AC_DEFINE(HAVE_SERIAL_STRUCT, 1)], [], [[#include ]])