Merge commit '05d9a4839c1ac792b9a3842e6bd0ad13c5316359'

This commit is contained in:
Reece H. Dunn
2017-10-05 20:23:40 +01:00
9 changed files with 105 additions and 16 deletions
+9
View File
@@ -41,6 +41,15 @@ AC_ARG_WITH([unicode-version],
AC_SUBST(UCD_VERSION)
dnl ================================================================
dnl Compiler warnings.
dnl
dnl Reference: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
dnl ================================================================
AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes], [CFLAGS="-Wmissing-prototypes $CFLAGS"])
AX_CHECK_COMPILE_FLAG([-Wreturn-type], [CFLAGS="-Wreturn-type $CFLAGS"])
dnl ================================================================
dnl Generate output.
dnl ================================================================