X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=457d6f910f40531cd2f79119644abfef347ab787;hb=0666ccc7ca446ce2960630e2707389852c812284;hp=1c5ef4f8ff9dea80dc944ae2263158934b434d45;hpb=9a8d04bca6bab617793c0b077f115a19d8e68d65;p=libserialport.git diff --git a/configure.ac b/configure.ac index 1c5ef4f..457d6f9 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ AC_PREREQ([2.63]) # libserialport package version number (NOT the same as shared lib version!). m4_define([sp_package_version_major], [0]) -m4_define([sp_package_version_minor], [1]) +m4_define([sp_package_version_minor], [2]) m4_define([sp_package_version_micro], [0]) m4_define([sp_package_version], [sp_package_version_major.sp_package_version_minor.sp_package_version_micro]) @@ -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 @@ -95,9 +95,6 @@ mingw* | cygwin*) AM_CONDITIONAL([LINUX], false) AM_CONDITIONAL([WIN32], true) AM_CONDITIONAL([MACOSX], false) - # Set WINVER to 0x0501 (corresponds to Windows XP), needed for some - # defineѕ such as WC_NO_BEST_FIT_CHARS. - CFLAGS="$CFLAGS -DWINVER=0x0501" SP_LIBS="-lsetupapi -luuid" ;; *)