diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/mate-compiler-flags.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/mate-compiler-flags.m4 b/macros/mate-compiler-flags.m4 index 6ba33be..fefe474 100644 --- a/macros/mate-compiler-flags.m4 +++ b/macros/mate-compiler-flags.m4 @@ -23,6 +23,14 @@ AC_DEFUN([MATE_COMPILE_WARNINGS],[ dnl More compiler warnings dnl ****************************** + m4_ifndef([AX_CHECK_COMPILE_FLAG],[ + AC_MSG_ERROR([You need to install the autoconf-archive package.]) + ]) + + m4_ifndef([AX_APPEND_FLAG],[ + AC_MSG_ERROR([You need to install the autoconf-archive package.]) + ]) + AC_ARG_ENABLE(compile-warnings, AS_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], [Turn on compiler warnings]),, |