#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for krb5-strength 3.1.
+# Generated by GNU Autoconf 2.69 for krb5-strength 3.2.
#
# Report bugs to <eagle@eyrie.org>.
#
# Identity of this package.
PACKAGE_NAME='krb5-strength'
PACKAGE_TARNAME='krb5-strength'
-PACKAGE_VERSION='3.1'
-PACKAGE_STRING='krb5-strength 3.1'
+PACKAGE_VERSION='3.2'
+PACKAGE_STRING='krb5-strength 3.2'
PACKAGE_BUGREPORT='eagle@eyrie.org'
PACKAGE_URL=''
CDB_LIBS
CDB_LDFLAGS
CDB_CPPFLAGS
+PATH_VALGRIND
LT_SYS_LIBRARY_PATH
OTOOL64
OTOOL
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
-am__quote
am__include
DEPDIR
OBJEXT
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
-SHELL'
+SHELL
+am__quote'
ac_subst_files=''
ac_user_opts='
enable_option_checking
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures krb5-strength 3.1 to adapt to many kinds of systems.
+\`configure' configures krb5-strength 3.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of krb5-strength 3.1:";;
+ short | recursive ) echo "Configuration of krb5-strength 3.2:";;
esac
cat <<\_ACEOF
--with-cracklib[=DIR] Use system CrackLib instead of embedded copy
--with-cracklib-include=DIR
Location of CrackLib headers
- --with-cracklib-lib=DIR Location of cracklib libraries
+ --with-cracklib-lib=DIR Location of CrackLib libraries
--with-krb5=DIR Location of Kerberos headers and libraries
--with-krb5-include=DIR Location of Kerberos headers
--with-krb5-lib=DIR Location of Kerberos libraries
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-krb5-strength configure 3.1
+krb5-strength configure 3.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by krb5-strength $as_me 3.1, which was
+It was created by krb5-strength $as_me 3.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
-am__api_version='1.15'
+am__api_version='1.16'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# Define the identity of the package.
PACKAGE='krb5-strength'
- VERSION='3.1'
+ VERSION='3.2'
cat >>confdefs.h <<_ACEOF
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: <http://www.gnu.org/software/coreutils/>.
+that behaves properly: <https://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
ac_config_commands="$ac_config_commands depfiles"
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
+$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
+cat > confinc.mk << 'END'
am__doit:
- @echo this is the am__doit target
+ @echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
am__include="#"
am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
+# BSD make does it like this.
+echo '.include "confinc.mk" # ignored' > confmf.BSD
+# Other make implementations (GNU, Solaris 10, AIX) do it like this.
+echo 'include confinc.mk # ignored' > confmf.GNU
+_am_result=no
+for s in GNU BSD; do
+ { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
+ (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ case $?:`cat confinc.out 2>/dev/null` in #(
+ '0:this is the am__doit target') :
+ case $s in #(
+ BSD) :
+ am__include='.include' am__quote='"' ;; #(
+ *) :
+ am__include='include' am__quote='' ;;
+esac ;; #(
+ *) :
;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
+esac
+ if test "$am__include" != "#"; then
+ _am_result="yes ($s style)"
+ break
+ fi
+done
+rm -f confinc.* confmf.*
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
+$as_echo "${_am_result}" >&6; }
# Check whether --enable-dependency-tracking was given.
if test "${enable_dependency_tracking+set}" = set; then :
if test x"$rra_cv_compiler_c__Weverything" = xyes; then :
WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Weverything"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-padded" >&5
-$as_echo_n "checking if $CC supports -Wno-padded... " >&6; }
- if ${rra_cv_compiler_c__Wno_padded+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-cast-qual" >&5
+$as_echo_n "checking if $CC supports -Wno-cast-qual... " >&6; }
+ if ${rra_cv_compiler_c__Wno_cast_qual+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wno-padded in #(
+ case -Wno-cast-qual in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wno-padded" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-cast-qual" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wno-padded" ;; #(
+ CFLAGS="$CFLAGS -Wno-cast-qual" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wno_padded=yes
+ rra_cv_compiler_c__Wno_cast_qual=yes
else
- rra_cv_compiler_c__Wno_padded=no
+ rra_cv_compiler_c__Wno_cast_qual=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_padded" >&5
-$as_echo "$rra_cv_compiler_c__Wno_padded" >&6; }
- if test x"$rra_cv_compiler_c__Wno_padded" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-padded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_cast_qual" >&5
+$as_echo "$rra_cv_compiler_c__Wno_cast_qual" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_cast_qual" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-cast-qual"
fi
-else
- WARNINGS_CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2 -Werror"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow" >&5
-$as_echo_n "checking if $CC supports -fstrict-overflow... " >&6; }
- if ${rra_cv_compiler_c__fstrict_overflow+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-disabled-macro-expansion" >&5
+$as_echo_n "checking if $CC supports -Wno-disabled-macro-expansion... " >&6; }
+ if ${rra_cv_compiler_c__Wno_disabled_macro_expansion+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -fstrict-overflow in #(
+ case -Wno-disabled-macro-expansion in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-fstrict-overflow" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-disabled-macro-expansion" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -fstrict-overflow" ;; #(
+ CFLAGS="$CFLAGS -Wno-disabled-macro-expansion" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__fstrict_overflow=yes
+ rra_cv_compiler_c__Wno_disabled_macro_expansion=yes
else
- rra_cv_compiler_c__fstrict_overflow=no
+ rra_cv_compiler_c__Wno_disabled_macro_expansion=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_overflow" >&5
-$as_echo "$rra_cv_compiler_c__fstrict_overflow" >&6; }
- if test x"$rra_cv_compiler_c__fstrict_overflow" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-overflow"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_disabled_macro_expansion" >&5
+$as_echo "$rra_cv_compiler_c__Wno_disabled_macro_expansion" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_disabled_macro_expansion" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-disabled-macro-expansion"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-aliasing" >&5
-$as_echo_n "checking if $CC supports -fstrict-aliasing... " >&6; }
- if ${rra_cv_compiler_c__fstrict_aliasing+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-padded" >&5
+$as_echo_n "checking if $CC supports -Wno-padded... " >&6; }
+ if ${rra_cv_compiler_c__Wno_padded+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -fstrict-aliasing in #(
+ case -Wno-padded in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-fstrict-aliasing" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-padded" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -fstrict-aliasing" ;; #(
+ CFLAGS="$CFLAGS -Wno-padded" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__fstrict_aliasing=yes
+ rra_cv_compiler_c__Wno_padded=yes
else
- rra_cv_compiler_c__fstrict_aliasing=no
+ rra_cv_compiler_c__Wno_padded=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_aliasing" >&5
-$as_echo "$rra_cv_compiler_c__fstrict_aliasing" >&6; }
- if test x"$rra_cv_compiler_c__fstrict_aliasing" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-aliasing"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_padded" >&5
+$as_echo "$rra_cv_compiler_c__Wno_padded" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_padded" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-padded"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcomments" >&5
-$as_echo_n "checking if $CC supports -Wcomments... " >&6; }
- if ${rra_cv_compiler_c__Wcomments+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
+$as_echo_n "checking if $CC supports -Wno-sign-conversion... " >&6; }
+ if ${rra_cv_compiler_c__Wno_sign_conversion+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wcomments in #(
+ case -Wno-sign-conversion in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wcomments" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wcomments" ;; #(
+ CFLAGS="$CFLAGS -Wno-sign-conversion" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wcomments=yes
+ rra_cv_compiler_c__Wno_sign_conversion=yes
else
- rra_cv_compiler_c__Wcomments=no
+ rra_cv_compiler_c__Wno_sign_conversion=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wcomments" >&5
-$as_echo "$rra_cv_compiler_c__Wcomments" >&6; }
- if test x"$rra_cv_compiler_c__Wcomments" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wcomments"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
+$as_echo "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wendif-labels" >&5
-$as_echo_n "checking if $CC supports -Wendif-labels... " >&6; }
- if ${rra_cv_compiler_c__Wendif_labels+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-reserved-id-macro" >&5
+$as_echo_n "checking if $CC supports -Wno-reserved-id-macro... " >&6; }
+ if ${rra_cv_compiler_c__Wno_reserved_id_macro+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wendif-labels in #(
+ case -Wno-reserved-id-macro in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wendif-labels" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-reserved-id-macro" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wendif-labels" ;; #(
+ CFLAGS="$CFLAGS -Wno-reserved-id-macro" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wendif_labels=yes
+ rra_cv_compiler_c__Wno_reserved_id_macro=yes
else
- rra_cv_compiler_c__Wendif_labels=no
+ rra_cv_compiler_c__Wno_reserved_id_macro=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wendif_labels" >&5
-$as_echo "$rra_cv_compiler_c__Wendif_labels" >&6; }
- if test x"$rra_cv_compiler_c__Wendif_labels" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wendif-labels"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_reserved_id_macro" >&5
+$as_echo "$rra_cv_compiler_c__Wno_reserved_id_macro" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_reserved_id_macro" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-reserved-id-macro"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
-$as_echo_n "checking if $CC supports -Wall... " >&6; }
- if ${rra_cv_compiler_c__Wall+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-tautological-pointer-compare" >&5
+$as_echo_n "checking if $CC supports -Wno-tautological-pointer-compare... " >&6; }
+ if ${rra_cv_compiler_c__Wno_tautological_pointer_compare+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wall in #(
+ case -Wno-tautological-pointer-compare in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wall" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-tautological-pointer-compare" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wall" ;; #(
+ CFLAGS="$CFLAGS -Wno-tautological-pointer-compare" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wall=yes
+ rra_cv_compiler_c__Wno_tautological_pointer_compare=yes
else
- rra_cv_compiler_c__Wall=no
+ rra_cv_compiler_c__Wno_tautological_pointer_compare=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wall" >&5
-$as_echo "$rra_cv_compiler_c__Wall" >&6; }
- if test x"$rra_cv_compiler_c__Wall" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wall"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_tautological_pointer_compare" >&5
+$as_echo "$rra_cv_compiler_c__Wno_tautological_pointer_compare" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_tautological_pointer_compare" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-tautological-pointer-compare"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wextra" >&5
-$as_echo_n "checking if $CC supports -Wextra... " >&6; }
- if ${rra_cv_compiler_c__Wextra+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-undef" >&5
+$as_echo_n "checking if $CC supports -Wno-undef... " >&6; }
+ if ${rra_cv_compiler_c__Wno_undef+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wextra in #(
+ case -Wno-undef in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wextra" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-undef" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wextra" ;; #(
+ CFLAGS="$CFLAGS -Wno-undef" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wextra=yes
+ rra_cv_compiler_c__Wno_undef=yes
else
- rra_cv_compiler_c__Wextra=no
+ rra_cv_compiler_c__Wno_undef=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wextra" >&5
-$as_echo "$rra_cv_compiler_c__Wextra" >&6; }
- if test x"$rra_cv_compiler_c__Wextra" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wextra"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_undef" >&5
+$as_echo "$rra_cv_compiler_c__Wno_undef" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_undef" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-undef"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
-$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
- if ${rra_cv_compiler_c__Wformat_2+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code" >&5
+$as_echo_n "checking if $CC supports -Wno-unreachable-code... " >&6; }
+ if ${rra_cv_compiler_c__Wno_unreachable_code+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wformat=2 in #(
+ case -Wno-unreachable-code in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wformat=2" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-unreachable-code" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wformat=2" ;; #(
+ CFLAGS="$CFLAGS -Wno-unreachable-code" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wformat_2=yes
+ rra_cv_compiler_c__Wno_unreachable_code=yes
else
- rra_cv_compiler_c__Wformat_2=no
+ rra_cv_compiler_c__Wno_unreachable_code=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_2" >&5
-$as_echo "$rra_cv_compiler_c__Wformat_2" >&6; }
- if test x"$rra_cv_compiler_c__Wformat_2" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat=2"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code" >&5
+$as_echo "$rra_cv_compiler_c__Wno_unreachable_code" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_unreachable_code" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-signedness" >&5
-$as_echo_n "checking if $CC supports -Wformat-signedness... " >&6; }
- if ${rra_cv_compiler_c__Wformat_signedness+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code-return" >&5
+$as_echo_n "checking if $CC supports -Wno-unreachable-code-return... " >&6; }
+ if ${rra_cv_compiler_c__Wno_unreachable_code_return+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wformat-signedness in #(
+ case -Wno-unreachable-code-return in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wformat-signedness" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-unreachable-code-return" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wformat-signedness" ;; #(
+ CFLAGS="$CFLAGS -Wno-unreachable-code-return" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wformat_signedness=yes
+ rra_cv_compiler_c__Wno_unreachable_code_return=yes
else
- rra_cv_compiler_c__Wformat_signedness=no
+ rra_cv_compiler_c__Wno_unreachable_code_return=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_signedness" >&5
-$as_echo "$rra_cv_compiler_c__Wformat_signedness" >&6; }
- if test x"$rra_cv_compiler_c__Wformat_signedness" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-signedness"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code_return" >&5
+$as_echo "$rra_cv_compiler_c__Wno_unreachable_code_return" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_unreachable_code_return" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code-return"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnull-dereference" >&5
-$as_echo_n "checking if $CC supports -Wnull-dereference... " >&6; }
- if ${rra_cv_compiler_c__Wnull_dereference+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unused-macros" >&5
+$as_echo_n "checking if $CC supports -Wno-unused-macros... " >&6; }
+ if ${rra_cv_compiler_c__Wno_unused_macros+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wnull-dereference in #(
+ case -Wno-unused-macros in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wnull-dereference" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-unused-macros" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wnull-dereference" ;; #(
+ CFLAGS="$CFLAGS -Wno-unused-macros" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wnull_dereference=yes
+ rra_cv_compiler_c__Wno_unused_macros=yes
else
- rra_cv_compiler_c__Wnull_dereference=no
+ rra_cv_compiler_c__Wno_unused_macros=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnull_dereference" >&5
-$as_echo "$rra_cv_compiler_c__Wnull_dereference" >&6; }
- if test x"$rra_cv_compiler_c__Wnull_dereference" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnull-dereference"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unused_macros" >&5
+$as_echo "$rra_cv_compiler_c__Wno_unused_macros" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_unused_macros" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unused-macros"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
-$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
- if ${rra_cv_compiler_c__Winit_self+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-used-but-marked-unused" >&5
+$as_echo_n "checking if $CC supports -Wno-used-but-marked-unused... " >&6; }
+ if ${rra_cv_compiler_c__Wno_used_but_marked_unused+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Winit-self in #(
+ case -Wno-used-but-marked-unused in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Winit-self" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-used-but-marked-unused" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Winit-self" ;; #(
+ CFLAGS="$CFLAGS -Wno-used-but-marked-unused" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Winit_self=yes
+ rra_cv_compiler_c__Wno_used_but_marked_unused=yes
else
- rra_cv_compiler_c__Winit_self=no
+ rra_cv_compiler_c__Wno_used_but_marked_unused=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winit_self" >&5
-$as_echo "$rra_cv_compiler_c__Winit_self" >&6; }
- if test x"$rra_cv_compiler_c__Winit_self" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winit-self"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_used_but_marked_unused" >&5
+$as_echo "$rra_cv_compiler_c__Wno_used_but_marked_unused" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_used_but_marked_unused" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-used-but-marked-unused"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wswitch-enum" >&5
-$as_echo_n "checking if $CC supports -Wswitch-enum... " >&6; }
- if ${rra_cv_compiler_c__Wswitch_enum+:} false; then :
+else
+ WARNINGS_CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2 -Werror"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow" >&5
+$as_echo_n "checking if $CC supports -fstrict-overflow... " >&6; }
+ if ${rra_cv_compiler_c__fstrict_overflow+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wswitch-enum in #(
+ case -fstrict-overflow in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wswitch-enum" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-fstrict-overflow" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wswitch-enum" ;; #(
+ CFLAGS="$CFLAGS -fstrict-overflow" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wswitch_enum=yes
+ rra_cv_compiler_c__fstrict_overflow=yes
else
- rra_cv_compiler_c__Wswitch_enum=no
+ rra_cv_compiler_c__fstrict_overflow=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wswitch_enum" >&5
-$as_echo "$rra_cv_compiler_c__Wswitch_enum" >&6; }
- if test x"$rra_cv_compiler_c__Wswitch_enum" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wswitch-enum"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_overflow" >&5
+$as_echo "$rra_cv_compiler_c__fstrict_overflow" >&6; }
+ if test x"$rra_cv_compiler_c__fstrict_overflow" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-overflow"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
-$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
- if ${rra_cv_compiler_c__Wuninitialized+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-aliasing" >&5
+$as_echo_n "checking if $CC supports -fstrict-aliasing... " >&6; }
+ if ${rra_cv_compiler_c__fstrict_aliasing+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wuninitialized in #(
+ case -fstrict-aliasing in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wuninitialized" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-fstrict-aliasing" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wuninitialized" ;; #(
+ CFLAGS="$CFLAGS -fstrict-aliasing" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wuninitialized=yes
+ rra_cv_compiler_c__fstrict_aliasing=yes
else
- rra_cv_compiler_c__Wuninitialized=no
+ rra_cv_compiler_c__fstrict_aliasing=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wuninitialized" >&5
-$as_echo "$rra_cv_compiler_c__Wuninitialized" >&6; }
- if test x"$rra_cv_compiler_c__Wuninitialized" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wuninitialized"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_aliasing" >&5
+$as_echo "$rra_cv_compiler_c__fstrict_aliasing" >&6; }
+ if test x"$rra_cv_compiler_c__fstrict_aliasing" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-aliasing"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-overflow=5" >&5
-$as_echo_n "checking if $CC supports -Wstrict-overflow=5... " >&6; }
- if ${rra_cv_compiler_c__Wstrict_overflow_5+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
+$as_echo_n "checking if $CC supports -Wall... " >&6; }
+ if ${rra_cv_compiler_c__Wall+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wstrict-overflow=5 in #(
+ case -Wall in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wstrict-overflow=5" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wall" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wstrict-overflow=5" ;; #(
+ CFLAGS="$CFLAGS -Wall" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wstrict_overflow_5=yes
+ rra_cv_compiler_c__Wall=yes
else
- rra_cv_compiler_c__Wstrict_overflow_5=no
+ rra_cv_compiler_c__Wall=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_overflow_5" >&5
-$as_echo "$rra_cv_compiler_c__Wstrict_overflow_5" >&6; }
- if test x"$rra_cv_compiler_c__Wstrict_overflow_5" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-overflow=5"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wall" >&5
+$as_echo "$rra_cv_compiler_c__Wall" >&6; }
+ if test x"$rra_cv_compiler_c__Wall" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wall"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
-$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
- if ${rra_cv_compiler_c__Wmissing_format_attribute+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wextra" >&5
+$as_echo_n "checking if $CC supports -Wextra... " >&6; }
+ if ${rra_cv_compiler_c__Wextra+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wmissing-format-attribute in #(
+ case -Wextra in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wmissing-format-attribute" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wextra" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wmissing-format-attribute" ;; #(
+ CFLAGS="$CFLAGS -Wextra" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wmissing_format_attribute=yes
+ rra_cv_compiler_c__Wextra=yes
else
- rra_cv_compiler_c__Wmissing_format_attribute=no
+ rra_cv_compiler_c__Wextra=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_format_attribute" >&5
-$as_echo "$rra_cv_compiler_c__Wmissing_format_attribute" >&6; }
- if test x"$rra_cv_compiler_c__Wmissing_format_attribute" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-format-attribute"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wextra" >&5
+$as_echo "$rra_cv_compiler_c__Wextra" >&6; }
+ if test x"$rra_cv_compiler_c__Wextra" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wextra"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-cond" >&5
-$as_echo_n "checking if $CC supports -Wduplicated-cond... " >&6; }
- if ${rra_cv_compiler_c__Wduplicated_cond+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
+$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
+ if ${rra_cv_compiler_c__Wformat_2+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wduplicated-cond in #(
+ case -Wformat=2 in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wduplicated-cond" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wformat=2" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wduplicated-cond" ;; #(
+ CFLAGS="$CFLAGS -Wformat=2" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wduplicated_cond=yes
+ rra_cv_compiler_c__Wformat_2=yes
else
- rra_cv_compiler_c__Wduplicated_cond=no
+ rra_cv_compiler_c__Wformat_2=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_cond" >&5
-$as_echo "$rra_cv_compiler_c__Wduplicated_cond" >&6; }
- if test x"$rra_cv_compiler_c__Wduplicated_cond" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-cond"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_2" >&5
+$as_echo "$rra_cv_compiler_c__Wformat_2" >&6; }
+ if test x"$rra_cv_compiler_c__Wformat_2" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat=2"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrampolines" >&5
-$as_echo_n "checking if $CC supports -Wtrampolines... " >&6; }
- if ${rra_cv_compiler_c__Wtrampolines+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-overflow=2" >&5
+$as_echo_n "checking if $CC supports -Wformat-overflow=2... " >&6; }
+ if ${rra_cv_compiler_c__Wformat_overflow_2+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wtrampolines in #(
+ case -Wformat-overflow=2 in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wtrampolines" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wformat-overflow=2" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wtrampolines" ;; #(
+ CFLAGS="$CFLAGS -Wformat-overflow=2" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wformat_overflow_2=yes
+else
+ rra_cv_compiler_c__Wformat_overflow_2=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_overflow_2" >&5
+$as_echo "$rra_cv_compiler_c__Wformat_overflow_2" >&6; }
+ if test x"$rra_cv_compiler_c__Wformat_overflow_2" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-overflow=2"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-signedness" >&5
+$as_echo_n "checking if $CC supports -Wformat-signedness... " >&6; }
+ if ${rra_cv_compiler_c__Wformat_signedness+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wformat-signedness in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wformat-signedness" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wformat-signedness" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wformat_signedness=yes
+else
+ rra_cv_compiler_c__Wformat_signedness=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_signedness" >&5
+$as_echo "$rra_cv_compiler_c__Wformat_signedness" >&6; }
+ if test x"$rra_cv_compiler_c__Wformat_signedness" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-signedness"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-truncation=2" >&5
+$as_echo_n "checking if $CC supports -Wformat-truncation=2... " >&6; }
+ if ${rra_cv_compiler_c__Wformat_truncation_2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wformat-truncation=2 in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wformat-truncation=2" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wformat-truncation=2" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wformat_truncation_2=yes
+else
+ rra_cv_compiler_c__Wformat_truncation_2=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_truncation_2" >&5
+$as_echo "$rra_cv_compiler_c__Wformat_truncation_2" >&6; }
+ if test x"$rra_cv_compiler_c__Wformat_truncation_2" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-truncation=2"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnull-dereference" >&5
+$as_echo_n "checking if $CC supports -Wnull-dereference... " >&6; }
+ if ${rra_cv_compiler_c__Wnull_dereference+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wnull-dereference in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wnull-dereference" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wnull-dereference" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wnull_dereference=yes
+else
+ rra_cv_compiler_c__Wnull_dereference=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnull_dereference" >&5
+$as_echo "$rra_cv_compiler_c__Wnull_dereference" >&6; }
+ if test x"$rra_cv_compiler_c__Wnull_dereference" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnull-dereference"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
+$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
+ if ${rra_cv_compiler_c__Winit_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Winit-self in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Winit-self" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Winit-self" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Winit_self=yes
+else
+ rra_cv_compiler_c__Winit_self=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winit_self" >&5
+$as_echo "$rra_cv_compiler_c__Winit_self" >&6; }
+ if test x"$rra_cv_compiler_c__Winit_self" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winit-self"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wswitch-enum" >&5
+$as_echo_n "checking if $CC supports -Wswitch-enum... " >&6; }
+ if ${rra_cv_compiler_c__Wswitch_enum+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wswitch-enum in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wswitch-enum" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wswitch-enum" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wswitch_enum=yes
+else
+ rra_cv_compiler_c__Wswitch_enum=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wswitch_enum" >&5
+$as_echo "$rra_cv_compiler_c__Wswitch_enum" >&6; }
+ if test x"$rra_cv_compiler_c__Wswitch_enum" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wswitch-enum"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-overflow=5" >&5
+$as_echo_n "checking if $CC supports -Wstrict-overflow=5... " >&6; }
+ if ${rra_cv_compiler_c__Wstrict_overflow_5+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wstrict-overflow=5 in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wstrict-overflow=5" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wstrict-overflow=5" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wstrict_overflow_5=yes
+else
+ rra_cv_compiler_c__Wstrict_overflow_5=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_overflow_5" >&5
+$as_echo "$rra_cv_compiler_c__Wstrict_overflow_5" >&6; }
+ if test x"$rra_cv_compiler_c__Wstrict_overflow_5" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-overflow=5"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
+$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
+ if ${rra_cv_compiler_c__Wmissing_format_attribute+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wmissing-format-attribute in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wmissing-format-attribute" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wmissing-format-attribute" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wmissing_format_attribute=yes
+else
+ rra_cv_compiler_c__Wmissing_format_attribute=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_format_attribute" >&5
+$as_echo "$rra_cv_compiler_c__Wmissing_format_attribute" >&6; }
+ if test x"$rra_cv_compiler_c__Wmissing_format_attribute" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-format-attribute"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Walloc-zero" >&5
+$as_echo_n "checking if $CC supports -Walloc-zero... " >&6; }
+ if ${rra_cv_compiler_c__Walloc_zero+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Walloc-zero in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Walloc-zero" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Walloc-zero" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Walloc_zero=yes
+else
+ rra_cv_compiler_c__Walloc_zero=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Walloc_zero" >&5
+$as_echo "$rra_cv_compiler_c__Walloc_zero" >&6; }
+ if test x"$rra_cv_compiler_c__Walloc_zero" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Walloc-zero"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-branches" >&5
+$as_echo_n "checking if $CC supports -Wduplicated-branches... " >&6; }
+ if ${rra_cv_compiler_c__Wduplicated_branches+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wduplicated-branches in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wduplicated-branches" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wduplicated-branches" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wduplicated_branches=yes
+else
+ rra_cv_compiler_c__Wduplicated_branches=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_branches" >&5
+$as_echo "$rra_cv_compiler_c__Wduplicated_branches" >&6; }
+ if test x"$rra_cv_compiler_c__Wduplicated_branches" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-branches"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-cond" >&5
+$as_echo_n "checking if $CC supports -Wduplicated-cond... " >&6; }
+ if ${rra_cv_compiler_c__Wduplicated_cond+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wduplicated-cond in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wduplicated-cond" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wduplicated-cond" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wduplicated_cond=yes
+else
+ rra_cv_compiler_c__Wduplicated_cond=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_cond" >&5
+$as_echo "$rra_cv_compiler_c__Wduplicated_cond" >&6; }
+ if test x"$rra_cv_compiler_c__Wduplicated_cond" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-cond"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrampolines" >&5
+$as_echo_n "checking if $CC supports -Wtrampolines... " >&6; }
+ if ${rra_cv_compiler_c__Wtrampolines+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wtrampolines in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wtrampolines" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wtrampolines" ;; #(
*) :
;;
esac
if test x"$rra_cv_compiler_c__Wwrite_strings" = xyes; then :
WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wwrite-strings"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdate-time" >&5
-$as_echo_n "checking if $CC supports -Wdate-time... " >&6; }
- if ${rra_cv_compiler_c__Wdate_time+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wconversion" >&5
+$as_echo_n "checking if $CC supports -Wconversion... " >&6; }
+ if ${rra_cv_compiler_c__Wconversion+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wdate-time in #(
+ case -Wconversion in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wdate-time" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wconversion" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wdate-time" ;; #(
+ CFLAGS="$CFLAGS -Wconversion" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wdate_time=yes
+ rra_cv_compiler_c__Wconversion=yes
else
- rra_cv_compiler_c__Wdate_time=no
+ rra_cv_compiler_c__Wconversion=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdate_time" >&5
-$as_echo "$rra_cv_compiler_c__Wdate_time" >&6; }
- if test x"$rra_cv_compiler_c__Wdate_time" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdate-time"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wconversion" >&5
+$as_echo "$rra_cv_compiler_c__Wconversion" >&6; }
+ if test x"$rra_cv_compiler_c__Wconversion" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wconversion"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wjump-misses-init" >&5
-$as_echo_n "checking if $CC supports -Wjump-misses-init... " >&6; }
- if ${rra_cv_compiler_c__Wjump_misses_init+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
+$as_echo_n "checking if $CC supports -Wno-sign-conversion... " >&6; }
+ if ${rra_cv_compiler_c__Wno_sign_conversion+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wjump-misses-init in #(
+ case -Wno-sign-conversion in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wjump-misses-init" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wjump-misses-init" ;; #(
+ CFLAGS="$CFLAGS -Wno-sign-conversion" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wjump_misses_init=yes
+ rra_cv_compiler_c__Wno_sign_conversion=yes
else
- rra_cv_compiler_c__Wjump_misses_init=no
+ rra_cv_compiler_c__Wno_sign_conversion=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wjump_misses_init" >&5
-$as_echo "$rra_cv_compiler_c__Wjump_misses_init" >&6; }
- if test x"$rra_cv_compiler_c__Wjump_misses_init" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wjump-misses-init"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
+$as_echo "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
+ if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdate-time" >&5
+$as_echo_n "checking if $CC supports -Wdate-time... " >&6; }
+ if ${rra_cv_compiler_c__Wdate_time+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wdate-time in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wdate-time" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wdate-time" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wdate_time=yes
+else
+ rra_cv_compiler_c__Wdate_time=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdate_time" >&5
+$as_echo "$rra_cv_compiler_c__Wdate_time" >&6; }
+ if test x"$rra_cv_compiler_c__Wdate_time" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdate-time"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wfloat-conversion" >&5
-$as_echo_n "checking if $CC supports -Wfloat-conversion... " >&6; }
- if ${rra_cv_compiler_c__Wfloat_conversion+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wjump-misses-init" >&5
+$as_echo_n "checking if $CC supports -Wjump-misses-init... " >&6; }
+ if ${rra_cv_compiler_c__Wjump_misses_init+:} false; then :
$as_echo_n "(cached) " >&6
else
save_CFLAGS=$CFLAGS
- case -Wfloat-conversion in #(
+ case -Wjump-misses-init in #(
-Wno-*) :
- CFLAGS="$CFLAGS `echo "-Wfloat-conversion" | sed 's/-Wno-/-W/'`" ;; #(
+ CFLAGS="$CFLAGS `echo "-Wjump-misses-init" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wfloat-conversion" ;; #(
+ CFLAGS="$CFLAGS -Wjump-misses-init" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wfloat_conversion=yes
+ rra_cv_compiler_c__Wjump_misses_init=yes
else
- rra_cv_compiler_c__Wfloat_conversion=no
+ rra_cv_compiler_c__Wjump_misses_init=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wfloat_conversion" >&5
-$as_echo "$rra_cv_compiler_c__Wfloat_conversion" >&6; }
- if test x"$rra_cv_compiler_c__Wfloat_conversion" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wfloat-conversion"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wjump_misses_init" >&5
+$as_echo "$rra_cv_compiler_c__Wjump_misses_init" >&6; }
+ if test x"$rra_cv_compiler_c__Wjump_misses_init" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wjump-misses-init"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
$as_echo "$rra_cv_compiler_c__Wmissing_prototypes" >&6; }
if test x"$rra_cv_compiler_c__Wmissing_prototypes" = xyes; then :
WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-prototypes"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
+$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
+ if ${rra_cv_compiler_c__Wmissing_declarations+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wmissing-declarations in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wmissing-declarations" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wmissing-declarations" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wmissing_declarations=yes
+else
+ rra_cv_compiler_c__Wmissing_declarations=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_declarations" >&5
+$as_echo "$rra_cv_compiler_c__Wmissing_declarations" >&6; }
+ if test x"$rra_cv_compiler_c__Wmissing_declarations" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-declarations"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnormalized=nfc" >&5
$as_echo_n "checking if $CC supports -Wnormalized=nfc... " >&6; }
-Wno-*) :
CFLAGS="$CFLAGS `echo "-Wredundant-decls" | sed 's/-Wno-/-W/'`" ;; #(
*) :
- CFLAGS="$CFLAGS -Wredundant-decls" ;; #(
+ CFLAGS="$CFLAGS -Wredundant-decls" ;; #(
+ *) :
+ ;;
+esac
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+int foo = 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ rra_cv_compiler_c__Wredundant_decls=yes
+else
+ rra_cv_compiler_c__Wredundant_decls=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$save_CFLAGS
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wredundant_decls" >&5
+$as_echo "$rra_cv_compiler_c__Wredundant_decls" >&6; }
+ if test x"$rra_cv_compiler_c__Wredundant_decls" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wredundant-decls"
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wrestrict" >&5
+$as_echo_n "checking if $CC supports -Wrestrict... " >&6; }
+ if ${rra_cv_compiler_c__Wrestrict+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_CFLAGS=$CFLAGS
+ case -Wrestrict in #(
+ -Wno-*) :
+ CFLAGS="$CFLAGS `echo "-Wrestrict" | sed 's/-Wno-/-W/'`" ;; #(
+ *) :
+ CFLAGS="$CFLAGS -Wrestrict" ;; #(
*) :
;;
esac
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- rra_cv_compiler_c__Wredundant_decls=yes
+ rra_cv_compiler_c__Wrestrict=yes
else
- rra_cv_compiler_c__Wredundant_decls=no
+ rra_cv_compiler_c__Wrestrict=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS=$save_CFLAGS
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wredundant_decls" >&5
-$as_echo "$rra_cv_compiler_c__Wredundant_decls" >&6; }
- if test x"$rra_cv_compiler_c__Wredundant_decls" = xyes; then :
- WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wredundant-decls"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wrestrict" >&5
+$as_echo "$rra_cv_compiler_c__Wrestrict" >&6; }
+ if test x"$rra_cv_compiler_c__Wrestrict" = xyes; then :
+ WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wrestrict"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
fi
: ${AR=ar}
-: ${AR_FLAGS=cru}
+: ${AR_FLAGS=cr}
test $ac_status = 0; }; then
# Now try to grab the symbols.
nlist=conftest.nm
- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
- (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && test -s "$nlist"; then
+ $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
+ if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist"
_LT_EOF
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
- echo "$AR cru libconftest.a conftest.o" >&5
- $AR cru libconftest.a conftest.o 2>&5
+ echo "$AR cr libconftest.a conftest.o" >&5
+ $AR cr libconftest.a conftest.o 2>&5
echo "$RANLIB libconftest.a" >&5
$RANLIB libconftest.a 2>&5
cat > conftest.c << _LT_EOF
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-static'
;;
+ # flang / f18. f95 an alias for gfortran or flang on Debian
+ flang* | f18* | f95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
# icc used to be incompatible with GCC.
# ICC 10 doesn't accept -KPIC any more.
icc* | ifort*)
+# Extract the first word of "valgrind", so it can be a program name with args.
+set dummy valgrind; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PATH_VALGRIND+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PATH_VALGRIND in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PATH_VALGRIND="$PATH_VALGRIND" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PATH_VALGRIND="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PATH_VALGRIND=$ac_cv_path_PATH_VALGRIND
+if test -n "$PATH_VALGRIND"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_VALGRIND" >&5
+$as_echo "$PATH_VALGRIND" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
rra_lib_arch_name=lib
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
$as_echo "#define HAVE_CDB 1" >>confdefs.h
fi
-rra_system_cracklib=
- rra_cracklib_root=
- rra_cracklib_libdir=
- rra_cracklib_includedir=
+rra_CRACKLIB_root=
+ rra_CRACKLIB_libdir=
+ rra_CRACKLIB_includedir=
+ rra_use_CRACKLIB=
CRACKLIB_CPPFLAGS=
CRACKLIB_LDFLAGS=
CRACKLIB_LIBS=
# Check whether --with-cracklib was given.
if test "${with_cracklib+set}" = set; then :
- withval=$with_cracklib; if test x"$withval" != xno; then :
- rra_system_cracklib=yes
+ withval=$with_cracklib; if test x"$withval" = xno; then :
+ rra_use_CRACKLIB=false
+else
+ rra_use_CRACKLIB=true
+ if test x"$withval" != xyes; then :
+ rra_CRACKLIB_root="$withval"
fi
- if test x"$withval" != xyes && test x"$withval" != xno; then :
- rra_cracklib_root="$withval"
fi
fi
# Check whether --with-cracklib-include was given.
if test "${with_cracklib_include+set}" = set; then :
withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
- rra_cracklib_includedir="$withval"
+ rra_CRACKLIB_includedir="$withval"
fi
fi
# Check whether --with-cracklib-lib was given.
if test "${with_cracklib_lib+set}" = set; then :
withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
- rra_cracklib_libdir="$withval"
+ rra_CRACKLIB_libdir="$withval"
fi
fi
- if test x"$rra_system_cracklib" != xyes; then
- EMBEDDED_CRACKLIB_TRUE=
- EMBEDDED_CRACKLIB_FALSE='#'
-else
- EMBEDDED_CRACKLIB_TRUE='#'
- EMBEDDED_CRACKLIB_FALSE=
-fi
-
- if test x"$rra_system_cracklib" = xyes; then :
- if test x"$rra_cracklib_libdir" != x; then :
- CRACKLIB_LDFLAGS="-L$rra_cracklib_libdir"
+ if test x"$rra_use_CRACKLIB" != xfalse; then :
+ if test x"$rra_use_CRACKLIB" != x; then :
+ if test x"$rra_CRACKLIB_libdir" != x; then :
+ CRACKLIB_LDFLAGS="-L$rra_CRACKLIB_libdir"
else
- if test x"$rra_cracklib_root" != x; then :
+ if test x"$rra_CRACKLIB_root" != x; then :
- if test -d "$rra_cracklib_root/$rra_lib_arch_name"; then :
+ if test -d "${rra_CRACKLIB_root}/$rra_lib_arch_name"; then :
if test x"" = x; then :
- CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}"
+ CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}"
else
- CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}/"
+ CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}/"
fi
else
if test x"" = x; then :
- CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib"
+ CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib"
else
- CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib/"
+ CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib/"
fi
fi
CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
fi
fi
- if test x"$rra_cracklib_includedir" != x; then :
- CRACKLIB_CPPFLAGS="-I$rra_cracklib_includedir"
+ if test x"$rra_CRACKLIB_includedir" != x; then :
+ CRACKLIB_CPPFLAGS="-I$rra_CRACKLIB_includedir"
else
- if test x"$rra_cracklib_root" != x; then :
- if test x"$rra_cracklib_root" != x/usr; then :
- CRACKLIB_CPPFLAGS="-I${rra_cracklib_root}/include"
+ if test x"$rra_CRACKLIB_root" != x; then :
+ if test x"$rra_CRACKLIB_root" != x/usr; then :
+ CRACKLIB_CPPFLAGS="-I${rra_CRACKLIB_root}/include"
fi
fi
fi
- CRACKLIB_LIBS="-lcrack"
- rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
- rra_cracklib_save_LDFLAGS="$LDFLAGS"
- rra_cracklib_save_LIBS="$LIBS"
+ rra_CRACKLIB_save_CPPFLAGS="$CPPFLAGS"
+ rra_CRACKLIB_save_LDFLAGS="$LDFLAGS"
+ rra_CRACKLIB_save_LIBS="$LIBS"
CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
LIBS="$CRACKLIB_LIBS $LIBS"
- ac_fn_c_check_func "$LINENO" "FascistCheck" "ac_cv_func_FascistCheck"
-if test "x$ac_cv_func_FascistCheck" = xyes; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FascistCheck in -lcrack" >&5
+$as_echo_n "checking for FascistCheck in -lcrack... " >&6; }
+if ${ac_cv_lib_crack_FascistCheck+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcrack $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char FascistCheck ();
+int
+main ()
+{
+return FascistCheck ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_crack_FascistCheck=yes
else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "unable to link with CrackLib library
-See \`config.log' for more details" "$LINENO" 5; }
+ ac_cv_lib_crack_FascistCheck=no
fi
-
- CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
- LDFLAGS="$rra_cracklib_save_LDFLAGS"
- LIBS="$rra_cracklib_save_LIBS"
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
fi
-if test x"$rra_system_cracklib" = xyes; then :
- rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
- rra_cracklib_save_LDFLAGS="$LDFLAGS"
- rra_cracklib_save_LIBS="$LIBS"
- CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
- LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
- LIBS="$CRACKLIB_LIBS $LIBS"
- for ac_header in crack.h
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crack_FascistCheck" >&5
+$as_echo "$ac_cv_lib_crack_FascistCheck" >&6; }
+if test "x$ac_cv_lib_crack_FascistCheck" = xyes; then :
+ CRACKLIB_LIBS=-lcrack
+else
+ as_fn_error $? "cannot find usable CrackLib library" "$LINENO" 5
+fi
+
+ for ac_header in crack.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
if test "x$ac_cv_header_crack_h" = xyes; then :
done
- CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
- LDFLAGS="$rra_cracklib_save_LDFLAGS"
- LIBS="$rra_cracklib_save_LIBS"
+
+$as_echo "#define HAVE_SYSTEM_CRACKLIB 1" >>confdefs.h
+
+ CPPFLAGS="$rra_CRACKLIB_save_CPPFLAGS"
+ LDFLAGS="$rra_CRACKLIB_save_LDFLAGS"
+ LIBS="$rra_CRACKLIB_save_LIBS"
+fi
+
+$as_echo "#define HAVE_CRACKLIB 1" >>confdefs.h
+
+fi
+ if test x"$rra_use_CRACKLIB" = x; then
+ EMBEDDED_CRACKLIB_TRUE=
+ EMBEDDED_CRACKLIB_FALSE='#'
+else
+ EMBEDDED_CRACKLIB_TRUE='#'
+ EMBEDDED_CRACKLIB_FALSE=
fi
+
rra_reduced_depends=false
# Check whether --enable-reduced-depends was given.
if test "${enable_reduced_depends+set}" = set; then :
fi
fi
-
- # Extract the first word of "krb5-config", so it can be a program name with args.
-set dummy krb5-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $PATH_KRB5_CONFIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_dummy="${PATH}:/usr/kerberos/bin"
-for as_dir in $as_dummy
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-fi
-PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
-if test -n "$PATH_KRB5_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
-$as_echo "$PATH_KRB5_CONFIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
rra_krb5_root=
rra_krb5_libdir=
rra_krb5_includedir=
$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
KRB5_LIBS="-lkrb5"
-else
- if test x"true" = xtrue; then :
- as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
-fi
-fi
-
- LIBS="$KRB5_LIBS $LIBS"
- if test x"$rra_krb5_incroot" = x; then :
+ LIBS="$KRB5_LIBS $LIBS"
+ if test x"$rra_krb5_incroot" = x; then :
for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
$as_echo "no" >&6; }
fi
fi
- for ac_func in krb5_get_error_message
+ for ac_func in krb5_get_error_message
do :
ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
$as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
KRB5_LIBS="$KRB5_LIBS -lksvc"
- $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
+ $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
- for ac_header in ibm_svc/krb5_svc.h
+ for ac_header in ibm_svc/krb5_svc.h
do :
ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
#if HAVE_KRB5_H
fi
fi
- if test x"$rra_krb5_incroot" = x; then :
+ if test x"$rra_krb5_incroot" = x; then :
for ac_header in et/com_err.h kerberosv5/com_err.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
fi
done
+else
+ if test x"true" = xtrue; then :
+ as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
+fi
+fi
+
CPPFLAGS="$rra_krb5_save_CPPFLAGS"
LDFLAGS="$rra_krb5_save_LDFLAGS"
LIBS="$rra_krb5_save_LIBS"
else
if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
-
- rra_krb5_config_KRB5=
+ rra_krb5_config_KRB5=
rra_krb5_config_KRB5_ok=
if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
else
- rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
+
+ # Extract the first word of "krb5-config", so it can be a program name with args.
+set dummy krb5-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PATH_KRB5_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${PATH}:/usr/kerberos/bin"
+for as_dir in $as_dummy
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
+if test -n "$PATH_KRB5_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
+$as_echo "$PATH_KRB5_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
fi
if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
#define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
_ACEOF
+for ac_func in krb5_appdefault_string
+do :
+ ac_fn_c_check_func "$LINENO" "krb5_appdefault_string" "ac_cv_func_krb5_appdefault_string"
+if test "x$ac_cv_func_krb5_appdefault_string" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_KRB5_APPDEFAULT_STRING 1
+_ACEOF
+
+else
+ for ac_func in krb5_get_profile
+do :
+ ac_fn_c_check_func "$LINENO" "krb5_get_profile" "ac_cv_func_krb5_get_profile"
+if test "x$ac_cv_func_krb5_get_profile" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_KRB5_GET_PROFILE 1
+_ACEOF
+
+fi
+done
+
+ for ac_header in k5profile.h profile.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+ case " $LIBOBJS " in
+ *" krb5-profile.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS krb5-profile.$ac_objext"
+ ;;
+esac
+
+fi
+done
+
case " $LIBOBJS " in
*" krb5-extra.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
test $ac_status = 0; }; then
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
-$as_echo_n "checking for SQLITE... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
+$as_echo_n "checking for sqlite3... " >&6; }
if test -n "$SQLITE_CFLAGS"; then
pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
test $ac_status = 0; }; then
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
-$as_echo_n "checking for SQLITE... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
+$as_echo_n "checking for sqlite3... " >&6; }
if test -n "$SQLITE_CFLAGS"; then
pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
fi
-for ac_header in sys/bittypes.h sys/select.h sys/time.h syslog.h
+for ac_header in strings.h sys/bittypes.h sys/select.h sys/time.h syslog.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
esac
fi
-for ac_func in setrlimit
+for ac_func in explicit_bzero setrlimit
do :
- ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
-if test "x$ac_cv_func_setrlimit" = xyes; then :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_SETRLIMIT 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by krb5-strength $as_me 3.1, which was
+This file was extended by krb5-strength $as_me 3.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-krb5-strength config.status 3.1
+krb5-strength config.status 3.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
#
# INIT-COMMANDS
#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
+ # TODO: see whether this extra hack can be removed once we start
+ # requiring Autoconf 2.70 or later.
+ case $CONFIG_FILES in #(
+ *\'*) :
+ eval set x "$CONFIG_FILES" ;; #(
+ *) :
+ set x $CONFIG_FILES ;; #(
+ *) :
+ ;;
+esac
shift
- for mf
+ # Used to flag and report bootstrapping failures.
+ am_rc=0
+ for am_mf
do
# Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
+ am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile which includes
+ # dependency-tracking related rules and includes.
+ # Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
+ sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
+ || continue
+ am_dirpart=`$as_dirname -- "$am_mf" ||
+$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$am_mf" : 'X\(//\)[^/]' \| \
+ X"$am_mf" : 'X\(//\)$' \| \
+ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$am_mf" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
q
}
s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
+ am_filepart=`$as_basename -- "$am_mf" ||
+$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$am_mf" : 'X\(//\)$' \| \
+ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$am_mf" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
- /^X\(\/\/\)$/{
+ /^X\/\(\/\/\)$/{
s//\1/
q
}
- /^X\(\/\).*/{
+ /^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
+ { echo "$as_me:$LINENO: cd "$am_dirpart" \
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
+ | $MAKE -f - am--depfiles" >&5
+ (cd "$am_dirpart" \
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
+ | $MAKE -f - am--depfiles) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } || am_rc=$?
done
+ if test $am_rc -ne 0; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "Something went wrong bootstrapping makefile fragments
+ for automatic dependency tracking. If GNU make was not used, consider
+ re-running the configure script with MAKE=\"gmake\" (or whatever is
+ necessary). You can also try re-running configure with the
+ '--disable-dependency-tracking' option to at least be able to build
+ the package (albeit without support for automatic dependency tracking).
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ { am_dirpart=; unset am_dirpart;}
+ { am_filepart=; unset am_filepart;}
+ { am_mf=; unset am_mf;}
+ { am_rc=; unset am_rc;}
+ rm -f conftest-deps.mk
}
;;
"libtool":C)