ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/configure
(Generate patch)

Comparing:
hopm/trunk/configure (file contents), Revision 5333 by michael, Wed Jan 7 20:45:06 2015 UTC vs.
hopm/branches/1.1.x/configure (file contents), Revision 9988 by michael, Tue Jun 15 18:12:32 2021 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 5314 2015-01-06 13:27:34Z michael .
2 > # From configure.ac Id: configure.ac 9938 2021-05-15 13:27:09Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for hopm TRUNK.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.1.10.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 591 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='TRUNK'
595 < PACKAGE_STRING='hopm TRUNK'
594 > PACKAGE_VERSION='1.1.10'
595 > PACKAGE_STRING='hopm 1.1.10'
596   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
# Line 644 | Line 644 | LEX
644   YFLAGS
645   YACC
646   CPP
647 + LT_SYS_LIBRARY_PATH
648   OTOOL64
649   OTOOL
650   LIPO
# Line 680 | Line 681 | am__nodep
681   AMDEPBACKSLASH
682   AMDEP_FALSE
683   AMDEP_TRUE
683 am__quote
684   am__include
685   DEPDIR
686   OBJEXT
# Line 739 | Line 739 | infodir
739   docdir
740   oldincludedir
741   includedir
742 + runstatedir
743   localstatedir
744   sharedstatedir
745   sysconfdir
# Line 757 | Line 758 | PACKAGE_VERSION
758   PACKAGE_TARNAME
759   PACKAGE_NAME
760   PATH_SEPARATOR
761 < SHELL'
761 > SHELL
762 > am__quote'
763   ac_subst_files=''
764   ac_user_opts='
765   enable_option_checking
# Line 772 | Line 774 | with_aix_soname
774   with_gnu_ld
775   with_sysroot
776   enable_libtool_lock
777 + enable_openssl
778 + enable_assert
779 + enable_warnings
780 + enable_efence
781   '
782        ac_precious_vars='build_alias
783   host_alias
# Line 781 | Line 787 | CFLAGS
787   LDFLAGS
788   LIBS
789   CPPFLAGS
790 + LT_SYS_LIBRARY_PATH
791   CPP
792   YACC
793   YFLAGS'
# Line 822 | Line 829 | datadir='${datarootdir}'
829   sysconfdir='${prefix}/etc'
830   sharedstatedir='${prefix}/com'
831   localstatedir='${prefix}/var'
832 + runstatedir='${localstatedir}/run'
833   includedir='${prefix}/include'
834   oldincludedir='/usr/include'
835   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1074 | Line 1082 | do
1082    | -silent | --silent | --silen | --sile | --sil)
1083      silent=yes ;;
1084  
1085 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 +  | --runstate | --runstat | --runsta | --runst | --runs \
1087 +  | --run | --ru | --r)
1088 +    ac_prev=runstatedir ;;
1089 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 +  | --run=* | --ru=* | --r=*)
1092 +    runstatedir=$ac_optarg ;;
1093 +
1094    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095      ac_prev=sbindir ;;
1096    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1211 | Line 1228 | fi
1228   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229                  datadir sysconfdir sharedstatedir localstatedir includedir \
1230                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 <                libdir localedir mandir
1231 >                libdir localedir mandir runstatedir
1232   do
1233    eval ac_val=\$$ac_var
1234    # Remove trailing slashes.
# Line 1324 | Line 1341 | if test "$ac_init_help" = "long"; then
1341    # Omit some internal or obsolete options to make the list less imposing.
1342    # This message is too long to be a string in the A/UX 3.1 sh.
1343    cat <<_ACEOF
1344 < \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1344 > \`configure' configures hopm 1.1.10 to adapt to many kinds of systems.
1345  
1346   Usage: $0 [OPTION]... [VAR=VALUE]...
1347  
# Line 1364 | Line 1381 | Fine tuning of the installation director
1381    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1382    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1383    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1384 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1385    --libdir=DIR            object code libraries [EPREFIX/lib]
1386    --includedir=DIR        C header files [PREFIX/include]
1387    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1394 | Line 1412 | fi
1412  
1413   if test -n "$ac_init_help"; then
1414    case $ac_init_help in
1415 <     short | recursive ) echo "Configuration of hopm TRUNK:";;
1415 >     short | recursive ) echo "Configuration of hopm 1.1.10:";;
1416     esac
1417    cat <<\_ACEOF
1418  
# Line 1416 | Line 1434 | Optional Features:
1434    --enable-fast-install[=PKGS]
1435                            optimize for fast installation [default=yes]
1436    --disable-libtool-lock  avoid locking (might break parallel builds)
1437 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1438 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1439 +  --enable-assert         Enable assert() statements
1440 +  --enable-warnings       Enable compiler warnings.
1441 +  --enable-efence         Enable linking with Electric Fence 'efence' memory
1442 +                          debugger library.
1443  
1444   Optional Packages:
1445    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1437 | Line 1461 | Some influential environment variables:
1461    LIBS        libraries to pass to the linker, e.g. -l<library>
1462    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463                you have headers in a nonstandard directory <include dir>
1464 +  LT_SYS_LIBRARY_PATH
1465 +              User-defined run-time library search path.
1466    CPP         C preprocessor
1467    YACC        The `Yet Another Compiler Compiler' implementation to use.
1468                Defaults to the first program found out of: `bison -y', `byacc',
# Line 1511 | Line 1537 | fi
1537   test -n "$ac_init_help" && exit $ac_status
1538   if $ac_init_version; then
1539    cat <<\_ACEOF
1540 < hopm configure TRUNK
1540 > hopm configure 1.1.10
1541   generated by GNU Autoconf 2.69
1542  
1543   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1789 | Line 1815 | cat >config.log <<_ACEOF
1815   This file contains any messages produced by compilers while
1816   running configure, to aid debugging if configure makes a mistake.
1817  
1818 < It was created by hopm $as_me TRUNK, which was
1818 > It was created by hopm $as_me 1.1.10, which was
1819   generated by GNU Autoconf 2.69.  Invocation command line was
1820  
1821    $ $0 $@
# Line 2137 | Line 2163 | ac_link='$CC -o conftest$ac_exeext $CFLA
2163   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164  
2165  
2166 < am__api_version='1.14'
2166 > am__api_version='1.16'
2167  
2168   ac_aux_dir=
2169   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2338 | Line 2364 | test "$program_suffix" != NONE &&
2364   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2365   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2366  
2367 < # expand $ac_aux_dir to an absolute path
2368 < am_aux_dir=`cd $ac_aux_dir && pwd`
2367 > # Expand $ac_aux_dir to an absolute path.
2368 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2369  
2370   if test x"${MISSING+set}" != xset; then
2371    case $am_aux_dir in
# Line 2358 | Line 2384 | else
2384   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2385   fi
2386  
2387 < if test x"${install_sh}" != xset; then
2387 > if test x"${install_sh+set}" != xset; then
2388    case $am_aux_dir in
2389    *\ * | *\     *)
2390      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2652 | Line 2678 | fi
2678  
2679   # Define the identity of the package.
2680   PACKAGE='hopm'
2681 < VERSION='TRUNK'
2681 > VERSION='1.1.10'
2682  
2683  
2684   cat >>confdefs.h <<_ACEOF
# Line 2682 | Line 2708 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2708  
2709   # For better backward compatibility.  To be removed once Automake 1.9.x
2710   # dies out for good.  For more background, see:
2711 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2712 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2711 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2712 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2713   mkdir_p='$(MKDIR_P)'
2714  
2715 < # We need awk for the "check" target.  The system "awk" is bad on
2716 < # some platforms.
2715 > # We need awk for the "check" target (and possibly the TAP driver).  The
2716 > # system "awk" is bad on some platforms.
2717   # Always define AMTAR for backward compatibility.  Yes, it's still used
2718   # in the wild :-(  We should find a proper way to deprecate it ...
2719   AMTAR='$${TAR-tar}'
# Line 2734 | Line 2760 | END
2760   Aborting the configuration process, to ensure you take notice of the issue.
2761  
2762   You can download and install GNU coreutils to get an 'rm' implementation
2763 < that behaves properly: <http://www.gnu.org/software/coreutils/>.
2763 > that behaves properly: <https://www.gnu.org/software/coreutils/>.
2764  
2765   If you want to complete the configuration process using your problematic
2766   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
# Line 2745 | Line 2771 | END
2771    fi
2772   fi
2773  
2774 +
2775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2776   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2777      # Check whether --enable-maintainer-mode was given.
# Line 2772 | Line 2799 | ac_config_headers="$ac_config_headers sr
2799  
2800  
2801  
2802 +
2803   DEPDIR="${am__leading_dot}deps"
2804  
2805   ac_config_commands="$ac_config_commands depfiles"
2806  
2807 <
2808 < am_make=${MAKE-make}
2809 < cat > confinc << 'END'
2807 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2808 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2809 > cat > confinc.mk << 'END'
2810   am__doit:
2811 <        @echo this is the am__doit target
2811 >        @echo this is the am__doit target >confinc.out
2812   .PHONY: am__doit
2813   END
2786 # If we don't find an include directive, just comment out the code.
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2788 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2814   am__include="#"
2815   am__quote=
2816 < _am_result=none
2817 < # First try GNU make style include.
2818 < echo "include confinc" > confmf
2819 < # Ignore all kinds of additional output from 'make'.
2820 < case `$am_make -s -f confmf 2> /dev/null` in #(
2821 < *the\ am__doit\ target*)
2822 <  am__include=include
2823 <  am__quote=
2824 <  _am_result=GNU
2825 <  ;;
2826 < esac
2827 < # Now try BSD make style include.
2828 < if test "$am__include" = "#"; then
2829 <   echo '.include "confinc"' > confmf
2830 <   case `$am_make -s -f confmf 2> /dev/null` in #(
2831 <   *the\ am__doit\ target*)
2832 <     am__include=.include
2833 <     am__quote="\""
2834 <     _am_result=BSD
2816 > # BSD make does it like this.
2817 > echo '.include "confinc.mk" # ignored' > confmf.BSD
2818 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2819 > echo 'include confinc.mk # ignored' > confmf.GNU
2820 > _am_result=no
2821 > for s in GNU BSD; do
2822 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2823 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2824 >   ac_status=$?
2825 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 >   (exit $ac_status); }
2827 >  case $?:`cat confinc.out 2>/dev/null` in #(
2828 >  '0:this is the am__doit target') :
2829 >    case $s in #(
2830 >  BSD) :
2831 >    am__include='.include' am__quote='"' ;; #(
2832 >  *) :
2833 >    am__include='include' am__quote='' ;;
2834 > esac ;; #(
2835 >  *) :
2836       ;;
2837 <   esac
2838 < fi
2839 <
2840 <
2841 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2842 < $as_echo "$_am_result" >&6; }
2843 < rm -f confinc confmf
2837 > esac
2838 >  if test "$am__include" != "#"; then
2839 >    _am_result="yes ($s style)"
2840 >    break
2841 >  fi
2842 > done
2843 > rm -f confinc.* confmf.*
2844 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2845 > $as_echo "${_am_result}" >&6; }
2846  
2847   # Check whether --enable-dependency-tracking was given.
2848   if test "${enable_dependency_tracking+set}" = set; then :
# Line 3999 | Line 4027 | esac
4027  
4028  
4029  
4030 < macro_version='2.4.4'
4031 < macro_revision='2.4.4'
4030 > macro_version='2.4.6'
4031 > macro_revision='2.4.6'
4032  
4033  
4034  
# Line 5300 | Line 5328 | linux* | k*bsd*-gnu | kopensolaris*-gnu
5328    lt_cv_deplibs_check_method=pass_all
5329    ;;
5330  
5331 < netbsd*)
5331 > netbsd* | netbsdelf*-gnu)
5332    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5333      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5334    else
# Line 5663 | Line 5691 | esac
5691   fi
5692  
5693   : ${AR=ar}
5694 < : ${AR_FLAGS=cru}
5694 > : ${AR_FLAGS=cr}
5695  
5696  
5697  
# Line 6164 | Line 6192 | _LT_EOF
6192    test $ac_status = 0; }; then
6193      # Now try to grab the symbols.
6194      nlist=conftest.nm
6195 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6196 <  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6169 <  ac_status=$?
6170 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6171 <  test $ac_status = 0; } && test -s "$nlist"; then
6195 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6196 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6197        # Try sorting and uniquifying the output.
6198        if sort "$nlist" | uniq > "$nlist"T; then
6199          mv -f "$nlist"T "$nlist"
# Line 6423 | Line 6448 | $as_echo "$lt_cv_truncate_bin" >&6; }
6448  
6449  
6450  
6451 +
6452 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6453 + func_cc_basename ()
6454 + {
6455 +    for cc_temp in $*""; do
6456 +      case $cc_temp in
6457 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6458 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6459 +        \-*) ;;
6460 +        *) break;;
6461 +      esac
6462 +    done
6463 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6464 + }
6465 +
6466   # Check whether --enable-libtool-lock was given.
6467   if test "${enable_libtool_lock+set}" = set; then :
6468    enableval=$enable_libtool_lock;
# Line 7372 | Line 7412 | int forced_loaded() { return 2;}
7412   _LT_EOF
7413        echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7414        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7415 <      echo "$AR cru libconftest.a conftest.o" >&5
7416 <      $AR cru libconftest.a conftest.o 2>&5
7415 >      echo "$AR cr libconftest.a conftest.o" >&5
7416 >      $AR cr libconftest.a conftest.o 2>&5
7417        echo "$RANLIB libconftest.a" >&5
7418        $RANLIB libconftest.a 2>&5
7419        cat > conftest.c << _LT_EOF
# Line 7430 | Line 7470 | $as_echo "$lt_cv_ld_force_load" >&6; }
7470      ;;
7471    esac
7472  
7473 + # func_munge_path_list VARIABLE PATH
7474 + # -----------------------------------
7475 + # VARIABLE is name of variable containing _space_ separated list of
7476 + # directories to be munged by the contents of PATH, which is string
7477 + # having a format:
7478 + # "DIR[:DIR]:"
7479 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7480 + # ":DIR[:DIR]"
7481 + #       string "DIR[ DIR]" will be appended to VARIABLE
7482 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7483 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7484 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7485 + # "DIR[:DIR]"
7486 + #       VARIABLE will be replaced by "DIR[ DIR]"
7487 + func_munge_path_list ()
7488 + {
7489 +    case x$2 in
7490 +    x)
7491 +        ;;
7492 +    *:)
7493 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7494 +        ;;
7495 +    x:*)
7496 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7497 +        ;;
7498 +    *::*)
7499 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7500 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7501 +        ;;
7502 +    *)
7503 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7504 +        ;;
7505 +    esac
7506 + }
7507 +
7508   ac_ext=c
7509   ac_cpp='$CPP $CPPFLAGS'
7510   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8017 | Line 8092 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8092   test -z "$LD" && LD=ld
8093   test -z "$ac_objext" && ac_objext=o
8094  
8095 < for cc_temp in $compiler""; do
8096 <  case $cc_temp in
8022 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8023 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8024 <    \-*) ;;
8025 <    *) break;;
8026 <  esac
8027 < done
8028 < cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8095 > func_cc_basename $compiler
8096 > cc_basename=$func_cc_basename_result
8097  
8098  
8099   # Only perform the check for file, if the check method requires it
# Line 8225 | Line 8293 | _lt_linker_boilerplate=`cat conftest.err
8293   $RM -r conftest*
8294  
8295  
8296 + ## CAVEAT EMPTOR:
8297 + ## There is no encapsulation within the following macros, do not change
8298 + ## the running order or otherwise move them around unless you know exactly
8299 + ## what you are doing...
8300   if test -n "$compiler"; then
8301  
8302   lt_prog_compiler_no_builtin_flag=
# Line 8470 | Line 8542 | lt_prog_compiler_static=
8542          lt_prog_compiler_pic='-KPIC'
8543          lt_prog_compiler_static='-static'
8544          ;;
8545 +      # flang / f18. f95 an alias for gfortran or flang on Debian
8546 +      flang* | f18* | f95*)
8547 +        lt_prog_compiler_wl='-Wl,'
8548 +        lt_prog_compiler_pic='-fPIC'
8549 +        lt_prog_compiler_static='-static'
8550 +        ;;
8551        # icc used to be incompatible with GCC.
8552        # ICC 10 doesn't accept -KPIC any more.
8553        icc* | ifort*)
# Line 8946 | Line 9024 | $as_echo_n "checking whether the $compil
9024    openbsd* | bitrig*)
9025      with_gnu_ld=no
9026      ;;
9027 +  linux* | k*bsd*-gnu | gnu*)
9028 +    link_all_deplibs=no
9029 +    ;;
9030    esac
9031  
9032    ld_shlibs=yes
# Line 9200 | Line 9281 | _LT_EOF
9281        fi
9282        ;;
9283  
9284 <    netbsd*)
9284 >    netbsd* | netbsdelf*-gnu)
9285        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9286          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9287          wlarc=
# Line 9870 | Line 9951 | $as_echo "$lt_cv_irix_exported_symbol" >
9951          if test yes = "$lt_cv_irix_exported_symbol"; then
9952            archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
9953          fi
9954 +        link_all_deplibs=no
9955        else
9956          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
9957          archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
# Line 9891 | Line 9973 | $as_echo "$lt_cv_irix_exported_symbol" >
9973        esac
9974        ;;
9975  
9976 <    netbsd*)
9976 >    netbsd* | netbsdelf*-gnu)
9977        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9978          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9979        else
# Line 10480 | Line 10562 | hardcode_into_libs=no
10562   # flags to be left without arguments
10563   need_version=unknown
10564  
10565 +
10566 +
10567   case $host_os in
10568   aix3*)
10569    version_type=linux # correct to gnu/linux during the next big refactor
# Line 10768 | Line 10852 | freebsd* | dragonfly*)
10852    case $version_type in
10853      freebsd-elf*)
10854        library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855 +      soname_spec='$libname$release$shared_ext$major'
10856        need_version=no
10857        need_lib_prefix=no
10858        ;;
# Line 10827 | Line 10912 | hpux9* | hpux10* | hpux11*)
10912      soname_spec='$libname$release$shared_ext$major'
10913      if test 32 = "$HPUX_IA64_MODE"; then
10914        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10915 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10916      else
10917        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10918 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10919      fi
10833    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10920      ;;
10921    hppa*64*)
10922      shrext_cmds='.sl'
# Line 10982 | Line 11068 | fi
11068    # before this can be enabled.
11069    hardcode_into_libs=yes
11070  
11071 <  # Append ld.so.conf contents to the search path
11071 >  # Ideally, we could use ldconfig to report *all* directores which are
11072 >  # searched for libraries, however this is still not possible.  Aside from not
11073 >  # being certain /sbin/ldconfig is available, command
11074 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11075 >  # even though it is searched at run-time.  Try to do the best guess by
11076 >  # appending ld.so.conf contents (and includes) to the search path.
11077    if test -f /etc/ld.so.conf; then
11078      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11079      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 10997 | Line 11088 | fi
11088    dynamic_linker='GNU/Linux ld.so'
11089    ;;
11090  
11091 + netbsdelf*-gnu)
11092 +  version_type=linux
11093 +  need_lib_prefix=no
11094 +  need_version=no
11095 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11096 +  soname_spec='${libname}${release}${shared_ext}$major'
11097 +  shlibpath_var=LD_LIBRARY_PATH
11098 +  shlibpath_overrides_runpath=no
11099 +  hardcode_into_libs=yes
11100 +  dynamic_linker='NetBSD ld.elf_so'
11101 +  ;;
11102 +
11103   netbsd*)
11104    version_type=sunos
11105    need_lib_prefix=no
# Line 11207 | Line 11310 | fi
11310   if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11311    sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11312   fi
11313 +
11314   if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11315    sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11316   fi
11317  
11318 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11319 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11320 +
11321 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11322 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11323 +
11324 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11325 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11326 +
11327 +
11328 +
11329 +
11330 +
11331 +
11332  
11333  
11334  
# Line 12198 | Line 12316 | if test "$LEX" = :; then
12316    LEX=${am_missing_run}flex
12317   fi
12318  
12319 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12320 < $as_echo_n "checking for library containing socket... " >&6; }
12321 < if ${ac_cv_search_socket+:} false; then :
12319 >
12320 >
12321 >  if test "X$CC" != "X"; then
12322 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
12323 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
12324 > if ${ssp_cv_cc+:} false; then :
12325    $as_echo_n "(cached) " >&6
12326   else
12327 <  ac_func_search_save_LIBS=$LIBS
12328 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 >  ssp_old_cflags="$CFLAGS"
12328 >       CFLAGS="$CFLAGS -fstack-protector-strong"
12329 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330   /* end confdefs.h.  */
12331  
12210 /* Override any GCC internal prototype to avoid an error.
12211   Use char because int might match the return type of a GCC
12212   builtin and then its argument prototype would still apply.  */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char socket ();
12332   int
12333   main ()
12334   {
12335 < return socket ();
12335 >
12336    ;
12337    return 0;
12338   }
12339   _ACEOF
12340 < for ac_lib in '' socket; do
12341 <  if test -z "$ac_lib"; then
12342 <    ac_res="none required"
12343 <  else
12229 <    ac_res=-l$ac_lib
12230 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12231 <  fi
12232 <  if ac_fn_c_try_link "$LINENO"; then :
12233 <  ac_cv_search_socket=$ac_res
12340 > if ac_fn_c_try_compile "$LINENO"; then :
12341 >  ssp_cv_cc=yes
12342 > else
12343 >  ssp_cv_cc=no
12344   fi
12345 < rm -f core conftest.err conftest.$ac_objext \
12346 <    conftest$ac_exeext
12347 <  if ${ac_cv_search_socket+:} false; then :
12238 <  break
12345 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 >       CFLAGS="$ssp_old_cflags"
12347 >
12348   fi
12349 < done
12350 < if ${ac_cv_search_socket+:} false; then :
12349 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12350 > $as_echo "$ssp_cv_cc" >&6; }
12351 >    if test $ssp_cv_cc = yes; then
12352 >      CFLAGS="$CFLAGS -fstack-protector-strong"
12353 >
12354 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12355 >
12356 >    else
12357 >      unset ssp_cv_cc
12358 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
12359 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
12360 > if ${ssp_cv_cc+:} false; then :
12361 >  $as_echo_n "(cached) " >&6
12362 > else
12363 >  ssp_old_cflags="$CFLAGS"
12364 >         CFLAGS="$CFLAGS -fstack-protector"
12365 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 > /* end confdefs.h.  */
12367 >
12368 > int
12369 > main ()
12370 > {
12371  
12372 +  ;
12373 +  return 0;
12374 + }
12375 + _ACEOF
12376 + if ac_fn_c_try_compile "$LINENO"; then :
12377 +  ssp_cv_cc=yes
12378   else
12379 <  ac_cv_search_socket=no
12379 >  ssp_cv_cc=no
12380   fi
12381 < rm conftest.$ac_ext
12382 < LIBS=$ac_func_search_save_LIBS
12381 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12382 >         CFLAGS="$ssp_old_cflags"
12383 >
12384   fi
12385 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12386 < $as_echo "$ac_cv_search_socket" >&6; }
12387 < ac_res=$ac_cv_search_socket
12388 < if test "$ac_res" != no; then :
12389 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12385 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12386 > $as_echo "$ssp_cv_cc" >&6; }
12387 >      if test $ssp_cv_cc = yes; then
12388 >        CFLAGS="$CFLAGS -fstack-protector"
12389 >
12390 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
12391 >
12392 >      fi
12393 >    fi
12394 >  fi
12395 >
12396  
12397 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12398 + $as_echo_n "checking whether libssp exists... " >&6; }
12399 + if ${ssp_cv_lib+:} false; then :
12400 +  $as_echo_n "(cached) " >&6
12401   else
12402 <  as_fn_error $? "socket library not found" "$LINENO" 5
12402 >  ssp_old_libs="$LIBS"
12403 >     LIBS="$LIBS -lssp"
12404 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 > /* end confdefs.h.  */
12406 >
12407 > int
12408 > main ()
12409 > {
12410 >
12411 >  ;
12412 >  return 0;
12413 > }
12414 > _ACEOF
12415 > if ac_fn_c_try_link "$LINENO"; then :
12416 >  ssp_cv_lib=yes
12417 > else
12418 >  ssp_cv_lib=no
12419   fi
12420 + rm -f core conftest.err conftest.$ac_objext \
12421 +    conftest$ac_exeext conftest.$ac_ext
12422 +     LIBS="$ssp_old_libs"
12423 +
12424 + fi
12425 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
12426 + $as_echo "$ssp_cv_lib" >&6; }
12427 +  if test $ssp_cv_lib = yes; then
12428 +    LIBS="$LIBS -lssp"
12429 +  fi
12430 +
12431  
12432 < ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12432 >
12433 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12434   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12435  
12436   else
# Line 12318 | Line 12492 | fi
12492  
12493   fi
12494  
12495 < ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12495 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12496   if test "x$ac_cv_func_getnameinfo" = xyes; then :
12497  
12498   else
# Line 12380 | Line 12554 | fi
12554  
12555   fi
12556  
12557 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12558 + $as_echo_n "checking for library containing socket... " >&6; }
12559 + if ${ac_cv_search_socket+:} false; then :
12560 +  $as_echo_n "(cached) " >&6
12561 + else
12562 +  ac_func_search_save_LIBS=$LIBS
12563 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 + /* end confdefs.h.  */
12565  
12566 < for ac_func in strlcpy strlcat
12567 < do :
12568 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12569 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12570 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12566 > /* Override any GCC internal prototype to avoid an error.
12567 >   Use char because int might match the return type of a GCC
12568 >   builtin and then its argument prototype would still apply.  */
12569 > #ifdef __cplusplus
12570 > extern "C"
12571 > #endif
12572 > char socket ();
12573 > int
12574 > main ()
12575 > {
12576 > return socket ();
12577 >  ;
12578 >  return 0;
12579 > }
12580 > _ACEOF
12581 > for ac_lib in '' socket; do
12582 >  if test -z "$ac_lib"; then
12583 >    ac_res="none required"
12584 >  else
12585 >    ac_res=-l$ac_lib
12586 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12587 >  fi
12588 >  if ac_fn_c_try_link "$LINENO"; then :
12589 >  ac_cv_search_socket=$ac_res
12590 > fi
12591 > rm -f core conftest.err conftest.$ac_objext \
12592 >    conftest$ac_exeext
12593 >  if ${ac_cv_search_socket+:} false; then :
12594 >  break
12595 > fi
12596 > done
12597 > if ${ac_cv_search_socket+:} false; then :
12598 >
12599 > else
12600 >  ac_cv_search_socket=no
12601 > fi
12602 > rm conftest.$ac_ext
12603 > LIBS=$ac_func_search_save_LIBS
12604 > fi
12605 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12606 > $as_echo "$ac_cv_search_socket" >&6; }
12607 > ac_res=$ac_cv_search_socket
12608 > if test "$ac_res" != no; then :
12609 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12610 >
12611 > else
12612 >  as_fn_error $? "socket library not found" "$LINENO" 5
12613 > fi
12614 >
12615 >
12616 >
12617 > # Check whether --enable-openssl was given.
12618 > if test "${enable_openssl+set}" = set; then :
12619 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
12620 > else
12621 >   cf_enable_openssl="auto"
12622 > fi
12623 >
12624 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
12625 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
12626 > if test "$cf_enable_openssl" != "no"; then
12627 >  cf_openssl_basedir=""
12628 >  if test "$cf_enable_openssl" != "auto" &&
12629 >     test "$cf_enable_openssl" != "yes"; then
12630 >          cf_openssl_basedir="${cf_enable_openssl}"
12631 >  else
12632 >        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12633 >                /opt /opt/openssl /usr/local/openssl; do
12634 >      if test -f "${dirs}/include/openssl/opensslv.h"; then
12635 >        cf_openssl_basedir="${dirs}"
12636 >        break
12637 >      fi
12638 >    done
12639 >    unset dirs
12640 >  fi
12641 >
12642 >    if test ! -z "$cf_openssl_basedir"; then
12643 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
12644 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
12645 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
12646 >    else
12647 >                  cf_openssl_basedir=""
12648 >    fi
12649 >  else
12650 >                            if test -f "/usr/include/openssl/opensslv.h"; then
12651 >      cf_openssl_basedir="/usr"
12652 >    fi
12653 >  fi
12654 >
12655 >      if test ! -z "$cf_openssl_basedir"; then
12656 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12657 > $as_echo "$cf_openssl_basedir" >&6; }
12658 >    cf_enable_openssl="yes"
12659 >  else
12660 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12661 > $as_echo "not found. Please check your path." >&6; }
12662 >    cf_enable_openssl="no"
12663 >  fi
12664 >  unset cf_openssl_basedir
12665 > else
12666 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12667 > $as_echo "disabled" >&6; }
12668 > fi
12669 >
12670 > if test "$cf_enable_openssl" != "no"; then :
12671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
12672 > $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
12673 >  if test "$cross_compiling" = yes; then :
12674 >  cf_openssl_version_ok=no
12675 > else
12676 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 > /* end confdefs.h.  */
12678 >
12679 >
12680 >    #include <openssl/opensslv.h>
12681 >    #include <stdlib.h>
12682 > int
12683 > main ()
12684 > {
12685 > exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
12686 >  ;
12687 >  return 0;
12688 > }
12689 > _ACEOF
12690 > if ac_fn_c_try_run "$LINENO"; then :
12691 >  cf_openssl_version_ok=yes
12692 > else
12693 >  cf_openssl_version_ok=no
12694 > fi
12695 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12696 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
12697 > fi
12698 >
12699 >
12700 >  if test "$cf_openssl_version_ok" = "yes"; then :
12701 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12702 > $as_echo "found" >&6; }
12703 >
12704 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
12705 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
12706 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
12707 >  $as_echo_n "(cached) " >&6
12708 > else
12709 >  ac_check_lib_save_LIBS=$LIBS
12710 > LIBS="-lcrypto  $LIBS"
12711 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 > /* end confdefs.h.  */
12713 >
12714 > /* Override any GCC internal prototype to avoid an error.
12715 >   Use char because int might match the return type of a GCC
12716 >   builtin and then its argument prototype would still apply.  */
12717 > #ifdef __cplusplus
12718 > extern "C"
12719 > #endif
12720 > char RSA_free ();
12721 > int
12722 > main ()
12723 > {
12724 > return RSA_free ();
12725 >  ;
12726 >  return 0;
12727 > }
12728 > _ACEOF
12729 > if ac_fn_c_try_link "$LINENO"; then :
12730 >  ac_cv_lib_crypto_RSA_free=yes
12731 > else
12732 >  ac_cv_lib_crypto_RSA_free=no
12733 > fi
12734 > rm -f core conftest.err conftest.$ac_objext \
12735 >    conftest$ac_exeext conftest.$ac_ext
12736 > LIBS=$ac_check_lib_save_LIBS
12737 > fi
12738 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12739 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12740 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
12741    cat >>confdefs.h <<_ACEOF
12742 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12742 > #define HAVE_LIBCRYPTO 1
12743   _ACEOF
12744  
12745 +  LIBS="-lcrypto $LIBS"
12746 +
12747   fi
12748 +
12749 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12750 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
12751 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
12752 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
12753 +  $as_echo_n "(cached) " >&6
12754 + else
12755 +  ac_check_lib_save_LIBS=$LIBS
12756 + LIBS="-lssl  $LIBS"
12757 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 + /* end confdefs.h.  */
12759 +
12760 + /* Override any GCC internal prototype to avoid an error.
12761 +   Use char because int might match the return type of a GCC
12762 +   builtin and then its argument prototype would still apply.  */
12763 + #ifdef __cplusplus
12764 + extern "C"
12765 + #endif
12766 + char SSL_connect ();
12767 + int
12768 + main ()
12769 + {
12770 + return SSL_connect ();
12771 +  ;
12772 +  return 0;
12773 + }
12774 + _ACEOF
12775 + if ac_fn_c_try_link "$LINENO"; then :
12776 +  ac_cv_lib_ssl_SSL_connect=yes
12777 + else
12778 +  ac_cv_lib_ssl_SSL_connect=no
12779 + fi
12780 + rm -f core conftest.err conftest.$ac_objext \
12781 +    conftest$ac_exeext conftest.$ac_ext
12782 + LIBS=$ac_check_lib_save_LIBS
12783 + fi
12784 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
12785 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
12786 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
12787 +  cat >>confdefs.h <<_ACEOF
12788 + #define HAVE_LIBSSL 1
12789 + _ACEOF
12790 +
12791 +  LIBS="-lssl $LIBS"
12792 +
12793 + fi
12794 +
12795 + fi
12796 +
12797 + else
12798 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
12799 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
12800 +    cf_enable_openssl="no"
12801 + fi
12802 + fi
12803 +
12804 +
12805 +  # Check whether --enable-assert was given.
12806 + if test "${enable_assert+set}" = set; then :
12807 +  enableval=$enable_assert; assert=$enableval
12808 + else
12809 +  assert=no
12810 + fi
12811 +
12812 +
12813 +  if test "$assert" = "no"; then :
12814 +
12815 + $as_echo "#define NDEBUG 1" >>confdefs.h
12816 +
12817 + fi
12818 +
12819 +
12820 +  # Check whether --enable-warnings was given.
12821 + if test "${enable_warnings+set}" = set; then :
12822 +  enableval=$enable_warnings; warnings="$enableval"
12823 + else
12824 +  warnings="no"
12825 + fi
12826 +
12827 +
12828 +  if test "$warnings" = "yes"; then :
12829 +
12830 +
12831 +
12832 +
12833 +
12834 + for flag in -Werror=unknown-warning-option; do
12835 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12836 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12837 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12838 + if eval \${$as_CACHEVAR+:} false; then :
12839 +  $as_echo_n "(cached) " >&6
12840 + else
12841 +
12842 +  ax_check_save_flags=$CFLAGS
12843 +  CFLAGS="$CFLAGS  $flag"
12844 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 + /* end confdefs.h.  */
12846 +
12847 + int
12848 + main ()
12849 + {
12850 +
12851 +  ;
12852 +  return 0;
12853 + }
12854 + _ACEOF
12855 + if ac_fn_c_try_compile "$LINENO"; then :
12856 +  eval "$as_CACHEVAR=yes"
12857 + else
12858 +  eval "$as_CACHEVAR=no"
12859 + fi
12860 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 +  CFLAGS=$ax_check_save_flags
12862 + fi
12863 + eval ac_res=\$$as_CACHEVAR
12864 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12865 + $as_echo "$ac_res" >&6; }
12866 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12867 +
12868 + if ${CFLAGS+:} false; then :
12869 +
12870 +  case " $CFLAGS " in #(
12871 +  *" $flag "*) :
12872 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12873 +  (: CFLAGS already contains $flag) 2>&5
12874 +  ac_status=$?
12875 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 +  test $ac_status = 0; } ;; #(
12877 +  *) :
12878 +
12879 +     as_fn_append CFLAGS " $flag"
12880 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12881 +  (: CFLAGS="$CFLAGS") 2>&5
12882 +  ac_status=$?
12883 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 +  test $ac_status = 0; }
12885 +     ;;
12886 + esac
12887 +
12888 + else
12889 +
12890 +  CFLAGS=$flag
12891 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12892 +  (: CFLAGS="$CFLAGS") 2>&5
12893 +  ac_status=$?
12894 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12895 +  test $ac_status = 0; }
12896 +
12897 + fi
12898 +
12899 + else
12900 +  :
12901 + fi
12902 +
12903   done
12904  
12905  
12906 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12907 < $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12908 < if ${ac_cv_c_bigendian+:} false; then :
12906 >
12907 >
12908 >
12909 >
12910 > for flag in -Wall; do
12911 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12912 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12913 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12914 > if eval \${$as_CACHEVAR+:} false; then :
12915    $as_echo_n "(cached) " >&6
12916   else
12917 <  ac_cv_c_bigendian=unknown
12918 <    # See if we're dealing with a universal compiler.
12919 <    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 >
12918 >  ax_check_save_flags=$CFLAGS
12919 >  CFLAGS="$CFLAGS  $flag"
12920 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921   /* end confdefs.h.  */
12406 #ifndef __APPLE_CC__
12407               not a universal capable compiler
12408             #endif
12409             typedef int dummy;
12922  
12923 + int
12924 + main ()
12925 + {
12926 +
12927 +  ;
12928 +  return 0;
12929 + }
12930   _ACEOF
12931   if ac_fn_c_try_compile "$LINENO"; then :
12932 +  eval "$as_CACHEVAR=yes"
12933 + else
12934 +  eval "$as_CACHEVAR=no"
12935 + fi
12936 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12937 +  CFLAGS=$ax_check_save_flags
12938 + fi
12939 + eval ac_res=\$$as_CACHEVAR
12940 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12941 + $as_echo "$ac_res" >&6; }
12942 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12943  
12944 <        # Check for potential -arch flags.  It is not universal unless
12945 <        # there are at least two -arch flags with different values.
12946 <        ac_arch=
12947 <        ac_prev=
12948 <        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12949 <         if test -n "$ac_prev"; then
12950 <           case $ac_word in
12951 <             i?86 | x86_64 | ppc | ppc64)
12952 <               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12953 <                 ac_arch=$ac_word
12954 <               else
12955 <                 ac_cv_c_bigendian=universal
12956 <                 break
12957 <               fi
12958 <               ;;
12959 <           esac
12960 <           ac_prev=
12961 <         elif test "x$ac_word" = "x-arch"; then
12962 <           ac_prev=arch
12963 <         fi
12964 <       done
12944 > if ${CFLAGS+:} false; then :
12945 >
12946 >  case " $CFLAGS " in #(
12947 >  *" $flag "*) :
12948 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12949 >  (: CFLAGS already contains $flag) 2>&5
12950 >  ac_status=$?
12951 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12952 >  test $ac_status = 0; } ;; #(
12953 >  *) :
12954 >
12955 >     as_fn_append CFLAGS " $flag"
12956 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12957 >  (: CFLAGS="$CFLAGS") 2>&5
12958 >  ac_status=$?
12959 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12960 >  test $ac_status = 0; }
12961 >     ;;
12962 > esac
12963 >
12964 > else
12965 >
12966 >  CFLAGS=$flag
12967 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12968 >  (: CFLAGS="$CFLAGS") 2>&5
12969 >  ac_status=$?
12970 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12971 >  test $ac_status = 0; }
12972 >
12973 > fi
12974 >
12975 > else
12976 >  :
12977 > fi
12978 >
12979 > done
12980 >
12981 >
12982 >
12983 >
12984 >
12985 > for flag in -Wbad-function-cast; do
12986 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12987 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12988 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12989 > if eval \${$as_CACHEVAR+:} false; then :
12990 >  $as_echo_n "(cached) " >&6
12991 > else
12992 >
12993 >  ax_check_save_flags=$CFLAGS
12994 >  CFLAGS="$CFLAGS  $flag"
12995 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 > /* end confdefs.h.  */
12997 >
12998 > int
12999 > main ()
13000 > {
13001 >
13002 >  ;
13003 >  return 0;
13004 > }
13005 > _ACEOF
13006 > if ac_fn_c_try_compile "$LINENO"; then :
13007 >  eval "$as_CACHEVAR=yes"
13008 > else
13009 >  eval "$as_CACHEVAR=no"
13010   fi
13011   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13012 <    if test $ac_cv_c_bigendian = unknown; then
13013 <      # See if sys/param.h defines the BYTE_ORDER macro.
13014 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 >  CFLAGS=$ax_check_save_flags
13013 > fi
13014 > eval ac_res=\$$as_CACHEVAR
13015 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13016 > $as_echo "$ac_res" >&6; }
13017 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13018 >
13019 > if ${CFLAGS+:} false; then :
13020 >
13021 >  case " $CFLAGS " in #(
13022 >  *" $flag "*) :
13023 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13024 >  (: CFLAGS already contains $flag) 2>&5
13025 >  ac_status=$?
13026 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13027 >  test $ac_status = 0; } ;; #(
13028 >  *) :
13029 >
13030 >     as_fn_append CFLAGS " $flag"
13031 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13032 >  (: CFLAGS="$CFLAGS") 2>&5
13033 >  ac_status=$?
13034 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13035 >  test $ac_status = 0; }
13036 >     ;;
13037 > esac
13038 >
13039 > else
13040 >
13041 >  CFLAGS=$flag
13042 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13043 >  (: CFLAGS="$CFLAGS") 2>&5
13044 >  ac_status=$?
13045 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13046 >  test $ac_status = 0; }
13047 >
13048 > fi
13049 >
13050 > else
13051 >  :
13052 > fi
13053 >
13054 > done
13055 >
13056 >
13057 >
13058 >
13059 >
13060 > for flag in -Wcast-align; do
13061 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13062 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13063 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13064 > if eval \${$as_CACHEVAR+:} false; then :
13065 >  $as_echo_n "(cached) " >&6
13066 > else
13067 >
13068 >  ax_check_save_flags=$CFLAGS
13069 >  CFLAGS="$CFLAGS  $flag"
13070 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071   /* end confdefs.h.  */
12441 #include <sys/types.h>
12442             #include <sys/param.h>
13072  
13073   int
13074   main ()
13075   {
12447 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12448                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12449                     && LITTLE_ENDIAN)
12450              bogus endian macros
12451             #endif
13076  
13077    ;
13078    return 0;
13079   }
13080   _ACEOF
13081   if ac_fn_c_try_compile "$LINENO"; then :
13082 <  # It does; now see whether it defined to BIG_ENDIAN or not.
13083 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 >  eval "$as_CACHEVAR=yes"
13083 > else
13084 >  eval "$as_CACHEVAR=no"
13085 > fi
13086 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13087 >  CFLAGS=$ax_check_save_flags
13088 > fi
13089 > eval ac_res=\$$as_CACHEVAR
13090 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13091 > $as_echo "$ac_res" >&6; }
13092 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13093 >
13094 > if ${CFLAGS+:} false; then :
13095 >
13096 >  case " $CFLAGS " in #(
13097 >  *" $flag "*) :
13098 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13099 >  (: CFLAGS already contains $flag) 2>&5
13100 >  ac_status=$?
13101 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 >  test $ac_status = 0; } ;; #(
13103 >  *) :
13104 >
13105 >     as_fn_append CFLAGS " $flag"
13106 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13107 >  (: CFLAGS="$CFLAGS") 2>&5
13108 >  ac_status=$?
13109 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110 >  test $ac_status = 0; }
13111 >     ;;
13112 > esac
13113 >
13114 > else
13115 >
13116 >  CFLAGS=$flag
13117 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13118 >  (: CFLAGS="$CFLAGS") 2>&5
13119 >  ac_status=$?
13120 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 >  test $ac_status = 0; }
13122 >
13123 > fi
13124 >
13125 > else
13126 >  :
13127 > fi
13128 >
13129 > done
13130 >
13131 >
13132 >
13133 >
13134 >
13135 > for flag in -Wcast-function-type; do
13136 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13137 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13138 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13139 > if eval \${$as_CACHEVAR+:} false; then :
13140 >  $as_echo_n "(cached) " >&6
13141 > else
13142 >
13143 >  ax_check_save_flags=$CFLAGS
13144 >  CFLAGS="$CFLAGS  $flag"
13145 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146   /* end confdefs.h.  */
12461 #include <sys/types.h>
12462                #include <sys/param.h>
13147  
13148   int
13149   main ()
13150   {
12467 #if BYTE_ORDER != BIG_ENDIAN
12468                 not big endian
12469                #endif
13151  
13152    ;
13153    return 0;
13154   }
13155   _ACEOF
13156   if ac_fn_c_try_compile "$LINENO"; then :
13157 <  ac_cv_c_bigendian=yes
13157 >  eval "$as_CACHEVAR=yes"
13158   else
13159 <  ac_cv_c_bigendian=no
13159 >  eval "$as_CACHEVAR=no"
13160   fi
13161   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13162 +  CFLAGS=$ax_check_save_flags
13163 + fi
13164 + eval ac_res=\$$as_CACHEVAR
13165 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13166 + $as_echo "$ac_res" >&6; }
13167 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13168 +
13169 + if ${CFLAGS+:} false; then :
13170 +
13171 +  case " $CFLAGS " in #(
13172 +  *" $flag "*) :
13173 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13174 +  (: CFLAGS already contains $flag) 2>&5
13175 +  ac_status=$?
13176 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13177 +  test $ac_status = 0; } ;; #(
13178 +  *) :
13179 +
13180 +     as_fn_append CFLAGS " $flag"
13181 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13182 +  (: CFLAGS="$CFLAGS") 2>&5
13183 +  ac_status=$?
13184 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 +  test $ac_status = 0; }
13186 +     ;;
13187 + esac
13188 +
13189 + else
13190 +
13191 +  CFLAGS=$flag
13192 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13193 +  (: CFLAGS="$CFLAGS") 2>&5
13194 +  ac_status=$?
13195 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13196 +  test $ac_status = 0; }
13197 +
13198 + fi
13199 +
13200 + else
13201 +  :
13202 + fi
13203 +
13204 + done
13205 +
13206 +
13207 +
13208 +
13209 +
13210 + for flag in -Wcast-qual; do
13211 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13212 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13213 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13214 + if eval \${$as_CACHEVAR+:} false; then :
13215 +  $as_echo_n "(cached) " >&6
13216 + else
13217 +
13218 +  ax_check_save_flags=$CFLAGS
13219 +  CFLAGS="$CFLAGS  $flag"
13220 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 + /* end confdefs.h.  */
13222 +
13223 + int
13224 + main ()
13225 + {
13226 +
13227 +  ;
13228 +  return 0;
13229 + }
13230 + _ACEOF
13231 + if ac_fn_c_try_compile "$LINENO"; then :
13232 +  eval "$as_CACHEVAR=yes"
13233 + else
13234 +  eval "$as_CACHEVAR=no"
13235   fi
13236   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 <    fi
13238 <    if test $ac_cv_c_bigendian = unknown; then
13239 <      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13240 <      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 >  CFLAGS=$ax_check_save_flags
13238 > fi
13239 > eval ac_res=\$$as_CACHEVAR
13240 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13241 > $as_echo "$ac_res" >&6; }
13242 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13243 >
13244 > if ${CFLAGS+:} false; then :
13245 >
13246 >  case " $CFLAGS " in #(
13247 >  *" $flag "*) :
13248 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13249 >  (: CFLAGS already contains $flag) 2>&5
13250 >  ac_status=$?
13251 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252 >  test $ac_status = 0; } ;; #(
13253 >  *) :
13254 >
13255 >     as_fn_append CFLAGS " $flag"
13256 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13257 >  (: CFLAGS="$CFLAGS") 2>&5
13258 >  ac_status=$?
13259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 >  test $ac_status = 0; }
13261 >     ;;
13262 > esac
13263 >
13264 > else
13265 >
13266 >  CFLAGS=$flag
13267 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13268 >  (: CFLAGS="$CFLAGS") 2>&5
13269 >  ac_status=$?
13270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13271 >  test $ac_status = 0; }
13272 >
13273 > fi
13274 >
13275 > else
13276 >  :
13277 > fi
13278 >
13279 > done
13280 >
13281 >
13282 >
13283 >
13284 >
13285 > for flag in -Wclobbered; do
13286 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13287 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13288 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13289 > if eval \${$as_CACHEVAR+:} false; then :
13290 >  $as_echo_n "(cached) " >&6
13291 > else
13292 >
13293 >  ax_check_save_flags=$CFLAGS
13294 >  CFLAGS="$CFLAGS  $flag"
13295 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296   /* end confdefs.h.  */
12488 #include <limits.h>
13297  
13298   int
13299   main ()
13300   {
12493 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12494              bogus endian macros
12495             #endif
13301  
13302    ;
13303    return 0;
13304   }
13305   _ACEOF
13306   if ac_fn_c_try_compile "$LINENO"; then :
13307 <  # It does; now see whether it defined to _BIG_ENDIAN or not.
13308 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 >  eval "$as_CACHEVAR=yes"
13308 > else
13309 >  eval "$as_CACHEVAR=no"
13310 > fi
13311 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13312 >  CFLAGS=$ax_check_save_flags
13313 > fi
13314 > eval ac_res=\$$as_CACHEVAR
13315 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13316 > $as_echo "$ac_res" >&6; }
13317 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13318 >
13319 > if ${CFLAGS+:} false; then :
13320 >
13321 >  case " $CFLAGS " in #(
13322 >  *" $flag "*) :
13323 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13324 >  (: CFLAGS already contains $flag) 2>&5
13325 >  ac_status=$?
13326 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 >  test $ac_status = 0; } ;; #(
13328 >  *) :
13329 >
13330 >     as_fn_append CFLAGS " $flag"
13331 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13332 >  (: CFLAGS="$CFLAGS") 2>&5
13333 >  ac_status=$?
13334 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335 >  test $ac_status = 0; }
13336 >     ;;
13337 > esac
13338 >
13339 > else
13340 >
13341 >  CFLAGS=$flag
13342 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13343 >  (: CFLAGS="$CFLAGS") 2>&5
13344 >  ac_status=$?
13345 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13346 >  test $ac_status = 0; }
13347 >
13348 > fi
13349 >
13350 > else
13351 >  :
13352 > fi
13353 >
13354 > done
13355 >
13356 >
13357 >
13358 >
13359 >
13360 > for flag in -Wduplicated-cond; do
13361 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13362 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13363 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13364 > if eval \${$as_CACHEVAR+:} false; then :
13365 >  $as_echo_n "(cached) " >&6
13366 > else
13367 >
13368 >  ax_check_save_flags=$CFLAGS
13369 >  CFLAGS="$CFLAGS  $flag"
13370 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371   /* end confdefs.h.  */
12505 #include <limits.h>
13372  
13373   int
13374   main ()
13375   {
12510 #ifndef _BIG_ENDIAN
12511                 not big endian
12512                #endif
13376  
13377    ;
13378    return 0;
13379   }
13380   _ACEOF
13381   if ac_fn_c_try_compile "$LINENO"; then :
13382 <  ac_cv_c_bigendian=yes
13382 >  eval "$as_CACHEVAR=yes"
13383   else
13384 <  ac_cv_c_bigendian=no
13384 >  eval "$as_CACHEVAR=no"
13385   fi
13386   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13387 +  CFLAGS=$ax_check_save_flags
13388 + fi
13389 + eval ac_res=\$$as_CACHEVAR
13390 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13391 + $as_echo "$ac_res" >&6; }
13392 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13393 +
13394 + if ${CFLAGS+:} false; then :
13395 +
13396 +  case " $CFLAGS " in #(
13397 +  *" $flag "*) :
13398 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13399 +  (: CFLAGS already contains $flag) 2>&5
13400 +  ac_status=$?
13401 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13402 +  test $ac_status = 0; } ;; #(
13403 +  *) :
13404 +
13405 +     as_fn_append CFLAGS " $flag"
13406 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13407 +  (: CFLAGS="$CFLAGS") 2>&5
13408 +  ac_status=$?
13409 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 +  test $ac_status = 0; }
13411 +     ;;
13412 + esac
13413 +
13414 + else
13415 +
13416 +  CFLAGS=$flag
13417 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13418 +  (: CFLAGS="$CFLAGS") 2>&5
13419 +  ac_status=$?
13420 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13421 +  test $ac_status = 0; }
13422 +
13423 + fi
13424 +
13425 + else
13426 +  :
13427 + fi
13428 +
13429 + done
13430 +
13431 +
13432 +
13433 +
13434 +
13435 + for flag in -Wempty-body; do
13436 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13437 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13438 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13439 + if eval \${$as_CACHEVAR+:} false; then :
13440 +  $as_echo_n "(cached) " >&6
13441 + else
13442 +
13443 +  ax_check_save_flags=$CFLAGS
13444 +  CFLAGS="$CFLAGS  $flag"
13445 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 + /* end confdefs.h.  */
13447 +
13448 + int
13449 + main ()
13450 + {
13451 +
13452 +  ;
13453 +  return 0;
13454 + }
13455 + _ACEOF
13456 + if ac_fn_c_try_compile "$LINENO"; then :
13457 +  eval "$as_CACHEVAR=yes"
13458 + else
13459 +  eval "$as_CACHEVAR=no"
13460   fi
13461   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 <    fi
13463 <    if test $ac_cv_c_bigendian = unknown; then
13464 <      # Compile a test program.
13465 <      if test "$cross_compiling" = yes; then :
13466 <  # Try to guess by grepping values from an object file.
13467 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 >  CFLAGS=$ax_check_save_flags
13463 > fi
13464 > eval ac_res=\$$as_CACHEVAR
13465 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13466 > $as_echo "$ac_res" >&6; }
13467 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13468 >
13469 > if ${CFLAGS+:} false; then :
13470 >
13471 >  case " $CFLAGS " in #(
13472 >  *" $flag "*) :
13473 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13474 >  (: CFLAGS already contains $flag) 2>&5
13475 >  ac_status=$?
13476 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13477 >  test $ac_status = 0; } ;; #(
13478 >  *) :
13479 >
13480 >     as_fn_append CFLAGS " $flag"
13481 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13482 >  (: CFLAGS="$CFLAGS") 2>&5
13483 >  ac_status=$?
13484 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13485 >  test $ac_status = 0; }
13486 >     ;;
13487 > esac
13488 >
13489 > else
13490 >
13491 >  CFLAGS=$flag
13492 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13493 >  (: CFLAGS="$CFLAGS") 2>&5
13494 >  ac_status=$?
13495 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13496 >  test $ac_status = 0; }
13497 >
13498 > fi
13499 >
13500 > else
13501 >  :
13502 > fi
13503 >
13504 > done
13505 >
13506 >
13507 >
13508 >
13509 >
13510 > for flag in -Wignored-qualifiers; do
13511 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13512 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13513 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13514 > if eval \${$as_CACHEVAR+:} false; then :
13515 >  $as_echo_n "(cached) " >&6
13516 > else
13517 >
13518 >  ax_check_save_flags=$CFLAGS
13519 >  CFLAGS="$CFLAGS  $flag"
13520 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521   /* end confdefs.h.  */
12533 short int ascii_mm[] =
12534                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12535                short int ascii_ii[] =
12536                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12537                int use_ascii (int i) {
12538                  return ascii_mm[i] + ascii_ii[i];
12539                }
12540                short int ebcdic_ii[] =
12541                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12542                short int ebcdic_mm[] =
12543                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12544                int use_ebcdic (int i) {
12545                  return ebcdic_mm[i] + ebcdic_ii[i];
12546                }
12547                extern int foo;
13522  
13523   int
13524   main ()
13525   {
13526 < return use_ascii (foo) == use_ebcdic (foo);
13526 >
13527    ;
13528    return 0;
13529   }
13530   _ACEOF
13531   if ac_fn_c_try_compile "$LINENO"; then :
13532 <  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13533 <              ac_cv_c_bigendian=yes
13534 <            fi
12561 <            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12562 <              if test "$ac_cv_c_bigendian" = unknown; then
12563 <                ac_cv_c_bigendian=no
12564 <              else
12565 <                # finding both strings is unlikely to happen, but who knows?
12566 <                ac_cv_c_bigendian=unknown
12567 <              fi
12568 <            fi
13532 >  eval "$as_CACHEVAR=yes"
13533 > else
13534 >  eval "$as_CACHEVAR=no"
13535   fi
13536   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13537 +  CFLAGS=$ax_check_save_flags
13538 + fi
13539 + eval ac_res=\$$as_CACHEVAR
13540 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13541 + $as_echo "$ac_res" >&6; }
13542 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13543 +
13544 + if ${CFLAGS+:} false; then :
13545 +
13546 +  case " $CFLAGS " in #(
13547 +  *" $flag "*) :
13548 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13549 +  (: CFLAGS already contains $flag) 2>&5
13550 +  ac_status=$?
13551 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 +  test $ac_status = 0; } ;; #(
13553 +  *) :
13554 +
13555 +     as_fn_append CFLAGS " $flag"
13556 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13557 +  (: CFLAGS="$CFLAGS") 2>&5
13558 +  ac_status=$?
13559 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 +  test $ac_status = 0; }
13561 +     ;;
13562 + esac
13563 +
13564 + else
13565 +
13566 +  CFLAGS=$flag
13567 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13568 +  (: CFLAGS="$CFLAGS") 2>&5
13569 +  ac_status=$?
13570 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13571 +  test $ac_status = 0; }
13572 +
13573 + fi
13574 +
13575 + else
13576 +  :
13577 + fi
13578 +
13579 + done
13580 +
13581 +
13582 +
13583 +
13584 +
13585 + for flag in -Wlogical-op; do
13586 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13587 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13588 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13589 + if eval \${$as_CACHEVAR+:} false; then :
13590 +  $as_echo_n "(cached) " >&6
13591   else
13592 +
13593 +  ax_check_save_flags=$CFLAGS
13594 +  CFLAGS="$CFLAGS  $flag"
13595    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596   /* end confdefs.h.  */
13597 < $ac_includes_default
13597 >
13598   int
13599   main ()
13600   {
13601  
13602 <             /* Are we little or big endian?  From Harbison&Steele.  */
13603 <             union
13604 <             {
13605 <               long int l;
13606 <               char c[sizeof (long int)];
13607 <             } u;
13608 <             u.l = 1;
13609 <             return u.c[sizeof (long int) - 1] == 1;
13602 >  ;
13603 >  return 0;
13604 > }
13605 > _ACEOF
13606 > if ac_fn_c_try_compile "$LINENO"; then :
13607 >  eval "$as_CACHEVAR=yes"
13608 > else
13609 >  eval "$as_CACHEVAR=no"
13610 > fi
13611 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 >  CFLAGS=$ax_check_save_flags
13613 > fi
13614 > eval ac_res=\$$as_CACHEVAR
13615 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13616 > $as_echo "$ac_res" >&6; }
13617 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13618 >
13619 > if ${CFLAGS+:} false; then :
13620 >
13621 >  case " $CFLAGS " in #(
13622 >  *" $flag "*) :
13623 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13624 >  (: CFLAGS already contains $flag) 2>&5
13625 >  ac_status=$?
13626 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 >  test $ac_status = 0; } ;; #(
13628 >  *) :
13629 >
13630 >     as_fn_append CFLAGS " $flag"
13631 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13632 >  (: CFLAGS="$CFLAGS") 2>&5
13633 >  ac_status=$?
13634 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13635 >  test $ac_status = 0; }
13636 >     ;;
13637 > esac
13638 >
13639 > else
13640 >
13641 >  CFLAGS=$flag
13642 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13643 >  (: CFLAGS="$CFLAGS") 2>&5
13644 >  ac_status=$?
13645 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646 >  test $ac_status = 0; }
13647 >
13648 > fi
13649 >
13650 > else
13651 >  :
13652 > fi
13653 >
13654 > done
13655 >
13656 >
13657 >
13658 >
13659 >
13660 > for flag in -Wmissing-declarations; do
13661 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13662 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13663 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13664 > if eval \${$as_CACHEVAR+:} false; then :
13665 >  $as_echo_n "(cached) " >&6
13666 > else
13667 >
13668 >  ax_check_save_flags=$CFLAGS
13669 >  CFLAGS="$CFLAGS  $flag"
13670 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 > /* end confdefs.h.  */
13672 >
13673 > int
13674 > main ()
13675 > {
13676  
13677    ;
13678    return 0;
13679   }
13680   _ACEOF
13681 < if ac_fn_c_try_run "$LINENO"; then :
13682 <  ac_cv_c_bigendian=no
13681 > if ac_fn_c_try_compile "$LINENO"; then :
13682 >  eval "$as_CACHEVAR=yes"
13683   else
13684 <  ac_cv_c_bigendian=yes
13684 >  eval "$as_CACHEVAR=no"
13685   fi
13686 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13687 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13686 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13687 >  CFLAGS=$ax_check_save_flags
13688   fi
13689 + eval ac_res=\$$as_CACHEVAR
13690 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13691 + $as_echo "$ac_res" >&6; }
13692 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13693 +
13694 + if ${CFLAGS+:} false; then :
13695 +
13696 +  case " $CFLAGS " in #(
13697 +  *" $flag "*) :
13698 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13699 +  (: CFLAGS already contains $flag) 2>&5
13700 +  ac_status=$?
13701 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13702 +  test $ac_status = 0; } ;; #(
13703 +  *) :
13704 +
13705 +     as_fn_append CFLAGS " $flag"
13706 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13707 +  (: CFLAGS="$CFLAGS") 2>&5
13708 +  ac_status=$?
13709 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13710 +  test $ac_status = 0; }
13711 +     ;;
13712 + esac
13713 +
13714 + else
13715 +
13716 +  CFLAGS=$flag
13717 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13718 +  (: CFLAGS="$CFLAGS") 2>&5
13719 +  ac_status=$?
13720 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13721 +  test $ac_status = 0; }
13722  
12601    fi
13723   fi
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12604 $as_echo "$ac_cv_c_bigendian" >&6; }
12605 case $ac_cv_c_bigendian in #(
12606   yes)
12607     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12608 ;; #(
12609   no)
12610      ;; #(
12611   universal)
13724  
13725 < $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13725 > else
13726 >  :
13727 > fi
13728 >
13729 > done
13730 >
13731 >
13732 >
13733 >
13734 >
13735 > for flag in -Wmissing-field-initializers; do
13736 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13737 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13738 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13739 > if eval \${$as_CACHEVAR+:} false; then :
13740 >  $as_echo_n "(cached) " >&6
13741 > else
13742 >
13743 >  ax_check_save_flags=$CFLAGS
13744 >  CFLAGS="$CFLAGS  $flag"
13745 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 > /* end confdefs.h.  */
13747 >
13748 > int
13749 > main ()
13750 > {
13751 >
13752 >  ;
13753 >  return 0;
13754 > }
13755 > _ACEOF
13756 > if ac_fn_c_try_compile "$LINENO"; then :
13757 >  eval "$as_CACHEVAR=yes"
13758 > else
13759 >  eval "$as_CACHEVAR=no"
13760 > fi
13761 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 >  CFLAGS=$ax_check_save_flags
13763 > fi
13764 > eval ac_res=\$$as_CACHEVAR
13765 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13766 > $as_echo "$ac_res" >&6; }
13767 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13768 >
13769 > if ${CFLAGS+:} false; then :
13770 >
13771 >  case " $CFLAGS " in #(
13772 >  *" $flag "*) :
13773 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13774 >  (: CFLAGS already contains $flag) 2>&5
13775 >  ac_status=$?
13776 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777 >  test $ac_status = 0; } ;; #(
13778 >  *) :
13779 >
13780 >     as_fn_append CFLAGS " $flag"
13781 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13782 >  (: CFLAGS="$CFLAGS") 2>&5
13783 >  ac_status=$?
13784 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13785 >  test $ac_status = 0; }
13786 >     ;;
13787 > esac
13788 >
13789 > else
13790 >
13791 >  CFLAGS=$flag
13792 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13793 >  (: CFLAGS="$CFLAGS") 2>&5
13794 >  ac_status=$?
13795 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13796 >  test $ac_status = 0; }
13797 >
13798 > fi
13799 >
13800 > else
13801 >  :
13802 > fi
13803 >
13804 > done
13805 >
13806 >
13807 >
13808 >
13809 >
13810 > for flag in -Wmissing-include-dirs; do
13811 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13812 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13813 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13814 > if eval \${$as_CACHEVAR+:} false; then :
13815 >  $as_echo_n "(cached) " >&6
13816 > else
13817 >
13818 >  ax_check_save_flags=$CFLAGS
13819 >  CFLAGS="$CFLAGS  $flag"
13820 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 > /* end confdefs.h.  */
13822 >
13823 > int
13824 > main ()
13825 > {
13826 >
13827 >  ;
13828 >  return 0;
13829 > }
13830 > _ACEOF
13831 > if ac_fn_c_try_compile "$LINENO"; then :
13832 >  eval "$as_CACHEVAR=yes"
13833 > else
13834 >  eval "$as_CACHEVAR=no"
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13837 >  CFLAGS=$ax_check_save_flags
13838 > fi
13839 > eval ac_res=\$$as_CACHEVAR
13840 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13841 > $as_echo "$ac_res" >&6; }
13842 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13843 >
13844 > if ${CFLAGS+:} false; then :
13845 >
13846 >  case " $CFLAGS " in #(
13847 >  *" $flag "*) :
13848 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13849 >  (: CFLAGS already contains $flag) 2>&5
13850 >  ac_status=$?
13851 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 >  test $ac_status = 0; } ;; #(
13853 >  *) :
13854 >
13855 >     as_fn_append CFLAGS " $flag"
13856 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13857 >  (: CFLAGS="$CFLAGS") 2>&5
13858 >  ac_status=$?
13859 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 >  test $ac_status = 0; }
13861 >     ;;
13862 > esac
13863 >
13864 > else
13865 >
13866 >  CFLAGS=$flag
13867 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13868 >  (: CFLAGS="$CFLAGS") 2>&5
13869 >  ac_status=$?
13870 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13871 >  test $ac_status = 0; }
13872 >
13873 > fi
13874 >
13875 > else
13876 >  :
13877 > fi
13878 >
13879 > done
13880 >
13881 >
13882 >
13883 >
13884 >
13885 > for flag in -Wmissing-parameter-type; do
13886 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13887 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13888 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13889 > if eval \${$as_CACHEVAR+:} false; then :
13890 >  $as_echo_n "(cached) " >&6
13891 > else
13892 >
13893 >  ax_check_save_flags=$CFLAGS
13894 >  CFLAGS="$CFLAGS  $flag"
13895 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 > /* end confdefs.h.  */
13897 >
13898 > int
13899 > main ()
13900 > {
13901 >
13902 >  ;
13903 >  return 0;
13904 > }
13905 > _ACEOF
13906 > if ac_fn_c_try_compile "$LINENO"; then :
13907 >  eval "$as_CACHEVAR=yes"
13908 > else
13909 >  eval "$as_CACHEVAR=no"
13910 > fi
13911 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 >  CFLAGS=$ax_check_save_flags
13913 > fi
13914 > eval ac_res=\$$as_CACHEVAR
13915 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13916 > $as_echo "$ac_res" >&6; }
13917 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13918 >
13919 > if ${CFLAGS+:} false; then :
13920 >
13921 >  case " $CFLAGS " in #(
13922 >  *" $flag "*) :
13923 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13924 >  (: CFLAGS already contains $flag) 2>&5
13925 >  ac_status=$?
13926 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927 >  test $ac_status = 0; } ;; #(
13928 >  *) :
13929 >
13930 >     as_fn_append CFLAGS " $flag"
13931 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13932 >  (: CFLAGS="$CFLAGS") 2>&5
13933 >  ac_status=$?
13934 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13935 >  test $ac_status = 0; }
13936 >     ;;
13937 > esac
13938 >
13939 > else
13940 >
13941 >  CFLAGS=$flag
13942 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13943 >  (: CFLAGS="$CFLAGS") 2>&5
13944 >  ac_status=$?
13945 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13946 >  test $ac_status = 0; }
13947 >
13948 > fi
13949 >
13950 > else
13951 >  :
13952 > fi
13953 >
13954 > done
13955 >
13956 >
13957 >
13958 >
13959 >
13960 > for flag in -Wmissing-prototypes; do
13961 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13962 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13963 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13964 > if eval \${$as_CACHEVAR+:} false; then :
13965 >  $as_echo_n "(cached) " >&6
13966 > else
13967 >
13968 >  ax_check_save_flags=$CFLAGS
13969 >  CFLAGS="$CFLAGS  $flag"
13970 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 > /* end confdefs.h.  */
13972 >
13973 > int
13974 > main ()
13975 > {
13976 >
13977 >  ;
13978 >  return 0;
13979 > }
13980 > _ACEOF
13981 > if ac_fn_c_try_compile "$LINENO"; then :
13982 >  eval "$as_CACHEVAR=yes"
13983 > else
13984 >  eval "$as_CACHEVAR=no"
13985 > fi
13986 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 >  CFLAGS=$ax_check_save_flags
13988 > fi
13989 > eval ac_res=\$$as_CACHEVAR
13990 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13991 > $as_echo "$ac_res" >&6; }
13992 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13993 >
13994 > if ${CFLAGS+:} false; then :
13995 >
13996 >  case " $CFLAGS " in #(
13997 >  *" $flag "*) :
13998 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13999 >  (: CFLAGS already contains $flag) 2>&5
14000 >  ac_status=$?
14001 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14002 >  test $ac_status = 0; } ;; #(
14003 >  *) :
14004 >
14005 >     as_fn_append CFLAGS " $flag"
14006 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14007 >  (: CFLAGS="$CFLAGS") 2>&5
14008 >  ac_status=$?
14009 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 >  test $ac_status = 0; }
14011 >     ;;
14012 > esac
14013 >
14014 > else
14015 >
14016 >  CFLAGS=$flag
14017 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14018 >  (: CFLAGS="$CFLAGS") 2>&5
14019 >  ac_status=$?
14020 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021 >  test $ac_status = 0; }
14022 >
14023 > fi
14024 >
14025 > else
14026 >  :
14027 > fi
14028 >
14029 > done
14030 >
14031 >
14032 >
14033 >
14034 >
14035 > for flag in -Wnested-externs; do
14036 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14037 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14038 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14039 > if eval \${$as_CACHEVAR+:} false; then :
14040 >  $as_echo_n "(cached) " >&6
14041 > else
14042 >
14043 >  ax_check_save_flags=$CFLAGS
14044 >  CFLAGS="$CFLAGS  $flag"
14045 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 > /* end confdefs.h.  */
14047 >
14048 > int
14049 > main ()
14050 > {
14051 >
14052 >  ;
14053 >  return 0;
14054 > }
14055 > _ACEOF
14056 > if ac_fn_c_try_compile "$LINENO"; then :
14057 >  eval "$as_CACHEVAR=yes"
14058 > else
14059 >  eval "$as_CACHEVAR=no"
14060 > fi
14061 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14062 >  CFLAGS=$ax_check_save_flags
14063 > fi
14064 > eval ac_res=\$$as_CACHEVAR
14065 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14066 > $as_echo "$ac_res" >&6; }
14067 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14068 >
14069 > if ${CFLAGS+:} false; then :
14070 >
14071 >  case " $CFLAGS " in #(
14072 >  *" $flag "*) :
14073 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14074 >  (: CFLAGS already contains $flag) 2>&5
14075 >  ac_status=$?
14076 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 >  test $ac_status = 0; } ;; #(
14078 >  *) :
14079 >
14080 >     as_fn_append CFLAGS " $flag"
14081 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14082 >  (: CFLAGS="$CFLAGS") 2>&5
14083 >  ac_status=$?
14084 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085 >  test $ac_status = 0; }
14086 >     ;;
14087 > esac
14088 >
14089 > else
14090 >
14091 >  CFLAGS=$flag
14092 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14093 >  (: CFLAGS="$CFLAGS") 2>&5
14094 >  ac_status=$?
14095 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14096 >  test $ac_status = 0; }
14097 >
14098 > fi
14099 >
14100 > else
14101 >  :
14102 > fi
14103 >
14104 > done
14105 >
14106 >
14107 >
14108 >
14109 >
14110 > for flag in -Wold-style-declaration; do
14111 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14113 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14114 > if eval \${$as_CACHEVAR+:} false; then :
14115 >  $as_echo_n "(cached) " >&6
14116 > else
14117 >
14118 >  ax_check_save_flags=$CFLAGS
14119 >  CFLAGS="$CFLAGS  $flag"
14120 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 > /* end confdefs.h.  */
14122 >
14123 > int
14124 > main ()
14125 > {
14126 >
14127 >  ;
14128 >  return 0;
14129 > }
14130 > _ACEOF
14131 > if ac_fn_c_try_compile "$LINENO"; then :
14132 >  eval "$as_CACHEVAR=yes"
14133 > else
14134 >  eval "$as_CACHEVAR=no"
14135 > fi
14136 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14137 >  CFLAGS=$ax_check_save_flags
14138 > fi
14139 > eval ac_res=\$$as_CACHEVAR
14140 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14141 > $as_echo "$ac_res" >&6; }
14142 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14143 >
14144 > if ${CFLAGS+:} false; then :
14145 >
14146 >  case " $CFLAGS " in #(
14147 >  *" $flag "*) :
14148 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14149 >  (: CFLAGS already contains $flag) 2>&5
14150 >  ac_status=$?
14151 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14152 >  test $ac_status = 0; } ;; #(
14153 >  *) :
14154 >
14155 >     as_fn_append CFLAGS " $flag"
14156 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14157 >  (: CFLAGS="$CFLAGS") 2>&5
14158 >  ac_status=$?
14159 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 >  test $ac_status = 0; }
14161 >     ;;
14162 > esac
14163 >
14164 > else
14165 >
14166 >  CFLAGS=$flag
14167 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14168 >  (: CFLAGS="$CFLAGS") 2>&5
14169 >  ac_status=$?
14170 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14171 >  test $ac_status = 0; }
14172 >
14173 > fi
14174 >
14175 > else
14176 >  :
14177 > fi
14178 >
14179 > done
14180 >
14181 >
14182 >
14183 >
14184 >
14185 > for flag in -Woverride-init; do
14186 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14187 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14188 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14189 > if eval \${$as_CACHEVAR+:} false; then :
14190 >  $as_echo_n "(cached) " >&6
14191 > else
14192 >
14193 >  ax_check_save_flags=$CFLAGS
14194 >  CFLAGS="$CFLAGS  $flag"
14195 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 > /* end confdefs.h.  */
14197 >
14198 > int
14199 > main ()
14200 > {
14201 >
14202 >  ;
14203 >  return 0;
14204 > }
14205 > _ACEOF
14206 > if ac_fn_c_try_compile "$LINENO"; then :
14207 >  eval "$as_CACHEVAR=yes"
14208 > else
14209 >  eval "$as_CACHEVAR=no"
14210 > fi
14211 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14212 >  CFLAGS=$ax_check_save_flags
14213 > fi
14214 > eval ac_res=\$$as_CACHEVAR
14215 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14216 > $as_echo "$ac_res" >&6; }
14217 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14218 >
14219 > if ${CFLAGS+:} false; then :
14220 >
14221 >  case " $CFLAGS " in #(
14222 >  *" $flag "*) :
14223 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14224 >  (: CFLAGS already contains $flag) 2>&5
14225 >  ac_status=$?
14226 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14227 >  test $ac_status = 0; } ;; #(
14228 >  *) :
14229 >
14230 >     as_fn_append CFLAGS " $flag"
14231 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14232 >  (: CFLAGS="$CFLAGS") 2>&5
14233 >  ac_status=$?
14234 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235 >  test $ac_status = 0; }
14236 >     ;;
14237 > esac
14238 >
14239 > else
14240 >
14241 >  CFLAGS=$flag
14242 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14243 >  (: CFLAGS="$CFLAGS") 2>&5
14244 >  ac_status=$?
14245 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246 >  test $ac_status = 0; }
14247 >
14248 > fi
14249 >
14250 > else
14251 >  :
14252 > fi
14253 >
14254 > done
14255 >
14256 >
14257 >
14258 >
14259 >
14260 > for flag in -Wpointer-arith; do
14261 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14262 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14263 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14264 > if eval \${$as_CACHEVAR+:} false; then :
14265 >  $as_echo_n "(cached) " >&6
14266 > else
14267 >
14268 >  ax_check_save_flags=$CFLAGS
14269 >  CFLAGS="$CFLAGS  $flag"
14270 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 > /* end confdefs.h.  */
14272 >
14273 > int
14274 > main ()
14275 > {
14276 >
14277 >  ;
14278 >  return 0;
14279 > }
14280 > _ACEOF
14281 > if ac_fn_c_try_compile "$LINENO"; then :
14282 >  eval "$as_CACHEVAR=yes"
14283 > else
14284 >  eval "$as_CACHEVAR=no"
14285 > fi
14286 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14287 >  CFLAGS=$ax_check_save_flags
14288 > fi
14289 > eval ac_res=\$$as_CACHEVAR
14290 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14291 > $as_echo "$ac_res" >&6; }
14292 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14293 >
14294 > if ${CFLAGS+:} false; then :
14295 >
14296 >  case " $CFLAGS " in #(
14297 >  *" $flag "*) :
14298 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14299 >  (: CFLAGS already contains $flag) 2>&5
14300 >  ac_status=$?
14301 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14302 >  test $ac_status = 0; } ;; #(
14303 >  *) :
14304 >
14305 >     as_fn_append CFLAGS " $flag"
14306 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14307 >  (: CFLAGS="$CFLAGS") 2>&5
14308 >  ac_status=$?
14309 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 >  test $ac_status = 0; }
14311 >     ;;
14312 > esac
14313 >
14314 > else
14315 >
14316 >  CFLAGS=$flag
14317 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14318 >  (: CFLAGS="$CFLAGS") 2>&5
14319 >  ac_status=$?
14320 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14321 >  test $ac_status = 0; }
14322 >
14323 > fi
14324 >
14325 > else
14326 >  :
14327 > fi
14328 >
14329 > done
14330 >
14331 >
14332 >
14333 >
14334 >
14335 > for flag in -Wredundant-decls; do
14336 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14337 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14338 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14339 > if eval \${$as_CACHEVAR+:} false; then :
14340 >  $as_echo_n "(cached) " >&6
14341 > else
14342 >
14343 >  ax_check_save_flags=$CFLAGS
14344 >  CFLAGS="$CFLAGS  $flag"
14345 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 > /* end confdefs.h.  */
14347 >
14348 > int
14349 > main ()
14350 > {
14351 >
14352 >  ;
14353 >  return 0;
14354 > }
14355 > _ACEOF
14356 > if ac_fn_c_try_compile "$LINENO"; then :
14357 >  eval "$as_CACHEVAR=yes"
14358 > else
14359 >  eval "$as_CACHEVAR=no"
14360 > fi
14361 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 >  CFLAGS=$ax_check_save_flags
14363 > fi
14364 > eval ac_res=\$$as_CACHEVAR
14365 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14366 > $as_echo "$ac_res" >&6; }
14367 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14368 >
14369 > if ${CFLAGS+:} false; then :
14370 >
14371 >  case " $CFLAGS " in #(
14372 >  *" $flag "*) :
14373 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14374 >  (: CFLAGS already contains $flag) 2>&5
14375 >  ac_status=$?
14376 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 >  test $ac_status = 0; } ;; #(
14378 >  *) :
14379 >
14380 >     as_fn_append CFLAGS " $flag"
14381 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14382 >  (: CFLAGS="$CFLAGS") 2>&5
14383 >  ac_status=$?
14384 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 >  test $ac_status = 0; }
14386 >     ;;
14387 > esac
14388 >
14389 > else
14390 >
14391 >  CFLAGS=$flag
14392 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14393 >  (: CFLAGS="$CFLAGS") 2>&5
14394 >  ac_status=$?
14395 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14396 >  test $ac_status = 0; }
14397 >
14398 > fi
14399 >
14400 > else
14401 >  :
14402 > fi
14403 >
14404 > done
14405 >
14406 >
14407 >
14408 >
14409 >
14410 > for flag in -Wshadow; do
14411 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14412 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14413 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14414 > if eval \${$as_CACHEVAR+:} false; then :
14415 >  $as_echo_n "(cached) " >&6
14416 > else
14417 >
14418 >  ax_check_save_flags=$CFLAGS
14419 >  CFLAGS="$CFLAGS  $flag"
14420 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 > /* end confdefs.h.  */
14422 >
14423 > int
14424 > main ()
14425 > {
14426 >
14427 >  ;
14428 >  return 0;
14429 > }
14430 > _ACEOF
14431 > if ac_fn_c_try_compile "$LINENO"; then :
14432 >  eval "$as_CACHEVAR=yes"
14433 > else
14434 >  eval "$as_CACHEVAR=no"
14435 > fi
14436 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14437 >  CFLAGS=$ax_check_save_flags
14438 > fi
14439 > eval ac_res=\$$as_CACHEVAR
14440 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14441 > $as_echo "$ac_res" >&6; }
14442 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14443 >
14444 > if ${CFLAGS+:} false; then :
14445 >
14446 >  case " $CFLAGS " in #(
14447 >  *" $flag "*) :
14448 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14449 >  (: CFLAGS already contains $flag) 2>&5
14450 >  ac_status=$?
14451 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 >  test $ac_status = 0; } ;; #(
14453 >  *) :
14454 >
14455 >     as_fn_append CFLAGS " $flag"
14456 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14457 >  (: CFLAGS="$CFLAGS") 2>&5
14458 >  ac_status=$?
14459 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460 >  test $ac_status = 0; }
14461 >     ;;
14462 > esac
14463 >
14464 > else
14465 >
14466 >  CFLAGS=$flag
14467 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14468 >  (: CFLAGS="$CFLAGS") 2>&5
14469 >  ac_status=$?
14470 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14471 >  test $ac_status = 0; }
14472 >
14473 > fi
14474 >
14475 > else
14476 >  :
14477 > fi
14478 >
14479 > done
14480 >
14481 >
14482 >
14483 >
14484 >
14485 > for flag in -Wshift-negative-value; do
14486 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14487 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14488 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14489 > if eval \${$as_CACHEVAR+:} false; then :
14490 >  $as_echo_n "(cached) " >&6
14491 > else
14492 >
14493 >  ax_check_save_flags=$CFLAGS
14494 >  CFLAGS="$CFLAGS  $flag"
14495 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 > /* end confdefs.h.  */
14497 >
14498 > int
14499 > main ()
14500 > {
14501 >
14502 >  ;
14503 >  return 0;
14504 > }
14505 > _ACEOF
14506 > if ac_fn_c_try_compile "$LINENO"; then :
14507 >  eval "$as_CACHEVAR=yes"
14508 > else
14509 >  eval "$as_CACHEVAR=no"
14510 > fi
14511 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512 >  CFLAGS=$ax_check_save_flags
14513 > fi
14514 > eval ac_res=\$$as_CACHEVAR
14515 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14516 > $as_echo "$ac_res" >&6; }
14517 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14518 >
14519 > if ${CFLAGS+:} false; then :
14520 >
14521 >  case " $CFLAGS " in #(
14522 >  *" $flag "*) :
14523 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14524 >  (: CFLAGS already contains $flag) 2>&5
14525 >  ac_status=$?
14526 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14527 >  test $ac_status = 0; } ;; #(
14528 >  *) :
14529 >
14530 >     as_fn_append CFLAGS " $flag"
14531 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14532 >  (: CFLAGS="$CFLAGS") 2>&5
14533 >  ac_status=$?
14534 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535 >  test $ac_status = 0; }
14536 >     ;;
14537 > esac
14538 >
14539 > else
14540 >
14541 >  CFLAGS=$flag
14542 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14543 >  (: CFLAGS="$CFLAGS") 2>&5
14544 >  ac_status=$?
14545 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14546 >  test $ac_status = 0; }
14547 >
14548 > fi
14549 >
14550 > else
14551 >  :
14552 > fi
14553 >
14554 > done
14555 >
14556 >
14557 >
14558 >
14559 >
14560 > for flag in -Wsign-compare; do
14561 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14562 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14563 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14564 > if eval \${$as_CACHEVAR+:} false; then :
14565 >  $as_echo_n "(cached) " >&6
14566 > else
14567 >
14568 >  ax_check_save_flags=$CFLAGS
14569 >  CFLAGS="$CFLAGS  $flag"
14570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 > /* end confdefs.h.  */
14572 >
14573 > int
14574 > main ()
14575 > {
14576 >
14577 >  ;
14578 >  return 0;
14579 > }
14580 > _ACEOF
14581 > if ac_fn_c_try_compile "$LINENO"; then :
14582 >  eval "$as_CACHEVAR=yes"
14583 > else
14584 >  eval "$as_CACHEVAR=no"
14585 > fi
14586 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14587 >  CFLAGS=$ax_check_save_flags
14588 > fi
14589 > eval ac_res=\$$as_CACHEVAR
14590 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14591 > $as_echo "$ac_res" >&6; }
14592 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14593 >
14594 > if ${CFLAGS+:} false; then :
14595 >
14596 >  case " $CFLAGS " in #(
14597 >  *" $flag "*) :
14598 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14599 >  (: CFLAGS already contains $flag) 2>&5
14600 >  ac_status=$?
14601 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14602 >  test $ac_status = 0; } ;; #(
14603 >  *) :
14604 >
14605 >     as_fn_append CFLAGS " $flag"
14606 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14607 >  (: CFLAGS="$CFLAGS") 2>&5
14608 >  ac_status=$?
14609 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14610 >  test $ac_status = 0; }
14611 >     ;;
14612 > esac
14613 >
14614 > else
14615 >
14616 >  CFLAGS=$flag
14617 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14618 >  (: CFLAGS="$CFLAGS") 2>&5
14619 >  ac_status=$?
14620 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 >  test $ac_status = 0; }
14622 >
14623 > fi
14624 >
14625 > else
14626 >  :
14627 > fi
14628 >
14629 > done
14630 >
14631  
14632 <     ;; #(
14633 <   *)
14634 <     as_fn_error $? "unknown endianness
14635 < presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14636 < esac
14632 >
14633 >
14634 >
14635 > for flag in -Wtype-limits; do
14636 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14637 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14638 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14639 > if eval \${$as_CACHEVAR+:} false; then :
14640 >  $as_echo_n "(cached) " >&6
14641 > else
14642 >
14643 >  ax_check_save_flags=$CFLAGS
14644 >  CFLAGS="$CFLAGS  $flag"
14645 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 > /* end confdefs.h.  */
14647 >
14648 > int
14649 > main ()
14650 > {
14651 >
14652 >  ;
14653 >  return 0;
14654 > }
14655 > _ACEOF
14656 > if ac_fn_c_try_compile "$LINENO"; then :
14657 >  eval "$as_CACHEVAR=yes"
14658 > else
14659 >  eval "$as_CACHEVAR=no"
14660 > fi
14661 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 >  CFLAGS=$ax_check_save_flags
14663 > fi
14664 > eval ac_res=\$$as_CACHEVAR
14665 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14666 > $as_echo "$ac_res" >&6; }
14667 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14668 >
14669 > if ${CFLAGS+:} false; then :
14670 >
14671 >  case " $CFLAGS " in #(
14672 >  *" $flag "*) :
14673 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14674 >  (: CFLAGS already contains $flag) 2>&5
14675 >  ac_status=$?
14676 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14677 >  test $ac_status = 0; } ;; #(
14678 >  *) :
14679 >
14680 >     as_fn_append CFLAGS " $flag"
14681 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14682 >  (: CFLAGS="$CFLAGS") 2>&5
14683 >  ac_status=$?
14684 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 >  test $ac_status = 0; }
14686 >     ;;
14687 > esac
14688 >
14689 > else
14690 >
14691 >  CFLAGS=$flag
14692 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14693 >  (: CFLAGS="$CFLAGS") 2>&5
14694 >  ac_status=$?
14695 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 >  test $ac_status = 0; }
14697 >
14698 > fi
14699 >
14700 > else
14701 >  :
14702 > fi
14703 >
14704 > done
14705 >
14706 >
14707 >
14708 >
14709 >
14710 > for flag in -Wundef; do
14711 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14712 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14713 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14714 > if eval \${$as_CACHEVAR+:} false; then :
14715 >  $as_echo_n "(cached) " >&6
14716 > else
14717 >
14718 >  ax_check_save_flags=$CFLAGS
14719 >  CFLAGS="$CFLAGS  $flag"
14720 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 > /* end confdefs.h.  */
14722 >
14723 > int
14724 > main ()
14725 > {
14726 >
14727 >  ;
14728 >  return 0;
14729 > }
14730 > _ACEOF
14731 > if ac_fn_c_try_compile "$LINENO"; then :
14732 >  eval "$as_CACHEVAR=yes"
14733 > else
14734 >  eval "$as_CACHEVAR=no"
14735 > fi
14736 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14737 >  CFLAGS=$ax_check_save_flags
14738 > fi
14739 > eval ac_res=\$$as_CACHEVAR
14740 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14741 > $as_echo "$ac_res" >&6; }
14742 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14743 >
14744 > if ${CFLAGS+:} false; then :
14745 >
14746 >  case " $CFLAGS " in #(
14747 >  *" $flag "*) :
14748 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14749 >  (: CFLAGS already contains $flag) 2>&5
14750 >  ac_status=$?
14751 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14752 >  test $ac_status = 0; } ;; #(
14753 >  *) :
14754 >
14755 >     as_fn_append CFLAGS " $flag"
14756 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14757 >  (: CFLAGS="$CFLAGS") 2>&5
14758 >  ac_status=$?
14759 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 >  test $ac_status = 0; }
14761 >     ;;
14762 > esac
14763 >
14764 > else
14765 >
14766 >  CFLAGS=$flag
14767 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14768 >  (: CFLAGS="$CFLAGS") 2>&5
14769 >  ac_status=$?
14770 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14771 >  test $ac_status = 0; }
14772 >
14773 > fi
14774 >
14775 > else
14776 >  :
14777 > fi
14778 >
14779 > done
14780 >
14781 >
14782 >
14783 >
14784 >
14785 > for flag in -Wuninitialized; do
14786 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 > if eval \${$as_CACHEVAR+:} false; then :
14790 >  $as_echo_n "(cached) " >&6
14791 > else
14792 >
14793 >  ax_check_save_flags=$CFLAGS
14794 >  CFLAGS="$CFLAGS  $flag"
14795 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 > /* end confdefs.h.  */
14797 >
14798 > int
14799 > main ()
14800 > {
14801 >
14802 >  ;
14803 >  return 0;
14804 > }
14805 > _ACEOF
14806 > if ac_fn_c_try_compile "$LINENO"; then :
14807 >  eval "$as_CACHEVAR=yes"
14808 > else
14809 >  eval "$as_CACHEVAR=no"
14810 > fi
14811 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 >  CFLAGS=$ax_check_save_flags
14813 > fi
14814 > eval ac_res=\$$as_CACHEVAR
14815 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 > $as_echo "$ac_res" >&6; }
14817 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14818 >
14819 > if ${CFLAGS+:} false; then :
14820 >
14821 >  case " $CFLAGS " in #(
14822 >  *" $flag "*) :
14823 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14824 >  (: CFLAGS already contains $flag) 2>&5
14825 >  ac_status=$?
14826 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 >  test $ac_status = 0; } ;; #(
14828 >  *) :
14829 >
14830 >     as_fn_append CFLAGS " $flag"
14831 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14832 >  (: CFLAGS="$CFLAGS") 2>&5
14833 >  ac_status=$?
14834 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 >  test $ac_status = 0; }
14836 >     ;;
14837 > esac
14838 >
14839 > else
14840 >
14841 >  CFLAGS=$flag
14842 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14843 >  (: CFLAGS="$CFLAGS") 2>&5
14844 >  ac_status=$?
14845 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14846 >  test $ac_status = 0; }
14847 >
14848 > fi
14849 >
14850 > else
14851 >  :
14852 > fi
14853 >
14854 > done
14855 >
14856 >
14857 >
14858 >
14859 >
14860 > for flag in -Wwrite-strings; do
14861 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14862 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14863 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14864 > if eval \${$as_CACHEVAR+:} false; then :
14865 >  $as_echo_n "(cached) " >&6
14866 > else
14867 >
14868 >  ax_check_save_flags=$CFLAGS
14869 >  CFLAGS="$CFLAGS  $flag"
14870 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 > /* end confdefs.h.  */
14872 >
14873 > int
14874 > main ()
14875 > {
14876 >
14877 >  ;
14878 >  return 0;
14879 > }
14880 > _ACEOF
14881 > if ac_fn_c_try_compile "$LINENO"; then :
14882 >  eval "$as_CACHEVAR=yes"
14883 > else
14884 >  eval "$as_CACHEVAR=no"
14885 > fi
14886 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887 >  CFLAGS=$ax_check_save_flags
14888 > fi
14889 > eval ac_res=\$$as_CACHEVAR
14890 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14891 > $as_echo "$ac_res" >&6; }
14892 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14893 >
14894 > if ${CFLAGS+:} false; then :
14895 >
14896 >  case " $CFLAGS " in #(
14897 >  *" $flag "*) :
14898 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 >  (: CFLAGS already contains $flag) 2>&5
14900 >  ac_status=$?
14901 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 >  test $ac_status = 0; } ;; #(
14903 >  *) :
14904 >
14905 >     as_fn_append CFLAGS " $flag"
14906 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14907 >  (: CFLAGS="$CFLAGS") 2>&5
14908 >  ac_status=$?
14909 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910 >  test $ac_status = 0; }
14911 >     ;;
14912 > esac
14913 >
14914 > else
14915 >
14916 >  CFLAGS=$flag
14917 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14918 >  (: CFLAGS="$CFLAGS") 2>&5
14919 >  ac_status=$?
14920 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14921 >  test $ac_status = 0; }
14922 >
14923 > fi
14924 >
14925 > else
14926 >  :
14927 > fi
14928 >
14929 > done
14930 >
14931 >
14932 > fi
14933 >
14934 >
14935 >  # Check whether --enable-efence was given.
14936 > if test "${enable_efence+set}" = set; then :
14937 >  enableval=$enable_efence; efence="$enableval"
14938 > else
14939 >  efence="no"
14940 > fi
14941 >
14942 >
14943 >  if test "$efence" = "yes"; then :
14944 >
14945 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14946 > $as_echo_n "checking for library containing EF_Print... " >&6; }
14947 > if ${ac_cv_search_EF_Print+:} false; then :
14948 >  $as_echo_n "(cached) " >&6
14949 > else
14950 >  ac_func_search_save_LIBS=$LIBS
14951 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 > /* end confdefs.h.  */
14953 >
14954 > /* Override any GCC internal prototype to avoid an error.
14955 >   Use char because int might match the return type of a GCC
14956 >   builtin and then its argument prototype would still apply.  */
14957 > #ifdef __cplusplus
14958 > extern "C"
14959 > #endif
14960 > char EF_Print ();
14961 > int
14962 > main ()
14963 > {
14964 > return EF_Print ();
14965 >  ;
14966 >  return 0;
14967 > }
14968 > _ACEOF
14969 > for ac_lib in '' efence; do
14970 >  if test -z "$ac_lib"; then
14971 >    ac_res="none required"
14972 >  else
14973 >    ac_res=-l$ac_lib
14974 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14975 >  fi
14976 >  if ac_fn_c_try_link "$LINENO"; then :
14977 >  ac_cv_search_EF_Print=$ac_res
14978 > fi
14979 > rm -f core conftest.err conftest.$ac_objext \
14980 >    conftest$ac_exeext
14981 >  if ${ac_cv_search_EF_Print+:} false; then :
14982 >  break
14983 > fi
14984 > done
14985 > if ${ac_cv_search_EF_Print+:} false; then :
14986 >
14987 > else
14988 >  ac_cv_search_EF_Print=no
14989 > fi
14990 > rm conftest.$ac_ext
14991 > LIBS=$ac_func_search_save_LIBS
14992 > fi
14993 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14994 > $as_echo "$ac_cv_search_EF_Print" >&6; }
14995 > ac_res=$ac_cv_search_EF_Print
14996 > if test "$ac_res" != no; then :
14997 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14998 >
14999 > else
15000 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15001 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15002 > as_fn_error $? "Electric Fence 'efence' library not found
15003 > See \`config.log' for more details" "$LINENO" 5; }
15004 > fi
15005 >
15006 >
15007 > fi
15008 >
15009 >
15010 > for ac_func in strlcpy strlcat
15011 > do :
15012 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15013 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15014 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15015 >  cat >>confdefs.h <<_ACEOF
15016 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15017 > _ACEOF
15018 >
15019 > fi
15020 > done
15021  
15022  
15023   ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
# Line 12759 | Line 15160 | if test -z "${am__fastdepCC_TRUE}" && te
15160   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15161   fi
15162  
12762
15163   : "${CONFIG_STATUS=./config.status}"
15164   ac_write_fail=0
15165   ac_clean_files_save=$ac_clean_files
# Line 13156 | Line 15556 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15556   # report actual input values of CONFIG_FILES etc. instead of their
15557   # values after options handling.
15558   ac_log="
15559 < This file was extended by hopm $as_me TRUNK, which was
15559 > This file was extended by hopm $as_me 1.1.10, which was
15560   generated by GNU Autoconf 2.69.  Invocation command line was
15561  
15562    CONFIG_FILES    = $CONFIG_FILES
# Line 13222 | Line 15622 | _ACEOF
15622   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15624   ac_cs_version="\\
15625 < hopm config.status TRUNK
15625 > hopm config.status 1.1.10
15626   configured by $0, generated by GNU Autoconf 2.69,
15627    with options \\"\$ac_cs_config\\"
15628  
# Line 13341 | Line 15741 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15741   #
15742   # INIT-COMMANDS
15743   #
15744 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15744 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15745  
15746  
15747   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 13478 | Line 15878 | finish_cmds='`$ECHO "$finish_cmds" | $SE
15878   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15879   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15880   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15881 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15881 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15882 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15883   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15884   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15885   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 13596 | Line 15997 | postinstall_cmds \
15997   postuninstall_cmds \
15998   finish_cmds \
15999   sys_lib_search_path_spec \
16000 < sys_lib_dlsearch_path_spec; do
16000 > configure_time_dlsearch_path \
16001 > configure_time_lt_sys_library_path; do
16002      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16003      *[\\\\\\\`\\"\\\$]*)
16004        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 14239 | Line 16641 | $as_echo "$as_me: executing $ac_file com
16641    # Older Autoconf quotes --file arguments for eval, but not when files
16642    # are listed without --file.  Let's play safe and only enable the eval
16643    # if we detect the quoting.
16644 <  case $CONFIG_FILES in
16645 <  *\'*) eval set x "$CONFIG_FILES" ;;
16646 <  *)   set x $CONFIG_FILES ;;
16647 <  esac
16644 >  # TODO: see whether this extra hack can be removed once we start
16645 >  # requiring Autoconf 2.70 or later.
16646 >  case $CONFIG_FILES in #(
16647 >  *\'*) :
16648 >    eval set x "$CONFIG_FILES" ;; #(
16649 >  *) :
16650 >    set x $CONFIG_FILES ;; #(
16651 >  *) :
16652 >     ;;
16653 > esac
16654    shift
16655 <  for mf
16655 >  # Used to flag and report bootstrapping failures.
16656 >  am_rc=0
16657 >  for am_mf
16658    do
16659      # Strip MF so we end up with the name of the file.
16660 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16661 <    # Check whether this is an Automake generated Makefile or not.
16662 <    # We used to match only the files named 'Makefile.in', but
16663 <    # some people rename them; so instead we look at the file content.
14254 <    # Grep'ing the first line is not enough: some people post-process
14255 <    # each Makefile.in and add a new line on top of each file to say so.
14256 <    # Grep'ing the whole file is not good either: AIX grep has a line
16660 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16661 >    # Check whether this is an Automake generated Makefile which includes
16662 >    # dependency-tracking related rules and includes.
16663 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16664      # limit of 2048, but all sed's we know have understand at least 4000.
16665 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16666 <      dirpart=`$as_dirname -- "$mf" ||
16667 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16668 <         X"$mf" : 'X\(//\)[^/]' \| \
16669 <         X"$mf" : 'X\(//\)$' \| \
16670 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16671 < $as_echo X"$mf" |
16665 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16666 >      || continue
16667 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16668 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16669 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16670 >         X"$am_mf" : 'X\(//\)$' \| \
16671 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16672 > $as_echo X"$am_mf" |
16673      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16674              s//\1/
16675              q
# Line 14279 | Line 16687 | $as_echo X"$mf" |
16687              q
16688            }
16689            s/.*/./; q'`
16690 <    else
16691 <      continue
16692 <    fi
16693 <    # Extract the definition of DEPDIR, am__include, and am__quote
16694 <    # from the Makefile without running 'make'.
16695 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14288 <    test -z "$DEPDIR" && continue
14289 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14290 <    test -z "$am__include" && continue
14291 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14292 <    # Find all dependency output files, they are included files with
14293 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14294 <    # simplest approach to changing $(DEPDIR) to its actual value in the
14295 <    # expansion.
14296 <    for file in `sed -n "
14297 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14298 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14299 <      # Make sure the directory exists.
14300 <      test -f "$dirpart/$file" && continue
14301 <      fdir=`$as_dirname -- "$file" ||
14302 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14303 <         X"$file" : 'X\(//\)[^/]' \| \
14304 <         X"$file" : 'X\(//\)$' \| \
14305 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14306 < $as_echo X"$file" |
14307 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14308 <            s//\1/
14309 <            q
14310 <          }
14311 <          /^X\(\/\/\)[^/].*/{
16690 >    am_filepart=`$as_basename -- "$am_mf" ||
16691 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16692 >         X"$am_mf" : 'X\(//\)$' \| \
16693 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16694 > $as_echo X/"$am_mf" |
16695 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16696              s//\1/
16697              q
16698            }
16699 <          /^X\(\/\/\)$/{
16699 >          /^X\/\(\/\/\)$/{
16700              s//\1/
16701              q
16702            }
16703 <          /^X\(\/\).*/{
16703 >          /^X\/\(\/\).*/{
16704              s//\1/
16705              q
16706            }
16707            s/.*/./; q'`
16708 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16709 <      # echo "creating $dirpart/$file"
16710 <      echo '# dummy' > "$dirpart/$file"
16711 <    done
16708 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16709 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16710 >        | $MAKE -f - am--depfiles" >&5
16711 >   (cd "$am_dirpart" \
16712 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16713 >        | $MAKE -f - am--depfiles) >&5 2>&5
16714 >   ac_status=$?
16715 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 >   (exit $ac_status); } || am_rc=$?
16717    done
16718 +  if test $am_rc -ne 0; then
16719 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16720 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16721 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16722 +    for automatic dependency tracking.  Try re-running configure with the
16723 +    '--disable-dependency-tracking' option to at least be able to build
16724 +    the package (albeit without support for automatic dependency tracking).
16725 + See \`config.log' for more details" "$LINENO" 5; }
16726 +  fi
16727 +  { am_dirpart=; unset am_dirpart;}
16728 +  { am_filepart=; unset am_filepart;}
16729 +  { am_mf=; unset am_mf;}
16730 +  { am_rc=; unset am_rc;}
16731 +  rm -f conftest-deps.mk
16732   }
16733   ;;
16734      "libtool":C)
# Line 14343 | Line 16746 | $as_echo X"$file" |
16746      cat <<_LT_EOF >> "$cfgfile"
16747   #! $SHELL
16748   # Generated automatically by $as_me ($PACKAGE) $VERSION
14346 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16749   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16750  
16751   # Provide generalized library-building support services.
# Line 14375 | Line 16777 | $as_echo X"$file" |
16777   # The names of the tagged configurations supported by this script.
16778   available_tags=''
16779  
16780 + # Configured defaults for sys_lib_dlsearch_path munging.
16781 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16782 +
16783   # ### BEGIN LIBTOOL CONFIG
16784  
16785   # Which release of libtool.m4 was used?
# Line 14624 | Line 17029 | hardcode_into_libs=$hardcode_into_libs
17029   # Compile-time system search path for libraries.
17030   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17031  
17032 < # Run-time system search path for libraries.
17033 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17032 > # Detected run-time system search path for libraries.
17033 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17034 >
17035 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17036 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17037  
17038   # Whether dlopen is supported.
17039   dlopen_support=$enable_dlopen
# Line 14776 | Line 17184 | hardcode_action=$hardcode_action
17184  
17185   _LT_EOF
17186  
17187 +    cat <<'_LT_EOF' >> "$cfgfile"
17188 +
17189 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17190 +
17191 + # func_munge_path_list VARIABLE PATH
17192 + # -----------------------------------
17193 + # VARIABLE is name of variable containing _space_ separated list of
17194 + # directories to be munged by the contents of PATH, which is string
17195 + # having a format:
17196 + # "DIR[:DIR]:"
17197 + #       string "DIR[ DIR]" will be prepended to VARIABLE
17198 + # ":DIR[:DIR]"
17199 + #       string "DIR[ DIR]" will be appended to VARIABLE
17200 + # "DIRP[:DIRP]::[DIRA:]DIRA"
17201 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17202 + #       "DIRA[ DIRA]" will be appended to VARIABLE
17203 + # "DIR[:DIR]"
17204 + #       VARIABLE will be replaced by "DIR[ DIR]"
17205 + func_munge_path_list ()
17206 + {
17207 +    case x$2 in
17208 +    x)
17209 +        ;;
17210 +    *:)
17211 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17212 +        ;;
17213 +    x:*)
17214 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17215 +        ;;
17216 +    *::*)
17217 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17218 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17219 +        ;;
17220 +    *)
17221 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17222 +        ;;
17223 +    esac
17224 + }
17225 +
17226 +
17227 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17228 + func_cc_basename ()
17229 + {
17230 +    for cc_temp in $*""; do
17231 +      case $cc_temp in
17232 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17233 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17234 +        \-*) ;;
17235 +        *) break;;
17236 +      esac
17237 +    done
17238 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17239 + }
17240 +
17241 +
17242 + # ### END FUNCTIONS SHARED WITH CONFIGURE
17243 +
17244 + _LT_EOF
17245 +
17246    case $host_os in
17247    aix3*)
17248      cat <<\_LT_EOF >> "$cfgfile"

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)