46 |
dnl Whether to compile with -Werror or not (enabled by default) |
dnl Whether to compile with -Werror or not (enabled by default) |
47 |
dnl ----------------------------------------------------------- |
dnl ----------------------------------------------------------- |
48 |
AC_ARG_ENABLE([Werror], |
AC_ARG_ENABLE([Werror], |
49 |
[AS_HELP_STRING(--disable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=yes])], |
[AS_HELP_STRING(--disable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=no])], |
50 |
[case "${enableval}" in |
[case "${enableval}" in |
51 |
yes) ENABLE_WERROR=yes ;; |
yes) ENABLE_WERROR=yes ;; |
52 |
no) ENABLE_WERROR=no ;; |
no) ENABLE_WERROR=no ;; |
53 |
*) ENABLE_WERROR=yes ;; |
*) ENABLE_WERROR=yes ;; |
54 |
esac], |
esac], |
55 |
[ENABLE_WERROR=yes]) |
[ENABLE_WERROR=no]) |
56 |
|
|
57 |
dnl ----------------------------------------------------------- |
dnl ----------------------------------------------------------- |
58 |
dnl GTK native peer (enabled by default) |
dnl GTK native peer (enabled by default) |