# 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])
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
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"
;;
*)