File: check_disable_compiler_warnings.m4

package info (click to toggle)
scrypt 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,368 kB
  • sloc: ansic: 5,763; sh: 5,504; makefile: 257
file content (13 lines) | stat: -rw-r--r-- 528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# CHECK_DISABLE_COMPILER_WARNINGS
# -------------------------------
AC_DEFUN([CHECK_DISABLE_COMPILER_WARNINGS], [
	AC_MSG_CHECKING([compiler_warnings])
	AC_ARG_ENABLE(compiler_warnings,
	   AS_HELP_STRING([--disable-compiler-warnings],
	       [Do not request compiler warnings. @<:@default=enabled@:>@]),
	   [ac_compiler_warnings=$enableval],
	   [ac_compiler_warnings=yes])
	AC_MSG_RESULT([${ac_compiler_warnings}])
	AS_IF([test x${ac_compiler_warnings} = xyes],
	   [AX_CFLAGS_WARN_ALL])
])# CHECK_DISABLE_COMPILER_WARNINGS