| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 6229 2015-07-02 15:16:20Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8848 2019-02-09 18:31:58Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm 1.1.0beta1. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.1.6. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 591 |
|
# Identity of this package. |
| 592 |
|
PACKAGE_NAME='hopm' |
| 593 |
|
PACKAGE_TARNAME='hopm' |
| 594 |
< |
PACKAGE_VERSION='1.1.0beta1' |
| 595 |
< |
PACKAGE_STRING='hopm 1.1.0beta1' |
| 594 |
> |
PACKAGE_VERSION='1.1.6' |
| 595 |
> |
PACKAGE_STRING='hopm 1.1.6' |
| 596 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 638 |
|
am__EXEEXT_TRUE |
| 639 |
|
LTLIBOBJS |
| 640 |
|
LIBOBJS |
| 641 |
– |
ENABLE_SSL_FALSE |
| 642 |
– |
ENABLE_SSL_TRUE |
| 641 |
|
LEXLIB |
| 642 |
|
LEX_OUTPUT_ROOT |
| 643 |
|
LEX |
| 681 |
|
AMDEPBACKSLASH |
| 682 |
|
AMDEP_FALSE |
| 683 |
|
AMDEP_TRUE |
| 686 |
– |
am__quote |
| 684 |
|
am__include |
| 685 |
|
DEPDIR |
| 686 |
|
OBJEXT |
| 757 |
|
PACKAGE_TARNAME |
| 758 |
|
PACKAGE_NAME |
| 759 |
|
PATH_SEPARATOR |
| 760 |
< |
SHELL' |
| 760 |
> |
SHELL |
| 761 |
> |
am__quote' |
| 762 |
|
ac_subst_files='' |
| 763 |
|
ac_user_opts=' |
| 764 |
|
enable_option_checking |
| 776 |
|
enable_openssl |
| 777 |
|
enable_assert |
| 778 |
|
enable_warnings |
| 779 |
+ |
enable_efence |
| 780 |
|
' |
| 781 |
|
ac_precious_vars='build_alias |
| 782 |
|
host_alias |
| 1330 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1331 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1332 |
|
cat <<_ACEOF |
| 1333 |
< |
\`configure' configures hopm 1.1.0beta1 to adapt to many kinds of systems. |
| 1333 |
> |
\`configure' configures hopm 1.1.6 to adapt to many kinds of systems. |
| 1334 |
|
|
| 1335 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1336 |
|
|
| 1400 |
|
|
| 1401 |
|
if test -n "$ac_init_help"; then |
| 1402 |
|
case $ac_init_help in |
| 1403 |
< |
short | recursive ) echo "Configuration of hopm 1.1.0beta1:";; |
| 1403 |
> |
short | recursive ) echo "Configuration of hopm 1.1.6:";; |
| 1404 |
|
esac |
| 1405 |
|
cat <<\_ACEOF |
| 1406 |
|
|
| 1426 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1427 |
|
--enable-assert Enable assert() statements |
| 1428 |
|
--enable-warnings Enable compiler warnings. |
| 1429 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1430 |
+ |
debugger library. |
| 1431 |
|
|
| 1432 |
|
Optional Packages: |
| 1433 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1525 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1526 |
|
if $ac_init_version; then |
| 1527 |
|
cat <<\_ACEOF |
| 1528 |
< |
hopm configure 1.1.0beta1 |
| 1528 |
> |
hopm configure 1.1.6 |
| 1529 |
|
generated by GNU Autoconf 2.69 |
| 1530 |
|
|
| 1531 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1803 |
|
This file contains any messages produced by compilers while |
| 1804 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1805 |
|
|
| 1806 |
< |
It was created by hopm $as_me 1.1.0beta1, which was |
| 1806 |
> |
It was created by hopm $as_me 1.1.6, which was |
| 1807 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1808 |
|
|
| 1809 |
|
$ $0 $@ |
| 2151 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2152 |
|
|
| 2153 |
|
|
| 2154 |
< |
am__api_version='1.15' |
| 2154 |
> |
am__api_version='1.16' |
| 2155 |
|
|
| 2156 |
|
ac_aux_dir= |
| 2157 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2666 |
|
|
| 2667 |
|
# Define the identity of the package. |
| 2668 |
|
PACKAGE='hopm' |
| 2669 |
< |
VERSION='1.1.0beta1' |
| 2669 |
> |
VERSION='1.1.6' |
| 2670 |
|
|
| 2671 |
|
|
| 2672 |
|
cat >>confdefs.h <<_ACEOF |
| 2696 |
|
|
| 2697 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2698 |
|
# dies out for good. For more background, see: |
| 2699 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2700 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2699 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2700 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2701 |
|
mkdir_p='$(MKDIR_P)' |
| 2702 |
|
|
| 2703 |
|
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2748 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
| 2749 |
|
|
| 2750 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
| 2751 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 2751 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 2752 |
|
|
| 2753 |
|
If you want to complete the configuration process using your problematic |
| 2754 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 2792 |
|
|
| 2793 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 2794 |
|
|
| 2795 |
< |
|
| 2796 |
< |
am_make=${MAKE-make} |
| 2797 |
< |
cat > confinc << 'END' |
| 2795 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 2796 |
> |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 2797 |
> |
cat > confinc.mk << 'END' |
| 2798 |
|
am__doit: |
| 2799 |
< |
@echo this is the am__doit target |
| 2799 |
> |
@echo this is the am__doit target >confinc.out |
| 2800 |
|
.PHONY: am__doit |
| 2801 |
|
END |
| 2801 |
– |
# If we don't find an include directive, just comment out the code. |
| 2802 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 2803 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 2802 |
|
am__include="#" |
| 2803 |
|
am__quote= |
| 2804 |
< |
_am_result=none |
| 2805 |
< |
# First try GNU make style include. |
| 2806 |
< |
echo "include confinc" > confmf |
| 2807 |
< |
# Ignore all kinds of additional output from 'make'. |
| 2808 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2809 |
< |
*the\ am__doit\ target*) |
| 2810 |
< |
am__include=include |
| 2811 |
< |
am__quote= |
| 2812 |
< |
_am_result=GNU |
| 2813 |
< |
;; |
| 2814 |
< |
esac |
| 2815 |
< |
# Now try BSD make style include. |
| 2816 |
< |
if test "$am__include" = "#"; then |
| 2817 |
< |
echo '.include "confinc"' > confmf |
| 2818 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2819 |
< |
*the\ am__doit\ target*) |
| 2820 |
< |
am__include=.include |
| 2821 |
< |
am__quote="\"" |
| 2822 |
< |
_am_result=BSD |
| 2804 |
> |
# BSD make does it like this. |
| 2805 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 2806 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 2807 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 2808 |
> |
_am_result=no |
| 2809 |
> |
for s in GNU BSD; do |
| 2810 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 2811 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 2812 |
> |
ac_status=$? |
| 2813 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2814 |
> |
(exit $ac_status); } |
| 2815 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 2816 |
> |
'0:this is the am__doit target') : |
| 2817 |
> |
case $s in #( |
| 2818 |
> |
BSD) : |
| 2819 |
> |
am__include='.include' am__quote='"' ;; #( |
| 2820 |
> |
*) : |
| 2821 |
> |
am__include='include' am__quote='' ;; |
| 2822 |
> |
esac ;; #( |
| 2823 |
> |
*) : |
| 2824 |
|
;; |
| 2825 |
< |
esac |
| 2826 |
< |
fi |
| 2827 |
< |
|
| 2828 |
< |
|
| 2829 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 2830 |
< |
$as_echo "$_am_result" >&6; } |
| 2831 |
< |
rm -f confinc confmf |
| 2825 |
> |
esac |
| 2826 |
> |
if test "$am__include" != "#"; then |
| 2827 |
> |
_am_result="yes ($s style)" |
| 2828 |
> |
break |
| 2829 |
> |
fi |
| 2830 |
> |
done |
| 2831 |
> |
rm -f confinc.* confmf.* |
| 2832 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 2833 |
> |
$as_echo "${_am_result}" >&6; } |
| 2834 |
|
|
| 2835 |
|
# Check whether --enable-dependency-tracking was given. |
| 2836 |
|
if test "${enable_dependency_tracking+set}" = set; then : |
| 12637 |
|
fi |
| 12638 |
|
|
| 12639 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 12640 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 12641 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 12640 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1f and above" >&5 |
| 12641 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1f and above... " >&6; } |
| 12642 |
|
if test "$cross_compiling" = yes; then : |
| 12643 |
|
cf_openssl_version_ok=no |
| 12644 |
|
else |
| 12651 |
|
int |
| 12652 |
|
main () |
| 12653 |
|
{ |
| 12654 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 12654 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000106fL)); |
| 12655 |
|
; |
| 12656 |
|
return 0; |
| 12657 |
|
} |
| 12770 |
|
fi |
| 12771 |
|
fi |
| 12772 |
|
|
| 12772 |
– |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 12773 |
– |
ENABLE_SSL_TRUE= |
| 12774 |
– |
ENABLE_SSL_FALSE='#' |
| 12775 |
– |
else |
| 12776 |
– |
ENABLE_SSL_TRUE='#' |
| 12777 |
– |
ENABLE_SSL_FALSE= |
| 12778 |
– |
fi |
| 12779 |
– |
|
| 12780 |
– |
|
| 12773 |
|
|
| 12774 |
|
# Check whether --enable-assert was given. |
| 12775 |
|
if test "${enable_assert+set}" = set; then : |
| 13025 |
|
|
| 13026 |
|
|
| 13027 |
|
|
| 13028 |
< |
for flag in -Wcast-qual; do |
| 13028 |
> |
for flag in -Wcast-function-type; do |
| 13029 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13030 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13031 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13100 |
|
|
| 13101 |
|
|
| 13102 |
|
|
| 13103 |
< |
for flag in -Wclobbered; do |
| 13103 |
> |
for flag in -Wcast-qual; do |
| 13104 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13105 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13106 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13175 |
|
|
| 13176 |
|
|
| 13177 |
|
|
| 13178 |
< |
for flag in -Wempty-body; do |
| 13178 |
> |
for flag in -Wclobbered; do |
| 13179 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13180 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13181 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13250 |
|
|
| 13251 |
|
|
| 13252 |
|
|
| 13253 |
< |
for flag in -Wignored-qualifiers; do |
| 13253 |
> |
for flag in -Wduplicated-cond; do |
| 13254 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13255 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13256 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13325 |
|
|
| 13326 |
|
|
| 13327 |
|
|
| 13328 |
< |
for flag in -Wlogical-op; do |
| 13328 |
> |
for flag in -Wempty-body; do |
| 13329 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13330 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13331 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13400 |
|
|
| 13401 |
|
|
| 13402 |
|
|
| 13403 |
< |
for flag in -Wmissing-declarations; do |
| 13403 |
> |
for flag in -Wignored-qualifiers; do |
| 13404 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13405 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13406 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13475 |
|
|
| 13476 |
|
|
| 13477 |
|
|
| 13478 |
< |
for flag in -Wmissing-field-initializers; do |
| 13478 |
> |
for flag in -Wlogical-op; do |
| 13479 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13480 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13481 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13550 |
|
|
| 13551 |
|
|
| 13552 |
|
|
| 13553 |
< |
for flag in -Wmissing-include-dirs; do |
| 13553 |
> |
for flag in -Wmissing-declarations; do |
| 13554 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13555 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13556 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13625 |
|
|
| 13626 |
|
|
| 13627 |
|
|
| 13628 |
< |
for flag in -Wmissing-parameter-type; do |
| 13628 |
> |
for flag in -Wmissing-field-initializers; do |
| 13629 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13630 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13631 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13700 |
|
|
| 13701 |
|
|
| 13702 |
|
|
| 13703 |
< |
for flag in -Wmissing-prototypes; do |
| 13703 |
> |
for flag in -Wmissing-include-dirs; do |
| 13704 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13705 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13706 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13775 |
|
|
| 13776 |
|
|
| 13777 |
|
|
| 13778 |
< |
for flag in -Wnested-externs; do |
| 13778 |
> |
for flag in -Wmissing-parameter-type; do |
| 13779 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13780 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13781 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13850 |
|
|
| 13851 |
|
|
| 13852 |
|
|
| 13853 |
< |
for flag in -Wold-style-declaration; do |
| 13853 |
> |
for flag in -Wmissing-prototypes; do |
| 13854 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13855 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13856 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13925 |
|
|
| 13926 |
|
|
| 13927 |
|
|
| 13928 |
< |
for flag in -Woverride-init; do |
| 13928 |
> |
for flag in -Wnested-externs; do |
| 13929 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13930 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13931 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14000 |
|
|
| 14001 |
|
|
| 14002 |
|
|
| 14003 |
< |
for flag in -Wpointer-arith; do |
| 14003 |
> |
for flag in -Wold-style-declaration; do |
| 14004 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14006 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14075 |
|
|
| 14076 |
|
|
| 14077 |
|
|
| 14078 |
< |
for flag in -Wredundant-decls; do |
| 14078 |
> |
for flag in -Woverride-init; do |
| 14079 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14080 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14081 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14150 |
|
|
| 14151 |
|
|
| 14152 |
|
|
| 14153 |
< |
for flag in -Wshadow; do |
| 14153 |
> |
for flag in -Wpointer-arith; do |
| 14154 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14155 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14156 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14225 |
|
|
| 14226 |
|
|
| 14227 |
|
|
| 14228 |
< |
for flag in -Wsign-compare; do |
| 14228 |
> |
for flag in -Wredundant-decls; do |
| 14229 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14230 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14231 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14300 |
|
|
| 14301 |
|
|
| 14302 |
|
|
| 14303 |
< |
for flag in -Wtype-limits; do |
| 14303 |
> |
for flag in -Wshadow; do |
| 14304 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14305 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14306 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14375 |
|
|
| 14376 |
|
|
| 14377 |
|
|
| 14378 |
< |
for flag in -Wundef; do |
| 14378 |
> |
for flag in -Wshift-negative-value; do |
| 14379 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14380 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14381 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14450 |
|
|
| 14451 |
|
|
| 14452 |
|
|
| 14453 |
< |
for flag in -Wuninitialized; do |
| 14453 |
> |
for flag in -Wsign-compare; do |
| 14454 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14455 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14456 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14525 |
|
|
| 14526 |
|
|
| 14527 |
|
|
| 14528 |
< |
for flag in -Wwrite-strings; do |
| 14528 |
> |
for flag in -Wtype-limits; do |
| 14529 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14531 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14597 |
|
done |
| 14598 |
|
|
| 14599 |
|
|
| 14608 |
– |
fi |
| 14609 |
– |
|
| 14600 |
|
|
| 14611 |
– |
for ac_func in strlcpy strlcat |
| 14612 |
– |
do : |
| 14613 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14614 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14615 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14616 |
– |
cat >>confdefs.h <<_ACEOF |
| 14617 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14618 |
– |
_ACEOF |
| 14619 |
– |
|
| 14620 |
– |
fi |
| 14621 |
– |
done |
| 14601 |
|
|
| 14602 |
|
|
| 14603 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 14604 |
< |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 14605 |
< |
if ${ac_cv_c_bigendian+:} false; then : |
| 14603 |
> |
for flag in -Wundef; do |
| 14604 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14605 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14606 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14607 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14608 |
|
$as_echo_n "(cached) " >&6 |
| 14609 |
|
else |
| 14629 |
– |
ac_cv_c_bigendian=unknown |
| 14630 |
– |
# See if we're dealing with a universal compiler. |
| 14631 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14632 |
– |
/* end confdefs.h. */ |
| 14633 |
– |
#ifndef __APPLE_CC__ |
| 14634 |
– |
not a universal capable compiler |
| 14635 |
– |
#endif |
| 14636 |
– |
typedef int dummy; |
| 14637 |
– |
|
| 14638 |
– |
_ACEOF |
| 14639 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14610 |
|
|
| 14611 |
< |
# Check for potential -arch flags. It is not universal unless |
| 14612 |
< |
# there are at least two -arch flags with different values. |
| 14613 |
< |
ac_arch= |
| 14644 |
< |
ac_prev= |
| 14645 |
< |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
| 14646 |
< |
if test -n "$ac_prev"; then |
| 14647 |
< |
case $ac_word in |
| 14648 |
< |
i?86 | x86_64 | ppc | ppc64) |
| 14649 |
< |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
| 14650 |
< |
ac_arch=$ac_word |
| 14651 |
< |
else |
| 14652 |
< |
ac_cv_c_bigendian=universal |
| 14653 |
< |
break |
| 14654 |
< |
fi |
| 14655 |
< |
;; |
| 14656 |
< |
esac |
| 14657 |
< |
ac_prev= |
| 14658 |
< |
elif test "x$ac_word" = "x-arch"; then |
| 14659 |
< |
ac_prev=arch |
| 14660 |
< |
fi |
| 14661 |
< |
done |
| 14662 |
< |
fi |
| 14663 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14664 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14665 |
< |
# See if sys/param.h defines the BYTE_ORDER macro. |
| 14666 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14611 |
> |
ax_check_save_flags=$CFLAGS |
| 14612 |
> |
CFLAGS="$CFLAGS $flag" |
| 14613 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14614 |
|
/* end confdefs.h. */ |
| 14668 |
– |
#include <sys/types.h> |
| 14669 |
– |
#include <sys/param.h> |
| 14615 |
|
|
| 14616 |
|
int |
| 14617 |
|
main () |
| 14618 |
|
{ |
| 14674 |
– |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
| 14675 |
– |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
| 14676 |
– |
&& LITTLE_ENDIAN) |
| 14677 |
– |
bogus endian macros |
| 14678 |
– |
#endif |
| 14619 |
|
|
| 14620 |
|
; |
| 14621 |
|
return 0; |
| 14622 |
|
} |
| 14623 |
|
_ACEOF |
| 14624 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14625 |
< |
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 14626 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14627 |
< |
/* end confdefs.h. */ |
| 14628 |
< |
#include <sys/types.h> |
| 14629 |
< |
#include <sys/param.h> |
| 14625 |
> |
eval "$as_CACHEVAR=yes" |
| 14626 |
> |
else |
| 14627 |
> |
eval "$as_CACHEVAR=no" |
| 14628 |
> |
fi |
| 14629 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14630 |
> |
CFLAGS=$ax_check_save_flags |
| 14631 |
> |
fi |
| 14632 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14633 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14634 |
> |
$as_echo "$ac_res" >&6; } |
| 14635 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14636 |
|
|
| 14637 |
< |
int |
| 14638 |
< |
main () |
| 14639 |
< |
{ |
| 14640 |
< |
#if BYTE_ORDER != BIG_ENDIAN |
| 14641 |
< |
not big endian |
| 14642 |
< |
#endif |
| 14637 |
> |
if ${CFLAGS+:} false; then : |
| 14638 |
> |
|
| 14639 |
> |
case " $CFLAGS " in #( |
| 14640 |
> |
*" $flag "*) : |
| 14641 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14642 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14643 |
> |
ac_status=$? |
| 14644 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14645 |
> |
test $ac_status = 0; } ;; #( |
| 14646 |
> |
*) : |
| 14647 |
> |
|
| 14648 |
> |
as_fn_append CFLAGS " $flag" |
| 14649 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14650 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14651 |
> |
ac_status=$? |
| 14652 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14653 |
> |
test $ac_status = 0; } |
| 14654 |
> |
;; |
| 14655 |
> |
esac |
| 14656 |
|
|
| 14698 |
– |
; |
| 14699 |
– |
return 0; |
| 14700 |
– |
} |
| 14701 |
– |
_ACEOF |
| 14702 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14703 |
– |
ac_cv_c_bigendian=yes |
| 14657 |
|
else |
| 14658 |
< |
ac_cv_c_bigendian=no |
| 14658 |
> |
|
| 14659 |
> |
CFLAGS=$flag |
| 14660 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14661 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14662 |
> |
ac_status=$? |
| 14663 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14664 |
> |
test $ac_status = 0; } |
| 14665 |
> |
|
| 14666 |
|
fi |
| 14667 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14667 |
> |
|
| 14668 |
> |
else |
| 14669 |
> |
: |
| 14670 |
|
fi |
| 14709 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14710 |
– |
fi |
| 14711 |
– |
if test $ac_cv_c_bigendian = unknown; then |
| 14712 |
– |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 14713 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14714 |
– |
/* end confdefs.h. */ |
| 14715 |
– |
#include <limits.h> |
| 14671 |
|
|
| 14672 |
< |
int |
| 14718 |
< |
main () |
| 14719 |
< |
{ |
| 14720 |
< |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| 14721 |
< |
bogus endian macros |
| 14722 |
< |
#endif |
| 14672 |
> |
done |
| 14673 |
|
|
| 14674 |
< |
; |
| 14675 |
< |
return 0; |
| 14676 |
< |
} |
| 14677 |
< |
_ACEOF |
| 14678 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14679 |
< |
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 14680 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14674 |
> |
|
| 14675 |
> |
|
| 14676 |
> |
|
| 14677 |
> |
|
| 14678 |
> |
for flag in -Wuninitialized; do |
| 14679 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14680 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14681 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14682 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14683 |
> |
$as_echo_n "(cached) " >&6 |
| 14684 |
> |
else |
| 14685 |
> |
|
| 14686 |
> |
ax_check_save_flags=$CFLAGS |
| 14687 |
> |
CFLAGS="$CFLAGS $flag" |
| 14688 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14689 |
|
/* end confdefs.h. */ |
| 14732 |
– |
#include <limits.h> |
| 14690 |
|
|
| 14691 |
|
int |
| 14692 |
|
main () |
| 14693 |
|
{ |
| 14737 |
– |
#ifndef _BIG_ENDIAN |
| 14738 |
– |
not big endian |
| 14739 |
– |
#endif |
| 14694 |
|
|
| 14695 |
|
; |
| 14696 |
|
return 0; |
| 14697 |
|
} |
| 14698 |
|
_ACEOF |
| 14699 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14700 |
< |
ac_cv_c_bigendian=yes |
| 14700 |
> |
eval "$as_CACHEVAR=yes" |
| 14701 |
|
else |
| 14702 |
< |
ac_cv_c_bigendian=no |
| 14702 |
> |
eval "$as_CACHEVAR=no" |
| 14703 |
|
fi |
| 14704 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14705 |
+ |
CFLAGS=$ax_check_save_flags |
| 14706 |
|
fi |
| 14707 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14708 |
< |
fi |
| 14709 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14710 |
< |
# Compile a test program. |
| 14711 |
< |
if test "$cross_compiling" = yes; then : |
| 14712 |
< |
# Try to guess by grepping values from an object file. |
| 14713 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14707 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14708 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14709 |
> |
$as_echo "$ac_res" >&6; } |
| 14710 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14711 |
> |
|
| 14712 |
> |
if ${CFLAGS+:} false; then : |
| 14713 |
> |
|
| 14714 |
> |
case " $CFLAGS " in #( |
| 14715 |
> |
*" $flag "*) : |
| 14716 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14717 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14718 |
> |
ac_status=$? |
| 14719 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14720 |
> |
test $ac_status = 0; } ;; #( |
| 14721 |
> |
*) : |
| 14722 |
> |
|
| 14723 |
> |
as_fn_append CFLAGS " $flag" |
| 14724 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14725 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14726 |
> |
ac_status=$? |
| 14727 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14728 |
> |
test $ac_status = 0; } |
| 14729 |
> |
;; |
| 14730 |
> |
esac |
| 14731 |
> |
|
| 14732 |
> |
else |
| 14733 |
> |
|
| 14734 |
> |
CFLAGS=$flag |
| 14735 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14736 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14737 |
> |
ac_status=$? |
| 14738 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14739 |
> |
test $ac_status = 0; } |
| 14740 |
> |
|
| 14741 |
> |
fi |
| 14742 |
> |
|
| 14743 |
> |
else |
| 14744 |
> |
: |
| 14745 |
> |
fi |
| 14746 |
> |
|
| 14747 |
> |
done |
| 14748 |
> |
|
| 14749 |
> |
|
| 14750 |
> |
|
| 14751 |
> |
|
| 14752 |
> |
|
| 14753 |
> |
for flag in -Wwrite-strings; do |
| 14754 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14755 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14756 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14757 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14758 |
> |
$as_echo_n "(cached) " >&6 |
| 14759 |
> |
else |
| 14760 |
> |
|
| 14761 |
> |
ax_check_save_flags=$CFLAGS |
| 14762 |
> |
CFLAGS="$CFLAGS $flag" |
| 14763 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14764 |
|
/* end confdefs.h. */ |
| 14760 |
– |
short int ascii_mm[] = |
| 14761 |
– |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 14762 |
– |
short int ascii_ii[] = |
| 14763 |
– |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 14764 |
– |
int use_ascii (int i) { |
| 14765 |
– |
return ascii_mm[i] + ascii_ii[i]; |
| 14766 |
– |
} |
| 14767 |
– |
short int ebcdic_ii[] = |
| 14768 |
– |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 14769 |
– |
short int ebcdic_mm[] = |
| 14770 |
– |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 14771 |
– |
int use_ebcdic (int i) { |
| 14772 |
– |
return ebcdic_mm[i] + ebcdic_ii[i]; |
| 14773 |
– |
} |
| 14774 |
– |
extern int foo; |
| 14765 |
|
|
| 14766 |
|
int |
| 14767 |
|
main () |
| 14768 |
|
{ |
| 14769 |
< |
return use_ascii (foo) == use_ebcdic (foo); |
| 14769 |
> |
|
| 14770 |
|
; |
| 14771 |
|
return 0; |
| 14772 |
|
} |
| 14773 |
|
_ACEOF |
| 14774 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14775 |
< |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| 14776 |
< |
ac_cv_c_bigendian=yes |
| 14777 |
< |
fi |
| 14788 |
< |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| 14789 |
< |
if test "$ac_cv_c_bigendian" = unknown; then |
| 14790 |
< |
ac_cv_c_bigendian=no |
| 14791 |
< |
else |
| 14792 |
< |
# finding both strings is unlikely to happen, but who knows? |
| 14793 |
< |
ac_cv_c_bigendian=unknown |
| 14794 |
< |
fi |
| 14795 |
< |
fi |
| 14775 |
> |
eval "$as_CACHEVAR=yes" |
| 14776 |
> |
else |
| 14777 |
> |
eval "$as_CACHEVAR=no" |
| 14778 |
|
fi |
| 14779 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14780 |
+ |
CFLAGS=$ax_check_save_flags |
| 14781 |
+ |
fi |
| 14782 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14783 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14784 |
+ |
$as_echo "$ac_res" >&6; } |
| 14785 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14786 |
+ |
|
| 14787 |
+ |
if ${CFLAGS+:} false; then : |
| 14788 |
+ |
|
| 14789 |
+ |
case " $CFLAGS " in #( |
| 14790 |
+ |
*" $flag "*) : |
| 14791 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14792 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14793 |
+ |
ac_status=$? |
| 14794 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14795 |
+ |
test $ac_status = 0; } ;; #( |
| 14796 |
+ |
*) : |
| 14797 |
+ |
|
| 14798 |
+ |
as_fn_append CFLAGS " $flag" |
| 14799 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14800 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14801 |
+ |
ac_status=$? |
| 14802 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14803 |
+ |
test $ac_status = 0; } |
| 14804 |
+ |
;; |
| 14805 |
+ |
esac |
| 14806 |
+ |
|
| 14807 |
|
else |
| 14808 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14808 |
> |
|
| 14809 |
> |
CFLAGS=$flag |
| 14810 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14811 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14812 |
> |
ac_status=$? |
| 14813 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14814 |
> |
test $ac_status = 0; } |
| 14815 |
> |
|
| 14816 |
> |
fi |
| 14817 |
> |
|
| 14818 |
> |
else |
| 14819 |
> |
: |
| 14820 |
> |
fi |
| 14821 |
> |
|
| 14822 |
> |
done |
| 14823 |
> |
|
| 14824 |
> |
|
| 14825 |
> |
fi |
| 14826 |
> |
|
| 14827 |
> |
|
| 14828 |
> |
# Check whether --enable-efence was given. |
| 14829 |
> |
if test "${enable_efence+set}" = set; then : |
| 14830 |
> |
enableval=$enable_efence; efence="$enableval" |
| 14831 |
> |
else |
| 14832 |
> |
efence="no" |
| 14833 |
> |
fi |
| 14834 |
> |
|
| 14835 |
> |
|
| 14836 |
> |
if test "$efence" = "yes"; then : |
| 14837 |
> |
|
| 14838 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 14839 |
> |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 14840 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14841 |
> |
$as_echo_n "(cached) " >&6 |
| 14842 |
> |
else |
| 14843 |
> |
ac_func_search_save_LIBS=$LIBS |
| 14844 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14845 |
|
/* end confdefs.h. */ |
| 14846 |
< |
$ac_includes_default |
| 14846 |
> |
|
| 14847 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 14848 |
> |
Use char because int might match the return type of a GCC |
| 14849 |
> |
builtin and then its argument prototype would still apply. */ |
| 14850 |
> |
#ifdef __cplusplus |
| 14851 |
> |
extern "C" |
| 14852 |
> |
#endif |
| 14853 |
> |
char EF_Print (); |
| 14854 |
|
int |
| 14855 |
|
main () |
| 14856 |
|
{ |
| 14857 |
< |
|
| 14806 |
< |
/* Are we little or big endian? From Harbison&Steele. */ |
| 14807 |
< |
union |
| 14808 |
< |
{ |
| 14809 |
< |
long int l; |
| 14810 |
< |
char c[sizeof (long int)]; |
| 14811 |
< |
} u; |
| 14812 |
< |
u.l = 1; |
| 14813 |
< |
return u.c[sizeof (long int) - 1] == 1; |
| 14814 |
< |
|
| 14857 |
> |
return EF_Print (); |
| 14858 |
|
; |
| 14859 |
|
return 0; |
| 14860 |
|
} |
| 14861 |
|
_ACEOF |
| 14862 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14863 |
< |
ac_cv_c_bigendian=no |
| 14862 |
> |
for ac_lib in '' efence; do |
| 14863 |
> |
if test -z "$ac_lib"; then |
| 14864 |
> |
ac_res="none required" |
| 14865 |
> |
else |
| 14866 |
> |
ac_res=-l$ac_lib |
| 14867 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14868 |
> |
fi |
| 14869 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14870 |
> |
ac_cv_search_EF_Print=$ac_res |
| 14871 |
> |
fi |
| 14872 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14873 |
> |
conftest$ac_exeext |
| 14874 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14875 |
> |
break |
| 14876 |
> |
fi |
| 14877 |
> |
done |
| 14878 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14879 |
> |
|
| 14880 |
|
else |
| 14881 |
< |
ac_cv_c_bigendian=yes |
| 14881 |
> |
ac_cv_search_EF_Print=no |
| 14882 |
|
fi |
| 14883 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14884 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14883 |
> |
rm conftest.$ac_ext |
| 14884 |
> |
LIBS=$ac_func_search_save_LIBS |
| 14885 |
|
fi |
| 14886 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 14887 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 14888 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 14889 |
+ |
if test "$ac_res" != no; then : |
| 14890 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14891 |
|
|
| 14892 |
< |
fi |
| 14892 |
> |
else |
| 14893 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14894 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14895 |
> |
as_fn_error $? "Electric Fence 'efence' library not found |
| 14896 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 14897 |
|
fi |
| 14830 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 14831 |
– |
$as_echo "$ac_cv_c_bigendian" >&6; } |
| 14832 |
– |
case $ac_cv_c_bigendian in #( |
| 14833 |
– |
yes) |
| 14834 |
– |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 14835 |
– |
;; #( |
| 14836 |
– |
no) |
| 14837 |
– |
;; #( |
| 14838 |
– |
universal) |
| 14898 |
|
|
| 14840 |
– |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 14899 |
|
|
| 14900 |
< |
;; #( |
| 14901 |
< |
*) |
| 14902 |
< |
as_fn_error $? "unknown endianness |
| 14903 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 14904 |
< |
esac |
| 14900 |
> |
fi |
| 14901 |
> |
|
| 14902 |
> |
|
| 14903 |
> |
for ac_func in strlcpy strlcat |
| 14904 |
> |
do : |
| 14905 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14906 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14907 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14908 |
> |
cat >>confdefs.h <<_ACEOF |
| 14909 |
> |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14910 |
> |
_ACEOF |
| 14911 |
> |
|
| 14912 |
> |
fi |
| 14913 |
> |
done |
| 14914 |
|
|
| 14915 |
|
|
| 14916 |
|
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile" |
| 15052 |
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 15053 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 15054 |
|
fi |
| 14988 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14989 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14990 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14991 |
– |
fi |
| 14992 |
– |
|
| 15055 |
|
|
| 15056 |
|
: "${CONFIG_STATUS=./config.status}" |
| 15057 |
|
ac_write_fail=0 |
| 15449 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15450 |
|
# values after options handling. |
| 15451 |
|
ac_log=" |
| 15452 |
< |
This file was extended by hopm $as_me 1.1.0beta1, which was |
| 15452 |
> |
This file was extended by hopm $as_me 1.1.6, which was |
| 15453 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15454 |
|
|
| 15455 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15515 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15516 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15517 |
|
ac_cs_version="\\ |
| 15518 |
< |
hopm config.status 1.1.0beta1 |
| 15518 |
> |
hopm config.status 1.1.6 |
| 15519 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15520 |
|
with options \\"\$ac_cs_config\\" |
| 15521 |
|
|
| 15634 |
|
# |
| 15635 |
|
# INIT-COMMANDS |
| 15636 |
|
# |
| 15637 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 15637 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 15638 |
|
|
| 15639 |
|
|
| 15640 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 16534 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16535 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16536 |
|
# if we detect the quoting. |
| 16537 |
< |
case $CONFIG_FILES in |
| 16538 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 16539 |
< |
*) set x $CONFIG_FILES ;; |
| 16540 |
< |
esac |
| 16537 |
> |
# TODO: see whether this extra hack can be removed once we start |
| 16538 |
> |
# requiring Autoconf 2.70 or later. |
| 16539 |
> |
case $CONFIG_FILES in #( |
| 16540 |
> |
*\'*) : |
| 16541 |
> |
eval set x "$CONFIG_FILES" ;; #( |
| 16542 |
> |
*) : |
| 16543 |
> |
set x $CONFIG_FILES ;; #( |
| 16544 |
> |
*) : |
| 16545 |
> |
;; |
| 16546 |
> |
esac |
| 16547 |
|
shift |
| 16548 |
< |
for mf |
| 16548 |
> |
# Used to flag and report bootstrapping failures. |
| 16549 |
> |
am_rc=0 |
| 16550 |
> |
for am_mf |
| 16551 |
|
do |
| 16552 |
|
# Strip MF so we end up with the name of the file. |
| 16553 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 16554 |
< |
# Check whether this is an Automake generated Makefile or not. |
| 16555 |
< |
# We used to match only the files named 'Makefile.in', but |
| 16556 |
< |
# some people rename them; so instead we look at the file content. |
| 16487 |
< |
# Grep'ing the first line is not enough: some people post-process |
| 16488 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
| 16489 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 16553 |
> |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
| 16554 |
> |
# Check whether this is an Automake generated Makefile which includes |
| 16555 |
> |
# dependency-tracking related rules and includes. |
| 16556 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 16557 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
| 16558 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 16559 |
< |
dirpart=`$as_dirname -- "$mf" || |
| 16560 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16561 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 16562 |
< |
X"$mf" : 'X\(//\)$' \| \ |
| 16563 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16564 |
< |
$as_echo X"$mf" | |
| 16558 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 16559 |
> |
|| continue |
| 16560 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 16561 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16562 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 16563 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 16564 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16565 |
> |
$as_echo X"$am_mf" | |
| 16566 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16567 |
|
s//\1/ |
| 16568 |
|
q |
| 16580 |
|
q |
| 16581 |
|
} |
| 16582 |
|
s/.*/./; q'` |
| 16583 |
< |
else |
| 16584 |
< |
continue |
| 16585 |
< |
fi |
| 16586 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 16587 |
< |
# from the Makefile without running 'make'. |
| 16588 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16521 |
< |
test -z "$DEPDIR" && continue |
| 16522 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16523 |
< |
test -z "$am__include" && continue |
| 16524 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16525 |
< |
# Find all dependency output files, they are included files with |
| 16526 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 16527 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 16528 |
< |
# expansion. |
| 16529 |
< |
for file in `sed -n " |
| 16530 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 16531 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 16532 |
< |
# Make sure the directory exists. |
| 16533 |
< |
test -f "$dirpart/$file" && continue |
| 16534 |
< |
fdir=`$as_dirname -- "$file" || |
| 16535 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16536 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
| 16537 |
< |
X"$file" : 'X\(//\)$' \| \ |
| 16538 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 16539 |
< |
$as_echo X"$file" | |
| 16540 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16541 |
< |
s//\1/ |
| 16542 |
< |
q |
| 16543 |
< |
} |
| 16544 |
< |
/^X\(\/\/\)[^/].*/{ |
| 16583 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
| 16584 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 16585 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 16586 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16587 |
> |
$as_echo X/"$am_mf" | |
| 16588 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 16589 |
|
s//\1/ |
| 16590 |
|
q |
| 16591 |
|
} |
| 16592 |
< |
/^X\(\/\/\)$/{ |
| 16592 |
> |
/^X\/\(\/\/\)$/{ |
| 16593 |
|
s//\1/ |
| 16594 |
|
q |
| 16595 |
|
} |
| 16596 |
< |
/^X\(\/\).*/{ |
| 16596 |
> |
/^X\/\(\/\).*/{ |
| 16597 |
|
s//\1/ |
| 16598 |
|
q |
| 16599 |
|
} |
| 16600 |
|
s/.*/./; q'` |
| 16601 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 16602 |
< |
# echo "creating $dirpart/$file" |
| 16603 |
< |
echo '# dummy' > "$dirpart/$file" |
| 16604 |
< |
done |
| 16601 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 16602 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 16603 |
> |
| $MAKE -f - am--depfiles" >&5 |
| 16604 |
> |
(cd "$am_dirpart" \ |
| 16605 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 16606 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 16607 |
> |
ac_status=$? |
| 16608 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16609 |
> |
(exit $ac_status); } || am_rc=$? |
| 16610 |
|
done |
| 16611 |
+ |
if test $am_rc -ne 0; then |
| 16612 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16613 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16614 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 16615 |
+ |
for automatic dependency tracking. Try re-running configure with the |
| 16616 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
| 16617 |
+ |
the package (albeit without support for automatic dependency tracking). |
| 16618 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 16619 |
+ |
fi |
| 16620 |
+ |
{ am_dirpart=; unset am_dirpart;} |
| 16621 |
+ |
{ am_filepart=; unset am_filepart;} |
| 16622 |
+ |
{ am_mf=; unset am_mf;} |
| 16623 |
+ |
{ am_rc=; unset am_rc;} |
| 16624 |
+ |
rm -f conftest-deps.mk |
| 16625 |
|
} |
| 16626 |
|
;; |
| 16627 |
|
"libtool":C) |