CUPS_SYSTEM_AUTHKEY=""
INSTALLXPC=""
-AS_CASE([host_os_name], [darwin*], [
+AS_CASE([$host_os_name], [darwin*], [
BACKLIBS="$BACKLIBS -framework IOKit"
SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices"
LIBS="-framework CoreFoundation -framework Security $LIBS"
])
dnl Show all standard warnings + unused variables when compiling...
- WARNINGS="-Wall -Wunused"
+ WARNING_OPTIONS="-Wall -Wunused"
dnl Drop some not-useful/unreliable warnings...
- for warning in char-subscripts format-truncation format-y2k switch unused-result; do
+ for warning in char-subscripts deprecated-declarations format-truncation format-y2k switch unused-result; do
AC_MSG_CHECKING([whether compiler supports -Wno-$warning])
OLDCFLAGS="$CFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
AC_MSG_RESULT(yes)
- WARNINGS="$WARNINGS -Wno-$warning"
+ WARNING_OPTIONS="$WARNINGS -Wno-$warning"
], [
AC_MSG_RESULT(no)
])
dnl Maintainer mode enables -Werror...
AS_IF([test x$enable_maintainer = xyes], [
- WARNINGS="$WARNINGS -Werror"
+ WARNING_OPTIONS="$WARNING_OPTIONS -Werror"
])
], [
# Add vendor-specific compiler options...
echo "variables before running configure."
echo ""
echo "https://github.com/openprinting/cups"
- ;;
])
])
CUPS_SYSTEM_AUTHKEY=""
INSTALLXPC=""
-case host_os_name in #(
+case $host_os_name in #(
darwin*) :
BACKLIBS="$BACKLIBS -framework IOKit"
fi
- WARNINGS="-Wall -Wunused"
+ WARNING_OPTIONS="-Wall -Wunused"
- for warning in char-subscripts format-truncation format-y2k switch unused-result; do
+ for warning in char-subscripts deprecated-declarations format-truncation format-y2k switch unused-result; do
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-$warning" >&5
printf %s "checking whether compiler supports -Wno-$warning... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
- WARNINGS="$WARNINGS -Wno-$warning"
+ WARNING_OPTIONS="$WARNINGS -Wno-$warning"
else $as_nop
if test x$enable_maintainer = xyes
then :
- WARNINGS="$WARNINGS -Werror"
+ WARNING_OPTIONS="$WARNING_OPTIONS -Werror"
fi
echo "variables before running configure."
echo ""
echo "https://github.com/openprinting/cups"
- ;;
;; #(
*) :
;;