ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/configure (file contents):
Revision 4354 by michael, Sat Aug 2 18:09:39 2014 UTC vs.
Revision 9163 by michael, Fri Jan 17 19:07:00 2020 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z michael .
2 > # From configure.ac Id: configure.ac 8977 2019-05-18 20:53:40Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.26.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8.2.0rc1'
597 < PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
596 > PACKAGE_VERSION='8.2.26'
597 > PACKAGE_STRING='ircd-hybrid 8.2.26'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 648 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
651 ENABLE_SSL_FALSE
652 ENABLE_SSL_TRUE
651   LTDLOPEN
652   LT_CONFIG_H
653   CONVENIENCE_LTDL_FALSE
654   CONVENIENCE_LTDL_TRUE
655   INSTALL_LTDL_FALSE
656   INSTALL_LTDL_TRUE
657 < ARGZ_H
657 > LT_ARGZ_H
658   sys_symbol_underscore
659   LIBADD_DL
660   LT_DLPREOPEN
# Line 669 | Line 667 | LTDLINCL
667   LTDLDEPS
668   LIBLTDL
669   CPP
670 + LT_SYS_LIBRARY_PATH
671   OTOOL64
672   OTOOL
673   LIPO
# Line 710 | Line 709 | am__nodep
709   AMDEPBACKSLASH
710   AMDEP_FALSE
711   AMDEP_TRUE
713 am__quote
712   am__include
713   DEPDIR
714   OBJEXT
# Line 769 | Line 767 | infodir
767   docdir
768   oldincludedir
769   includedir
770 + runstatedir
771   localstatedir
772   sharedstatedir
773   sysconfdir
# Line 787 | Line 786 | PACKAGE_VERSION
786   PACKAGE_TARNAME
787   PACKAGE_NAME
788   PATH_SEPARATOR
789 < SHELL'
789 > SHELL
790 > am__quote'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
# Line 798 | Line 798 | enable_static
798   enable_shared
799   with_pic
800   enable_fast_install
801 + with_aix_soname
802   with_gnu_ld
803   with_sysroot
804   enable_libtool_lock
# Line 805 | Line 806 | with_included_ltdl
806   with_ltdl_include
807   with_ltdl_lib
808   enable_ltdl_install
808 enable_libgeoip
809 enable_openssl
810 enable_assert
809   enable_kqueue
810   enable_epoll
811   enable_devpoll
812   enable_poll
813 + enable_assert
814   enable_debugging
815   enable_warnings
816 + enable_efence
817 + enable_openssl
818 + enable_gnutls
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 825 | Line 827 | LIBS
827   CPPFLAGS
828   YACC
829   YFLAGS
830 + LT_SYS_LIBRARY_PATH
831   CPP'
832  
833  
# Line 864 | Line 867 | datadir='${datarootdir}'
867   sysconfdir='${prefix}/etc'
868   sharedstatedir='${prefix}/com'
869   localstatedir='${prefix}/var'
870 + runstatedir='${localstatedir}/run'
871   includedir='${prefix}/include'
872   oldincludedir='/usr/include'
873   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1116 | Line 1120 | do
1120    | -silent | --silent | --silen | --sile | --sil)
1121      silent=yes ;;
1122  
1123 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1124 +  | --runstate | --runstat | --runsta | --runst | --runs \
1125 +  | --run | --ru | --r)
1126 +    ac_prev=runstatedir ;;
1127 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1128 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1129 +  | --run=* | --ru=* | --r=*)
1130 +    runstatedir=$ac_optarg ;;
1131 +
1132    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133      ac_prev=sbindir ;;
1134    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1253 | Line 1266 | fi
1266   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267                  datadir sysconfdir sharedstatedir localstatedir includedir \
1268                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 <                libdir localedir mandir
1269 >                libdir localedir mandir runstatedir
1270   do
1271    eval ac_val=\$$ac_var
1272    # Remove trailing slashes.
# Line 1366 | Line 1379 | if test "$ac_init_help" = "long"; then
1379    # Omit some internal or obsolete options to make the list less imposing.
1380    # This message is too long to be a string in the A/UX 3.1 sh.
1381    cat <<_ACEOF
1382 < \`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems.
1382 > \`configure' configures ircd-hybrid 8.2.26 to adapt to many kinds of systems.
1383  
1384   Usage: $0 [OPTION]... [VAR=VALUE]...
1385  
# Line 1406 | Line 1419 | Fine tuning of the installation director
1419    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1420    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1421    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1422 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1423    --libdir=DIR            object code libraries [EPREFIX/lib]
1424    --includedir=DIR        C header files [PREFIX/include]
1425    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1436 | Line 1450 | fi
1450  
1451   if test -n "$ac_init_help"; then
1452    case $ac_init_help in
1453 <     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1453 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.26:";;
1454     esac
1455    cat <<\_ACEOF
1456  
# Line 1459 | Line 1473 | Optional Features:
1473                            optimize for fast installation [default=yes]
1474    --disable-libtool-lock  avoid locking (might break parallel builds)
1475    --enable-ltdl-install   install libltdl
1462  --disable-libgeoip      Disable GeoIP support
1463  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464  --disable-openssl            Disable OpenSSL support.
1465  --enable-assert         Enable assert() statements
1476    --enable-kqueue         Force kqueue usage.
1477    --enable-epoll          Force epoll usage.
1478    --enable-devpoll        Force devpoll usage.
1479    --enable-poll           Force poll usage.
1480 +  --enable-assert         Enable assert() statements
1481    --enable-debugging      Enable debugging.
1482    --enable-warnings       Enable compiler warnings.
1483 +  --enable-efence         Enable linking with Electric Fence 'efence' memory
1484 +                          debugger library.
1485 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1486 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1487 +  --enable-gnutls             Enable GnuTLS support.
1488 +  --disable-gnutls             Disable GnuTLS support.
1489  
1490   Optional Packages:
1491    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1492    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1493    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1494                            both]
1495 +  --with-aix-soname=aix|svr4|both
1496 +                          shared library versioning (aka "SONAME") variant to
1497 +                          provide on AIX, [default=aix].
1498    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1499 <  --with-sysroot=DIR Search for dependent libraries within DIR
1500 <                        (or the compiler's sysroot if not specified).
1499 >  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1500 >                          compiler's sysroot if not specified).
1501    --with-included-ltdl    use the GNU ltdl sources included here
1502    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1503    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1496 | Line 1516 | Some influential environment variables:
1516    YFLAGS      The list of arguments that will be passed by default to $YACC.
1517                This script will default YFLAGS to the empty string to avoid a
1518                default value of `-d' given by some make applications.
1519 +  LT_SYS_LIBRARY_PATH
1520 +              User-defined run-time library search path.
1521    CPP         C preprocessor
1522  
1523   Use these variables to override the choices made by `configure' or to help
# Line 1564 | Line 1586 | fi
1586   test -n "$ac_init_help" && exit $ac_status
1587   if $ac_init_version; then
1588    cat <<\_ACEOF
1589 < ircd-hybrid configure 8.2.0rc1
1589 > ircd-hybrid configure 8.2.26
1590   generated by GNU Autoconf 2.69
1591  
1592   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1939 | Line 1961 | $as_echo "$ac_res" >&6; }
1961  
1962   } # ac_fn_c_check_type
1963  
1942 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1943 # ----------------------------------------------------
1944 # Tries to find if the field MEMBER exists in type AGGR, after including
1945 # INCLUDES, setting cache variable VAR accordingly.
1946 ac_fn_c_check_member ()
1947 {
1948  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1950 $as_echo_n "checking for $2.$3... " >&6; }
1951 if eval \${$4+:} false; then :
1952  $as_echo_n "(cached) " >&6
1953 else
1954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h.  */
1956 $5
1957 int
1958 main ()
1959 {
1960 static $2 ac_aggr;
1961 if (ac_aggr.$3)
1962 return 0;
1963  ;
1964  return 0;
1965 }
1966 _ACEOF
1967 if ac_fn_c_try_compile "$LINENO"; then :
1968  eval "$4=yes"
1969 else
1970  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h.  */
1972 $5
1973 int
1974 main ()
1975 {
1976 static $2 ac_aggr;
1977 if (sizeof ac_aggr.$3)
1978 return 0;
1979  ;
1980  return 0;
1981 }
1982 _ACEOF
1983 if ac_fn_c_try_compile "$LINENO"; then :
1984  eval "$4=yes"
1985 else
1986  eval "$4=no"
1987 fi
1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 fi
1992 eval ac_res=\$$4
1993               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996
1997 } # ac_fn_c_check_member
1998
1964   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1965   # -------------------------------------------------------
1966   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2090 | Line 2055 | cat >config.log <<_ACEOF
2055   This file contains any messages produced by compilers while
2056   running configure, to aid debugging if configure makes a mistake.
2057  
2058 < It was created by ircd-hybrid $as_me 8.2.0rc1, which was
2058 > It was created by ircd-hybrid $as_me 8.2.26, which was
2059   generated by GNU Autoconf 2.69.  Invocation command line was
2060  
2061    $ $0 $@
# Line 2370 | Line 2335 | $as_echo "$as_me: creating cache $cache_
2335    >$cache_file
2336   fi
2337  
2338 + as_fn_append ac_func_list " accept4"
2339   as_fn_append ac_func_list " strtok_r"
2374 as_fn_append ac_func_list " usleep"
2340   as_fn_append ac_func_list " strlcat"
2341   as_fn_append ac_func_list " strlcpy"
2342   as_fn_append ac_header_list " crypt.h"
2378 as_fn_append ac_header_list " sys/resource.h"
2343   as_fn_append ac_header_list " sys/param.h"
2344   as_fn_append ac_header_list " types.h"
2345   as_fn_append ac_header_list " socket.h"
2346   as_fn_append ac_header_list " sys/wait.h"
2383 as_fn_append ac_header_list " wait.h"
2347   # Check that the precious variables saved in the cache have kept the same
2348   # value.
2349   ac_cache_corrupted=false
# Line 2449 | Line 2412 | ac_link='$CC -o conftest$ac_exeext $CFLA
2412   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413  
2414  
2415 < am__api_version='1.14'
2415 > am__api_version='1.16'
2416  
2417   ac_aux_dir=
2418   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2650 | Line 2613 | test "$program_suffix" != NONE &&
2613   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2614   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2615  
2616 < # expand $ac_aux_dir to an absolute path
2617 < am_aux_dir=`cd $ac_aux_dir && pwd`
2616 > # Expand $ac_aux_dir to an absolute path.
2617 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2618  
2619   if test x"${MISSING+set}" != xset; then
2620    case $am_aux_dir in
# Line 2670 | Line 2633 | else
2633   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2634   fi
2635  
2636 < if test x"${install_sh}" != xset; then
2636 > if test x"${install_sh+set}" != xset; then
2637    case $am_aux_dir in
2638    *\ * | *\     *)
2639      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2964 | Line 2927 | fi
2927  
2928   # Define the identity of the package.
2929   PACKAGE='ircd-hybrid'
2930 < VERSION='8.2.0rc1'
2930 > VERSION='8.2.26'
2931  
2932  
2933   cat >>confdefs.h <<_ACEOF
# Line 2994 | Line 2957 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2957  
2958   # For better backward compatibility.  To be removed once Automake 1.9.x
2959   # dies out for good.  For more background, see:
2960 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2961 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2960 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2961 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2962   mkdir_p='$(MKDIR_P)'
2963  
2964 < # We need awk for the "check" target.  The system "awk" is bad on
2965 < # some platforms.
2964 > # We need awk for the "check" target (and possibly the TAP driver).  The
2965 > # system "awk" is bad on some platforms.
2966   # Always define AMTAR for backward compatibility.  Yes, it's still used
2967   # in the wild :-(  We should find a proper way to deprecate it ...
2968   AMTAR='$${TAR-tar}'
# Line 3046 | Line 3009 | END
3009   Aborting the configuration process, to ensure you take notice of the issue.
3010  
3011   You can download and install GNU coreutils to get an 'rm' implementation
3012 < that behaves properly: <http://www.gnu.org/software/coreutils/>.
3012 > that behaves properly: <https://www.gnu.org/software/coreutils/>.
3013  
3014   If you want to complete the configuration process using your problematic
3015   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
# Line 3057 | Line 3020 | END
3020    fi
3021   fi
3022  
3023 +
3024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3025   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3026      # Check whether --enable-maintainer-mode was given.
# Line 3089 | Line 3053 | DEPDIR="${am__leading_dot}deps"
3053  
3054   ac_config_commands="$ac_config_commands depfiles"
3055  
3056 <
3057 < am_make=${MAKE-make}
3058 < cat > confinc << 'END'
3056 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3057 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3058 > cat > confinc.mk << 'END'
3059   am__doit:
3060 <        @echo this is the am__doit target
3060 >        @echo this is the am__doit target >confinc.out
3061   .PHONY: am__doit
3062   END
3099 # If we don't find an include directive, just comment out the code.
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3101 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3063   am__include="#"
3064   am__quote=
3065 < _am_result=none
3066 < # First try GNU make style include.
3067 < echo "include confinc" > confmf
3068 < # Ignore all kinds of additional output from 'make'.
3069 < case `$am_make -s -f confmf 2> /dev/null` in #(
3070 < *the\ am__doit\ target*)
3071 <  am__include=include
3072 <  am__quote=
3073 <  _am_result=GNU
3074 <  ;;
3075 < esac
3076 < # Now try BSD make style include.
3077 < if test "$am__include" = "#"; then
3078 <   echo '.include "confinc"' > confmf
3079 <   case `$am_make -s -f confmf 2> /dev/null` in #(
3080 <   *the\ am__doit\ target*)
3081 <     am__include=.include
3082 <     am__quote="\""
3083 <     _am_result=BSD
3065 > # BSD make does it like this.
3066 > echo '.include "confinc.mk" # ignored' > confmf.BSD
3067 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3068 > echo 'include confinc.mk # ignored' > confmf.GNU
3069 > _am_result=no
3070 > for s in GNU BSD; do
3071 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3072 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3073 >   ac_status=$?
3074 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 >   (exit $ac_status); }
3076 >  case $?:`cat confinc.out 2>/dev/null` in #(
3077 >  '0:this is the am__doit target') :
3078 >    case $s in #(
3079 >  BSD) :
3080 >    am__include='.include' am__quote='"' ;; #(
3081 >  *) :
3082 >    am__include='include' am__quote='' ;;
3083 > esac ;; #(
3084 >  *) :
3085       ;;
3086 <   esac
3087 < fi
3088 <
3089 <
3090 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3091 < $as_echo "$_am_result" >&6; }
3092 < rm -f confinc confmf
3086 > esac
3087 >  if test "$am__include" != "#"; then
3088 >    _am_result="yes ($s style)"
3089 >    break
3090 >  fi
3091 > done
3092 > rm -f confinc.* confmf.*
3093 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3094 > $as_echo "${_am_result}" >&6; }
3095  
3096   # Check whether --enable-dependency-tracking was given.
3097   if test "${enable_dependency_tracking+set}" = set; then :
# Line 4528 | Line 4492 | esac
4492  
4493  
4494  
4495 < macro_version='2.4.2'
4496 < macro_revision='1.3337'
4495 > macro_version='2.4.6'
4496 > macro_revision='2.4.6'
4497  
4498  
4499  
# Line 4543 | Line 4507 | macro_revision='1.3337'
4507  
4508  
4509  
4510 < ltmain="$ac_aux_dir/ltmain.sh"
4510 > ltmain=$ac_aux_dir/ltmain.sh
4511  
4512   # Make sure we can run config.sub.
4513   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
# Line 4663 | Line 4627 | func_echo_all ()
4627      $ECHO ""
4628   }
4629  
4630 < case "$ECHO" in
4630 > case $ECHO in
4631    printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4632   $as_echo "printf" >&6; } ;;
4633    print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
# Line 4986 | Line 4950 | test -z "$GREP" && GREP=grep
4950  
4951   # Check whether --with-gnu-ld was given.
4952   if test "${with_gnu_ld+set}" = set; then :
4953 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4953 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4954   else
4955    with_gnu_ld=no
4956   fi
4957  
4958   ac_prog=ld
4959 < if test "$GCC" = yes; then
4959 > if test yes = "$GCC"; then
4960    # Check if gcc -print-prog-name=ld gives a path.
4961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4962   $as_echo_n "checking for ld used by $CC... " >&6; }
4963    case $host in
4964    *-*-mingw*)
4965 <    # gcc leaves a trailing carriage return which upsets mingw
4965 >    # gcc leaves a trailing carriage return, which upsets mingw
4966      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4967    *)
4968      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 5012 | Line 4976 | $as_echo_n "checking for ld used by $CC.
4976        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4977          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4978        done
4979 <      test -z "$LD" && LD="$ac_prog"
4979 >      test -z "$LD" && LD=$ac_prog
4980        ;;
4981    "")
4982      # If it fails, then pretend we aren't using GCC.
# Line 5023 | Line 4987 | $as_echo_n "checking for ld used by $CC.
4987      with_gnu_ld=unknown
4988      ;;
4989    esac
4990 < elif test "$with_gnu_ld" = yes; then
4990 > elif test yes = "$with_gnu_ld"; then
4991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4992   $as_echo_n "checking for GNU ld... " >&6; }
4993   else
# Line 5034 | Line 4998 | if ${lt_cv_path_LD+:} false; then :
4998    $as_echo_n "(cached) " >&6
4999   else
5000    if test -z "$LD"; then
5001 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5001 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5002    for ac_dir in $PATH; do
5003 <    IFS="$lt_save_ifs"
5003 >    IFS=$lt_save_ifs
5004      test -z "$ac_dir" && ac_dir=.
5005      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5006 <      lt_cv_path_LD="$ac_dir/$ac_prog"
5006 >      lt_cv_path_LD=$ac_dir/$ac_prog
5007        # Check to see if the program is GNU ld.  I'd rather use --version,
5008        # but apparently some variants of GNU ld only accept -v.
5009        # Break only if it was the GNU/non-GNU ld that we prefer.
5010        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5011        *GNU* | *'with BFD'*)
5012 <        test "$with_gnu_ld" != no && break
5012 >        test no != "$with_gnu_ld" && break
5013          ;;
5014        *)
5015 <        test "$with_gnu_ld" != yes && break
5015 >        test yes != "$with_gnu_ld" && break
5016          ;;
5017        esac
5018      fi
5019    done
5020 <  IFS="$lt_save_ifs"
5020 >  IFS=$lt_save_ifs
5021   else
5022 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5022 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5023   fi
5024   fi
5025  
5026 < LD="$lt_cv_path_LD"
5026 > LD=$lt_cv_path_LD
5027   if test -n "$LD"; then
5028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5029   $as_echo "$LD" >&6; }
# Line 5102 | Line 5066 | if ${lt_cv_path_NM+:} false; then :
5066   else
5067    if test -n "$NM"; then
5068    # Let the user override the test.
5069 <  lt_cv_path_NM="$NM"
5069 >  lt_cv_path_NM=$NM
5070   else
5071 <  lt_nm_to_check="${ac_tool_prefix}nm"
5071 >  lt_nm_to_check=${ac_tool_prefix}nm
5072    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5073      lt_nm_to_check="$lt_nm_to_check nm"
5074    fi
5075    for lt_tmp_nm in $lt_nm_to_check; do
5076 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5076 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5077      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5078 <      IFS="$lt_save_ifs"
5078 >      IFS=$lt_save_ifs
5079        test -z "$ac_dir" && ac_dir=.
5080 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5081 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5080 >      tmp_nm=$ac_dir/$lt_tmp_nm
5081 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5082          # Check to see if the nm accepts a BSD-compat flag.
5083 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5083 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5084          #   nm: unknown option "B" ignored
5085          # Tru64's nm complains that /dev/null is an invalid object file
5086 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5087 <        */dev/null* | *'Invalid file or object type'*)
5086 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5087 >        case $build_os in
5088 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5089 >        *) lt_bad_file=/dev/null ;;
5090 >        esac
5091 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5092 >        *$lt_bad_file* | *'Invalid file or object type'*)
5093            lt_cv_path_NM="$tmp_nm -B"
5094 <          break
5094 >          break 2
5095            ;;
5096          *)
5097            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5098            */dev/null*)
5099              lt_cv_path_NM="$tmp_nm -p"
5100 <            break
5100 >            break 2
5101              ;;
5102            *)
5103              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 5139 | Line 5108 | else
5108          esac
5109        fi
5110      done
5111 <    IFS="$lt_save_ifs"
5111 >    IFS=$lt_save_ifs
5112    done
5113    : ${lt_cv_path_NM=no}
5114   fi
5115   fi
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5117   $as_echo "$lt_cv_path_NM" >&6; }
5118 < if test "$lt_cv_path_NM" != "no"; then
5119 <  NM="$lt_cv_path_NM"
5118 > if test no != "$lt_cv_path_NM"; then
5119 >  NM=$lt_cv_path_NM
5120   else
5121    # Didn't find any BSD compatible name lister, look for dumpbin.
5122    if test -n "$DUMPBIN"; then :
# Line 5253 | Line 5222 | esac
5222    fi
5223   fi
5224  
5225 <    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5225 >    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5226      *COFF*)
5227 <      DUMPBIN="$DUMPBIN -symbols"
5227 >      DUMPBIN="$DUMPBIN -symbols -headers"
5228        ;;
5229      *)
5230        DUMPBIN=:
# Line 5263 | Line 5232 | fi
5232      esac
5233    fi
5234  
5235 <  if test "$DUMPBIN" != ":"; then
5236 <    NM="$DUMPBIN"
5235 >  if test : != "$DUMPBIN"; then
5236 >    NM=$DUMPBIN
5237    fi
5238   fi
5239   test -z "$NM" && NM=nm
# Line 5315 | Line 5284 | if ${lt_cv_sys_max_cmd_len+:} false; the
5284    $as_echo_n "(cached) " >&6
5285   else
5286      i=0
5287 <  teststring="ABCD"
5287 >  teststring=ABCD
5288  
5289    case $build_os in
5290    msdosdjgpp*)
# Line 5355 | Line 5324 | else
5324      lt_cv_sys_max_cmd_len=8192;
5325      ;;
5326  
5327 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5327 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5328      # This has been around since 386BSD, at least.  Likely further.
5329      if test -x /sbin/sysctl; then
5330        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5405 | Line 5374 | else
5374      ;;
5375    *)
5376      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5377 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5377 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5378 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5379        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5380        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5381      else
5382        # Make teststring a little bigger before we do anything with it.
5383        # a 1K string should be a reasonable start.
5384 <      for i in 1 2 3 4 5 6 7 8 ; do
5384 >      for i in 1 2 3 4 5 6 7 8; do
5385          teststring=$teststring$teststring
5386        done
5387        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5388        # If test is not a shell built-in, we'll probably end up computing a
5389        # maximum length that is only half of the actual maximum length, but
5390        # we can't tell.
5391 <      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5391 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5392                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5393 <              test $i != 17 # 1/2 MB should be enough
5393 >              test 17 != "$i" # 1/2 MB should be enough
5394        do
5395          i=`expr $i + 1`
5396          teststring=$teststring$teststring
# Line 5438 | Line 5408 | else
5408  
5409   fi
5410  
5411 < if test -n $lt_cv_sys_max_cmd_len ; then
5411 > if test -n "$lt_cv_sys_max_cmd_len"; then
5412    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5413   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5414   else
# Line 5456 | Line 5426 | max_cmd_len=$lt_cv_sys_max_cmd_len
5426   : ${MV="mv -f"}
5427   : ${RM="rm -f"}
5428  
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5460 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5461 # Try some XSI features
5462 xsi_shell=no
5463 ( _lt_dummy="a/b/c"
5464  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5465      = c,a/b,b/c, \
5466    && eval 'test $(( 1 + 1 )) -eq 2 \
5467    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5468  && xsi_shell=yes
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5470 $as_echo "$xsi_shell" >&6; }
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5474 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5475 lt_shell_append=no
5476 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5477    >/dev/null 2>&1 \
5478  && lt_shell_append=yes
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5480 $as_echo "$lt_shell_append" >&6; }
5481
5482
5429   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5430    lt_unset=unset
5431   else
# Line 5602 | Line 5548 | esac
5548   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5549   case $host_os in
5550    cygwin* | mingw* | pw32* | cegcc*)
5551 <    if test "$GCC" != yes; then
5551 >    if test yes != "$GCC"; then
5552        reload_cmds=false
5553      fi
5554      ;;
5555    darwin*)
5556 <    if test "$GCC" = yes; then
5557 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5556 >    if test yes = "$GCC"; then
5557 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5558      else
5559        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5560      fi
# Line 5736 | Line 5682 | lt_cv_deplibs_check_method='unknown'
5682   # Need to set the preceding variable on all platforms that support
5683   # interlibrary dependencies.
5684   # 'none' -- dependencies not supported.
5685 < # `unknown' -- same as none, but documents that we really don't know.
5685 > # 'unknown' -- same as none, but documents that we really don't know.
5686   # 'pass_all' -- all dependencies passed with no checks.
5687   # 'test_compile' -- check by making test program.
5688   # 'file_magic [[regex]]' -- check by looking for files in library path
5689 < # which responds to the $file_magic_cmd with a given extended regex.
5690 < # If you have `file' or equivalent on your system and you're not sure
5691 < # whether `pass_all' will *always* work, you probably want this one.
5689 > # that responds to the $file_magic_cmd with a given extended regex.
5690 > # If you have 'file' or equivalent on your system and you're not sure
5691 > # whether 'pass_all' will *always* work, you probably want this one.
5692  
5693   case $host_os in
5694   aix[4-9]*)
# Line 5769 | Line 5715 | mingw* | pw32*)
5715    # Base MSYS/MinGW do not provide the 'file' command needed by
5716    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5717    # unless we find 'file', for example because we are cross-compiling.
5718 <  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5773 <  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5718 >  if ( file / ) >/dev/null 2>&1; then
5719      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5720      lt_cv_file_magic_cmd='func_win32_libid'
5721    else
# Line 5806 | Line 5751 | freebsd* | dragonfly*)
5751    fi
5752    ;;
5753  
5809 gnu*)
5810  lt_cv_deplibs_check_method=pass_all
5811  ;;
5812
5754   haiku*)
5755    lt_cv_deplibs_check_method=pass_all
5756    ;;
# Line 5848 | Line 5789 | irix5* | irix6* | nonstopux*)
5789    ;;
5790  
5791   # This must be glibc/ELF.
5792 < linux* | k*bsd*-gnu | kopensolaris*-gnu)
5792 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5793    lt_cv_deplibs_check_method=pass_all
5794    ;;
5795  
5796 < netbsd*)
5796 > netbsd* | netbsdelf*-gnu)
5797    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5798      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5799    else
# Line 5870 | Line 5811 | newos6*)
5811    lt_cv_deplibs_check_method=pass_all
5812    ;;
5813  
5814 < openbsd*)
5815 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5814 > openbsd* | bitrig*)
5815 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5816      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5817    else
5818      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5924 | Line 5865 | sysv4 | sysv4.3*)
5865   tpf*)
5866    lt_cv_deplibs_check_method=pass_all
5867    ;;
5868 + os2*)
5869 +  lt_cv_deplibs_check_method=pass_all
5870 +  ;;
5871   esac
5872  
5873   fi
# Line 6081 | Line 6025 | else
6025  
6026   case $host_os in
6027   cygwin* | mingw* | pw32* | cegcc*)
6028 <  # two different shell functions defined in ltmain.sh
6029 <  # decide which to use based on capabilities of $DLLTOOL
6028 >  # two different shell functions defined in ltmain.sh;
6029 >  # decide which one to use based on capabilities of $DLLTOOL
6030    case `$DLLTOOL --help 2>&1` in
6031    *--identify-strict*)
6032      lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
# Line 6094 | Line 6038 | cygwin* | mingw* | pw32* | cegcc*)
6038    ;;
6039   *)
6040    # fallback: assume linklib IS sharedlib
6041 <  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6041 >  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6042    ;;
6043   esac
6044  
# Line 6248 | Line 6192 | if ac_fn_c_try_compile "$LINENO"; then :
6192    ac_status=$?
6193    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6194    test $ac_status = 0; }
6195 <      if test "$ac_status" -eq 0; then
6195 >      if test 0 -eq "$ac_status"; then
6196          # Ensure the archiver fails upon bogus file names.
6197          rm -f conftest.$ac_objext libconftest.a
6198          { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
# Line 6256 | Line 6200 | if ac_fn_c_try_compile "$LINENO"; then :
6200    ac_status=$?
6201    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6202    test $ac_status = 0; }
6203 <        if test "$ac_status" -ne 0; then
6203 >        if test 0 -ne "$ac_status"; then
6204            lt_cv_ar_at_file=@
6205          fi
6206        fi
# Line 6269 | Line 6213 | fi
6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6214   $as_echo "$lt_cv_ar_at_file" >&6; }
6215  
6216 < if test "x$lt_cv_ar_at_file" = xno; then
6216 > if test no = "$lt_cv_ar_at_file"; then
6217    archiver_list_spec=
6218   else
6219    archiver_list_spec=$lt_cv_ar_at_file
# Line 6486 | Line 6430 | old_postuninstall_cmds=
6430  
6431   if test -n "$RANLIB"; then
6432    case $host_os in
6433 <  openbsd*)
6433 >  bitrig* | openbsd*)
6434      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6435      ;;
6436    *)
# Line 6576 | Line 6520 | cygwin* | mingw* | pw32* | cegcc*)
6520    symcode='[ABCDGISTW]'
6521    ;;
6522   hpux*)
6523 <  if test "$host_cpu" = ia64; then
6523 >  if test ia64 = "$host_cpu"; then
6524      symcode='[ABCDEGRST]'
6525    fi
6526    ;;
# Line 6609 | Line 6553 | case `$NM -V 2>&1` in
6553    symcode='[ABCDGIRSTW]' ;;
6554   esac
6555  
6556 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6557 +  # Gets list of data symbols to import.
6558 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6559 +  # Adjust the below global symbol transforms to fixup imported variables.
6560 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6561 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6562 +  lt_c_name_lib_hook="\
6563 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6564 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6565 + else
6566 +  # Disable hooks by default.
6567 +  lt_cv_sys_global_symbol_to_import=
6568 +  lt_cdecl_hook=
6569 +  lt_c_name_hook=
6570 +  lt_c_name_lib_hook=
6571 + fi
6572 +
6573   # Transform an extracted symbol line into a proper C declaration.
6574   # Some systems (esp. on ia64) link data and code symbols differently,
6575   # so use this general approach.
6576 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6576 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6577 > $lt_cdecl_hook\
6578 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6579 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6580  
6581   # Transform an extracted symbol line into symbol name and symbol address
6582 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6583 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6582 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6583 > $lt_c_name_hook\
6584 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6585 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6586 >
6587 > # Transform an extracted symbol line into symbol name with lib prefix and
6588 > # symbol address.
6589 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6590 > $lt_c_name_lib_hook\
6591 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6592 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6593 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6594  
6595   # Handle CRLF in mingw tool chain
6596   opt_cr=
# Line 6634 | Line 6608 | for ac_symprfx in "" "_"; do
6608  
6609    # Write the raw and C identifiers.
6610    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6611 <    # Fake it for dumpbin and say T for any non-static function
6612 <    # and D for any global variable.
6611 >    # Fake it for dumpbin and say T for any non-static function,
6612 >    # D for any global variable and I for any imported variable.
6613      # Also find C++ and __fastcall symbols from MSVC++,
6614      # which start with @ or ?.
6615      lt_cv_sys_global_symbol_pipe="$AWK '"\
6616   "     {last_section=section; section=\$ 3};"\
6617   "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6618   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6619 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6620 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6621 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6622   "     \$ 0!~/External *\|/{next};"\
6623   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6624   "     {if(hide[section]) next};"\
6625 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6626 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6627 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6628 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6625 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6626 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6627 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6628 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6629   "     ' prfx=^$ac_symprfx"
6630    else
6631      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
# Line 6679 | Line 6656 | _LT_EOF
6656    test $ac_status = 0; }; then
6657      # Now try to grab the symbols.
6658      nlist=conftest.nm
6659 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6660 <  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6684 <  ac_status=$?
6685 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6686 <  test $ac_status = 0; } && test -s "$nlist"; then
6659 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6660 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6661        # Try sorting and uniquifying the output.
6662        if sort "$nlist" | uniq > "$nlist"T; then
6663          mv -f "$nlist"T "$nlist"
# Line 6696 | Line 6670 | _LT_EOF
6670          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6671            cat <<_LT_EOF > conftest.$ac_ext
6672   /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6673 < #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6674 < /* DATA imports from DLLs on WIN32 con't be const, because runtime
6673 > #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6674 > /* DATA imports from DLLs on WIN32 can't be const, because runtime
6675     relocations are performed -- see ld's documentation on pseudo-relocs.  */
6676   # define LT_DLSYM_CONST
6677 < #elif defined(__osf__)
6677 > #elif defined __osf__
6678   /* This system does not cope well with relocations in const data.  */
6679   # define LT_DLSYM_CONST
6680   #else
# Line 6726 | Line 6700 | lt__PROGRAM__LTX_preloaded_symbols[] =
6700   {
6701    { "@PROGRAM@", (void *) 0 },
6702   _LT_EOF
6703 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6703 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6704            cat <<\_LT_EOF >> conftest.$ac_ext
6705    {0, (void *) 0}
6706   };
# Line 6746 | Line 6720 | _LT_EOF
6720            mv conftest.$ac_objext conftstm.$ac_objext
6721            lt_globsym_save_LIBS=$LIBS
6722            lt_globsym_save_CFLAGS=$CFLAGS
6723 <          LIBS="conftstm.$ac_objext"
6723 >          LIBS=conftstm.$ac_objext
6724            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6725            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6726    (eval $ac_link) 2>&5
6727    ac_status=$?
6728    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6729 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6730              pipe_works=yes
6731            fi
6732            LIBS=$lt_globsym_save_LIBS
# Line 6773 | Line 6747 | _LT_EOF
6747    rm -rf conftest* conftst*
6748  
6749    # Do not use the global_symbol_pipe unless it works.
6750 <  if test "$pipe_works" = yes; then
6750 >  if test yes = "$pipe_works"; then
6751      break
6752    else
6753      lt_cv_sys_global_symbol_pipe=
# Line 6826 | Line 6800 | fi
6800  
6801  
6802  
6803 +
6804 +
6805 +
6806 +
6807 +
6808 +
6809 +
6810 +
6811 +
6812 +
6813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6814   $as_echo_n "checking for sysroot... " >&6; }
6815  
# Line 6838 | Line 6822 | fi
6822  
6823  
6824   lt_sysroot=
6825 < case ${with_sysroot} in #(
6825 > case $with_sysroot in #(
6826   yes)
6827 <   if test "$GCC" = yes; then
6827 >   if test yes = "$GCC"; then
6828       lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6829     fi
6830     ;; #(
# Line 6850 | Line 6834 | case ${with_sysroot} in #(
6834   no|'')
6835     ;; #(
6836   *)
6837 <   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6838 < $as_echo "${with_sysroot}" >&6; }
6837 >   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6838 > $as_echo "$with_sysroot" >&6; }
6839     as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6840     ;;
6841   esac
# Line 6863 | Line 6847 | $as_echo "${lt_sysroot:-no}" >&6; }
6847  
6848  
6849  
6850 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6851 + $as_echo_n "checking for a working dd... " >&6; }
6852 + if ${ac_cv_path_lt_DD+:} false; then :
6853 +  $as_echo_n "(cached) " >&6
6854 + else
6855 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6856 + cat conftest.i conftest.i >conftest2.i
6857 + : ${lt_DD:=$DD}
6858 + if test -z "$lt_DD"; then
6859 +  ac_path_lt_DD_found=false
6860 +  # Loop through the user's path and test for each of PROGNAME-LIST
6861 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 + for as_dir in $PATH
6863 + do
6864 +  IFS=$as_save_IFS
6865 +  test -z "$as_dir" && as_dir=.
6866 +    for ac_prog in dd; do
6867 +    for ac_exec_ext in '' $ac_executable_extensions; do
6868 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6869 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6870 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6871 +  cmp -s conftest.i conftest.out \
6872 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6873 + fi
6874 +      $ac_path_lt_DD_found && break 3
6875 +    done
6876 +  done
6877 +  done
6878 + IFS=$as_save_IFS
6879 +  if test -z "$ac_cv_path_lt_DD"; then
6880 +    :
6881 +  fi
6882 + else
6883 +  ac_cv_path_lt_DD=$lt_DD
6884 + fi
6885 +
6886 + rm -f conftest.i conftest2.i conftest.out
6887 + fi
6888 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6889 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6890 +
6891 +
6892 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6893 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6894 + if ${lt_cv_truncate_bin+:} false; then :
6895 +  $as_echo_n "(cached) " >&6
6896 + else
6897 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6898 + cat conftest.i conftest.i >conftest2.i
6899 + lt_cv_truncate_bin=
6900 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6901 +  cmp -s conftest.i conftest.out \
6902 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6903 + fi
6904 + rm -f conftest.i conftest2.i conftest.out
6905 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6906 + fi
6907 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6908 + $as_echo "$lt_cv_truncate_bin" >&6; }
6909 +
6910 +
6911 +
6912 +
6913 +
6914 +
6915 +
6916 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6917 + func_cc_basename ()
6918 + {
6919 +    for cc_temp in $*""; do
6920 +      case $cc_temp in
6921 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6922 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6923 +        \-*) ;;
6924 +        *) break;;
6925 +      esac
6926 +    done
6927 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6928 + }
6929 +
6930   # Check whether --enable-libtool-lock was given.
6931   if test "${enable_libtool_lock+set}" = set; then :
6932    enableval=$enable_libtool_lock;
6933   fi
6934  
6935 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6935 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6936  
6937   # Some flags need to be propagated to the compiler or linker for good
6938   # libtool support.
6939   case $host in
6940   ia64-*-hpux*)
6941 <  # Find out which ABI we are using.
6941 >  # Find out what ABI is being produced by ac_compile, and set mode
6942 >  # options accordingly.
6943    echo 'int i;' > conftest.$ac_ext
6944    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6945    (eval $ac_compile) 2>&5
# Line 6883 | Line 6948 | ia64-*-hpux*)
6948    test $ac_status = 0; }; then
6949      case `/usr/bin/file conftest.$ac_objext` in
6950        *ELF-32*)
6951 <        HPUX_IA64_MODE="32"
6951 >        HPUX_IA64_MODE=32
6952          ;;
6953        *ELF-64*)
6954 <        HPUX_IA64_MODE="64"
6954 >        HPUX_IA64_MODE=64
6955          ;;
6956      esac
6957    fi
6958    rm -rf conftest*
6959    ;;
6960   *-*-irix6*)
6961 <  # Find out which ABI we are using.
6961 >  # Find out what ABI is being produced by ac_compile, and set linker
6962 >  # options accordingly.
6963    echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6964    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6965    (eval $ac_compile) 2>&5
6966    ac_status=$?
6967    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968    test $ac_status = 0; }; then
6969 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6969 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6970        case `/usr/bin/file conftest.$ac_objext` in
6971          *32-bit*)
6972            LD="${LD-ld} -melf32bsmip"
# Line 6929 | Line 6995 | ia64-*-hpux*)
6995    rm -rf conftest*
6996    ;;
6997  
6998 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6998 > mips64*-*linux*)
6999 >  # Find out what ABI is being produced by ac_compile, and set linker
7000 >  # options accordingly.
7001 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7002 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 >  (eval $ac_compile) 2>&5
7004 >  ac_status=$?
7005 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 >  test $ac_status = 0; }; then
7007 >    emul=elf
7008 >    case `/usr/bin/file conftest.$ac_objext` in
7009 >      *32-bit*)
7010 >        emul="${emul}32"
7011 >        ;;
7012 >      *64-bit*)
7013 >        emul="${emul}64"
7014 >        ;;
7015 >    esac
7016 >    case `/usr/bin/file conftest.$ac_objext` in
7017 >      *MSB*)
7018 >        emul="${emul}btsmip"
7019 >        ;;
7020 >      *LSB*)
7021 >        emul="${emul}ltsmip"
7022 >        ;;
7023 >    esac
7024 >    case `/usr/bin/file conftest.$ac_objext` in
7025 >      *N32*)
7026 >        emul="${emul}n32"
7027 >        ;;
7028 >    esac
7029 >    LD="${LD-ld} -m $emul"
7030 >  fi
7031 >  rm -rf conftest*
7032 >  ;;
7033 >
7034 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7035   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7036 <  # Find out which ABI we are using.
7036 >  # Find out what ABI is being produced by ac_compile, and set linker
7037 >  # options accordingly.  Note that the listed cases only cover the
7038 >  # situations where additional linker options are needed (such as when
7039 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7040 >  # vice versa); the common cases where no linker options are needed do
7041 >  # not appear in the list.
7042    echo 'int i;' > conftest.$ac_ext
7043    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7044    (eval $ac_compile) 2>&5
# Line 6945 | Line 7052 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7052              LD="${LD-ld} -m elf_i386_fbsd"
7053              ;;
7054            x86_64-*linux*)
7055 <            LD="${LD-ld} -m elf_i386"
7055 >            case `/usr/bin/file conftest.o` in
7056 >              *x86-64*)
7057 >                LD="${LD-ld} -m elf32_x86_64"
7058 >                ;;
7059 >              *)
7060 >                LD="${LD-ld} -m elf_i386"
7061 >                ;;
7062 >            esac
7063 >            ;;
7064 >          powerpc64le-*linux*)
7065 >            LD="${LD-ld} -m elf32lppclinux"
7066              ;;
7067 <          ppc64-*linux*|powerpc64-*linux*)
7067 >          powerpc64-*linux*)
7068              LD="${LD-ld} -m elf32ppclinux"
7069              ;;
7070            s390x-*linux*)
# Line 6966 | Line 7083 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7083            x86_64-*linux*)
7084              LD="${LD-ld} -m elf_x86_64"
7085              ;;
7086 <          ppc*-*linux*|powerpc*-*linux*)
7086 >          powerpcle-*linux*)
7087 >            LD="${LD-ld} -m elf64lppc"
7088 >            ;;
7089 >          powerpc-*linux*)
7090              LD="${LD-ld} -m elf64ppc"
7091              ;;
7092            s390*-*linux*|s390*-*tpf*)
# Line 6984 | Line 7104 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7104  
7105   *-*-sco3.2v5*)
7106    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7107 <  SAVE_CFLAGS="$CFLAGS"
7107 >  SAVE_CFLAGS=$CFLAGS
7108    CFLAGS="$CFLAGS -belf"
7109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7110   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
# Line 7024 | Line 7144 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7144   fi
7145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7146   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7147 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7147 >  if test yes != "$lt_cv_cc_needs_belf"; then
7148      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7149 <    CFLAGS="$SAVE_CFLAGS"
7149 >    CFLAGS=$SAVE_CFLAGS
7150    fi
7151    ;;
7152   *-*solaris*)
7153 <  # Find out which ABI we are using.
7153 >  # Find out what ABI is being produced by ac_compile, and set linker
7154 >  # options accordingly.
7155    echo 'int i;' > conftest.$ac_ext
7156    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7157    (eval $ac_compile) 2>&5
# Line 7042 | Line 7163 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7163        case $lt_cv_prog_gnu_ld in
7164        yes*)
7165          case $host in
7166 <        i?86-*-solaris*)
7166 >        i?86-*-solaris*|x86_64-*-solaris*)
7167            LD="${LD-ld} -m elf_x86_64"
7168            ;;
7169          sparc*-*-solaris*)
# Line 7051 | Line 7172 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7172          esac
7173          # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7174          if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7175 <          LD="${LD-ld}_sol2"
7175 >          LD=${LD-ld}_sol2
7176          fi
7177          ;;
7178        *)
# Line 7067 | Line 7188 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7188    ;;
7189   esac
7190  
7191 < need_locks="$enable_libtool_lock"
7191 > need_locks=$enable_libtool_lock
7192  
7193   if test -n "$ac_tool_prefix"; then
7194    # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
# Line 7178 | Line 7299 | else
7299   fi
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7301   $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7302 < if test "x$lt_cv_path_mainfest_tool" != xyes; then
7302 > if test yes != "$lt_cv_path_mainfest_tool"; then
7303    MANIFEST_TOOL=:
7304   fi
7305  
# Line 7681 | Line 7802 | if ${lt_cv_apple_cc_single_mod+:} false;
7802    $as_echo_n "(cached) " >&6
7803   else
7804    lt_cv_apple_cc_single_mod=no
7805 <      if test -z "${LT_MULTI_MODULE}"; then
7805 >      if test -z "$LT_MULTI_MODULE"; then
7806          # By default we will add the -single_module flag. You can override
7807          # by either setting the environment variable LT_MULTI_MODULE
7808          # non-empty at configure time, or by adding -multi_module to the
# Line 7699 | Line 7820 | else
7820            cat conftest.err >&5
7821          # Otherwise, if the output was created with a 0 exit code from
7822          # the compiler, it worked.
7823 <        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7823 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7824            lt_cv_apple_cc_single_mod=yes
7825          else
7826            cat conftest.err >&5
# Line 7738 | Line 7859 | else
7859   fi
7860   rm -f core conftest.err conftest.$ac_objext \
7861      conftest$ac_exeext conftest.$ac_ext
7862 <        LDFLAGS="$save_LDFLAGS"
7862 >        LDFLAGS=$save_LDFLAGS
7863  
7864   fi
7865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
# Line 7767 | Line 7888 | _LT_EOF
7888        _lt_result=$?
7889        if test -s conftest.err && $GREP force_load conftest.err; then
7890          cat conftest.err >&5
7891 <      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7891 >      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7892          lt_cv_ld_force_load=yes
7893        else
7894          cat conftest.err >&5
# Line 7780 | Line 7901 | fi
7901   $as_echo "$lt_cv_ld_force_load" >&6; }
7902      case $host_os in
7903      rhapsody* | darwin1.[012])
7904 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7904 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7905      darwin1.*)
7906 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7906 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7907      darwin*) # darwin 5.x on
7908        # if running on 10.5 or later, the deployment target defaults
7909        # to the OS version, if on x86, and 10.4, the deployment
7910        # target defaults to 10.4. Don't you love it?
7911        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7912          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7913 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7914 <        10.[012]*)
7915 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7913 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7914 >        10.[012][,.]*)
7915 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7916          10.*)
7917 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7917 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7918        esac
7919      ;;
7920    esac
7921 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7921 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7922        _lt_dar_single_mod='$single_module'
7923      fi
7924 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7925 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7924 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7925 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7926      else
7927 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7927 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7928      fi
7929 <    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7929 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7930        _lt_dsymutil='~$DSYMUTIL $lib || :'
7931      else
7932        _lt_dsymutil=
# Line 7813 | Line 7934 | $as_echo "$lt_cv_ld_force_load" >&6; }
7934      ;;
7935    esac
7936  
7937 + # func_munge_path_list VARIABLE PATH
7938 + # -----------------------------------
7939 + # VARIABLE is name of variable containing _space_ separated list of
7940 + # directories to be munged by the contents of PATH, which is string
7941 + # having a format:
7942 + # "DIR[:DIR]:"
7943 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7944 + # ":DIR[:DIR]"
7945 + #       string "DIR[ DIR]" will be appended to VARIABLE
7946 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7947 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7948 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7949 + # "DIR[:DIR]"
7950 + #       VARIABLE will be replaced by "DIR[ DIR]"
7951 + func_munge_path_list ()
7952 + {
7953 +    case x$2 in
7954 +    x)
7955 +        ;;
7956 +    *:)
7957 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7958 +        ;;
7959 +    x:*)
7960 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7961 +        ;;
7962 +    *::*)
7963 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7964 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7965 +        ;;
7966 +    *)
7967 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7968 +        ;;
7969 +    esac
7970 + }
7971 +
7972   ac_ext=c
7973   ac_cpp='$CPP $CPPFLAGS'
7974   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8108 | Line 8264 | if test "${enable_static+set}" = set; th
8264      *)
8265       enable_static=no
8266        # Look at the argument we got.  We use all the common list separators.
8267 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8267 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8268        for pkg in $enableval; do
8269 <        IFS="$lt_save_ifs"
8269 >        IFS=$lt_save_ifs
8270          if test "X$pkg" = "X$p"; then
8271            enable_static=yes
8272          fi
8273        done
8274 <      IFS="$lt_save_ifs"
8274 >      IFS=$lt_save_ifs
8275        ;;
8276      esac
8277   else
# Line 8144 | Line 8300 | if test "${enable_shared+set}" = set; th
8300      *)
8301        enable_shared=no
8302        # Look at the argument we got.  We use all the common list separators.
8303 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8303 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8304        for pkg in $enableval; do
8305 <        IFS="$lt_save_ifs"
8305 >        IFS=$lt_save_ifs
8306          if test "X$pkg" = "X$p"; then
8307            enable_shared=yes
8308          fi
8309        done
8310 <      IFS="$lt_save_ifs"
8310 >      IFS=$lt_save_ifs
8311        ;;
8312      esac
8313   else
# Line 8176 | Line 8332 | if test "${with_pic+set}" = set; then :
8332      *)
8333        pic_mode=default
8334        # Look at the argument we got.  We use all the common list separators.
8335 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8335 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8336        for lt_pkg in $withval; do
8337 <        IFS="$lt_save_ifs"
8337 >        IFS=$lt_save_ifs
8338          if test "X$lt_pkg" = "X$lt_p"; then
8339            pic_mode=yes
8340          fi
8341        done
8342 <      IFS="$lt_save_ifs"
8342 >      IFS=$lt_save_ifs
8343        ;;
8344      esac
8345   else
# Line 8191 | Line 8347 | else
8347   fi
8348  
8349  
8194 test -z "$pic_mode" && pic_mode=default
8195
8350  
8351  
8352  
# Line 8208 | Line 8362 | if test "${enable_fast_install+set}" = s
8362      *)
8363        enable_fast_install=no
8364        # Look at the argument we got.  We use all the common list separators.
8365 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8365 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8366        for pkg in $enableval; do
8367 <        IFS="$lt_save_ifs"
8367 >        IFS=$lt_save_ifs
8368          if test "X$pkg" = "X$p"; then
8369            enable_fast_install=yes
8370          fi
8371        done
8372 <      IFS="$lt_save_ifs"
8372 >      IFS=$lt_save_ifs
8373        ;;
8374      esac
8375   else
# Line 8229 | Line 8383 | fi
8383  
8384  
8385  
8386 +  shared_archive_member_spec=
8387 + case $host,$enable_shared in
8388 + power*-*-aix[5-9]*,yes)
8389 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8390 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8391 +
8392 + # Check whether --with-aix-soname was given.
8393 + if test "${with_aix_soname+set}" = set; then :
8394 +  withval=$with_aix_soname; case $withval in
8395 +    aix|svr4|both)
8396 +      ;;
8397 +    *)
8398 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8399 +      ;;
8400 +    esac
8401 +    lt_cv_with_aix_soname=$with_aix_soname
8402 + else
8403 +  if ${lt_cv_with_aix_soname+:} false; then :
8404 +  $as_echo_n "(cached) " >&6
8405 + else
8406 +  lt_cv_with_aix_soname=aix
8407 + fi
8408 +
8409 +    with_aix_soname=$lt_cv_with_aix_soname
8410 + fi
8411 +
8412 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8413 + $as_echo "$with_aix_soname" >&6; }
8414 +  if test aix != "$with_aix_soname"; then
8415 +    # For the AIX way of multilib, we name the shared archive member
8416 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8417 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8418 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8419 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8420 +    if test 64 = "${OBJECT_MODE-32}"; then
8421 +      shared_archive_member_spec=shr_64
8422 +    else
8423 +      shared_archive_member_spec=shr
8424 +    fi
8425 +  fi
8426 +  ;;
8427 + *)
8428 +  with_aix_soname=aix
8429 +  ;;
8430 + esac
8431 +
8432 +
8433 +
8434 +
8435 +
8436 +
8437 +
8438  
8439  
8440  
8441   # This can be used to rebuild libtool when needed
8442 < LIBTOOL_DEPS="$ltmain"
8442 > LIBTOOL_DEPS=$ltmain
8443  
8444   # Always use our own libtool.
8445   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 8282 | Line 8488 | test -z "$LN_S" && LN_S="ln -s"
8488  
8489  
8490  
8491 < if test -n "${ZSH_VERSION+set}" ; then
8491 > if test -n "${ZSH_VERSION+set}"; then
8492     setopt NO_GLOB_SUBST
8493   fi
8494  
# Line 8321 | Line 8527 | aix3*)
8527    # AIX sometimes has problems with the GCC collect2 program.  For some
8528    # reason, if we set the COLLECT_NAMES environment variable, the problems
8529    # vanish in a puff of smoke.
8530 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8530 >  if test set != "${COLLECT_NAMES+set}"; then
8531      COLLECT_NAMES=
8532      export COLLECT_NAMES
8533    fi
# Line 8332 | Line 8538 | esac
8538   ofile=libtool
8539   can_build_shared=yes
8540  
8541 < # All known linkers require a `.a' archive for static linking (except MSVC,
8541 > # All known linkers require a '.a' archive for static linking (except MSVC,
8542   # which needs '.lib').
8543   libext=a
8544  
8545 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8545 > with_gnu_ld=$lt_cv_prog_gnu_ld
8546  
8547 < old_CC="$CC"
8548 < old_CFLAGS="$CFLAGS"
8547 > old_CC=$CC
8548 > old_CFLAGS=$CFLAGS
8549  
8550   # Set sane defaults for various variables
8551   test -z "$CC" && CC=cc
# Line 8348 | Line 8554 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8554   test -z "$LD" && LD=ld
8555   test -z "$ac_objext" && ac_objext=o
8556  
8557 < for cc_temp in $compiler""; do
8558 <  case $cc_temp in
8353 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8354 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8355 <    \-*) ;;
8356 <    *) break;;
8357 <  esac
8358 < done
8359 < cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8557 > func_cc_basename $compiler
8558 > cc_basename=$func_cc_basename_result
8559  
8560  
8561   # Only perform the check for file, if the check method requires it
# Line 8371 | Line 8570 | if ${lt_cv_path_MAGIC_CMD+:} false; then
8570   else
8571    case $MAGIC_CMD in
8572   [\\/*] |  ?:[\\/]*)
8573 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8573 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8574    ;;
8575   *)
8576 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8577 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8576 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8577 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8578    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8579    for ac_dir in $ac_dummy; do
8580 <    IFS="$lt_save_ifs"
8580 >    IFS=$lt_save_ifs
8581      test -z "$ac_dir" && ac_dir=.
8582 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8583 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8582 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8583 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8584        if test -n "$file_magic_test_file"; then
8585          case $deplibs_check_method in
8586          "file_magic "*)
8587            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8588 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8588 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8589            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8590              $EGREP "$file_magic_regex" > /dev/null; then
8591              :
# Line 8409 | Line 8608 | _LT_EOF
8608        break
8609      fi
8610    done
8611 <  IFS="$lt_save_ifs"
8612 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8611 >  IFS=$lt_save_ifs
8612 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8613    ;;
8614   esac
8615   fi
8616  
8617 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8617 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8618   if test -n "$MAGIC_CMD"; then
8619    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8620   $as_echo "$MAGIC_CMD" >&6; }
# Line 8437 | Line 8636 | if ${lt_cv_path_MAGIC_CMD+:} false; then
8636   else
8637    case $MAGIC_CMD in
8638   [\\/*] |  ?:[\\/]*)
8639 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8639 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8640    ;;
8641   *)
8642 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8643 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8642 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8643 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8644    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8645    for ac_dir in $ac_dummy; do
8646 <    IFS="$lt_save_ifs"
8646 >    IFS=$lt_save_ifs
8647      test -z "$ac_dir" && ac_dir=.
8648 <    if test -f $ac_dir/file; then
8649 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8648 >    if test -f "$ac_dir/file"; then
8649 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8650        if test -n "$file_magic_test_file"; then
8651          case $deplibs_check_method in
8652          "file_magic "*)
8653            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8654 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8654 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8655            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8656              $EGREP "$file_magic_regex" > /dev/null; then
8657              :
# Line 8475 | Line 8674 | _LT_EOF
8674        break
8675      fi
8676    done
8677 <  IFS="$lt_save_ifs"
8678 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8677 >  IFS=$lt_save_ifs
8678 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8679    ;;
8680   esac
8681   fi
8682  
8683 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8683 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8684   if test -n "$MAGIC_CMD"; then
8685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8686   $as_echo "$MAGIC_CMD" >&6; }
# Line 8502 | Line 8701 | esac
8701  
8702   # Use C for the default configuration in the libtool script
8703  
8704 < lt_save_CC="$CC"
8704 > lt_save_CC=$CC
8705   ac_ext=c
8706   ac_cpp='$CPP $CPPFLAGS'
8707   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8564 | Line 8763 | if test -n "$compiler"; then
8763  
8764   lt_prog_compiler_no_builtin_flag=
8765  
8766 < if test "$GCC" = yes; then
8766 > if test yes = "$GCC"; then
8767    case $cc_basename in
8768    nvcc*)
8769      lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
# Line 8580 | Line 8779 | else
8779    lt_cv_prog_compiler_rtti_exceptions=no
8780     ac_outfile=conftest.$ac_objext
8781     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8782 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8782 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8783     # Insert the option either (1) after the last *FLAGS variable, or
8784     # (2) before a word containing "conftest.", or (3) at the end.
8785     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8610 | Line 8809 | fi
8809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8810   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8811  
8812 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8812 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8813      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8814   else
8815      :
# Line 8628 | Line 8827 | lt_prog_compiler_pic=
8827   lt_prog_compiler_static=
8828  
8829  
8830 <  if test "$GCC" = yes; then
8830 >  if test yes = "$GCC"; then
8831      lt_prog_compiler_wl='-Wl,'
8832      lt_prog_compiler_static='-static'
8833  
8834      case $host_os in
8835        aix*)
8836        # All AIX code is PIC.
8837 <      if test "$host_cpu" = ia64; then
8837 >      if test ia64 = "$host_cpu"; then
8838          # AIX 5 now supports IA64 processor
8839          lt_prog_compiler_static='-Bstatic'
8840        fi
8841 +      lt_prog_compiler_pic='-fPIC'
8842        ;;
8843  
8844      amigaos*)
# Line 8649 | Line 8849 | lt_prog_compiler_static=
8849          ;;
8850        m68k)
8851              # FIXME: we need at least 68020 code to build shared libraries, but
8852 <            # adding the `-m68020' flag to GCC prevents building anything better,
8853 <            # like `-m68040'.
8852 >            # adding the '-m68020' flag to GCC prevents building anything better,
8853 >            # like '-m68040'.
8854              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8855          ;;
8856        esac
# Line 8666 | Line 8866 | lt_prog_compiler_static=
8866        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8867        # (--disable-auto-import) libraries
8868        lt_prog_compiler_pic='-DDLL_EXPORT'
8869 +      case $host_os in
8870 +      os2*)
8871 +        lt_prog_compiler_static='$wl-static'
8872 +        ;;
8873 +      esac
8874        ;;
8875  
8876      darwin* | rhapsody*)
# Line 8736 | Line 8941 | lt_prog_compiler_static=
8941      case $host_os in
8942      aix*)
8943        lt_prog_compiler_wl='-Wl,'
8944 <      if test "$host_cpu" = ia64; then
8944 >      if test ia64 = "$host_cpu"; then
8945          # AIX 5 now supports IA64 processor
8946          lt_prog_compiler_static='-Bstatic'
8947        else
# Line 8744 | Line 8949 | lt_prog_compiler_static=
8949        fi
8950        ;;
8951  
8952 +    darwin* | rhapsody*)
8953 +      # PIC is the default on this platform
8954 +      # Common symbols not allowed in MH_DYLIB files
8955 +      lt_prog_compiler_pic='-fno-common'
8956 +      case $cc_basename in
8957 +      nagfor*)
8958 +        # NAG Fortran compiler
8959 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8960 +        lt_prog_compiler_pic='-PIC'
8961 +        lt_prog_compiler_static='-Bstatic'
8962 +        ;;
8963 +      esac
8964 +      ;;
8965 +
8966      mingw* | cygwin* | pw32* | os2* | cegcc*)
8967        # This hack is so that the source file can tell whether it is being
8968        # built for inclusion in a dll (and should export symbols for example).
8969        lt_prog_compiler_pic='-DDLL_EXPORT'
8970 +      case $host_os in
8971 +      os2*)
8972 +        lt_prog_compiler_static='$wl-static'
8973 +        ;;
8974 +      esac
8975        ;;
8976  
8977      hpux9* | hpux10* | hpux11*)
# Line 8763 | Line 8987 | lt_prog_compiler_static=
8987          ;;
8988        esac
8989        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8990 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8990 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8991        ;;
8992  
8993      irix5* | irix6* | nonstopux*)
# Line 8772 | Line 8996 | lt_prog_compiler_static=
8996        lt_prog_compiler_static='-non_shared'
8997        ;;
8998  
8999 <    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8999 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9000        case $cc_basename in
9001 <      # old Intel for x86_64 which still supported -KPIC.
9001 >      # old Intel for x86_64, which still supported -KPIC.
9002        ecc*)
9003          lt_prog_compiler_wl='-Wl,'
9004          lt_prog_compiler_pic='-KPIC'
9005          lt_prog_compiler_static='-static'
9006          ;;
9007 +      # flang / f18. f95 an alias for gfortran or flang on Debian
9008 +      flang* | f18* | f95*)
9009 +        lt_prog_compiler_wl='-Wl,'
9010 +        lt_prog_compiler_pic='-fPIC'
9011 +        lt_prog_compiler_static='-static'
9012 +        ;;
9013        # icc used to be incompatible with GCC.
9014        # ICC 10 doesn't accept -KPIC any more.
9015        icc* | ifort*)
# Line 8799 | Line 9029 | lt_prog_compiler_static=
9029          lt_prog_compiler_pic='-PIC'
9030          lt_prog_compiler_static='-Bstatic'
9031          ;;
9032 +      tcc*)
9033 +        # Fabrice Bellard et al's Tiny C Compiler
9034 +        lt_prog_compiler_wl='-Wl,'
9035 +        lt_prog_compiler_pic='-fPIC'
9036 +        lt_prog_compiler_static='-static'
9037 +        ;;
9038        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9039          # Portland Group compilers (*not* the Pentium gcc compiler,
9040          # which looks to be a dead project)
# Line 8896 | Line 9132 | lt_prog_compiler_static=
9132        ;;
9133  
9134      sysv4*MP*)
9135 <      if test -d /usr/nec ;then
9135 >      if test -d /usr/nec; then
9136          lt_prog_compiler_pic='-Kconform_pic'
9137          lt_prog_compiler_static='-Bstatic'
9138        fi
# Line 8925 | Line 9161 | lt_prog_compiler_static=
9161    fi
9162  
9163   case $host_os in
9164 <  # For platforms which do not support PIC, -DPIC is meaningless:
9164 >  # For platforms that do not support PIC, -DPIC is meaningless:
9165    *djgpp*)
9166      lt_prog_compiler_pic=
9167      ;;
# Line 8957 | Line 9193 | else
9193    lt_cv_prog_compiler_pic_works=no
9194     ac_outfile=conftest.$ac_objext
9195     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9196 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9196 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9197     # Insert the option either (1) after the last *FLAGS variable, or
9198     # (2) before a word containing "conftest.", or (3) at the end.
9199     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8987 | Line 9223 | fi
9223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9224   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9225  
9226 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9226 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9227      case $lt_prog_compiler_pic in
9228       "" | " "*) ;;
9229       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 9019 | Line 9255 | if ${lt_cv_prog_compiler_static_works+:}
9255    $as_echo_n "(cached) " >&6
9256   else
9257    lt_cv_prog_compiler_static_works=no
9258 <   save_LDFLAGS="$LDFLAGS"
9258 >   save_LDFLAGS=$LDFLAGS
9259     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9260     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9261     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 9038 | Line 9274 | else
9274       fi
9275     fi
9276     $RM -r conftest*
9277 <   LDFLAGS="$save_LDFLAGS"
9277 >   LDFLAGS=$save_LDFLAGS
9278  
9279   fi
9280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9281   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9282  
9283 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9283 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9284      :
9285   else
9286      lt_prog_compiler_static=
# Line 9164 | Line 9400 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9400  
9401  
9402  
9403 < hard_links="nottested"
9404 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9403 > hard_links=nottested
9404 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9405    # do not overwrite the value of need_locks provided by the user
9406    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9407   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 9177 | Line 9413 | $as_echo_n "checking if we can lock with
9413    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9415   $as_echo "$hard_links" >&6; }
9416 <  if test "$hard_links" = no; then
9417 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9418 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9416 >  if test no = "$hard_links"; then
9417 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9418 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9419      need_locks=warn
9420    fi
9421   else
# Line 9222 | Line 9458 | $as_echo_n "checking whether the $compil
9458    # included in the symbol list
9459    include_expsyms=
9460    # exclude_expsyms can be an extended regexp of symbols to exclude
9461 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9462 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9463 <  # as well as any symbol that contains `d'.
9461 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9462 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9463 >  # as well as any symbol that contains 'd'.
9464    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9465    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9466    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 9239 | Line 9475 | $as_echo_n "checking whether the $compil
9475      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9476      # When not using gcc, we currently assume that we are using
9477      # Microsoft Visual C++.
9478 <    if test "$GCC" != yes; then
9478 >    if test yes != "$GCC"; then
9479        with_gnu_ld=no
9480      fi
9481      ;;
# Line 9247 | Line 9483 | $as_echo_n "checking whether the $compil
9483      # we just hope/assume this is gcc and not c89 (= MSVC++)
9484      with_gnu_ld=yes
9485      ;;
9486 <  openbsd*)
9486 >  openbsd* | bitrig*)
9487      with_gnu_ld=no
9488      ;;
9489 +  linux* | k*bsd*-gnu | gnu*)
9490 +    link_all_deplibs=no
9491 +    ;;
9492    esac
9493  
9494    ld_shlibs=yes
# Line 9257 | Line 9496 | $as_echo_n "checking whether the $compil
9496    # On some targets, GNU ld is compatible enough with the native linker
9497    # that we're better off using the native interface for both.
9498    lt_use_gnu_ld_interface=no
9499 <  if test "$with_gnu_ld" = yes; then
9499 >  if test yes = "$with_gnu_ld"; then
9500      case $host_os in
9501        aix*)
9502          # The AIX port of GNU ld has always aspired to compatibility
# Line 9279 | Line 9518 | $as_echo_n "checking whether the $compil
9518      esac
9519    fi
9520  
9521 <  if test "$lt_use_gnu_ld_interface" = yes; then
9521 >  if test yes = "$lt_use_gnu_ld_interface"; then
9522      # If archive_cmds runs LD, not CC, wlarc should be empty
9523 <    wlarc='${wl}'
9523 >    wlarc='$wl'
9524  
9525      # Set some defaults for GNU ld with shared library support. These
9526      # are reset later if shared libraries are not supported. Putting them
9527      # here allows them to be overridden if necessary.
9528      runpath_var=LD_RUN_PATH
9529 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9530 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9529 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9530 >    export_dynamic_flag_spec='$wl--export-dynamic'
9531      # ancient GNU ld didn't support --whole-archive et. al.
9532      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9533 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9533 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9534      else
9535        whole_archive_flag_spec=
9536      fi
9537      supports_anon_versioning=no
9538 <    case `$LD -v 2>&1` in
9538 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9539        *GNU\ gold*) supports_anon_versioning=yes ;;
9540        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9541        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
# Line 9309 | Line 9548 | $as_echo_n "checking whether the $compil
9548      case $host_os in
9549      aix[3-9]*)
9550        # On AIX/PPC, the GNU linker is very broken
9551 <      if test "$host_cpu" != ia64; then
9551 >      if test ia64 != "$host_cpu"; then
9552          ld_shlibs=no
9553          cat <<_LT_EOF 1>&2
9554  
# Line 9328 | Line 9567 | _LT_EOF
9567        case $host_cpu in
9568        powerpc)
9569              # see comment about AmigaOS4 .so support
9570 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9570 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9571              archive_expsym_cmds=''
9572          ;;
9573        m68k)
# Line 9344 | Line 9583 | _LT_EOF
9583          allow_undefined_flag=unsupported
9584          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9585          # support --undefined.  This deserves some investigation.  FIXME
9586 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9587        else
9588          ld_shlibs=no
9589        fi
# Line 9354 | Line 9593 | _LT_EOF
9593        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9594        # as there is no search path for DLLs.
9595        hardcode_libdir_flag_spec='-L$libdir'
9596 <      export_dynamic_flag_spec='${wl}--export-all-symbols'
9596 >      export_dynamic_flag_spec='$wl--export-all-symbols'
9597        allow_undefined_flag=unsupported
9598        always_export_symbols=no
9599        enable_shared_with_static_runtimes=yes
# Line 9362 | Line 9601 | _LT_EOF
9601        exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9602  
9603        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9604 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9605 <        # If the export-symbols file already is a .def file (1st line
9606 <        # is EXPORTS), use it as is; otherwise, prepend...
9607 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9608 <          cp $export_symbols $output_objdir/$soname.def;
9609 <        else
9610 <          echo EXPORTS > $output_objdir/$soname.def;
9611 <          cat $export_symbols >> $output_objdir/$soname.def;
9612 <        fi~
9613 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9604 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9605 >        # If the export-symbols file already is a .def file, use it as
9606 >        # is; otherwise, prepend EXPORTS...
9607 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9608 >          cp $export_symbols $output_objdir/$soname.def;
9609 >        else
9610 >          echo EXPORTS > $output_objdir/$soname.def;
9611 >          cat $export_symbols >> $output_objdir/$soname.def;
9612 >        fi~
9613 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9614        else
9615          ld_shlibs=no
9616        fi
9617        ;;
9618  
9619      haiku*)
9620 <      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9620 >      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9621        link_all_deplibs=yes
9622        ;;
9623  
9624 +    os2*)
9625 +      hardcode_libdir_flag_spec='-L$libdir'
9626 +      hardcode_minus_L=yes
9627 +      allow_undefined_flag=unsupported
9628 +      shrext_cmds=.dll
9629 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9630 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9631 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9632 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9633 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9634 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9635 +        emximp -o $lib $output_objdir/$libname.def'
9636 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9637 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9638 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9639 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9640 +        prefix_cmds="$SED"~
9641 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9642 +          prefix_cmds="$prefix_cmds -e 1d";
9643 +        fi~
9644 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9645 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9646 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9647 +        emximp -o $lib $output_objdir/$libname.def'
9648 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9649 +      enable_shared_with_static_runtimes=yes
9650 +      ;;
9651 +
9652      interix[3-9]*)
9653        hardcode_direct=no
9654        hardcode_shlibpath_var=no
9655 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9656 <      export_dynamic_flag_spec='${wl}-E'
9655 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9656 >      export_dynamic_flag_spec='$wl-E'
9657        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9658        # Instead, shared libraries are loaded at an image base (0x10000000 by
9659        # default) and relocated if they conflict, which is a slow very memory
9660        # consuming and fragmenting process.  To avoid this, we pick a random,
9661        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9662        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9663 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9664 <      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9663 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9664 >      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9665        ;;
9666  
9667      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9668        tmp_diet=no
9669 <      if test "$host_os" = linux-dietlibc; then
9669 >      if test linux-dietlibc = "$host_os"; then
9670          case $cc_basename in
9671            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9672          esac
9673        fi
9674        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9675 <         && test "$tmp_diet" = no
9675 >         && test no = "$tmp_diet"
9676        then
9677          tmp_addflag=' $pic_flag'
9678          tmp_sharedflag='-shared'
9679          case $cc_basename,$host_cpu in
9680          pgcc*)                          # Portland Group C compiler
9681 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9681 >          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9682            tmp_addflag=' $pic_flag'
9683            ;;
9684          pgf77* | pgf90* | pgf95* | pgfortran*)
9685                                          # Portland Group f77 and f90 compilers
9686 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9686 >          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9687            tmp_addflag=' $pic_flag -Mnomain' ;;
9688          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9689            tmp_addflag=' -i_dynamic' ;;
# Line 9427 | Line 9694 | _LT_EOF
9694          lf95*)                          # Lahey Fortran 8.1
9695            whole_archive_flag_spec=
9696            tmp_sharedflag='--shared' ;;
9697 +        nagfor*)                        # NAGFOR 5.3
9698 +          tmp_sharedflag='-Wl,-shared' ;;
9699          xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9700            tmp_sharedflag='-qmkshrobj'
9701            tmp_addflag= ;;
9702          nvcc*)  # Cuda Compiler Driver 2.2
9703 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9703 >          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9704            compiler_needs_object=yes
9705            ;;
9706          esac
9707          case `$CC -V 2>&1 | sed 5q` in
9708          *Sun\ C*)                       # Sun C 5.9
9709 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9709 >          whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9710            compiler_needs_object=yes
9711            tmp_sharedflag='-G' ;;
9712          *Sun\ F*)                       # Sun Fortran 8.3
9713            tmp_sharedflag='-G' ;;
9714          esac
9715 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9715 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9716  
9717 <        if test "x$supports_anon_versioning" = xyes; then
9717 >        if test yes = "$supports_anon_versioning"; then
9718            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9719 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9720 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9721 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9719 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9720 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9721 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9722          fi
9723  
9724          case $cc_basename in
9725 +        tcc*)
9726 +          export_dynamic_flag_spec='-rdynamic'
9727 +          ;;
9728          xlf* | bgf* | bgxlf* | mpixlf*)
9729            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9730            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9731 <          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9732            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9733 <          if test "x$supports_anon_versioning" = xyes; then
9733 >          if test yes = "$supports_anon_versioning"; then
9734              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9735 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9736 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9737 <              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9735 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9736 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9737 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9738            fi
9739            ;;
9740          esac
# Line 9471 | Line 9743 | _LT_EOF
9743        fi
9744        ;;
9745  
9746 <    netbsd*)
9746 >    netbsd* | netbsdelf*-gnu)
9747        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9748          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9749          wlarc=
9750        else
9751 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9752 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9751 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9752 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9753        fi
9754        ;;
9755  
# Line 9495 | Line 9767 | _LT_EOF
9767  
9768   _LT_EOF
9769        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9770 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9771 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9770 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9771 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9772        else
9773          ld_shlibs=no
9774        fi
# Line 9508 | Line 9780 | _LT_EOF
9780          ld_shlibs=no
9781          cat <<_LT_EOF 1>&2
9782  
9783 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9783 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9784   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9785   *** is disabling shared libraries support.  We urge you to upgrade GNU
9786   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 9523 | Line 9795 | _LT_EOF
9795            # DT_RUNPATH tag from executables and libraries.  But doing so
9796            # requires that you compile everything twice, which is a pain.
9797            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9798 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9799 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9800 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9798 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9799 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9800 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9801            else
9802              ld_shlibs=no
9803            fi
# Line 9542 | Line 9814 | _LT_EOF
9814  
9815      *)
9816        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9817 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9818 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9817 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9818 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9819        else
9820          ld_shlibs=no
9821        fi
9822        ;;
9823      esac
9824  
9825 <    if test "$ld_shlibs" = no; then
9825 >    if test no = "$ld_shlibs"; then
9826        runpath_var=
9827        hardcode_libdir_flag_spec=
9828        export_dynamic_flag_spec=
# Line 9566 | Line 9838 | _LT_EOF
9838        # Note: this linker hardcodes the directories in LIBPATH if there
9839        # are no directories specified by -L.
9840        hardcode_minus_L=yes
9841 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9841 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9842          # Neither direct hardcoding nor static linking is supported with a
9843          # broken collect2.
9844          hardcode_direct=unsupported
# Line 9574 | Line 9846 | _LT_EOF
9846        ;;
9847  
9848      aix[4-9]*)
9849 <      if test "$host_cpu" = ia64; then
9849 >      if test ia64 = "$host_cpu"; then
9850          # On IA64, the linker does run time linking by default, so we don't
9851          # have to do anything special.
9852          aix_use_runtimelinking=no
9853          exp_sym_flag='-Bexport'
9854 <        no_entry_flag=""
9854 >        no_entry_flag=
9855        else
9856          # If we're using GNU nm, then we don't want the "-C" option.
9857 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9858 <        # Also, AIX nm treats weak defined symbols like other global
9859 <        # defined symbols, whereas GNU nm marks them as "W".
9857 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9858 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9859 >        # weak defined symbols like other global defined symbols, whereas
9860 >        # GNU nm marks them as "W".
9861 >        # While the 'weak' keyword is ignored in the Export File, we need
9862 >        # it in the Import File for the 'aix-soname' feature, so we have
9863 >        # to replace the "-B" option with "-P" for AIX nm.
9864          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9865 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9865 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9866          else
9867 <          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9867 >          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9868          fi
9869          aix_use_runtimelinking=no
9870  
9871          # Test if we are trying to use run time linking or normal
9872          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9873 <        # need to do runtime linking.
9873 >        # have runtime linking enabled, and use it for executables.
9874 >        # For shared libraries, we enable/disable runtime linking
9875 >        # depending on the kind of the shared library created -
9876 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9877 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9878 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9879 >        #            lib.a           static archive
9880 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9881 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9882 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9883 >        #            lib.a(lib.so.V) shared, rtl:no
9884 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9885 >        #            lib.a           static archive
9886          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9887            for ld_flag in $LDFLAGS; do
9888 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9888 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9889              aix_use_runtimelinking=yes
9890              break
9891            fi
9892            done
9893 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9894 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9895 +            # so we don't have lib.a shared libs to link our executables.
9896 +            # We have to force runtime linking in this case.
9897 +            aix_use_runtimelinking=yes
9898 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9899 +          fi
9900            ;;
9901          esac
9902  
# Line 9620 | Line 9915 | _LT_EOF
9915        hardcode_direct_absolute=yes
9916        hardcode_libdir_separator=':'
9917        link_all_deplibs=yes
9918 <      file_list_spec='${wl}-f,'
9918 >      file_list_spec='$wl-f,'
9919 >      case $with_aix_soname,$aix_use_runtimelinking in
9920 >      aix,*) ;; # traditional, no import file
9921 >      svr4,* | *,yes) # use import file
9922 >        # The Import File defines what to hardcode.
9923 >        hardcode_direct=no
9924 >        hardcode_direct_absolute=no
9925 >        ;;
9926 >      esac
9927  
9928 <      if test "$GCC" = yes; then
9928 >      if test yes = "$GCC"; then
9929          case $host_os in aix4.[012]|aix4.[012].*)
9930          # We only want to do this on AIX 4.2 and lower, the check
9931          # below for broken collect2 doesn't work under 4.3+
9932 <          collect2name=`${CC} -print-prog-name=collect2`
9932 >          collect2name=`$CC -print-prog-name=collect2`
9933            if test -f "$collect2name" &&
9934             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9935            then
# Line 9645 | Line 9948 | _LT_EOF
9948            ;;
9949          esac
9950          shared_flag='-shared'
9951 <        if test "$aix_use_runtimelinking" = yes; then
9952 <          shared_flag="$shared_flag "'${wl}-G'
9951 >        if test yes = "$aix_use_runtimelinking"; then
9952 >          shared_flag="$shared_flag "'$wl-G'
9953          fi
9954 +        # Need to ensure runtime linking is disabled for the traditional
9955 +        # shared library, or the linker may eventually find shared libraries
9956 +        # /with/ Import File - we do not want to mix them.
9957 +        shared_flag_aix='-shared'
9958 +        shared_flag_svr4='-shared $wl-G'
9959        else
9960          # not using gcc
9961 <        if test "$host_cpu" = ia64; then
9961 >        if test ia64 = "$host_cpu"; then
9962          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9963          # chokes on -Wl,-G. The following line is correct:
9964            shared_flag='-G'
9965          else
9966 <          if test "$aix_use_runtimelinking" = yes; then
9967 <            shared_flag='${wl}-G'
9966 >          if test yes = "$aix_use_runtimelinking"; then
9967 >            shared_flag='$wl-G'
9968            else
9969 <            shared_flag='${wl}-bM:SRE'
9969 >            shared_flag='$wl-bM:SRE'
9970            fi
9971 +          shared_flag_aix='$wl-bM:SRE'
9972 +          shared_flag_svr4='$wl-G'
9973          fi
9974        fi
9975  
9976 <      export_dynamic_flag_spec='${wl}-bexpall'
9976 >      export_dynamic_flag_spec='$wl-bexpall'
9977        # It seems that -bexpall does not export symbols beginning with
9978        # underscore (_), so it is better to generate a list of symbols to export.
9979        always_export_symbols=yes
9980 <      if test "$aix_use_runtimelinking" = yes; then
9980 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9981          # Warning - without using the other runtime loading flags (-brtl),
9982          # -berok will link without error, but may produce a broken library.
9983          allow_undefined_flag='-berok'
9984          # Determine the default libpath from the value encoded in an
9985          # empty executable.
9986 <        if test "${lt_cv_aix_libpath+set}" = set; then
9986 >        if test set = "${lt_cv_aix_libpath+set}"; then
9987    aix_libpath=$lt_cv_aix_libpath
9988   else
9989    if ${lt_cv_aix_libpath_+:} false; then :
# Line 9708 | Line 10018 | fi
10018   rm -f core conftest.err conftest.$ac_objext \
10019      conftest$ac_exeext conftest.$ac_ext
10020    if test -z "$lt_cv_aix_libpath_"; then
10021 <    lt_cv_aix_libpath_="/usr/lib:/lib"
10021 >    lt_cv_aix_libpath_=/usr/lib:/lib
10022    fi
10023  
10024   fi
# Line 9716 | Line 10026 | fi
10026    aix_libpath=$lt_cv_aix_libpath_
10027   fi
10028  
10029 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10030 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10029 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10030 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10031        else
10032 <        if test "$host_cpu" = ia64; then
10033 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10032 >        if test ia64 = "$host_cpu"; then
10033 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10034            allow_undefined_flag="-z nodefs"
10035 <          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10035 >          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
10036          else
10037           # Determine the default libpath from the value encoded in an
10038           # empty executable.
10039 <         if test "${lt_cv_aix_libpath+set}" = set; then
10039 >         if test set = "${lt_cv_aix_libpath+set}"; then
10040    aix_libpath=$lt_cv_aix_libpath
10041   else
10042    if ${lt_cv_aix_libpath_+:} false; then :
# Line 9761 | Line 10071 | fi
10071   rm -f core conftest.err conftest.$ac_objext \
10072      conftest$ac_exeext conftest.$ac_ext
10073    if test -z "$lt_cv_aix_libpath_"; then
10074 <    lt_cv_aix_libpath_="/usr/lib:/lib"
10074 >    lt_cv_aix_libpath_=/usr/lib:/lib
10075    fi
10076  
10077   fi
# Line 9769 | Line 10079 | fi
10079    aix_libpath=$lt_cv_aix_libpath_
10080   fi
10081  
10082 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10082 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10083            # Warning - without using the other run time loading flags,
10084            # -berok will link without error, but may produce a broken library.
10085 <          no_undefined_flag=' ${wl}-bernotok'
10086 <          allow_undefined_flag=' ${wl}-berok'
10087 <          if test "$with_gnu_ld" = yes; then
10085 >          no_undefined_flag=' $wl-bernotok'
10086 >          allow_undefined_flag=' $wl-berok'
10087 >          if test yes = "$with_gnu_ld"; then
10088              # We only use this code for GNU lds that support --whole-archive.
10089 <            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10089 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10090            else
10091              # Exported symbols can be pulled into shared objects from archives
10092              whole_archive_flag_spec='$convenience'
10093            fi
10094            archive_cmds_need_lc=yes
10095 <          # This is similar to how AIX traditionally builds its shared libraries.
10096 <          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10095 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10096 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10097 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10098 >          if test svr4 != "$with_aix_soname"; then
10099 >            # This is similar to how AIX traditionally builds its shared libraries.
10100 >            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10101 >          fi
10102 >          if test aix != "$with_aix_soname"; then
10103 >            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10104 >          else
10105 >            # used by -dlpreopen to get the symbols
10106 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10107 >          fi
10108 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10109          fi
10110        fi
10111        ;;
# Line 9792 | Line 10114 | fi
10114        case $host_cpu in
10115        powerpc)
10116              # see comment about AmigaOS4 .so support
10117 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10117 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10118              archive_expsym_cmds=''
10119          ;;
10120        m68k)
# Line 9822 | Line 10144 | fi
10144          # Tell ltmain to make .lib files, not .a files.
10145          libext=lib
10146          # Tell ltmain to make .dll files, not .so files.
10147 <        shrext_cmds=".dll"
10147 >        shrext_cmds=.dll
10148          # FIXME: Setting linknames here is a bad hack.
10149 <        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10150 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10151 <            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10152 <          else
10153 <            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10154 <          fi~
10155 <          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10156 <          linknames='
10149 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10150 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10151 >            cp "$export_symbols" "$output_objdir/$soname.def";
10152 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10153 >          else
10154 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10155 >          fi~
10156 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10157 >          linknames='
10158          # The linker will not automatically build a static lib if we build a DLL.
10159          # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10160          enable_shared_with_static_runtimes=yes
# Line 9840 | Line 10163 | fi
10163          # Don't use ranlib
10164          old_postinstall_cmds='chmod 644 $oldlib'
10165          postlink_cmds='lt_outputfile="@OUTPUT@"~
10166 <          lt_tool_outputfile="@TOOL_OUTPUT@"~
10167 <          case $lt_outputfile in
10168 <            *.exe|*.EXE) ;;
10169 <            *)
10170 <              lt_outputfile="$lt_outputfile.exe"
10171 <              lt_tool_outputfile="$lt_tool_outputfile.exe"
10172 <              ;;
10173 <          esac~
10174 <          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10175 <            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10176 <            $RM "$lt_outputfile.manifest";
10177 <          fi'
10166 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10167 >          case $lt_outputfile in
10168 >            *.exe|*.EXE) ;;
10169 >            *)
10170 >              lt_outputfile=$lt_outputfile.exe
10171 >              lt_tool_outputfile=$lt_tool_outputfile.exe
10172 >              ;;
10173 >          esac~
10174 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10175 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10176 >            $RM "$lt_outputfile.manifest";
10177 >          fi'
10178          ;;
10179        *)
10180          # Assume MSVC wrapper
# Line 9860 | Line 10183 | fi
10183          # Tell ltmain to make .lib files, not .a files.
10184          libext=lib
10185          # Tell ltmain to make .dll files, not .so files.
10186 <        shrext_cmds=".dll"
10186 >        shrext_cmds=.dll
10187          # FIXME: Setting linknames here is a bad hack.
10188          archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10189          # The linker will automatically build a .lib file if we build a DLL.
# Line 9879 | Line 10202 | fi
10202    hardcode_direct=no
10203    hardcode_automatic=yes
10204    hardcode_shlibpath_var=unsupported
10205 <  if test "$lt_cv_ld_force_load" = "yes"; then
10206 <    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10205 >  if test yes = "$lt_cv_ld_force_load"; then
10206 >    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10207  
10208    else
10209      whole_archive_flag_spec=''
10210    fi
10211    link_all_deplibs=yes
10212 <  allow_undefined_flag="$_lt_dar_allow_undefined"
10212 >  allow_undefined_flag=$_lt_dar_allow_undefined
10213    case $cc_basename in
10214 <     ifort*) _lt_dar_can_shared=yes ;;
10214 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10215       *) _lt_dar_can_shared=$GCC ;;
10216    esac
10217 <  if test "$_lt_dar_can_shared" = "yes"; then
10217 >  if test yes = "$_lt_dar_can_shared"; then
10218      output_verbose_link_cmd=func_echo_all
10219 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10220 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10221 <    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10222 <    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10219 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10220 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10221 >    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10222 >    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10223  
10224    else
10225    ld_shlibs=no
# Line 9938 | Line 10261 | fi
10261        ;;
10262  
10263      hpux9*)
10264 <      if test "$GCC" = yes; then
10265 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10264 >      if test yes = "$GCC"; then
10265 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10266        else
10267 <        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10267 >        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10268        fi
10269 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10269 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10270        hardcode_libdir_separator=:
10271        hardcode_direct=yes
10272  
10273        # hardcode_minus_L: Not really in the search PATH,
10274        # but as the default location of the library.
10275        hardcode_minus_L=yes
10276 <      export_dynamic_flag_spec='${wl}-E'
10276 >      export_dynamic_flag_spec='$wl-E'
10277        ;;
10278  
10279      hpux10*)
10280 <      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10281 <        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10280 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10281 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10282        else
10283          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10284        fi
10285 <      if test "$with_gnu_ld" = no; then
10286 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10285 >      if test no = "$with_gnu_ld"; then
10286 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10287          hardcode_libdir_separator=:
10288          hardcode_direct=yes
10289          hardcode_direct_absolute=yes
10290 <        export_dynamic_flag_spec='${wl}-E'
10290 >        export_dynamic_flag_spec='$wl-E'
10291          # hardcode_minus_L: Not really in the search PATH,
10292          # but as the default location of the library.
10293          hardcode_minus_L=yes
# Line 9972 | Line 10295 | fi
10295        ;;
10296  
10297      hpux11*)
10298 <      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10298 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10299          case $host_cpu in
10300          hppa*64*)
10301 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10301 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10302            ;;
10303          ia64*)
10304 <          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10304 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10305            ;;
10306          *)
10307 <          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10307 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10308            ;;
10309          esac
10310        else
10311          case $host_cpu in
10312          hppa*64*)
10313 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10313 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10314            ;;
10315          ia64*)
10316 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10316 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10317            ;;
10318          *)
10319  
# Line 10002 | Line 10325 | if ${lt_cv_prog_compiler__b+:} false; th
10325    $as_echo_n "(cached) " >&6
10326   else
10327    lt_cv_prog_compiler__b=no
10328 <   save_LDFLAGS="$LDFLAGS"
10328 >   save_LDFLAGS=$LDFLAGS
10329     LDFLAGS="$LDFLAGS -b"
10330     echo "$lt_simple_link_test_code" > conftest.$ac_ext
10331     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 10021 | Line 10344 | else
10344       fi
10345     fi
10346     $RM -r conftest*
10347 <   LDFLAGS="$save_LDFLAGS"
10347 >   LDFLAGS=$save_LDFLAGS
10348  
10349   fi
10350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10351   $as_echo "$lt_cv_prog_compiler__b" >&6; }
10352  
10353 < if test x"$lt_cv_prog_compiler__b" = xyes; then
10354 <    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10353 > if test yes = "$lt_cv_prog_compiler__b"; then
10354 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10355   else
10356      archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10357   fi
# Line 10036 | Line 10359 | fi
10359            ;;
10360          esac
10361        fi
10362 <      if test "$with_gnu_ld" = no; then
10363 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10362 >      if test no = "$with_gnu_ld"; then
10363 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10364          hardcode_libdir_separator=:
10365  
10366          case $host_cpu in
# Line 10048 | Line 10371 | fi
10371          *)
10372            hardcode_direct=yes
10373            hardcode_direct_absolute=yes
10374 <          export_dynamic_flag_spec='${wl}-E'
10374 >          export_dynamic_flag_spec='$wl-E'
10375  
10376            # hardcode_minus_L: Not really in the search PATH,
10377            # but as the default location of the library.
# Line 10059 | Line 10382 | fi
10382        ;;
10383  
10384      irix5* | irix6* | nonstopux*)
10385 <      if test "$GCC" = yes; then
10386 <        archive_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 -o $lib'
10385 >      if test yes = "$GCC"; then
10386 >        archive_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 -o $lib'
10387          # Try to use the -exported_symbol ld option, if it does not
10388          # work, assume that -exports_file does not work either and
10389          # implicitly export all symbols.
# Line 10070 | Line 10393 | $as_echo_n "checking whether the $host_o
10393   if ${lt_cv_irix_exported_symbol+:} false; then :
10394    $as_echo_n "(cached) " >&6
10395   else
10396 <  save_LDFLAGS="$LDFLAGS"
10397 <           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10396 >  save_LDFLAGS=$LDFLAGS
10397 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10398             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399   /* end confdefs.h.  */
10400   int foo (void) { return 0; }
# Line 10083 | Line 10406 | else
10406   fi
10407   rm -f core conftest.err conftest.$ac_objext \
10408      conftest$ac_exeext conftest.$ac_ext
10409 <           LDFLAGS="$save_LDFLAGS"
10409 >           LDFLAGS=$save_LDFLAGS
10410   fi
10411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10412   $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10413 <        if test "$lt_cv_irix_exported_symbol" = yes; then
10414 <          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'
10413 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10414 >          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'
10415          fi
10416 +        link_all_deplibs=no
10417        else
10418 <        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'
10419 <        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'
10418 >        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'
10419 >        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'
10420        fi
10421        archive_cmds_need_lc='no'
10422 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10422 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10423        hardcode_libdir_separator=:
10424        inherit_rpath=yes
10425        link_all_deplibs=yes
10426        ;;
10427  
10428 <    netbsd*)
10428 >    linux*)
10429 >      case $cc_basename in
10430 >      tcc*)
10431 >        # Fabrice Bellard et al's Tiny C Compiler
10432 >        ld_shlibs=yes
10433 >        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10434 >        ;;
10435 >      esac
10436 >      ;;
10437 >
10438 >    netbsd* | netbsdelf*-gnu)
10439        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10440          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10441        else
# Line 10115 | Line 10449 | $as_echo "$lt_cv_irix_exported_symbol" >
10449      newsos6)
10450        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10451        hardcode_direct=yes
10452 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10452 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10453        hardcode_libdir_separator=:
10454        hardcode_shlibpath_var=no
10455        ;;
# Line 10123 | Line 10457 | $as_echo "$lt_cv_irix_exported_symbol" >
10457      *nto* | *qnx*)
10458        ;;
10459  
10460 <    openbsd*)
10460 >    openbsd* | bitrig*)
10461        if test -f /usr/libexec/ld.so; then
10462          hardcode_direct=yes
10463          hardcode_shlibpath_var=no
10464          hardcode_direct_absolute=yes
10465 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10465 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10466            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10467 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10468 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10469 <          export_dynamic_flag_spec='${wl}-E'
10467 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10468 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10469 >          export_dynamic_flag_spec='$wl-E'
10470          else
10471 <          case $host_os in
10472 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10139 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10140 <             hardcode_libdir_flag_spec='-R$libdir'
10141 <             ;;
10142 <           *)
10143 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10144 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10145 <             ;;
10146 <          esac
10471 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10472 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10473          fi
10474        else
10475          ld_shlibs=no
# Line 10154 | Line 10480 | $as_echo "$lt_cv_irix_exported_symbol" >
10480        hardcode_libdir_flag_spec='-L$libdir'
10481        hardcode_minus_L=yes
10482        allow_undefined_flag=unsupported
10483 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10484 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10483 >      shrext_cmds=.dll
10484 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10485 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10486 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10487 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10488 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10489 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10490 >        emximp -o $lib $output_objdir/$libname.def'
10491 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10492 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10493 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10494 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10495 >        prefix_cmds="$SED"~
10496 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10497 >          prefix_cmds="$prefix_cmds -e 1d";
10498 >        fi~
10499 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10500 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10501 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10502 >        emximp -o $lib $output_objdir/$libname.def'
10503 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10504 >      enable_shared_with_static_runtimes=yes
10505        ;;
10506  
10507      osf3*)
10508 <      if test "$GCC" = yes; then
10509 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10510 <        archive_cmds='$CC -shared${allow_undefined_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 -o $lib'
10508 >      if test yes = "$GCC"; then
10509 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10510 >        archive_cmds='$CC -shared$allow_undefined_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 -o $lib'
10511        else
10512          allow_undefined_flag=' -expect_unresolved \*'
10513 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10513 >        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10514        fi
10515        archive_cmds_need_lc='no'
10516 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10516 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10517        hardcode_libdir_separator=:
10518        ;;
10519  
10520      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10521 <      if test "$GCC" = yes; then
10522 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10523 <        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10524 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10521 >      if test yes = "$GCC"; then
10522 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10523 >        archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10524 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10525        else
10526          allow_undefined_flag=' -expect_unresolved \*'
10527 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10527 >        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10528          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10529 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10529 >          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10530  
10531          # Both c and cxx compiler support -rpath directly
10532          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 10191 | Line 10537 | $as_echo "$lt_cv_irix_exported_symbol" >
10537  
10538      solaris*)
10539        no_undefined_flag=' -z defs'
10540 <      if test "$GCC" = yes; then
10541 <        wlarc='${wl}'
10542 <        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10540 >      if test yes = "$GCC"; then
10541 >        wlarc='$wl'
10542 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10543          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10544 <          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10544 >          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10545        else
10546          case `$CC -V 2>&1` in
10547          *"Compilers 5.0"*)
10548            wlarc=''
10549 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10551 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10551 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10552            ;;
10553          *)
10554 <          wlarc='${wl}'
10555 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10554 >          wlarc='$wl'
10555 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10556            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10557 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10557 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10558            ;;
10559          esac
10560        fi
# Line 10218 | Line 10564 | $as_echo "$lt_cv_irix_exported_symbol" >
10564        solaris2.[0-5] | solaris2.[0-5].*) ;;
10565        *)
10566          # The compiler driver will combine and reorder linker options,
10567 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10567 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10568          # but is careful enough not to reorder.
10569          # Supported since Solaris 2.6 (maybe 2.5.1?)
10570 <        if test "$GCC" = yes; then
10571 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10570 >        if test yes = "$GCC"; then
10571 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10572          else
10573            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10574          fi
# Line 10232 | Line 10578 | $as_echo "$lt_cv_irix_exported_symbol" >
10578        ;;
10579  
10580      sunos4*)
10581 <      if test "x$host_vendor" = xsequent; then
10581 >      if test sequent = "$host_vendor"; then
10582          # Use $CC to link under sequent, because it throws in some extra .o
10583          # files that make .init and .fini sections work.
10584 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10584 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10585        else
10586          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10587        fi
# Line 10284 | Line 10630 | $as_echo "$lt_cv_irix_exported_symbol" >
10630        ;;
10631  
10632      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10633 <      no_undefined_flag='${wl}-z,text'
10633 >      no_undefined_flag='$wl-z,text'
10634        archive_cmds_need_lc=no
10635        hardcode_shlibpath_var=no
10636        runpath_var='LD_RUN_PATH'
10637  
10638 <      if test "$GCC" = yes; then
10639 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638 >      if test yes = "$GCC"; then
10639 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641        else
10642 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644        fi
10645        ;;
10646  
10647      sysv5* | sco3.2v5* | sco5v6*)
10648 <      # Note: We can NOT use -z defs as we might desire, because we do not
10648 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10649        # link with -lc, and that would cause any symbols used from libc to
10650        # always be unresolved, which means just about no library would
10651        # ever link correctly.  If we're not using GNU ld we use -z text
10652        # though, which does catch some bad symbols but isn't as heavy-handed
10653        # as -z defs.
10654 <      no_undefined_flag='${wl}-z,text'
10655 <      allow_undefined_flag='${wl}-z,nodefs'
10654 >      no_undefined_flag='$wl-z,text'
10655 >      allow_undefined_flag='$wl-z,nodefs'
10656        archive_cmds_need_lc=no
10657        hardcode_shlibpath_var=no
10658 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10658 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10659        hardcode_libdir_separator=':'
10660        link_all_deplibs=yes
10661 <      export_dynamic_flag_spec='${wl}-Bexport'
10661 >      export_dynamic_flag_spec='$wl-Bexport'
10662        runpath_var='LD_RUN_PATH'
10663  
10664 <      if test "$GCC" = yes; then
10665 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 >      if test yes = "$GCC"; then
10665 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667        else
10668 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10668 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670        fi
10671        ;;
10672  
# Line 10335 | Line 10681 | $as_echo "$lt_cv_irix_exported_symbol" >
10681        ;;
10682      esac
10683  
10684 <    if test x$host_vendor = xsni; then
10684 >    if test sni = "$host_vendor"; then
10685        case $host in
10686        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10687 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10687 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10688          ;;
10689        esac
10690      fi
# Line 10346 | Line 10692 | $as_echo "$lt_cv_irix_exported_symbol" >
10692  
10693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10694   $as_echo "$ld_shlibs" >&6; }
10695 < test "$ld_shlibs" = no && can_build_shared=no
10695 > test no = "$ld_shlibs" && can_build_shared=no
10696  
10697   with_gnu_ld=$with_gnu_ld
10698  
# Line 10372 | Line 10718 | x|xyes)
10718    # Assume -lc should be added
10719    archive_cmds_need_lc=yes
10720  
10721 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10721 >  if test yes,yes = "$GCC,$enable_shared"; then
10722      case $archive_cmds in
10723      *'~'*)
10724        # FIXME: we may have to deal with multi-command sequences.
# Line 10587 | Line 10933 | esac
10933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10934   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10935  
10936 < if test "$GCC" = yes; then
10936 > if test yes = "$GCC"; then
10937    case $host_os in
10938 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10939 <    *) lt_awk_arg="/^libraries:/" ;;
10938 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10939 >    *) lt_awk_arg='/^libraries:/' ;;
10940    esac
10941    case $host_os in
10942 <    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10943 <    *) lt_sed_strip_eq="s,=/,/,g" ;;
10942 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10943 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10944    esac
10945    lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10946    case $lt_search_path_spec in
# Line 10610 | Line 10956 | if test "$GCC" = yes; then
10956      ;;
10957    esac
10958    # Ok, now we have the path, separated by spaces, we can step through it
10959 <  # and add multilib dir if necessary.
10959 >  # and add multilib dir if necessary...
10960    lt_tmp_lt_search_path_spec=
10961 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10961 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10962 >  # ...but if some path component already ends with the multilib dir we assume
10963 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10964 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10965 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10966 >    lt_multi_os_dir=
10967 >    ;;
10968 >  esac
10969    for lt_sys_path in $lt_search_path_spec; do
10970 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10971 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10972 <    else
10970 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10971 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10972 >    elif test -n "$lt_multi_os_dir"; then
10973        test -d "$lt_sys_path" && \
10974          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10975      fi
10976    done
10977    lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10978 < BEGIN {RS=" "; FS="/|\n";} {
10979 <  lt_foo="";
10980 <  lt_count=0;
10978 > BEGIN {RS = " "; FS = "/|\n";} {
10979 >  lt_foo = "";
10980 >  lt_count = 0;
10981    for (lt_i = NF; lt_i > 0; lt_i--) {
10982      if ($lt_i != "" && $lt_i != ".") {
10983        if ($lt_i == "..") {
10984          lt_count++;
10985        } else {
10986          if (lt_count == 0) {
10987 <          lt_foo="/" $lt_i lt_foo;
10987 >          lt_foo = "/" $lt_i lt_foo;
10988          } else {
10989            lt_count--;
10990          }
# Line 10645 | Line 10998 | BEGIN {RS=" "; FS="/|\n";} {
10998    # for these hosts.
10999    case $host_os in
11000      mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11001 <      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11001 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11002    esac
11003    sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11004   else
# Line 10654 | Line 11007 | fi
11007   library_names_spec=
11008   libname_spec='lib$name'
11009   soname_spec=
11010 < shrext_cmds=".so"
11010 > shrext_cmds=.so
11011   postinstall_cmds=
11012   postuninstall_cmds=
11013   finish_cmds=
# Line 10671 | Line 11024 | hardcode_into_libs=no
11024   # flags to be left without arguments
11025   need_version=unknown
11026  
11027 +
11028 +
11029   case $host_os in
11030   aix3*)
11031    version_type=linux # correct to gnu/linux during the next big refactor
11032 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11032 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11033    shlibpath_var=LIBPATH
11034  
11035    # AIX 3 has no versioning support, so we append a major version to the name.
11036 <  soname_spec='${libname}${release}${shared_ext}$major'
11036 >  soname_spec='$libname$release$shared_ext$major'
11037    ;;
11038  
11039   aix[4-9]*)
# Line 10686 | Line 11041 | aix[4-9]*)
11041    need_lib_prefix=no
11042    need_version=no
11043    hardcode_into_libs=yes
11044 <  if test "$host_cpu" = ia64; then
11044 >  if test ia64 = "$host_cpu"; then
11045      # AIX 5 supports IA64
11046 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11046 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11047      shlibpath_var=LD_LIBRARY_PATH
11048    else
11049      # With GCC up to 2.95.x, collect2 would create an import file
11050      # for dependence libraries.  The import file would start with
11051 <    # the line `#! .'.  This would cause the generated library to
11052 <    # depend on `.', always an invalid library.  This was fixed in
11051 >    # the line '#! .'.  This would cause the generated library to
11052 >    # depend on '.', always an invalid library.  This was fixed in
11053      # development snapshots of GCC prior to 3.0.
11054      case $host_os in
11055        aix4 | aix4.[01] | aix4.[01].*)
11056        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11057             echo ' yes '
11058 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11058 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11059          :
11060        else
11061          can_build_shared=no
11062        fi
11063        ;;
11064      esac
11065 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11065 >    # Using Import Files as archive members, it is possible to support
11066 >    # filename-based versioning of shared library archives on AIX. While
11067 >    # this would work for both with and without runtime linking, it will
11068 >    # prevent static linking of such archives. So we do filename-based
11069 >    # shared library versioning with .so extension only, which is used
11070 >    # when both runtime linking and shared linking is enabled.
11071 >    # Unfortunately, runtime linking may impact performance, so we do
11072 >    # not want this to be the default eventually. Also, we use the
11073 >    # versioned .so libs for executables only if there is the -brtl
11074 >    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11075 >    # To allow for filename-based versioning support, we need to create
11076 >    # libNAME.so.V as an archive file, containing:
11077 >    # *) an Import File, referring to the versioned filename of the
11078 >    #    archive as well as the shared archive member, telling the
11079 >    #    bitwidth (32 or 64) of that shared object, and providing the
11080 >    #    list of exported symbols of that shared object, eventually
11081 >    #    decorated with the 'weak' keyword
11082 >    # *) the shared object with the F_LOADONLY flag set, to really avoid
11083 >    #    it being seen by the linker.
11084 >    # At run time we better use the real file rather than another symlink,
11085 >    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11086 >
11087 >    case $with_aix_soname,$aix_use_runtimelinking in
11088 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11089      # soname into executable. Probably we can add versioning support to
11090      # collect2, so additional links can be useful in future.
11091 <    if test "$aix_use_runtimelinking" = yes; then
11091 >    aix,yes) # traditional libtool
11092 >      dynamic_linker='AIX unversionable lib.so'
11093        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11094        # instead of lib<name>.a to let people know that these are not
11095        # typical AIX shared libraries.
11096 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 <    else
11096 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11097 >      ;;
11098 >    aix,no) # traditional AIX only
11099 >      dynamic_linker='AIX lib.a(lib.so.V)'
11100        # We preserve .a as extension for shared libraries through AIX4.2
11101        # and later when we are not doing run time linking.
11102 <      library_names_spec='${libname}${release}.a $libname.a'
11103 <      soname_spec='${libname}${release}${shared_ext}$major'
11104 <    fi
11102 >      library_names_spec='$libname$release.a $libname.a'
11103 >      soname_spec='$libname$release$shared_ext$major'
11104 >      ;;
11105 >    svr4,*) # full svr4 only
11106 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11107 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11108 >      # We do not specify a path in Import Files, so LIBPATH fires.
11109 >      shlibpath_overrides_runpath=yes
11110 >      ;;
11111 >    *,yes) # both, prefer svr4
11112 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11113 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11114 >      # unpreferred sharedlib libNAME.a needs extra handling
11115 >      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11116 >      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11117 >      # We do not specify a path in Import Files, so LIBPATH fires.
11118 >      shlibpath_overrides_runpath=yes
11119 >      ;;
11120 >    *,no) # both, prefer aix
11121 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11122 >      library_names_spec='$libname$release.a $libname.a'
11123 >      soname_spec='$libname$release$shared_ext$major'
11124 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11125 >      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11126 >      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11127 >      ;;
11128 >    esac
11129      shlibpath_var=LIBPATH
11130    fi
11131    ;;
# Line 10730 | Line 11135 | amigaos*)
11135    powerpc)
11136      # Since July 2007 AmigaOS4 officially supports .so libraries.
11137      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11138 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11139      ;;
11140    m68k)
11141      library_names_spec='$libname.ixlibrary $libname.a'
11142      # Create ${libname}_ixlibrary.a entries in /sys/libs.
11143 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11143 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11144      ;;
11145    esac
11146    ;;
11147  
11148   beos*)
11149 <  library_names_spec='${libname}${shared_ext}'
11149 >  library_names_spec='$libname$shared_ext'
11150    dynamic_linker="$host_os ld.so"
11151    shlibpath_var=LIBRARY_PATH
11152    ;;
# Line 10749 | Line 11154 | beos*)
11154   bsdi[45]*)
11155    version_type=linux # correct to gnu/linux during the next big refactor
11156    need_version=no
11157 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158 <  soname_spec='${libname}${release}${shared_ext}$major'
11157 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11158 >  soname_spec='$libname$release$shared_ext$major'
11159    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11160    shlibpath_var=LD_LIBRARY_PATH
11161    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 10762 | Line 11167 | bsdi[45]*)
11167  
11168   cygwin* | mingw* | pw32* | cegcc*)
11169    version_type=windows
11170 <  shrext_cmds=".dll"
11170 >  shrext_cmds=.dll
11171    need_version=no
11172    need_lib_prefix=no
11173  
# Line 10771 | Line 11176 | cygwin* | mingw* | pw32* | cegcc*)
11176      # gcc
11177      library_names_spec='$libname.dll.a'
11178      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11179 <    postinstall_cmds='base_file=`basename \${file}`~
11180 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11179 >    postinstall_cmds='base_file=`basename \$file`~
11180 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11181        dldir=$destdir/`dirname \$dlpath`~
11182        test -d \$dldir || mkdir -p \$dldir~
11183        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 10788 | Line 11193 | cygwin* | mingw* | pw32* | cegcc*)
11193      case $host_os in
11194      cygwin*)
11195        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11196 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11196 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11197  
11198        sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11199        ;;
11200      mingw* | cegcc*)
11201        # MinGW DLLs use traditional 'lib' prefix
11202 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11202 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11203        ;;
11204      pw32*)
11205        # pw32 DLLs use 'pw' prefix rather than 'lib'
11206 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11206 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11207        ;;
11208      esac
11209      dynamic_linker='Win32 ld.exe'
# Line 10807 | Line 11212 | cygwin* | mingw* | pw32* | cegcc*)
11212    *,cl*)
11213      # Native MSVC
11214      libname_spec='$name'
11215 <    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11216 <    library_names_spec='${libname}.dll.lib'
11215 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11216 >    library_names_spec='$libname.dll.lib'
11217  
11218      case $build_os in
11219      mingw*)
# Line 10835 | Line 11240 | cygwin* | mingw* | pw32* | cegcc*)
11240        sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11241        ;;
11242      *)
11243 <      sys_lib_search_path_spec="$LIB"
11243 >      sys_lib_search_path_spec=$LIB
11244        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11245          # It is most probably a Windows format PATH.
11246          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
# Line 10848 | Line 11253 | cygwin* | mingw* | pw32* | cegcc*)
11253      esac
11254  
11255      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11256 <    postinstall_cmds='base_file=`basename \${file}`~
11257 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11256 >    postinstall_cmds='base_file=`basename \$file`~
11257 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11258        dldir=$destdir/`dirname \$dlpath`~
11259        test -d \$dldir || mkdir -p \$dldir~
11260        $install_prog $dir/$dlname \$dldir/$dlname'
# Line 10862 | Line 11267 | cygwin* | mingw* | pw32* | cegcc*)
11267  
11268    *)
11269      # Assume MSVC wrapper
11270 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11270 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11271      dynamic_linker='Win32 ld.exe'
11272      ;;
11273    esac
# Line 10875 | Line 11280 | darwin* | rhapsody*)
11280    version_type=darwin
11281    need_lib_prefix=no
11282    need_version=no
11283 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11284 <  soname_spec='${libname}${release}${major}$shared_ext'
11283 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11284 >  soname_spec='$libname$release$major$shared_ext'
11285    shlibpath_overrides_runpath=yes
11286    shlibpath_var=DYLD_LIBRARY_PATH
11287    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 10889 | Line 11294 | dgux*)
11294    version_type=linux # correct to gnu/linux during the next big refactor
11295    need_lib_prefix=no
11296    need_version=no
11297 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11298 <  soname_spec='${libname}${release}${shared_ext}$major'
11297 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11298 >  soname_spec='$libname$release$shared_ext$major'
11299    shlibpath_var=LD_LIBRARY_PATH
11300    ;;
11301  
# Line 10908 | Line 11313 | freebsd* | dragonfly*)
11313    version_type=freebsd-$objformat
11314    case $version_type in
11315      freebsd-elf*)
11316 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11316 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11317 >      soname_spec='$libname$release$shared_ext$major'
11318        need_version=no
11319        need_lib_prefix=no
11320        ;;
11321      freebsd-*)
11322 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11322 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11323        need_version=yes
11324        ;;
11325    esac
# Line 10938 | Line 11344 | freebsd* | dragonfly*)
11344    esac
11345    ;;
11346  
10941 gnu*)
10942  version_type=linux # correct to gnu/linux during the next big refactor
10943  need_lib_prefix=no
10944  need_version=no
10945  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10946  soname_spec='${libname}${release}${shared_ext}$major'
10947  shlibpath_var=LD_LIBRARY_PATH
10948  shlibpath_overrides_runpath=no
10949  hardcode_into_libs=yes
10950  ;;
10951
11347   haiku*)
11348    version_type=linux # correct to gnu/linux during the next big refactor
11349    need_lib_prefix=no
11350    need_version=no
11351    dynamic_linker="$host_os runtime_loader"
11352 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11353 <  soname_spec='${libname}${release}${shared_ext}$major'
11352 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11353 >  soname_spec='$libname$release$shared_ext$major'
11354    shlibpath_var=LIBRARY_PATH
11355 <  shlibpath_overrides_runpath=yes
11355 >  shlibpath_overrides_runpath=no
11356    sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11357    hardcode_into_libs=yes
11358    ;;
# Line 10975 | Line 11370 | hpux9* | hpux10* | hpux11*)
11370      dynamic_linker="$host_os dld.so"
11371      shlibpath_var=LD_LIBRARY_PATH
11372      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11373 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 <    soname_spec='${libname}${release}${shared_ext}$major'
11375 <    if test "X$HPUX_IA64_MODE" = X32; then
11373 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11374 >    soname_spec='$libname$release$shared_ext$major'
11375 >    if test 32 = "$HPUX_IA64_MODE"; then
11376        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11377 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11378      else
11379        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11380 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11381      fi
10985    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11382      ;;
11383    hppa*64*)
11384      shrext_cmds='.sl'
# Line 10990 | Line 11386 | hpux9* | hpux10* | hpux11*)
11386      dynamic_linker="$host_os dld.sl"
11387      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11388      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11389 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11390 <    soname_spec='${libname}${release}${shared_ext}$major'
11389 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11390 >    soname_spec='$libname$release$shared_ext$major'
11391      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11392      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11393      ;;
# Line 11000 | Line 11396 | hpux9* | hpux10* | hpux11*)
11396      dynamic_linker="$host_os dld.sl"
11397      shlibpath_var=SHLIB_PATH
11398      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11399 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11400 <    soname_spec='${libname}${release}${shared_ext}$major'
11399 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11400 >    soname_spec='$libname$release$shared_ext$major'
11401      ;;
11402    esac
11403    # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
# Line 11014 | Line 11410 | interix[3-9]*)
11410    version_type=linux # correct to gnu/linux during the next big refactor
11411    need_lib_prefix=no
11412    need_version=no
11413 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11414 <  soname_spec='${libname}${release}${shared_ext}$major'
11413 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11414 >  soname_spec='$libname$release$shared_ext$major'
11415    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11416    shlibpath_var=LD_LIBRARY_PATH
11417    shlibpath_overrides_runpath=no
# Line 11026 | Line 11422 | irix5* | irix6* | nonstopux*)
11422    case $host_os in
11423      nonstopux*) version_type=nonstopux ;;
11424      *)
11425 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11425 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11426                  version_type=linux # correct to gnu/linux during the next big refactor
11427          else
11428                  version_type=irix
# Line 11034 | Line 11430 | irix5* | irix6* | nonstopux*)
11430    esac
11431    need_lib_prefix=no
11432    need_version=no
11433 <  soname_spec='${libname}${release}${shared_ext}$major'
11434 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11433 >  soname_spec='$libname$release$shared_ext$major'
11434 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11435    case $host_os in
11436    irix5* | nonstopux*)
11437      libsuff= shlibsuff=
# Line 11054 | Line 11450 | irix5* | irix6* | nonstopux*)
11450    esac
11451    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11452    shlibpath_overrides_runpath=no
11453 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11454 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11453 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11454 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11455    hardcode_into_libs=yes
11456    ;;
11457  
# Line 11064 | Line 11460 | linux*oldld* | linux*aout* | linux*coff*
11460    dynamic_linker=no
11461    ;;
11462  
11463 + linux*android*)
11464 +  version_type=none # Android doesn't support versioned libraries.
11465 +  need_lib_prefix=no
11466 +  need_version=no
11467 +  library_names_spec='$libname$release$shared_ext'
11468 +  soname_spec='$libname$release$shared_ext'
11469 +  finish_cmds=
11470 +  shlibpath_var=LD_LIBRARY_PATH
11471 +  shlibpath_overrides_runpath=yes
11472 +
11473 +  # This implies no fast_install, which is unacceptable.
11474 +  # Some rework will be needed to allow for fast_install
11475 +  # before this can be enabled.
11476 +  hardcode_into_libs=yes
11477 +
11478 +  dynamic_linker='Android linker'
11479 +  # Don't embed -rpath directories since the linker doesn't support them.
11480 +  hardcode_libdir_flag_spec='-L$libdir'
11481 +  ;;
11482 +
11483   # This must be glibc/ELF.
11484 < linux* | k*bsd*-gnu | kopensolaris*-gnu)
11484 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11485    version_type=linux # correct to gnu/linux during the next big refactor
11486    need_lib_prefix=no
11487    need_version=no
11488 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 <  soname_spec='${libname}${release}${shared_ext}$major'
11488 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11489 >  soname_spec='$libname$release$shared_ext$major'
11490    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11491    shlibpath_var=LD_LIBRARY_PATH
11492    shlibpath_overrides_runpath=no
# Line 11114 | Line 11530 | fi
11530    # before this can be enabled.
11531    hardcode_into_libs=yes
11532  
11533 <  # Append ld.so.conf contents to the search path
11533 >  # Ideally, we could use ldconfig to report *all* directores which are
11534 >  # searched for libraries, however this is still not possible.  Aside from not
11535 >  # being certain /sbin/ldconfig is available, command
11536 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11537 >  # even though it is searched at run-time.  Try to do the best guess by
11538 >  # appending ld.so.conf contents (and includes) to the search path.
11539    if test -f /etc/ld.so.conf; then
11540      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' ' '`
11541      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 11129 | Line 11550 | fi
11550    dynamic_linker='GNU/Linux ld.so'
11551    ;;
11552  
11553 + netbsdelf*-gnu)
11554 +  version_type=linux
11555 +  need_lib_prefix=no
11556 +  need_version=no
11557 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11558 +  soname_spec='${libname}${release}${shared_ext}$major'
11559 +  shlibpath_var=LD_LIBRARY_PATH
11560 +  shlibpath_overrides_runpath=no
11561 +  hardcode_into_libs=yes
11562 +  dynamic_linker='NetBSD ld.elf_so'
11563 +  ;;
11564 +
11565   netbsd*)
11566    version_type=sunos
11567    need_lib_prefix=no
11568    need_version=no
11569    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11570 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11570 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11571      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11572      dynamic_linker='NetBSD (a.out) ld.so'
11573    else
11574 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11575 <    soname_spec='${libname}${release}${shared_ext}$major'
11574 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11575 >    soname_spec='$libname$release$shared_ext$major'
11576      dynamic_linker='NetBSD ld.elf_so'
11577    fi
11578    shlibpath_var=LD_LIBRARY_PATH
# Line 11149 | Line 11582 | netbsd*)
11582  
11583   newsos6)
11584    version_type=linux # correct to gnu/linux during the next big refactor
11585 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11586    shlibpath_var=LD_LIBRARY_PATH
11587    shlibpath_overrides_runpath=yes
11588    ;;
# Line 11158 | Line 11591 | newsos6)
11591    version_type=qnx
11592    need_lib_prefix=no
11593    need_version=no
11594 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11595 <  soname_spec='${libname}${release}${shared_ext}$major'
11594 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11595 >  soname_spec='$libname$release$shared_ext$major'
11596    shlibpath_var=LD_LIBRARY_PATH
11597    shlibpath_overrides_runpath=no
11598    hardcode_into_libs=yes
11599    dynamic_linker='ldqnx.so'
11600    ;;
11601  
11602 < openbsd*)
11602 > openbsd* | bitrig*)
11603    version_type=sunos
11604 <  sys_lib_dlsearch_path_spec="/usr/lib"
11604 >  sys_lib_dlsearch_path_spec=/usr/lib
11605    need_lib_prefix=no
11606 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11607 <  case $host_os in
11175 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11176 <    *)                          need_version=no  ;;
11177 <  esac
11178 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11179 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11180 <  shlibpath_var=LD_LIBRARY_PATH
11181 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11182 <    case $host_os in
11183 <      openbsd2.[89] | openbsd2.[89].*)
11184 <        shlibpath_overrides_runpath=no
11185 <        ;;
11186 <      *)
11187 <        shlibpath_overrides_runpath=yes
11188 <        ;;
11189 <      esac
11606 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11607 >    need_version=no
11608    else
11609 <    shlibpath_overrides_runpath=yes
11609 >    need_version=yes
11610    fi
11611 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11612 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11613 +  shlibpath_var=LD_LIBRARY_PATH
11614 +  shlibpath_overrides_runpath=yes
11615    ;;
11616  
11617   os2*)
11618    libname_spec='$name'
11619 <  shrext_cmds=".dll"
11619 >  version_type=windows
11620 >  shrext_cmds=.dll
11621 >  need_version=no
11622    need_lib_prefix=no
11623 <  library_names_spec='$libname${shared_ext} $libname.a'
11623 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11624 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11625 >    v=$($ECHO $release$versuffix | tr -d .-);
11626 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11627 >    $ECHO $n$v`$shared_ext'
11628 >  library_names_spec='${libname}_dll.$libext'
11629    dynamic_linker='OS/2 ld.exe'
11630 <  shlibpath_var=LIBPATH
11630 >  shlibpath_var=BEGINLIBPATH
11631 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11632 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11633 >  postinstall_cmds='base_file=`basename \$file`~
11634 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11635 >    dldir=$destdir/`dirname \$dlpath`~
11636 >    test -d \$dldir || mkdir -p \$dldir~
11637 >    $install_prog $dir/$dlname \$dldir/$dlname~
11638 >    chmod a+x \$dldir/$dlname~
11639 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11640 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11641 >    fi'
11642 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11643 >    dlpath=$dir/\$dldll~
11644 >    $RM \$dlpath'
11645    ;;
11646  
11647   osf3* | osf4* | osf5*)
11648    version_type=osf
11649    need_lib_prefix=no
11650    need_version=no
11651 <  soname_spec='${libname}${release}${shared_ext}$major'
11652 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651 >  soname_spec='$libname$release$shared_ext$major'
11652 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11653    shlibpath_var=LD_LIBRARY_PATH
11654    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11655 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11655 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11656    ;;
11657  
11658   rdos*)
# Line 11220 | Line 11663 | solaris*)
11663    version_type=linux # correct to gnu/linux during the next big refactor
11664    need_lib_prefix=no
11665    need_version=no
11666 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11667 <  soname_spec='${libname}${release}${shared_ext}$major'
11666 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11667 >  soname_spec='$libname$release$shared_ext$major'
11668    shlibpath_var=LD_LIBRARY_PATH
11669    shlibpath_overrides_runpath=yes
11670    hardcode_into_libs=yes
# Line 11231 | Line 11674 | solaris*)
11674  
11675   sunos4*)
11676    version_type=sunos
11677 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11677 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11678    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11679    shlibpath_var=LD_LIBRARY_PATH
11680    shlibpath_overrides_runpath=yes
11681 <  if test "$with_gnu_ld" = yes; then
11681 >  if test yes = "$with_gnu_ld"; then
11682      need_lib_prefix=no
11683    fi
11684    need_version=yes
# Line 11243 | Line 11686 | sunos4*)
11686  
11687   sysv4 | sysv4.3*)
11688    version_type=linux # correct to gnu/linux during the next big refactor
11689 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690 <  soname_spec='${libname}${release}${shared_ext}$major'
11689 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11690 >  soname_spec='$libname$release$shared_ext$major'
11691    shlibpath_var=LD_LIBRARY_PATH
11692    case $host_vendor in
11693      sni)
# Line 11265 | Line 11708 | sysv4 | sysv4.3*)
11708    ;;
11709  
11710   sysv4*MP*)
11711 <  if test -d /usr/nec ;then
11711 >  if test -d /usr/nec; then
11712      version_type=linux # correct to gnu/linux during the next big refactor
11713 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11714 <    soname_spec='$libname${shared_ext}.$major'
11713 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11714 >    soname_spec='$libname$shared_ext.$major'
11715      shlibpath_var=LD_LIBRARY_PATH
11716    fi
11717    ;;
11718  
11719   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11720 <  version_type=freebsd-elf
11720 >  version_type=sco
11721    need_lib_prefix=no
11722    need_version=no
11723 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11724 <  soname_spec='${libname}${release}${shared_ext}$major'
11723 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11724 >  soname_spec='$libname$release$shared_ext$major'
11725    shlibpath_var=LD_LIBRARY_PATH
11726    shlibpath_overrides_runpath=yes
11727    hardcode_into_libs=yes
11728 <  if test "$with_gnu_ld" = yes; then
11728 >  if test yes = "$with_gnu_ld"; then
11729      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11730    else
11731      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 11300 | Line 11743 | tpf*)
11743    version_type=linux # correct to gnu/linux during the next big refactor
11744    need_lib_prefix=no
11745    need_version=no
11746 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11746 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11747    shlibpath_var=LD_LIBRARY_PATH
11748    shlibpath_overrides_runpath=no
11749    hardcode_into_libs=yes
# Line 11308 | Line 11751 | tpf*)
11751  
11752   uts4*)
11753    version_type=linux # correct to gnu/linux during the next big refactor
11754 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11755 <  soname_spec='${libname}${release}${shared_ext}$major'
11754 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11755 >  soname_spec='$libname$release$shared_ext$major'
11756    shlibpath_var=LD_LIBRARY_PATH
11757    ;;
11758  
# Line 11319 | Line 11762 | uts4*)
11762   esac
11763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11764   $as_echo "$dynamic_linker" >&6; }
11765 < test "$dynamic_linker" = no && can_build_shared=no
11765 > test no = "$dynamic_linker" && can_build_shared=no
11766  
11767   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11768 < if test "$GCC" = yes; then
11768 > if test yes = "$GCC"; then
11769    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11770   fi
11771  
11772 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11773 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11772 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11773 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11774   fi
11775 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11776 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11775 >
11776 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11777 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11778   fi
11779  
11780 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11781 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11782 +
11783 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11784 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11785 +
11786 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11787 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11788 +
11789 +
11790 +
11791 +
11792 +
11793 +
11794  
11795  
11796  
# Line 11429 | Line 11887 | $as_echo_n "checking how to hardcode lib
11887   hardcode_action=
11888   if test -n "$hardcode_libdir_flag_spec" ||
11889     test -n "$runpath_var" ||
11890 <   test "X$hardcode_automatic" = "Xyes" ; then
11890 >   test yes = "$hardcode_automatic"; then
11891  
11892    # We can hardcode non-existent directories.
11893 <  if test "$hardcode_direct" != no &&
11893 >  if test no != "$hardcode_direct" &&
11894       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11895       # have to relink, otherwise we might link with an installed library
11896       # when we should be linking with a yet-to-be-installed one
11897 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11898 <     test "$hardcode_minus_L" != no; then
11897 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11898 >     test no != "$hardcode_minus_L"; then
11899      # Linking always hardcodes the temporary library directory.
11900      hardcode_action=relink
11901    else
# Line 11452 | Line 11910 | fi
11910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11911   $as_echo "$hardcode_action" >&6; }
11912  
11913 < if test "$hardcode_action" = relink ||
11914 <   test "$inherit_rpath" = yes; then
11913 > if test relink = "$hardcode_action" ||
11914 >   test yes = "$inherit_rpath"; then
11915    # Fast installation is not supported
11916    enable_fast_install=no
11917 < elif test "$shlibpath_overrides_runpath" = yes ||
11918 <     test "$enable_shared" = no; then
11917 > elif test yes = "$shlibpath_overrides_runpath" ||
11918 >     test no = "$enable_shared"; then
11919    # Fast installation is not necessary
11920    enable_fast_install=needless
11921   fi
# Line 11467 | Line 11925 | fi
11925  
11926  
11927  
11928 <  if test "x$enable_dlopen" != xyes; then
11928 >  if test yes != "$enable_dlopen"; then
11929    enable_dlopen=unknown
11930    enable_dlopen_self=unknown
11931    enable_dlopen_self_static=unknown
# Line 11477 | Line 11935 | else
11935  
11936    case $host_os in
11937    beos*)
11938 <    lt_cv_dlopen="load_add_on"
11938 >    lt_cv_dlopen=load_add_on
11939      lt_cv_dlopen_libs=
11940      lt_cv_dlopen_self=yes
11941      ;;
11942  
11943    mingw* | pw32* | cegcc*)
11944 <    lt_cv_dlopen="LoadLibrary"
11944 >    lt_cv_dlopen=LoadLibrary
11945      lt_cv_dlopen_libs=
11946      ;;
11947  
11948    cygwin*)
11949 <    lt_cv_dlopen="dlopen"
11949 >    lt_cv_dlopen=dlopen
11950      lt_cv_dlopen_libs=
11951      ;;
11952  
11953    darwin*)
11954 <  # if libdl is installed we need to link against it
11954 >    # if libdl is installed we need to link against it
11955      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11956   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11957   if ${ac_cv_lib_dl_dlopen+:} false; then :
# Line 11531 | Line 11989 | fi
11989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11990   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11991   if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11992 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11992 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11993   else
11994  
11995 <    lt_cv_dlopen="dyld"
11995 >    lt_cv_dlopen=dyld
11996      lt_cv_dlopen_libs=
11997      lt_cv_dlopen_self=yes
11998  
# Line 11542 | Line 12000 | fi
12000  
12001      ;;
12002  
12003 +  tpf*)
12004 +    # Don't try to run any link tests for TPF.  We know it's impossible
12005 +    # because TPF is a cross-compiler, and we know how we open DSOs.
12006 +    lt_cv_dlopen=dlopen
12007 +    lt_cv_dlopen_libs=
12008 +    lt_cv_dlopen_self=no
12009 +    ;;
12010 +
12011    *)
12012      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12013   if test "x$ac_cv_func_shl_load" = xyes; then :
12014 <  lt_cv_dlopen="shl_load"
12014 >  lt_cv_dlopen=shl_load
12015   else
12016    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12017   $as_echo_n "checking for shl_load in -ldld... " >&6; }
# Line 11584 | Line 12050 | fi
12050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12051   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12052   if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12053 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12053 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12054   else
12055    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12056   if test "x$ac_cv_func_dlopen" = xyes; then :
12057 <  lt_cv_dlopen="dlopen"
12057 >  lt_cv_dlopen=dlopen
12058   else
12059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12060   $as_echo_n "checking for dlopen in -ldl... " >&6; }
# Line 11627 | Line 12093 | fi
12093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12094   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12095   if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12096 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12096 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12097   else
12098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12099   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
# Line 11666 | Line 12132 | fi
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12133   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12134   if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12135 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12135 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12136   else
12137    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12138   $as_echo_n "checking for dld_link in -ldld... " >&6; }
# Line 11705 | Line 12171 | fi
12171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12172   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12173   if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12174 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12174 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12175   fi
12176  
12177  
# Line 11726 | Line 12192 | fi
12192      ;;
12193    esac
12194  
12195 <  if test "x$lt_cv_dlopen" != xno; then
11730 <    enable_dlopen=yes
11731 <  else
12195 >  if test no = "$lt_cv_dlopen"; then
12196      enable_dlopen=no
12197 +  else
12198 +    enable_dlopen=yes
12199    fi
12200  
12201    case $lt_cv_dlopen in
12202    dlopen)
12203 <    save_CPPFLAGS="$CPPFLAGS"
12204 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12203 >    save_CPPFLAGS=$CPPFLAGS
12204 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12205  
12206 <    save_LDFLAGS="$LDFLAGS"
12206 >    save_LDFLAGS=$LDFLAGS
12207      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12208  
12209 <    save_LIBS="$LIBS"
12209 >    save_LIBS=$LIBS
12210      LIBS="$lt_cv_dlopen_libs $LIBS"
12211  
12212      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
# Line 11748 | Line 12214 | $as_echo_n "checking whether a program c
12214   if ${lt_cv_dlopen_self+:} false; then :
12215    $as_echo_n "(cached) " >&6
12216   else
12217 <          if test "$cross_compiling" = yes; then :
12217 >          if test yes = "$cross_compiling"; then :
12218    lt_cv_dlopen_self=cross
12219   else
12220    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
# Line 11795 | Line 12261 | else
12261   #  endif
12262   #endif
12263  
12264 < /* When -fvisbility=hidden is used, assume the code has been annotated
12264 > /* When -fvisibility=hidden is used, assume the code has been annotated
12265     correspondingly for the symbols needed.  */
12266 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12266 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12267   int fnord () __attribute__((visibility("default")));
12268   #endif
12269  
# Line 11827 | Line 12293 | _LT_EOF
12293    (eval $ac_link) 2>&5
12294    ac_status=$?
12295    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12296 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12296 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12297      (./conftest; exit; ) >&5 2>/dev/null
12298      lt_status=$?
12299      case x$lt_status in
# Line 11847 | Line 12313 | fi
12313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12314   $as_echo "$lt_cv_dlopen_self" >&6; }
12315  
12316 <    if test "x$lt_cv_dlopen_self" = xyes; then
12316 >    if test yes = "$lt_cv_dlopen_self"; then
12317        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12318        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12319   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12320   if ${lt_cv_dlopen_self_static+:} false; then :
12321    $as_echo_n "(cached) " >&6
12322   else
12323 <          if test "$cross_compiling" = yes; then :
12323 >          if test yes = "$cross_compiling"; then :
12324    lt_cv_dlopen_self_static=cross
12325   else
12326    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
# Line 11901 | Line 12367 | else
12367   #  endif
12368   #endif
12369  
12370 < /* When -fvisbility=hidden is used, assume the code has been annotated
12370 > /* When -fvisibility=hidden is used, assume the code has been annotated
12371     correspondingly for the symbols needed.  */
12372 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12372 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12373   int fnord () __attribute__((visibility("default")));
12374   #endif
12375  
# Line 11933 | Line 12399 | _LT_EOF
12399    (eval $ac_link) 2>&5
12400    ac_status=$?
12401    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12402 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12402 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12403      (./conftest; exit; ) >&5 2>/dev/null
12404      lt_status=$?
12405      case x$lt_status in
# Line 11954 | Line 12420 | fi
12420   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12421      fi
12422  
12423 <    CPPFLAGS="$save_CPPFLAGS"
12424 <    LDFLAGS="$save_LDFLAGS"
12425 <    LIBS="$save_LIBS"
12423 >    CPPFLAGS=$save_CPPFLAGS
12424 >    LDFLAGS=$save_LDFLAGS
12425 >    LIBS=$save_LIBS
12426      ;;
12427    esac
12428  
# Line 12000 | Line 12466 | else
12466   # FIXME - insert some real tests, host_os isn't really good enough
12467    case $host_os in
12468    darwin*)
12469 <    if test -n "$STRIP" ; then
12469 >    if test -n "$STRIP"; then
12470        striplib="$STRIP -x"
12471        old_striplib="$STRIP -S"
12472        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 12028 | Line 12494 | fi
12494  
12495  
12496  
12497 <  # Report which library types will actually be built
12497 >  # Report what library types will actually be built
12498    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12499   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12500    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 12036 | Line 12502 | $as_echo "$can_build_shared" >&6; }
12502  
12503    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12504   $as_echo_n "checking whether to build shared libraries... " >&6; }
12505 <  test "$can_build_shared" = "no" && enable_shared=no
12505 >  test no = "$can_build_shared" && enable_shared=no
12506  
12507    # On AIX, shared libraries and static libraries use the same namespace, and
12508    # are all built from PIC.
12509    case $host_os in
12510    aix3*)
12511 <    test "$enable_shared" = yes && enable_static=no
12511 >    test yes = "$enable_shared" && enable_static=no
12512      if test -n "$RANLIB"; then
12513        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12514        postinstall_cmds='$RANLIB $lib'
# Line 12050 | Line 12516 | $as_echo_n "checking whether to build sh
12516      ;;
12517  
12518    aix[4-9]*)
12519 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12520 <      test "$enable_shared" = yes && enable_static=no
12519 >    if test ia64 != "$host_cpu"; then
12520 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12521 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12522 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12523 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12524 >      esac
12525      fi
12526      ;;
12527    esac
# Line 12061 | Line 12531 | $as_echo "$enable_shared" >&6; }
12531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12532   $as_echo_n "checking whether to build static libraries... " >&6; }
12533    # Make sure either enable_shared or enable_static is yes.
12534 <  test "$enable_shared" = yes || enable_static=yes
12534 >  test yes = "$enable_shared" || enable_static=yes
12535    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12536   $as_echo "$enable_static" >&6; }
12537  
# Line 12075 | Line 12545 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12545   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12546   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12547  
12548 < CC="$lt_save_CC"
12548 > CC=$lt_save_CC
12549  
12550  
12551  
# Line 12099 | Line 12569 | CC="$lt_save_CC"
12569   # Only expand once:
12570  
12571  
12572 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12573 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12572 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12573 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12574   if ${libltdl_cv_shlibext+:} false; then :
12575    $as_echo_n "(cached) " >&6
12576   else
# Line 12127 | Line 12597 | cat >>confdefs.h <<_ACEOF
12597   _ACEOF
12598  
12599   fi
12600 + if test -n "$shared_archive_member_spec"; then
12601 +
12602 + cat >>confdefs.h <<_ACEOF
12603 + #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12604 + _ACEOF
12605 +
12606 + fi
12607  
12608 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12609 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12608 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12609 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12610   if ${lt_cv_module_path_var+:} false; then :
12611    $as_echo_n "(cached) " >&6
12612   else
12613 <  lt_cv_module_path_var="$shlibpath_var"
12613 >  lt_cv_module_path_var=$shlibpath_var
12614   fi
12615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12616   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 12150 | Line 12627 | $as_echo_n "checking for the default lib
12627   if ${lt_cv_sys_dlsearch_path+:} false; then :
12628    $as_echo_n "(cached) " >&6
12629   else
12630 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12630 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12631   fi
12632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12633   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 12158 | Line 12635 | if test -n "$lt_cv_sys_dlsearch_path"; t
12635    sys_dlsearch_path=
12636    for dir in $lt_cv_sys_dlsearch_path; do
12637      if test -z "$sys_dlsearch_path"; then
12638 <      sys_dlsearch_path="$dir"
12638 >      sys_dlsearch_path=$dir
12639      else
12640 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12640 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12641      fi
12642    done
12643  
# Line 12180 | Line 12657 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12657   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12658   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12659  
12660 + lt_dlload_save_LIBS=$LIBS
12661  
12662   LIBADD_DLOPEN=
12663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
# Line 12238 | Line 12716 | if test "$ac_res" != no; then :
12716  
12717   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12718  
12719 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12720 <          LIBADD_DLOPEN="-ldl"
12719 >        if test "$ac_cv_search_dlopen" != "none required"; then
12720 >          LIBADD_DLOPEN=-ldl
12721          fi
12722 <        libltdl_cv_lib_dl_dlopen="yes"
12722 >        libltdl_cv_lib_dl_dlopen=yes
12723          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12724   else
12725    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12262 | Line 12740 | if ac_fn_c_try_link "$LINENO"; then :
12740  
12741   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12742  
12743 <            libltdl_cv_func_dlopen="yes"
12743 >            libltdl_cv_func_dlopen=yes
12744              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12745   else
12746    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
# Line 12305 | Line 12783 | if test "x$ac_cv_lib_svld_dlopen" = xyes
12783  
12784   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12785  
12786 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12786 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12787                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12788   fi
12789  
# Line 12314 | Line 12792 | rm -f core conftest.err conftest.$ac_obj
12792      conftest$ac_exeext conftest.$ac_ext
12793   fi
12794  
12795 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12795 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12796   then
12797 <  lt_save_LIBS="$LIBS"
12797 >  lt_save_LIBS=$LIBS
12798    LIBS="$LIBS $LIBADD_DLOPEN"
12799    for ac_func in dlerror
12800   do :
# Line 12329 | Line 12807 | _ACEOF
12807   fi
12808   done
12809  
12810 <  LIBS="$lt_save_LIBS"
12810 >  LIBS=$lt_save_LIBS
12811   fi
12812  
12813  
# Line 12382 | Line 12860 | if test "x$ac_cv_lib_dld_shl_load" = xye
12860   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12861  
12862              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12863 <            LIBADD_SHL_LOAD="-ldld"
12863 >            LIBADD_SHL_LOAD=-ldld
12864   fi
12865  
12866   fi
# Line 12404 | Line 12882 | fi
12882   beos*)
12883    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12884    ;;
12885 < cygwin* | mingw* | os2* | pw32*)
12885 > cygwin* | mingw* | pw32*)
12886    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12887   "
12888   if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
# Line 12482 | Line 12960 | fi
12960   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12961  
12962  
12963 + LIBS=$lt_dlload_save_LIBS
12964   ac_ext=c
12965   ac_cpp='$CPP $CPPFLAGS'
12966   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 12536 | Line 13015 | $as_echo "$lt_cv_sys_symbol_underscore"
13015    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13016  
13017  
13018 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
13019 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
13020 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12542 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13018 > if test yes = "$lt_cv_sys_symbol_underscore"; then
13019 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13020 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13021   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13022   if ${libltdl_cv_need_uscore+:} false; then :
13023    $as_echo_n "(cached) " >&6
13024   else
13025    libltdl_cv_need_uscore=unknown
13026 <          save_LIBS="$LIBS"
13027 <          LIBS="$LIBS $LIBADD_DLOPEN"
13028 <          if test "$cross_compiling" = yes; then :
13029 <  libltdl_cv_need_uscore=cross
12552 < else
12553 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12554 <  lt_status=$lt_dlunknown
12555 <  cat > conftest.$ac_ext <<_LT_EOF
13026 >      dlsym_uscore_save_LIBS=$LIBS
13027 >      LIBS="$LIBS $LIBADD_DLOPEN"
13028 >      libname=conftmod # stay within 8.3 filename limits!
13029 >      cat >$libname.$ac_ext <<_LT_EOF
13030   #line $LINENO "configure"
13031   #include "confdefs.h"
13032 + /* When -fvisibility=hidden is used, assume the code has been annotated
13033 +   correspondingly for the symbols needed.  */
13034 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13035 + int fnord () __attribute__((visibility("default")));
13036 + #endif
13037 + int fnord () { return 42; }
13038 + _LT_EOF
13039  
13040 +      # ltfn_module_cmds module_cmds
13041 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
13042 +      # $module_cmds or $archive_cmds type content.
13043 +      ltfn_module_cmds ()
13044 +      {( # subshell avoids polluting parent global environment
13045 +          module_cmds_save_ifs=$IFS; IFS='~'
13046 +          for cmd in $1; do
13047 +            IFS=$module_cmds_save_ifs
13048 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13049 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13050 +            major=; versuffix=; verstring=; deplibs=
13051 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13052 +            eval $cmd
13053 +          done
13054 +          IFS=$module_cmds_save_ifs
13055 +      )}
13056 +
13057 +      # Compile a loadable module using libtool macro expansion results.
13058 +      $CC $pic_flag -c $libname.$ac_ext
13059 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13060 +
13061 +      # Try to fetch fnord with dlsym().
13062 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13063 +      cat >conftest.$ac_ext <<_LT_EOF
13064 + #line $LINENO "configure"
13065 + #include "confdefs.h"
13066   #if HAVE_DLFCN_H
13067   #include <dlfcn.h>
13068   #endif
12562
13069   #include <stdio.h>
13070 <
12565 < #ifdef RTLD_GLOBAL
12566 < #  define LT_DLGLOBAL           RTLD_GLOBAL
12567 < #else
13070 > #ifndef RTLD_GLOBAL
13071   #  ifdef DL_GLOBAL
13072 < #    define LT_DLGLOBAL         DL_GLOBAL
13072 > #    define RTLD_GLOBAL DL_GLOBAL
13073   #  else
13074 < #    define LT_DLGLOBAL         0
13074 > #    define RTLD_GLOBAL 0
13075   #  endif
13076   #endif
13077 <
13078 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13079 <   find out it does not work in some platform. */
12577 < #ifndef LT_DLLAZY_OR_NOW
12578 < #  ifdef RTLD_LAZY
12579 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13077 > #ifndef RTLD_NOW
13078 > #  ifdef DL_NOW
13079 > #    define RTLD_NOW DL_NOW
13080   #  else
13081 < #    ifdef DL_LAZY
12582 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
12583 < #    else
12584 < #      ifdef RTLD_NOW
12585 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12586 < #      else
12587 < #        ifdef DL_NOW
12588 < #          define LT_DLLAZY_OR_NOW      DL_NOW
12589 < #        else
12590 < #          define LT_DLLAZY_OR_NOW      0
12591 < #        endif
12592 < #      endif
12593 < #    endif
13081 > #    define RTLD_NOW 0
13082   #  endif
13083   #endif
13084 <
13085 < /* When -fvisbility=hidden is used, assume the code has been annotated
13086 <   correspondingly for the symbols needed.  */
13087 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13088 < int fnord () __attribute__((visibility("default")));
13089 < #endif
13090 <
13091 < int fnord () { return 42; }
13092 < int main ()
12605 < {
12606 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12607 <  int status = $lt_dlunknown;
12608 <
12609 <  if (self)
12610 <    {
12611 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13084 > int main () {
13085 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13086 >  int status = $libltdl_dlunknown;
13087 >  if (handle) {
13088 >    if (dlsym (handle, "fnord"))
13089 >      status = $libltdl_dlnouscore;
13090 >    else {
13091 >      if (dlsym (handle, "_fnord"))
13092 >        status = $libltdl_dluscore;
13093        else
13094 <        {
12614 <          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12615 <          else puts (dlerror ());
12616 <        }
12617 <      /* dlclose (self); */
13094 >        puts (dlerror ());
13095      }
13096 <  else
13096 >    dlclose (handle);
13097 >  } else
13098      puts (dlerror ());
12621
13099    return status;
13100   }
13101   _LT_EOF
13102 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13102 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13103    (eval $ac_link) 2>&5
13104    ac_status=$?
13105    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13106 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13107 <    (./conftest; exit; ) >&5 2>/dev/null
13108 <    lt_status=$?
13109 <    case x$lt_status in
13110 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13111 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13112 <      x$lt_dlunknown|x*)  ;;
13113 <    esac
13114 <  else :
13115 <    # compilation failed
13116 <
12640 <  fi
12641 < fi
12642 < rm -fr conftest*
12643 <
12644 <          LIBS="$save_LIBS"
13106 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13107 >        (./conftest; exit; ) >&5 2>/dev/null
13108 >        libltdl_status=$?
13109 >        case x$libltdl_status in
13110 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13111 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13112 >          x*) libltdl_cv_need_uscore=unknown ;;
13113 >        esac
13114 >      fi
13115 >      rm -rf conftest* $libname*
13116 >      LIBS=$dlsym_uscore_save_LIBS
13117  
13118   fi
13119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 12649 | Line 13121 | $as_echo "$libltdl_cv_need_uscore" >&6;
13121    fi
13122   fi
13123  
13124 < if test x"$libltdl_cv_need_uscore" = xyes; then
13124 > if test yes = "$libltdl_cv_need_uscore"; then
13125  
13126   $as_echo "#define NEED_USCORE 1" >>confdefs.h
13127  
# Line 12668 | Line 13140 | else
13140    case $host_os in
13141    aix3*|aix4.1.*|aix4.2.*)
13142      # Unknown whether this is true for these versions of AIX, but
13143 <    # we want this `case' here to explicitly catch those versions.
13143 >    # we want this 'case' here to explicitly catch those versions.
13144      lt_cv_sys_dlopen_deplibs=unknown
13145      ;;
13146    aix[4-9]*)
# Line 12681 | Line 13153 | else
13153        ;;
13154      esac
13155      ;;
13156 +  bitrig*)
13157 +    lt_cv_sys_dlopen_deplibs=yes
13158 +    ;;
13159    darwin*)
13160      # Assuming the user has installed a libdl from somewhere, this is true
13161      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 12709 | Line 13184 | else
13184      # at 6.2 and later dlopen does load deplibs.
13185      lt_cv_sys_dlopen_deplibs=yes
13186      ;;
13187 <  netbsd*)
13187 >  netbsd* | netbsdelf*-gnu)
13188      lt_cv_sys_dlopen_deplibs=yes
13189      ;;
13190    openbsd*)
# Line 12718 | Line 13193 | else
13193    osf[1234]*)
13194      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13195      # it did *not* use an RPATH in a shared library to find objects the
13196 <    # library depends on, so we explicitly say `no'.
13196 >    # library depends on, so we explicitly say 'no'.
13197      lt_cv_sys_dlopen_deplibs=no
13198      ;;
13199    osf5.0|osf5.0a|osf5.1)
# Line 12727 | Line 13202 | else
13202      # that the library depends on, but there's no easy way to know if that
13203      # patch is installed.  Since this is the case, all we can really
13204      # say is unknown -- it depends on the patch being installed.  If
13205 <    # it is, this changes to `yes'.  Without it, it would be `no'.
13205 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
13206      lt_cv_sys_dlopen_deplibs=unknown
13207      ;;
13208    osf*)
13209      # the two cases above should catch all versions of osf <= 5.1.  Read
13210      # the comments above for what we know about them.
13211      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13212 <    # is used to find them so we can finally say `yes'.
13212 >    # is used to find them so we can finally say 'yes'.
13213      lt_cv_sys_dlopen_deplibs=yes
13214      ;;
13215    qnx*)
# Line 12751 | Line 13226 | else
13226   fi
13227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13228   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13229 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13229 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13230  
13231   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13232  
13233   fi
13234  
12760 :
13235  
13236   for ac_header in argz.h
13237   do :
# Line 12794 | Line 13268 | $as_echo "#define __error_t_defined 1" >
13268   fi
13269  
13270  
13271 < ARGZ_H=
13271 > LT_ARGZ_H=
13272   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13273          argz_next argz_stringify
13274   do :
# Line 12806 | Line 13280 | if eval test \"x\$"$as_ac_var"\" = x"yes
13280   _ACEOF
13281  
13282   else
13283 <  ARGZ_H=argz.h;
13283 >  LT_ARGZ_H=lt__argz.h;
13284  
13285 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13285 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13286  
13287   fi
13288   done
13289  
13290  
13291 < if test -z "$ARGZ_H"; then :
13291 > if test -z "$LT_ARGZ_H"; then :
13292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13293   $as_echo_n "checking if argz actually works... " >&6; }
13294   if ${lt_cv_sys_argz_works+:} false; then :
# Line 12823 | Line 13297 | else
13297    case $host_os in #(
13298           *cygwin*)
13299             lt_cv_sys_argz_works=no
13300 <           if test "$cross_compiling" != no; then
13300 >           if test no != "$cross_compiling"; then
13301               lt_cv_sys_argz_works="guessing no"
13302             else
13303               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 12834 | Line 13308 | else
13308               lt_os_major=${2-0}
13309               lt_os_minor=${3-0}
13310               lt_os_micro=${4-0}
13311 <             if test "$lt_os_major" -gt 1 \
13312 <                || { test "$lt_os_major" -eq 1 \
13313 <                  && { test "$lt_os_minor" -gt 5 \
13314 <                    || { test "$lt_os_minor" -eq 5 \
13315 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
13311 >             if test 1 -lt "$lt_os_major" \
13312 >                || { test 1 -eq "$lt_os_major" \
13313 >                  && { test 5 -lt "$lt_os_minor" \
13314 >                    || { test 5 -eq "$lt_os_minor" \
13315 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
13316                 lt_cv_sys_argz_works=yes
13317               fi
13318             fi
# Line 12848 | Line 13322 | else
13322   fi
13323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13324   $as_echo "$lt_cv_sys_argz_works" >&6; }
13325 <     if test "$lt_cv_sys_argz_works" = yes; then :
13325 >     if test yes = "$lt_cv_sys_argz_works"; then :
13326  
13327   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13328  
13329   else
13330 <  ARGZ_H=argz.h
13330 >  LT_ARGZ_H=lt__argz.h
13331  
13332  
13333 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13333 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13334  
13335   fi
13336   fi
# Line 12877 | Line 13351 | else
13351   fi
13352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13353   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13354 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13354 > if test yes = "$libltdl_cv_preloaded_symbols"; then
13355  
13356   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13357  
# Line 12901 | Line 13375 | if test "${with_included_ltdl+set}" = se
13375   fi
13376  
13377  
13378 < if test "x$with_included_ltdl" != xyes; then
13378 > if test yes != "$with_included_ltdl"; then
13379    # We are not being forced to use the included libltdl sources, so
13380    # decide whether there is a useful installed version we can use.
13381    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
# Line 12977 | Line 13451 | fi
13451   if test -n "$with_ltdl_include"; then
13452    if test -f "$with_ltdl_include/ltdl.h"; then :
13453    else
13454 <    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13454 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13455    fi
13456   else
13457    with_ltdl_include=no
# Line 12993 | Line 13467 | fi
13467   if test -n "$with_ltdl_lib"; then
13468    if test -f "$with_ltdl_lib/libltdl.la"; then :
13469    else
13470 <    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13470 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13471    fi
13472   else
13473    with_ltdl_lib=no
# Line 13006 | Line 13480 | case ,$with_included_ltdl,$with_ltdl_inc
13480    "") enable_ltdl_convenience=yes
13481        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13482   esac
13483 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13483 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13484   LTDLDEPS=$LIBLTDL
13485 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13485 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13486  
13487  
13488  
13489  
13490  
13491   # For backwards non-gettext consistent compatibility...
13492 < INCLTDL="$LTDLINCL"
13492 > INCLTDL=$LTDLINCL
13493  
13494  
13495          ;;
# Line 13030 | Line 13504 | $as_echo "#define HAVE_LTDL 1" >>confdef
13504          LTDLINCL=
13505          ;;
13506    ,no*,no,*)
13507 <        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13507 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13508          ;;
13509    *)    with_included_ltdl=no
13510          LIBLTDL="-L$with_ltdl_lib -lltdl"
13511          LTDLDEPS=
13512 <        LTDLINCL="-I$with_ltdl_include"
13512 >        LTDLINCL=-I$with_ltdl_include
13513          ;;
13514   esac
13515 < INCLTDL="$LTDLINCL"
13515 > INCLTDL=$LTDLINCL
13516  
13517   # Report our decision...
13518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 13058 | Line 13532 | if test "${enable_ltdl_install+set}" = s
13532   fi
13533  
13534  
13535 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13535 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13536    *yes*) ;;
13537    *) enable_ltdl_convenience=yes ;;
13538   esac
13539  
13540 < if test x"${enable_ltdl_install-no}" != xno; then
13540 > if test no != "${enable_ltdl_install-no}"; then
13541    INSTALL_LTDL_TRUE=
13542    INSTALL_LTDL_FALSE='#'
13543   else
# Line 13071 | Line 13545 | else
13545    INSTALL_LTDL_FALSE=
13546   fi
13547  
13548 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13548 >  if test no != "${enable_ltdl_convenience-no}"; then
13549    CONVENIENCE_LTDL_TRUE=
13550    CONVENIENCE_LTDL_FALSE='#'
13551   else
# Line 13175 | Line 13649 | LIBTOOL="$LIBTOOL --silent"
13649  
13650  
13651    if test "X$CC" != "X"; then
13652 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13653 < $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13652 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
13653 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
13654   if ${ssp_cv_cc+:} false; then :
13655    $as_echo_n "(cached) " >&6
13656   else
13657    ssp_old_cflags="$CFLAGS"
13658 <       CFLAGS="$CFLAGS -fstack-protector"
13658 >       CFLAGS="$CFLAGS -fstack-protector-strong"
13659         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660   /* end confdefs.h.  */
13661  
# Line 13205 | Line 13679 | fi
13679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13680   $as_echo "$ssp_cv_cc" >&6; }
13681      if test $ssp_cv_cc = yes; then
13682 <      CFLAGS="$CFLAGS -fstack-protector"
13682 >      CFLAGS="$CFLAGS -fstack-protector-strong"
13683  
13684   $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13685  
13686 <    fi
13687 <  fi
13688 <
13689 <
13690 <
13217 <
13218 <
13219 <
13220 < for flag in -fno-strict-aliasing; do
13221 <  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 < $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 < if eval \${$as_CACHEVAR+:} false; then :
13686 >    else
13687 >      unset ssp_cv_cc
13688 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13689 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13690 > if ${ssp_cv_cc+:} false; then :
13691    $as_echo_n "(cached) " >&6
13692   else
13693 <
13694 <  ax_check_save_flags=$CFLAGS
13695 <  CFLAGS="$CFLAGS  $flag"
13230 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13693 >  ssp_old_cflags="$CFLAGS"
13694 >         CFLAGS="$CFLAGS -fstack-protector"
13695 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696   /* end confdefs.h.  */
13697  
13698   int
# Line 13239 | Line 13704 | main ()
13704   }
13705   _ACEOF
13706   if ac_fn_c_try_compile "$LINENO"; then :
13707 <  eval "$as_CACHEVAR=yes"
13707 >  ssp_cv_cc=yes
13708   else
13709 <  eval "$as_CACHEVAR=no"
13709 >  ssp_cv_cc=no
13710   fi
13711   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 <  CFLAGS=$ax_check_save_flags
13712 >         CFLAGS="$ssp_old_cflags"
13713 >
13714   fi
13715 < eval ac_res=\$$as_CACHEVAR
13716 <               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13717 < $as_echo "$ac_res" >&6; }
13718 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13719 <  if ${CFLAGS+:} false; then :
13720 <  case " $CFLAGS " in
13721 <    *" $flag "*)
13722 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13723 <  (: CFLAGS already contains $flag) 2>&5
13724 <  ac_status=$?
13725 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13726 <  test $ac_status = 0; }
13727 <      ;;
13728 <    *)
13729 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13730 <  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 <  ac_status=$?
13266 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 <  test $ac_status = 0; }
13268 <      CFLAGS="$CFLAGS $flag"
13269 <      ;;
13270 <   esac
13715 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13716 > $as_echo "$ssp_cv_cc" >&6; }
13717 >      if test $ssp_cv_cc = yes; then
13718 >        CFLAGS="$CFLAGS -fstack-protector"
13719 >
13720 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13721 >
13722 >      fi
13723 >    fi
13724 >  fi
13725 >
13726 >
13727 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13728 > $as_echo_n "checking whether libssp exists... " >&6; }
13729 > if ${ssp_cv_lib+:} false; then :
13730 >  $as_echo_n "(cached) " >&6
13731   else
13732 <  CFLAGS="$flag"
13733 < fi
13732 >  ssp_old_libs="$LIBS"
13733 >     LIBS="$LIBS -lssp"
13734 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 > /* end confdefs.h.  */
13736 >
13737 > int
13738 > main ()
13739 > {
13740  
13741 +  ;
13742 +  return 0;
13743 + }
13744 + _ACEOF
13745 + if ac_fn_c_try_link "$LINENO"; then :
13746 +  ssp_cv_lib=yes
13747   else
13748 <  :
13748 >  ssp_cv_lib=no
13749   fi
13750 + rm -f core conftest.err conftest.$ac_objext \
13751 +    conftest$ac_exeext conftest.$ac_ext
13752 +     LIBS="$ssp_old_libs"
13753  
13754 < done
13755 <
13754 > fi
13755 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13756 > $as_echo "$ssp_cv_lib" >&6; }
13757 >  if test $ssp_cv_lib = yes; then
13758 >    LIBS="$LIBS -lssp"
13759 >  fi
13760  
13761  
13762    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
# Line 13462 | Line 13941 | else
13941    as_fn_error $? "socket library not found" "$LINENO" 5
13942   fi
13943  
13465  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466   #include <sys/socket.h>
13467   #include <netdb.h>
13468
13469 "
13470 if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13471
13472 cat >>confdefs.h <<_ACEOF
13473 #define HAVE_STRUCT_SOCKADDR_IN 1
13474 _ACEOF
13475
13476
13477 fi
13478 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13479   #include <sys/socket.h>
13480   #include <netdb.h>
13481
13482 "
13483 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13484
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13487 _ACEOF
13488
13489
13490 fi
13491 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13492   #include <sys/socket.h>
13493   #include <netdb.h>
13494
13495 "
13496 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13497
13498 cat >>confdefs.h <<_ACEOF
13499 #define HAVE_STRUCT_ADDRINFO 1
13500 _ACEOF
13501
13502
13503 fi
13504
13505  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13506  <sys/socket.h>
13507 "
13508 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13509
13510 cat >>confdefs.h <<_ACEOF
13511 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
13512 _ACEOF
13513
13514
13515 fi
13516
13517
13518
13519  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13520 "
13521 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13522
13523 $as_echo "#define IPV6 1" >>confdefs.h
13524
13525 fi
13526
13944  
13945  
13946   # Checks for typedefs, structures, and compiler characteristics.
# Line 13808 | Line 14225 | done
14225  
14226  
14227  
13811
13812
13813
13814
14228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14229   $as_echo_n "checking for library containing crypt... " >&6; }
14230   if ${ac_cv_search_crypt+:} false; then :
# Line 13869 | Line 14282 | if test "$ac_res" != no; then :
14282   fi
14283  
14284  
13872 # Check whether --enable-libgeoip was given.
13873 if test "${enable_libgeoip+set}" = set; then :
13874  enableval=$enable_libgeoip;
13875 else
13876  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881  $as_echo_n "(cached) " >&6
13882 else
13883  ac_func_search_save_LIBS=$LIBS
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h.  */
13886
13887 /* Override any GCC internal prototype to avoid an error.
13888   Use char because int might match the return type of a GCC
13889   builtin and then its argument prototype would still apply.  */
13890 #ifdef __cplusplus
13891 extern "C"
13892 #endif
13893 char GeoIP_id_by_ipnum_v6_gl ();
13894 int
13895 main ()
13896 {
13897 return GeoIP_id_by_ipnum_v6_gl ();
13898  ;
13899  return 0;
13900 }
13901 _ACEOF
13902 for ac_lib in '' GeoIP; do
13903  if test -z "$ac_lib"; then
13904    ac_res="none required"
13905  else
13906    ac_res=-l$ac_lib
13907    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908  fi
13909  if ac_fn_c_try_link "$LINENO"; then :
13910  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911 fi
13912 rm -f core conftest.err conftest.$ac_objext \
13913    conftest$ac_exeext
13914  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915  break
13916 fi
13917 done
13918 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919
13920 else
13921  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922 fi
13923 rm conftest.$ac_ext
13924 LIBS=$ac_func_search_save_LIBS
13925 fi
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929 if test "$ac_res" != no; then :
13930  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931
13932 $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933
13934 fi
13935
13936 fi
13937
13938
13939 fi
13940
13941
13942
13943 # Check whether --enable-openssl was given.
13944 if test "${enable_openssl+set}" = set; then :
13945  enableval=$enable_openssl;  cf_enable_openssl=$enableval
13946 else
13947   cf_enable_openssl="auto"
13948 fi
13949
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13951 $as_echo_n "checking for OpenSSL... " >&6; }
13952 if test "$cf_enable_openssl" != "no"; then
13953  cf_openssl_basedir=""
13954  if test "$cf_enable_openssl" != "auto" &&
13955     test "$cf_enable_openssl" != "yes"; then
13956          cf_openssl_basedir="${cf_enable_openssl}"
13957  else
13958        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
13959                /opt /opt/openssl /usr/local/openssl; do
13960      if test -f "${dirs}/include/openssl/opensslv.h"; then
13961        cf_openssl_basedir="${dirs}"
13962        break
13963      fi
13964    done
13965    unset dirs
13966  fi
13967
13968    if test ! -z "$cf_openssl_basedir"; then
13969    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
13970      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
13971      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
13972    else
13973                  cf_openssl_basedir=""
13974    fi
13975  else
13976                            if test -f "/usr/include/openssl/opensslv.h"; then
13977      cf_openssl_basedir="/usr"
13978    fi
13979  fi
13980
13981      if test ! -z "$cf_openssl_basedir"; then
13982    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13983 $as_echo "$cf_openssl_basedir" >&6; }
13984    cf_enable_openssl="yes"
13985  else
13986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13987 $as_echo "not found. Please check your path." >&6; }
13988    cf_enable_openssl="no"
13989  fi
13990  unset cf_openssl_basedir
13991 else
13992    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13993 $as_echo "disabled" >&6; }
13994 fi
13995
13996 if test "$cf_enable_openssl" != "no"; then :
13997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13998 $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13999  if test "$cross_compiling" = yes; then :
14000  cf_openssl_version_ok=no
14001 else
14002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h.  */
14004
14005
14006    #include <openssl/opensslv.h>
14007    #include <stdlib.h>
14008 int
14009 main ()
14010 {
14011 exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012  ;
14013  return 0;
14014 }
14015 _ACEOF
14016 if ac_fn_c_try_run "$LINENO"; then :
14017  cf_openssl_version_ok=yes
14018 else
14019  cf_openssl_version_ok=no
14020 fi
14021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14022  conftest.$ac_objext conftest.beam conftest.$ac_ext
14023 fi
14024
14025
14026  if test "$cf_openssl_version_ok" = "yes"; then :
14027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14028 $as_echo "found" >&6; }
14029
14030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033  $as_echo_n "(cached) " >&6
14034 else
14035  ac_check_lib_save_LIBS=$LIBS
14036 LIBS="-lcrypto  $LIBS"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h.  */
14039
14040 /* Override any GCC internal prototype to avoid an error.
14041   Use char because int might match the return type of a GCC
14042   builtin and then its argument prototype would still apply.  */
14043 #ifdef __cplusplus
14044 extern "C"
14045 #endif
14046 char RSA_free ();
14047 int
14048 main ()
14049 {
14050 return RSA_free ();
14051  ;
14052  return 0;
14053 }
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056  ac_cv_lib_crypto_RSA_free=yes
14057 else
14058  ac_cv_lib_crypto_RSA_free=no
14059 fi
14060 rm -f core conftest.err conftest.$ac_objext \
14061    conftest$ac_exeext conftest.$ac_ext
14062 LIBS=$ac_check_lib_save_LIBS
14063 fi
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067  cat >>confdefs.h <<_ACEOF
14068 #define HAVE_LIBCRYPTO 1
14069 _ACEOF
14070
14071  LIBS="-lcrypto $LIBS"
14072
14073 fi
14074
14075    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079  $as_echo_n "(cached) " >&6
14080 else
14081  ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lssl  $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h.  */
14085
14086 /* Override any GCC internal prototype to avoid an error.
14087   Use char because int might match the return type of a GCC
14088   builtin and then its argument prototype would still apply.  */
14089 #ifdef __cplusplus
14090 extern "C"
14091 #endif
14092 char SSL_connect ();
14093 int
14094 main ()
14095 {
14096 return SSL_connect ();
14097  ;
14098  return 0;
14099 }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102  ac_cv_lib_ssl_SSL_connect=yes
14103 else
14104  ac_cv_lib_ssl_SSL_connect=no
14105 fi
14106 rm -f core conftest.err conftest.$ac_objext \
14107    conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_lib_save_LIBS
14109 fi
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113  cat >>confdefs.h <<_ACEOF
14114 #define HAVE_LIBSSL 1
14115 _ACEOF
14116
14117  LIBS="-lssl $LIBS"
14118
14119 fi
14120
14121 fi
14122
14123 else
14124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14125 $as_echo "no - OpenSSL support disabled" >&6; }
14126    cf_enable_openssl="no"
14127 fi
14128 fi
14129
14130 if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131  ENABLE_SSL_TRUE=
14132  ENABLE_SSL_FALSE='#'
14133 else
14134  ENABLE_SSL_TRUE='#'
14135  ENABLE_SSL_FALSE=
14136 fi
14137
14138
14139
14140 # Check whether --enable-assert was given.
14141 if test "${enable_assert+set}" = set; then :
14142  enableval=$enable_assert; assert=$enableval
14143 else
14144  assert=no
14145 fi
14146
14147
14148 if test "$assert" = "no"; then :
14149
14150 $as_echo "#define NDEBUG 1" >>confdefs.h
14151
14152 fi
14153
14154
14155 $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156
14157
14158 $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159
14160
14161 $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162
14163
14164 $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165
14166
14167 $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168
14169
14170 $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171
14172
14173 $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174
14175
14176 $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177
14178
14179 $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180
14181
14182 $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183
14184
14185 $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186
14187
14188 $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189
14190
14191 $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192
14193
14194 $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195
14196
14285   # Argument processing.
14286  
14287 <    desired_iopoll_mechanism="none"
14288 <    # Check whether --enable-kqueue was given.
14287 >  desired_iopoll_mechanism="none"
14288 >
14289 >  # Check whether --enable-kqueue was given.
14290   if test "${enable_kqueue+set}" = set; then :
14291    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14292   fi
# Line 14217 | Line 14306 | if test "${enable_poll+set}" = set; then
14306    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14307   fi
14308  
14309 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14309 >
14310 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14311   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14312 +
14313    iopoll_mechanism_none=0
14314  
14315   cat >>confdefs.h <<_ACEOF
14316   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14317   _ACEOF
14318  
14319 <      iopoll_mechanism_kqueue=1
14319 >
14320 >  iopoll_mechanism_kqueue=1
14321  
14322   cat >>confdefs.h <<_ACEOF
14323   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 14279 | Line 14371 | else
14371   fi
14372   rm -f core conftest.err conftest.$ac_objext \
14373      conftest$ac_exeext conftest.$ac_ext
14374 <      iopoll_mechanism_epoll=2
14374 >
14375 >  iopoll_mechanism_epoll=2
14376  
14377   cat >>confdefs.h <<_ACEOF
14378   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
# Line 14291 | Line 14384 | _ACEOF
14384   int
14385   main ()
14386   {
14387 < epol_create(256);
14387 > epoll_create1(EPOLL_CLOEXEC);
14388    ;
14389    return 0;
14390   }
# Line 14303 | Line 14396 | else
14396   fi
14397   rm -f core conftest.err conftest.$ac_objext \
14398      conftest$ac_exeext conftest.$ac_ext
14399 <      iopoll_mechanism_devpoll=3
14399 >
14400 >  iopoll_mechanism_devpoll=3
14401  
14402   cat >>confdefs.h <<_ACEOF
14403   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 14353 | Line 14447 | rm -f core conftest.err conftest.$ac_obj
14447   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14448  
14449    fi
14450 <      iopoll_mechanism_poll=4
14450 >
14451 >  iopoll_mechanism_poll=4
14452  
14453   cat >>confdefs.h <<_ACEOF
14454   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14407 | Line 14502 | else
14502   fi
14503   rm -f core conftest.err conftest.$ac_objext \
14504      conftest$ac_exeext conftest.$ac_ext
14505 <      optimal_iopoll_mechanism="none"
14505 >
14506 >  optimal_iopoll_mechanism="none"
14507    for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14508      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14509      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
# Line 14415 | Line 14511 | rm -f core conftest.err conftest.$ac_obj
14511        break
14512      fi
14513    done
14514 <      if test "$desired_iopoll_mechanism" = "none" ; then
14514 >
14515 >  if test "$desired_iopoll_mechanism" = "none" ; then
14516      if test "$optimal_iopoll_mechanism" = "none" ; then
14517        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14518   $as_echo "none" >&6; }
# Line 14437 | Line 14534 | $as_echo "none" >&6; }
14534        as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14535      fi
14536    fi
14537 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14537 >
14538 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14539  
14540   cat >>confdefs.h <<_ACEOF
14541   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 14445 | Line 14543 | _ACEOF
14543  
14544  
14545  
14546 +  # Check whether --enable-assert was given.
14547 + if test "${enable_assert+set}" = set; then :
14548 +  enableval=$enable_assert; assert=$enableval
14549 + else
14550 +  assert=no
14551 + fi
14552 +
14553 +
14554 +  if test "$assert" = "no"; then :
14555 +
14556 + $as_echo "#define NDEBUG 1" >>confdefs.h
14557 +
14558 + fi
14559 +
14560 +
14561    # Check whether --enable-debugging was given.
14562   if test "${enable_debugging+set}" = set; then :
14563    enableval=$enable_debugging; debugging="$enableval"
# Line 14452 | Line 14565 | else
14565    debugging="no"
14566   fi
14567  
14568 <  if test "$debugging" = "yes" ; then
14568 >
14569 >  if test "$debugging" = "yes"; then :
14570 >
14571      CFLAGS="-Wall -g -O0"
14572 <  fi
14572 >
14573 > fi
14574  
14575  
14576    # Check whether --enable-warnings was given.
# Line 14464 | Line 14580 | else
14580    warnings="no"
14581   fi
14582  
14583 <  if test "$warnings" = "yes" ; then
14583 >
14584 >  if test "$warnings" = "yes"; then :
14585 >
14586  
14587  
14588  
# Line 14501 | Line 14619 | fi
14619   eval ac_res=\$$as_CACHEVAR
14620                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14621   $as_echo "$ac_res" >&6; }
14622 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14623 <  if ${CFLAGS+:} false; then :
14624 <  case " $CFLAGS " in
14625 <    *" $flag "*)
14626 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14622 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14623 >
14624 > if ${CFLAGS+:} false; then :
14625 >
14626 >  case " $CFLAGS " in #(
14627 >  *" $flag "*) :
14628 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14629    (: CFLAGS already contains $flag) 2>&5
14630    ac_status=$?
14631    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14632 <  test $ac_status = 0; }
14633 <      ;;
14634 <    *)
14635 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14636 <  (: CFLAGS="$CFLAGS $flag") 2>&5
14632 >  test $ac_status = 0; } ;; #(
14633 >  *) :
14634 >
14635 >     as_fn_append CFLAGS " $flag"
14636 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14637 >  (: CFLAGS="$CFLAGS") 2>&5
14638    ac_status=$?
14639    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14640    test $ac_status = 0; }
14641 <      CFLAGS="$CFLAGS $flag"
14642 <      ;;
14643 <   esac
14641 >     ;;
14642 > esac
14643 >
14644   else
14645 <  CFLAGS="$flag"
14645 >
14646 >  CFLAGS=$flag
14647 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14648 >  (: CFLAGS="$CFLAGS") 2>&5
14649 >  ac_status=$?
14650 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14651 >  test $ac_status = 0; }
14652 >
14653   fi
14654  
14655   else
# Line 14534 | Line 14662 | done
14662  
14663  
14664  
14665 < for flag in -Wextra; do
14665 > for flag in -Wbad-function-cast; do
14666    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14668   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14566 | Line 14694 | fi
14694   eval ac_res=\$$as_CACHEVAR
14695                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14696   $as_echo "$ac_res" >&6; }
14697 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14698 <  if ${CFLAGS+:} false; then :
14699 <  case " $CFLAGS " in
14700 <    *" $flag "*)
14701 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14697 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14698 >
14699 > if ${CFLAGS+:} false; then :
14700 >
14701 >  case " $CFLAGS " in #(
14702 >  *" $flag "*) :
14703 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14704    (: CFLAGS already contains $flag) 2>&5
14705    ac_status=$?
14706    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 <  test $ac_status = 0; }
14708 <      ;;
14709 <    *)
14710 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14711 <  (: CFLAGS="$CFLAGS $flag") 2>&5
14707 >  test $ac_status = 0; } ;; #(
14708 >  *) :
14709 >
14710 >     as_fn_append CFLAGS " $flag"
14711 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14712 >  (: CFLAGS="$CFLAGS") 2>&5
14713    ac_status=$?
14714    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14715    test $ac_status = 0; }
14716 <      CFLAGS="$CFLAGS $flag"
14717 <      ;;
14718 <   esac
14716 >     ;;
14717 > esac
14718 >
14719   else
14720 <  CFLAGS="$flag"
14720 >
14721 >  CFLAGS=$flag
14722 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14723 >  (: CFLAGS="$CFLAGS") 2>&5
14724 >  ac_status=$?
14725 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 >  test $ac_status = 0; }
14727 >
14728   fi
14729  
14730   else
# Line 14599 | Line 14737 | done
14737  
14738  
14739  
14740 < for flag in -Wno-unused; do
14740 > for flag in -Wcast-align; do
14741    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14743   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14631 | Line 14769 | fi
14769   eval ac_res=\$$as_CACHEVAR
14770                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14771   $as_echo "$ac_res" >&6; }
14772 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14773 <  if ${CFLAGS+:} false; then :
14774 <  case " $CFLAGS " in
14775 <    *" $flag "*)
14776 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14772 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14773 >
14774 > if ${CFLAGS+:} false; then :
14775 >
14776 >  case " $CFLAGS " in #(
14777 >  *" $flag "*) :
14778 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14779    (: CFLAGS already contains $flag) 2>&5
14780    ac_status=$?
14781    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14782 +  test $ac_status = 0; } ;; #(
14783 +  *) :
14784 +
14785 +     as_fn_append CFLAGS " $flag"
14786 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14787 +  (: CFLAGS="$CFLAGS") 2>&5
14788 +  ac_status=$?
14789 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14790    test $ac_status = 0; }
14791 <      ;;
14792 <    *)
14793 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14794 <  (: CFLAGS="$CFLAGS $flag") 2>&5
14791 >     ;;
14792 > esac
14793 >
14794 > else
14795 >
14796 >  CFLAGS=$flag
14797 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14798 >  (: CFLAGS="$CFLAGS") 2>&5
14799    ac_status=$?
14800    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801    test $ac_status = 0; }
14802 <      CFLAGS="$CFLAGS $flag"
14803 <      ;;
14804 <   esac
14802 >
14803 > fi
14804 >
14805   else
14806 <  CFLAGS="$flag"
14806 >  :
14807 > fi
14808 >
14809 > done
14810 >
14811 >
14812 >
14813 >
14814 >
14815 > for flag in -Wcast-function-type; do
14816 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14817 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14818 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14819 > if eval \${$as_CACHEVAR+:} false; then :
14820 >  $as_echo_n "(cached) " >&6
14821 > else
14822 >
14823 >  ax_check_save_flags=$CFLAGS
14824 >  CFLAGS="$CFLAGS  $flag"
14825 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 > /* end confdefs.h.  */
14827 >
14828 > int
14829 > main ()
14830 > {
14831 >
14832 >  ;
14833 >  return 0;
14834 > }
14835 > _ACEOF
14836 > if ac_fn_c_try_compile "$LINENO"; then :
14837 >  eval "$as_CACHEVAR=yes"
14838 > else
14839 >  eval "$as_CACHEVAR=no"
14840 > fi
14841 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 >  CFLAGS=$ax_check_save_flags
14843 > fi
14844 > eval ac_res=\$$as_CACHEVAR
14845 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14846 > $as_echo "$ac_res" >&6; }
14847 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14848 >
14849 > if ${CFLAGS+:} false; then :
14850 >
14851 >  case " $CFLAGS " in #(
14852 >  *" $flag "*) :
14853 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14854 >  (: CFLAGS already contains $flag) 2>&5
14855 >  ac_status=$?
14856 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14857 >  test $ac_status = 0; } ;; #(
14858 >  *) :
14859 >
14860 >     as_fn_append CFLAGS " $flag"
14861 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14862 >  (: CFLAGS="$CFLAGS") 2>&5
14863 >  ac_status=$?
14864 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14865 >  test $ac_status = 0; }
14866 >     ;;
14867 > esac
14868 >
14869 > else
14870 >
14871 >  CFLAGS=$flag
14872 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14873 >  (: CFLAGS="$CFLAGS") 2>&5
14874 >  ac_status=$?
14875 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 >  test $ac_status = 0; }
14877 >
14878   fi
14879  
14880   else
# Line 14696 | Line 14919 | fi
14919   eval ac_res=\$$as_CACHEVAR
14920                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14921   $as_echo "$ac_res" >&6; }
14922 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14923 <  if ${CFLAGS+:} false; then :
14924 <  case " $CFLAGS " in
14925 <    *" $flag "*)
14926 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14922 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14923 >
14924 > if ${CFLAGS+:} false; then :
14925 >
14926 >  case " $CFLAGS " in #(
14927 >  *" $flag "*) :
14928 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14929    (: CFLAGS already contains $flag) 2>&5
14930    ac_status=$?
14931    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14932 <  test $ac_status = 0; }
14933 <      ;;
14934 <    *)
14935 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14936 <  (: CFLAGS="$CFLAGS $flag") 2>&5
14932 >  test $ac_status = 0; } ;; #(
14933 >  *) :
14934 >
14935 >     as_fn_append CFLAGS " $flag"
14936 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14937 >  (: CFLAGS="$CFLAGS") 2>&5
14938    ac_status=$?
14939    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14940    test $ac_status = 0; }
14941 <      CFLAGS="$CFLAGS $flag"
14942 <      ;;
14943 <   esac
14941 >     ;;
14942 > esac
14943 >
14944   else
14945 <  CFLAGS="$flag"
14945 >
14946 >  CFLAGS=$flag
14947 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14948 >  (: CFLAGS="$CFLAGS") 2>&5
14949 >  ac_status=$?
14950 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14951 >  test $ac_status = 0; }
14952 >
14953   fi
14954  
14955   else
# Line 14729 | Line 14962 | done
14962  
14963  
14964  
14965 < for flag in -Wcast-align; do
14965 > for flag in -Wclobbered; do
14966    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14968   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14761 | Line 14994 | fi
14994   eval ac_res=\$$as_CACHEVAR
14995                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14996   $as_echo "$ac_res" >&6; }
14997 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14998 <  if ${CFLAGS+:} false; then :
14999 <  case " $CFLAGS " in
15000 <    *" $flag "*)
15001 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14997 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14998 >
14999 > if ${CFLAGS+:} false; then :
15000 >
15001 >  case " $CFLAGS " in #(
15002 >  *" $flag "*) :
15003 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15004    (: CFLAGS already contains $flag) 2>&5
15005    ac_status=$?
15006    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 +  test $ac_status = 0; } ;; #(
15008 +  *) :
15009 +
15010 +     as_fn_append CFLAGS " $flag"
15011 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15012 +  (: CFLAGS="$CFLAGS") 2>&5
15013 +  ac_status=$?
15014 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15015    test $ac_status = 0; }
15016 <      ;;
15017 <    *)
15018 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15019 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15016 >     ;;
15017 > esac
15018 >
15019 > else
15020 >
15021 >  CFLAGS=$flag
15022 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15023 >  (: CFLAGS="$CFLAGS") 2>&5
15024    ac_status=$?
15025    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15026    test $ac_status = 0; }
15027 <      CFLAGS="$CFLAGS $flag"
15028 <      ;;
15029 <   esac
15027 >
15028 > fi
15029 >
15030   else
15031 <  CFLAGS="$flag"
15031 >  :
15032 > fi
15033 >
15034 > done
15035 >
15036 >
15037 >
15038 >
15039 >
15040 > for flag in -Wduplicated-cond; do
15041 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15042 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15043 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15044 > if eval \${$as_CACHEVAR+:} false; then :
15045 >  $as_echo_n "(cached) " >&6
15046 > else
15047 >
15048 >  ax_check_save_flags=$CFLAGS
15049 >  CFLAGS="$CFLAGS  $flag"
15050 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 > /* end confdefs.h.  */
15052 >
15053 > int
15054 > main ()
15055 > {
15056 >
15057 >  ;
15058 >  return 0;
15059 > }
15060 > _ACEOF
15061 > if ac_fn_c_try_compile "$LINENO"; then :
15062 >  eval "$as_CACHEVAR=yes"
15063 > else
15064 >  eval "$as_CACHEVAR=no"
15065 > fi
15066 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15067 >  CFLAGS=$ax_check_save_flags
15068 > fi
15069 > eval ac_res=\$$as_CACHEVAR
15070 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15071 > $as_echo "$ac_res" >&6; }
15072 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15073 >
15074 > if ${CFLAGS+:} false; then :
15075 >
15076 >  case " $CFLAGS " in #(
15077 >  *" $flag "*) :
15078 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15079 >  (: CFLAGS already contains $flag) 2>&5
15080 >  ac_status=$?
15081 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 >  test $ac_status = 0; } ;; #(
15083 >  *) :
15084 >
15085 >     as_fn_append CFLAGS " $flag"
15086 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15087 >  (: CFLAGS="$CFLAGS") 2>&5
15088 >  ac_status=$?
15089 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15090 >  test $ac_status = 0; }
15091 >     ;;
15092 > esac
15093 >
15094 > else
15095 >
15096 >  CFLAGS=$flag
15097 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15098 >  (: CFLAGS="$CFLAGS") 2>&5
15099 >  ac_status=$?
15100 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15101 >  test $ac_status = 0; }
15102 >
15103   fi
15104  
15105   else
# Line 14794 | Line 15112 | done
15112  
15113  
15114  
15115 < for flag in -Wbad-function-cast; do
15115 > for flag in -Wempty-body; do
15116    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15118   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14826 | Line 15144 | fi
15144   eval ac_res=\$$as_CACHEVAR
15145                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15146   $as_echo "$ac_res" >&6; }
15147 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15148 <  if ${CFLAGS+:} false; then :
15149 <  case " $CFLAGS " in
15150 <    *" $flag "*)
15151 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15147 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15148 >
15149 > if ${CFLAGS+:} false; then :
15150 >
15151 >  case " $CFLAGS " in #(
15152 >  *" $flag "*) :
15153 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15154    (: CFLAGS already contains $flag) 2>&5
15155    ac_status=$?
15156    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 +  test $ac_status = 0; } ;; #(
15158 +  *) :
15159 +
15160 +     as_fn_append CFLAGS " $flag"
15161 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15162 +  (: CFLAGS="$CFLAGS") 2>&5
15163 +  ac_status=$?
15164 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15165    test $ac_status = 0; }
15166 <      ;;
15167 <    *)
15168 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15169 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15166 >     ;;
15167 > esac
15168 >
15169 > else
15170 >
15171 >  CFLAGS=$flag
15172 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15173 >  (: CFLAGS="$CFLAGS") 2>&5
15174    ac_status=$?
15175    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15176    test $ac_status = 0; }
15177 <      CFLAGS="$CFLAGS $flag"
15178 <      ;;
15179 <   esac
15177 >
15178 > fi
15179 >
15180 > else
15181 >  :
15182 > fi
15183 >
15184 > done
15185 >
15186 >
15187 >
15188 >
15189 >
15190 > for flag in -Wignored-qualifiers; do
15191 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15194 > if eval \${$as_CACHEVAR+:} false; then :
15195 >  $as_echo_n "(cached) " >&6
15196 > else
15197 >
15198 >  ax_check_save_flags=$CFLAGS
15199 >  CFLAGS="$CFLAGS  $flag"
15200 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 > /* end confdefs.h.  */
15202 >
15203 > int
15204 > main ()
15205 > {
15206 >
15207 >  ;
15208 >  return 0;
15209 > }
15210 > _ACEOF
15211 > if ac_fn_c_try_compile "$LINENO"; then :
15212 >  eval "$as_CACHEVAR=yes"
15213 > else
15214 >  eval "$as_CACHEVAR=no"
15215 > fi
15216 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 >  CFLAGS=$ax_check_save_flags
15218 > fi
15219 > eval ac_res=\$$as_CACHEVAR
15220 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15221 > $as_echo "$ac_res" >&6; }
15222 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15223 >
15224 > if ${CFLAGS+:} false; then :
15225 >
15226 >  case " $CFLAGS " in #(
15227 >  *" $flag "*) :
15228 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15229 >  (: CFLAGS already contains $flag) 2>&5
15230 >  ac_status=$?
15231 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15232 >  test $ac_status = 0; } ;; #(
15233 >  *) :
15234 >
15235 >     as_fn_append CFLAGS " $flag"
15236 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15237 >  (: CFLAGS="$CFLAGS") 2>&5
15238 >  ac_status=$?
15239 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15240 >  test $ac_status = 0; }
15241 >     ;;
15242 > esac
15243 >
15244   else
15245 <  CFLAGS="$flag"
15245 >
15246 >  CFLAGS=$flag
15247 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15248 >  (: CFLAGS="$CFLAGS") 2>&5
15249 >  ac_status=$?
15250 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15251 >  test $ac_status = 0; }
15252 >
15253   fi
15254  
15255   else
# Line 14891 | Line 15294 | fi
15294   eval ac_res=\$$as_CACHEVAR
15295                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15296   $as_echo "$ac_res" >&6; }
15297 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15298 <  if ${CFLAGS+:} false; then :
15299 <  case " $CFLAGS " in
15300 <    *" $flag "*)
15301 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15297 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15298 >
15299 > if ${CFLAGS+:} false; then :
15300 >
15301 >  case " $CFLAGS " in #(
15302 >  *" $flag "*) :
15303 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15304    (: CFLAGS already contains $flag) 2>&5
15305    ac_status=$?
15306    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15307 <  test $ac_status = 0; }
15308 <      ;;
15309 <    *)
15310 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15311 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15307 >  test $ac_status = 0; } ;; #(
15308 >  *) :
15309 >
15310 >     as_fn_append CFLAGS " $flag"
15311 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15312 >  (: CFLAGS="$CFLAGS") 2>&5
15313    ac_status=$?
15314    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15315    test $ac_status = 0; }
15316 <      CFLAGS="$CFLAGS $flag"
15317 <      ;;
15318 <   esac
15316 >     ;;
15317 > esac
15318 >
15319   else
15320 <  CFLAGS="$flag"
15320 >
15321 >  CFLAGS=$flag
15322 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15323 >  (: CFLAGS="$CFLAGS") 2>&5
15324 >  ac_status=$?
15325 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15326 >  test $ac_status = 0; }
15327 >
15328   fi
15329  
15330   else
# Line 14956 | Line 15369 | fi
15369   eval ac_res=\$$as_CACHEVAR
15370                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15371   $as_echo "$ac_res" >&6; }
15372 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15373 <  if ${CFLAGS+:} false; then :
15374 <  case " $CFLAGS " in
15375 <    *" $flag "*)
15376 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15372 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15373 >
15374 > if ${CFLAGS+:} false; then :
15375 >
15376 >  case " $CFLAGS " in #(
15377 >  *" $flag "*) :
15378 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15379    (: CFLAGS already contains $flag) 2>&5
15380    ac_status=$?
15381    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 +  test $ac_status = 0; } ;; #(
15383 +  *) :
15384 +
15385 +     as_fn_append CFLAGS " $flag"
15386 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15387 +  (: CFLAGS="$CFLAGS") 2>&5
15388 +  ac_status=$?
15389 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15390    test $ac_status = 0; }
15391 <      ;;
15392 <    *)
15393 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15394 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15391 >     ;;
15392 > esac
15393 >
15394 > else
15395 >
15396 >  CFLAGS=$flag
15397 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15398 >  (: CFLAGS="$CFLAGS") 2>&5
15399    ac_status=$?
15400    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15401    test $ac_status = 0; }
15402 <      CFLAGS="$CFLAGS $flag"
15403 <      ;;
15404 <   esac
15402 >
15403 > fi
15404 >
15405 > else
15406 >  :
15407 > fi
15408 >
15409 > done
15410 >
15411 >
15412 >
15413 >
15414 >
15415 > for flag in -Wmissing-field-initializers; do
15416 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15417 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15418 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15419 > if eval \${$as_CACHEVAR+:} false; then :
15420 >  $as_echo_n "(cached) " >&6
15421   else
15422 <  CFLAGS="$flag"
15422 >
15423 >  ax_check_save_flags=$CFLAGS
15424 >  CFLAGS="$CFLAGS  $flag"
15425 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 > /* end confdefs.h.  */
15427 >
15428 > int
15429 > main ()
15430 > {
15431 >
15432 >  ;
15433 >  return 0;
15434 > }
15435 > _ACEOF
15436 > if ac_fn_c_try_compile "$LINENO"; then :
15437 >  eval "$as_CACHEVAR=yes"
15438 > else
15439 >  eval "$as_CACHEVAR=no"
15440 > fi
15441 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15442 >  CFLAGS=$ax_check_save_flags
15443 > fi
15444 > eval ac_res=\$$as_CACHEVAR
15445 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15446 > $as_echo "$ac_res" >&6; }
15447 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15448 >
15449 > if ${CFLAGS+:} false; then :
15450 >
15451 >  case " $CFLAGS " in #(
15452 >  *" $flag "*) :
15453 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15454 >  (: CFLAGS already contains $flag) 2>&5
15455 >  ac_status=$?
15456 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 >  test $ac_status = 0; } ;; #(
15458 >  *) :
15459 >
15460 >     as_fn_append CFLAGS " $flag"
15461 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15462 >  (: CFLAGS="$CFLAGS") 2>&5
15463 >  ac_status=$?
15464 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 >  test $ac_status = 0; }
15466 >     ;;
15467 > esac
15468 >
15469 > else
15470 >
15471 >  CFLAGS=$flag
15472 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15473 >  (: CFLAGS="$CFLAGS") 2>&5
15474 >  ac_status=$?
15475 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15476 >  test $ac_status = 0; }
15477 >
15478   fi
15479  
15480   else
# Line 15021 | Line 15519 | fi
15519   eval ac_res=\$$as_CACHEVAR
15520                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15521   $as_echo "$ac_res" >&6; }
15522 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15523 <  if ${CFLAGS+:} false; then :
15524 <  case " $CFLAGS " in
15525 <    *" $flag "*)
15526 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15522 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15523 >
15524 > if ${CFLAGS+:} false; then :
15525 >
15526 >  case " $CFLAGS " in #(
15527 >  *" $flag "*) :
15528 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15529    (: CFLAGS already contains $flag) 2>&5
15530    ac_status=$?
15531    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 +  test $ac_status = 0; } ;; #(
15533 +  *) :
15534 +
15535 +     as_fn_append CFLAGS " $flag"
15536 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15537 +  (: CFLAGS="$CFLAGS") 2>&5
15538 +  ac_status=$?
15539 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15540    test $ac_status = 0; }
15541 <      ;;
15542 <    *)
15543 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15544 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15541 >     ;;
15542 > esac
15543 >
15544 > else
15545 >
15546 >  CFLAGS=$flag
15547 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15548 >  (: CFLAGS="$CFLAGS") 2>&5
15549    ac_status=$?
15550    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15551    test $ac_status = 0; }
15552 <      CFLAGS="$CFLAGS $flag"
15553 <      ;;
15554 <   esac
15552 >
15553 > fi
15554 >
15555   else
15556 <  CFLAGS="$flag"
15556 >  :
15557 > fi
15558 >
15559 > done
15560 >
15561 >
15562 >
15563 >
15564 >
15565 > for flag in -Wmissing-parameter-type; do
15566 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15567 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15568 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15569 > if eval \${$as_CACHEVAR+:} false; then :
15570 >  $as_echo_n "(cached) " >&6
15571 > else
15572 >
15573 >  ax_check_save_flags=$CFLAGS
15574 >  CFLAGS="$CFLAGS  $flag"
15575 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 > /* end confdefs.h.  */
15577 >
15578 > int
15579 > main ()
15580 > {
15581 >
15582 >  ;
15583 >  return 0;
15584 > }
15585 > _ACEOF
15586 > if ac_fn_c_try_compile "$LINENO"; then :
15587 >  eval "$as_CACHEVAR=yes"
15588 > else
15589 >  eval "$as_CACHEVAR=no"
15590 > fi
15591 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15592 >  CFLAGS=$ax_check_save_flags
15593 > fi
15594 > eval ac_res=\$$as_CACHEVAR
15595 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15596 > $as_echo "$ac_res" >&6; }
15597 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15598 >
15599 > if ${CFLAGS+:} false; then :
15600 >
15601 >  case " $CFLAGS " in #(
15602 >  *" $flag "*) :
15603 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15604 >  (: CFLAGS already contains $flag) 2>&5
15605 >  ac_status=$?
15606 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15607 >  test $ac_status = 0; } ;; #(
15608 >  *) :
15609 >
15610 >     as_fn_append CFLAGS " $flag"
15611 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15612 >  (: CFLAGS="$CFLAGS") 2>&5
15613 >  ac_status=$?
15614 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15615 >  test $ac_status = 0; }
15616 >     ;;
15617 > esac
15618 >
15619 > else
15620 >
15621 >  CFLAGS=$flag
15622 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15623 >  (: CFLAGS="$CFLAGS") 2>&5
15624 >  ac_status=$?
15625 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15626 >  test $ac_status = 0; }
15627 >
15628   fi
15629  
15630   else
# Line 15086 | Line 15669 | fi
15669   eval ac_res=\$$as_CACHEVAR
15670                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15671   $as_echo "$ac_res" >&6; }
15672 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15673 <  if ${CFLAGS+:} false; then :
15674 <  case " $CFLAGS " in
15675 <    *" $flag "*)
15676 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15672 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15673 >
15674 > if ${CFLAGS+:} false; then :
15675 >
15676 >  case " $CFLAGS " in #(
15677 >  *" $flag "*) :
15678 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15679    (: CFLAGS already contains $flag) 2>&5
15680    ac_status=$?
15681    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15682 <  test $ac_status = 0; }
15683 <      ;;
15684 <    *)
15685 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15686 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15682 >  test $ac_status = 0; } ;; #(
15683 >  *) :
15684 >
15685 >     as_fn_append CFLAGS " $flag"
15686 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15687 >  (: CFLAGS="$CFLAGS") 2>&5
15688    ac_status=$?
15689    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15690    test $ac_status = 0; }
15691 <      CFLAGS="$CFLAGS $flag"
15692 <      ;;
15693 <   esac
15691 >     ;;
15692 > esac
15693 >
15694   else
15695 <  CFLAGS="$flag"
15695 >
15696 >  CFLAGS=$flag
15697 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15698 >  (: CFLAGS="$CFLAGS") 2>&5
15699 >  ac_status=$?
15700 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15701 >  test $ac_status = 0; }
15702 >
15703   fi
15704  
15705   else
# Line 15151 | Line 15744 | fi
15744   eval ac_res=\$$as_CACHEVAR
15745                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15746   $as_echo "$ac_res" >&6; }
15747 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15748 <  if ${CFLAGS+:} false; then :
15749 <  case " $CFLAGS " in
15750 <    *" $flag "*)
15751 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15747 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15748 >
15749 > if ${CFLAGS+:} false; then :
15750 >
15751 >  case " $CFLAGS " in #(
15752 >  *" $flag "*) :
15753 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15754    (: CFLAGS already contains $flag) 2>&5
15755    ac_status=$?
15756    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15757 +  test $ac_status = 0; } ;; #(
15758 +  *) :
15759 +
15760 +     as_fn_append CFLAGS " $flag"
15761 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15762 +  (: CFLAGS="$CFLAGS") 2>&5
15763 +  ac_status=$?
15764 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15765    test $ac_status = 0; }
15766 <      ;;
15767 <    *)
15768 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15769 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15766 >     ;;
15767 > esac
15768 >
15769 > else
15770 >
15771 >  CFLAGS=$flag
15772 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15773 >  (: CFLAGS="$CFLAGS") 2>&5
15774    ac_status=$?
15775    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15776    test $ac_status = 0; }
15777 <      CFLAGS="$CFLAGS $flag"
15778 <      ;;
15779 <   esac
15777 >
15778 > fi
15779 >
15780 > else
15781 >  :
15782 > fi
15783 >
15784 > done
15785 >
15786 >
15787 >
15788 >
15789 >
15790 > for flag in -Wold-style-declaration; do
15791 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15792 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15793 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15794 > if eval \${$as_CACHEVAR+:} false; then :
15795 >  $as_echo_n "(cached) " >&6
15796 > else
15797 >
15798 >  ax_check_save_flags=$CFLAGS
15799 >  CFLAGS="$CFLAGS  $flag"
15800 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 > /* end confdefs.h.  */
15802 >
15803 > int
15804 > main ()
15805 > {
15806 >
15807 >  ;
15808 >  return 0;
15809 > }
15810 > _ACEOF
15811 > if ac_fn_c_try_compile "$LINENO"; then :
15812 >  eval "$as_CACHEVAR=yes"
15813 > else
15814 >  eval "$as_CACHEVAR=no"
15815 > fi
15816 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817 >  CFLAGS=$ax_check_save_flags
15818 > fi
15819 > eval ac_res=\$$as_CACHEVAR
15820 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15821 > $as_echo "$ac_res" >&6; }
15822 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15823 >
15824 > if ${CFLAGS+:} false; then :
15825 >
15826 >  case " $CFLAGS " in #(
15827 >  *" $flag "*) :
15828 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15829 >  (: CFLAGS already contains $flag) 2>&5
15830 >  ac_status=$?
15831 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15832 >  test $ac_status = 0; } ;; #(
15833 >  *) :
15834 >
15835 >     as_fn_append CFLAGS " $flag"
15836 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15837 >  (: CFLAGS="$CFLAGS") 2>&5
15838 >  ac_status=$?
15839 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15840 >  test $ac_status = 0; }
15841 >     ;;
15842 > esac
15843 >
15844   else
15845 <  CFLAGS="$flag"
15845 >
15846 >  CFLAGS=$flag
15847 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15848 >  (: CFLAGS="$CFLAGS") 2>&5
15849 >  ac_status=$?
15850 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15851 >  test $ac_status = 0; }
15852 >
15853   fi
15854  
15855   else
# Line 15184 | Line 15862 | done
15862  
15863  
15864  
15865 < for flag in -Wpointer-arith; do
15865 > for flag in -Woverride-init; do
15866    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15868   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 15216 | Line 15894 | fi
15894   eval ac_res=\$$as_CACHEVAR
15895                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15896   $as_echo "$ac_res" >&6; }
15897 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15898 <  if ${CFLAGS+:} false; then :
15899 <  case " $CFLAGS " in
15900 <    *" $flag "*)
15901 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15897 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15898 >
15899 > if ${CFLAGS+:} false; then :
15900 >
15901 >  case " $CFLAGS " in #(
15902 >  *" $flag "*) :
15903 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15904    (: CFLAGS already contains $flag) 2>&5
15905    ac_status=$?
15906    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907 +  test $ac_status = 0; } ;; #(
15908 +  *) :
15909 +
15910 +     as_fn_append CFLAGS " $flag"
15911 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15912 +  (: CFLAGS="$CFLAGS") 2>&5
15913 +  ac_status=$?
15914 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15915    test $ac_status = 0; }
15916 <      ;;
15917 <    *)
15918 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15919 <  (: CFLAGS="$CFLAGS $flag") 2>&5
15916 >     ;;
15917 > esac
15918 >
15919 > else
15920 >
15921 >  CFLAGS=$flag
15922 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15923 >  (: CFLAGS="$CFLAGS") 2>&5
15924    ac_status=$?
15925    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15926    test $ac_status = 0; }
15927 <      CFLAGS="$CFLAGS $flag"
15928 <      ;;
15929 <   esac
15927 >
15928 > fi
15929 >
15930 > else
15931 >  :
15932 > fi
15933 >
15934 > done
15935 >
15936 >
15937 >
15938 >
15939 >
15940 > for flag in -Wpointer-arith; do
15941 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15942 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15943 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15944 > if eval \${$as_CACHEVAR+:} false; then :
15945 >  $as_echo_n "(cached) " >&6
15946 > else
15947 >
15948 >  ax_check_save_flags=$CFLAGS
15949 >  CFLAGS="$CFLAGS  $flag"
15950 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 > /* end confdefs.h.  */
15952 >
15953 > int
15954 > main ()
15955 > {
15956 >
15957 >  ;
15958 >  return 0;
15959 > }
15960 > _ACEOF
15961 > if ac_fn_c_try_compile "$LINENO"; then :
15962 >  eval "$as_CACHEVAR=yes"
15963 > else
15964 >  eval "$as_CACHEVAR=no"
15965 > fi
15966 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 >  CFLAGS=$ax_check_save_flags
15968 > fi
15969 > eval ac_res=\$$as_CACHEVAR
15970 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15971 > $as_echo "$ac_res" >&6; }
15972 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15973 >
15974 > if ${CFLAGS+:} false; then :
15975 >
15976 >  case " $CFLAGS " in #(
15977 >  *" $flag "*) :
15978 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15979 >  (: CFLAGS already contains $flag) 2>&5
15980 >  ac_status=$?
15981 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15982 >  test $ac_status = 0; } ;; #(
15983 >  *) :
15984 >
15985 >     as_fn_append CFLAGS " $flag"
15986 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15987 >  (: CFLAGS="$CFLAGS") 2>&5
15988 >  ac_status=$?
15989 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990 >  test $ac_status = 0; }
15991 >     ;;
15992 > esac
15993 >
15994   else
15995 <  CFLAGS="$flag"
15995 >
15996 >  CFLAGS=$flag
15997 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15998 >  (: CFLAGS="$CFLAGS") 2>&5
15999 >  ac_status=$?
16000 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16001 >  test $ac_status = 0; }
16002 >
16003   fi
16004  
16005   else
# Line 15281 | Line 16044 | fi
16044   eval ac_res=\$$as_CACHEVAR
16045                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16046   $as_echo "$ac_res" >&6; }
16047 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16048 <  if ${CFLAGS+:} false; then :
16049 <  case " $CFLAGS " in
16050 <    *" $flag "*)
16051 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16047 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16048 >
16049 > if ${CFLAGS+:} false; then :
16050 >
16051 >  case " $CFLAGS " in #(
16052 >  *" $flag "*) :
16053 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16054    (: CFLAGS already contains $flag) 2>&5
16055    ac_status=$?
16056    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16057 <  test $ac_status = 0; }
16058 <      ;;
16059 <    *)
16060 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16061 <  (: CFLAGS="$CFLAGS $flag") 2>&5
16057 >  test $ac_status = 0; } ;; #(
16058 >  *) :
16059 >
16060 >     as_fn_append CFLAGS " $flag"
16061 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16062 >  (: CFLAGS="$CFLAGS") 2>&5
16063    ac_status=$?
16064    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16065    test $ac_status = 0; }
16066 <      CFLAGS="$CFLAGS $flag"
16067 <      ;;
16068 <   esac
16066 >     ;;
16067 > esac
16068 >
16069   else
16070 <  CFLAGS="$flag"
16070 >
16071 >  CFLAGS=$flag
16072 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16073 >  (: CFLAGS="$CFLAGS") 2>&5
16074 >  ac_status=$?
16075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16076 >  test $ac_status = 0; }
16077 >
16078   fi
16079  
16080   else
# Line 15346 | Line 16119 | fi
16119   eval ac_res=\$$as_CACHEVAR
16120                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16121   $as_echo "$ac_res" >&6; }
16122 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16123 <  if ${CFLAGS+:} false; then :
16124 <  case " $CFLAGS " in
16125 <    *" $flag "*)
16126 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16122 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16123 >
16124 > if ${CFLAGS+:} false; then :
16125 >
16126 >  case " $CFLAGS " in #(
16127 >  *" $flag "*) :
16128 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16129    (: CFLAGS already contains $flag) 2>&5
16130    ac_status=$?
16131    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16132 +  test $ac_status = 0; } ;; #(
16133 +  *) :
16134 +
16135 +     as_fn_append CFLAGS " $flag"
16136 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16137 +  (: CFLAGS="$CFLAGS") 2>&5
16138 +  ac_status=$?
16139 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16140    test $ac_status = 0; }
16141 <      ;;
16142 <    *)
16143 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16144 <  (: CFLAGS="$CFLAGS $flag") 2>&5
16141 >     ;;
16142 > esac
16143 >
16144 > else
16145 >
16146 >  CFLAGS=$flag
16147 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16148 >  (: CFLAGS="$CFLAGS") 2>&5
16149    ac_status=$?
16150    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16151    test $ac_status = 0; }
16152 <      CFLAGS="$CFLAGS $flag"
16153 <      ;;
16154 <   esac
16152 >
16153 > fi
16154 >
16155   else
16156 <  CFLAGS="$flag"
16156 >  :
16157 > fi
16158 >
16159 > done
16160 >
16161 >
16162 >
16163 >
16164 >
16165 > for flag in -Wshift-negative-value; do
16166 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16167 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16168 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16169 > if eval \${$as_CACHEVAR+:} false; then :
16170 >  $as_echo_n "(cached) " >&6
16171 > else
16172 >
16173 >  ax_check_save_flags=$CFLAGS
16174 >  CFLAGS="$CFLAGS  $flag"
16175 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 > /* end confdefs.h.  */
16177 >
16178 > int
16179 > main ()
16180 > {
16181 >
16182 >  ;
16183 >  return 0;
16184 > }
16185 > _ACEOF
16186 > if ac_fn_c_try_compile "$LINENO"; then :
16187 >  eval "$as_CACHEVAR=yes"
16188 > else
16189 >  eval "$as_CACHEVAR=no"
16190 > fi
16191 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16192 >  CFLAGS=$ax_check_save_flags
16193 > fi
16194 > eval ac_res=\$$as_CACHEVAR
16195 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16196 > $as_echo "$ac_res" >&6; }
16197 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16198 >
16199 > if ${CFLAGS+:} false; then :
16200 >
16201 >  case " $CFLAGS " in #(
16202 >  *" $flag "*) :
16203 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16204 >  (: CFLAGS already contains $flag) 2>&5
16205 >  ac_status=$?
16206 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16207 >  test $ac_status = 0; } ;; #(
16208 >  *) :
16209 >
16210 >     as_fn_append CFLAGS " $flag"
16211 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16212 >  (: CFLAGS="$CFLAGS") 2>&5
16213 >  ac_status=$?
16214 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16215 >  test $ac_status = 0; }
16216 >     ;;
16217 > esac
16218 >
16219 > else
16220 >
16221 >  CFLAGS=$flag
16222 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16223 >  (: CFLAGS="$CFLAGS") 2>&5
16224 >  ac_status=$?
16225 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16226 >  test $ac_status = 0; }
16227 >
16228   fi
16229  
16230   else
# Line 15379 | Line 16237 | done
16237  
16238  
16239  
16240 < for flag in -Wwrite-strings; do
16240 > for flag in -Wsign-compare; do
16241    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16243   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 15411 | Line 16269 | fi
16269   eval ac_res=\$$as_CACHEVAR
16270                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16271   $as_echo "$ac_res" >&6; }
16272 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16273 <  if ${CFLAGS+:} false; then :
16274 <  case " $CFLAGS " in
16275 <    *" $flag "*)
16276 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16272 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16273 >
16274 > if ${CFLAGS+:} false; then :
16275 >
16276 >  case " $CFLAGS " in #(
16277 >  *" $flag "*) :
16278 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16279    (: CFLAGS already contains $flag) 2>&5
16280    ac_status=$?
16281    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16282 +  test $ac_status = 0; } ;; #(
16283 +  *) :
16284 +
16285 +     as_fn_append CFLAGS " $flag"
16286 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16287 +  (: CFLAGS="$CFLAGS") 2>&5
16288 +  ac_status=$?
16289 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16290    test $ac_status = 0; }
16291 <      ;;
16292 <    *)
16293 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16294 <  (: CFLAGS="$CFLAGS $flag") 2>&5
16291 >     ;;
16292 > esac
16293 >
16294 > else
16295 >
16296 >  CFLAGS=$flag
16297 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16298 >  (: CFLAGS="$CFLAGS") 2>&5
16299    ac_status=$?
16300    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16301    test $ac_status = 0; }
16302 <      CFLAGS="$CFLAGS $flag"
16303 <      ;;
16304 <   esac
16302 >
16303 > fi
16304 >
16305   else
16306 <  CFLAGS="$flag"
16306 >  :
16307 > fi
16308 >
16309 > done
16310 >
16311 >
16312 >
16313 >
16314 >
16315 > for flag in -Wtype-limits; do
16316 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16317 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16318 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16319 > if eval \${$as_CACHEVAR+:} false; then :
16320 >  $as_echo_n "(cached) " >&6
16321 > else
16322 >
16323 >  ax_check_save_flags=$CFLAGS
16324 >  CFLAGS="$CFLAGS  $flag"
16325 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 > /* end confdefs.h.  */
16327 >
16328 > int
16329 > main ()
16330 > {
16331 >
16332 >  ;
16333 >  return 0;
16334 > }
16335 > _ACEOF
16336 > if ac_fn_c_try_compile "$LINENO"; then :
16337 >  eval "$as_CACHEVAR=yes"
16338 > else
16339 >  eval "$as_CACHEVAR=no"
16340 > fi
16341 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342 >  CFLAGS=$ax_check_save_flags
16343 > fi
16344 > eval ac_res=\$$as_CACHEVAR
16345 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16346 > $as_echo "$ac_res" >&6; }
16347 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16348 >
16349 > if ${CFLAGS+:} false; then :
16350 >
16351 >  case " $CFLAGS " in #(
16352 >  *" $flag "*) :
16353 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16354 >  (: CFLAGS already contains $flag) 2>&5
16355 >  ac_status=$?
16356 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16357 >  test $ac_status = 0; } ;; #(
16358 >  *) :
16359 >
16360 >     as_fn_append CFLAGS " $flag"
16361 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16362 >  (: CFLAGS="$CFLAGS") 2>&5
16363 >  ac_status=$?
16364 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16365 >  test $ac_status = 0; }
16366 >     ;;
16367 > esac
16368 >
16369 > else
16370 >
16371 >  CFLAGS=$flag
16372 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16373 >  (: CFLAGS="$CFLAGS") 2>&5
16374 >  ac_status=$?
16375 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16376 >  test $ac_status = 0; }
16377 >
16378   fi
16379  
16380   else
# Line 15476 | Line 16419 | fi
16419   eval ac_res=\$$as_CACHEVAR
16420                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16421   $as_echo "$ac_res" >&6; }
16422 < if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16423 <  if ${CFLAGS+:} false; then :
16424 <  case " $CFLAGS " in
16425 <    *" $flag "*)
16426 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16422 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16423 >
16424 > if ${CFLAGS+:} false; then :
16425 >
16426 >  case " $CFLAGS " in #(
16427 >  *" $flag "*) :
16428 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16429    (: CFLAGS already contains $flag) 2>&5
16430    ac_status=$?
16431    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16432 +  test $ac_status = 0; } ;; #(
16433 +  *) :
16434 +
16435 +     as_fn_append CFLAGS " $flag"
16436 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16437 +  (: CFLAGS="$CFLAGS") 2>&5
16438 +  ac_status=$?
16439 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16440    test $ac_status = 0; }
16441 <      ;;
16442 <    *)
16443 <      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16444 <  (: CFLAGS="$CFLAGS $flag") 2>&5
16441 >     ;;
16442 > esac
16443 >
16444 > else
16445 >
16446 >  CFLAGS=$flag
16447 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16448 >  (: CFLAGS="$CFLAGS") 2>&5
16449    ac_status=$?
16450    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16451    test $ac_status = 0; }
16452 <      CFLAGS="$CFLAGS $flag"
16453 <      ;;
16454 <   esac
16452 >
16453 > fi
16454 >
16455   else
16456 <  CFLAGS="$flag"
16456 >  :
16457 > fi
16458 >
16459 > done
16460 >
16461 >
16462 >
16463 >
16464 >
16465 > for flag in -Wuninitialized; do
16466 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16467 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16468 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16469 > if eval \${$as_CACHEVAR+:} false; then :
16470 >  $as_echo_n "(cached) " >&6
16471 > else
16472 >
16473 >  ax_check_save_flags=$CFLAGS
16474 >  CFLAGS="$CFLAGS  $flag"
16475 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 > /* end confdefs.h.  */
16477 >
16478 > int
16479 > main ()
16480 > {
16481 >
16482 >  ;
16483 >  return 0;
16484 > }
16485 > _ACEOF
16486 > if ac_fn_c_try_compile "$LINENO"; then :
16487 >  eval "$as_CACHEVAR=yes"
16488 > else
16489 >  eval "$as_CACHEVAR=no"
16490 > fi
16491 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16492 >  CFLAGS=$ax_check_save_flags
16493 > fi
16494 > eval ac_res=\$$as_CACHEVAR
16495 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16496 > $as_echo "$ac_res" >&6; }
16497 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16498 >
16499 > if ${CFLAGS+:} false; then :
16500 >
16501 >  case " $CFLAGS " in #(
16502 >  *" $flag "*) :
16503 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16504 >  (: CFLAGS already contains $flag) 2>&5
16505 >  ac_status=$?
16506 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16507 >  test $ac_status = 0; } ;; #(
16508 >  *) :
16509 >
16510 >     as_fn_append CFLAGS " $flag"
16511 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16512 >  (: CFLAGS="$CFLAGS") 2>&5
16513 >  ac_status=$?
16514 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16515 >  test $ac_status = 0; }
16516 >     ;;
16517 > esac
16518 >
16519 > else
16520 >
16521 >  CFLAGS=$flag
16522 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16523 >  (: CFLAGS="$CFLAGS") 2>&5
16524 >  ac_status=$?
16525 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16526 >  test $ac_status = 0; }
16527 >
16528 > fi
16529 >
16530 > else
16531 >  :
16532 > fi
16533 >
16534 > done
16535 >
16536 >
16537 >
16538 >
16539 >
16540 > for flag in -Wwrite-strings; do
16541 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16542 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16543 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16544 > if eval \${$as_CACHEVAR+:} false; then :
16545 >  $as_echo_n "(cached) " >&6
16546 > else
16547 >
16548 >  ax_check_save_flags=$CFLAGS
16549 >  CFLAGS="$CFLAGS  $flag"
16550 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 > /* end confdefs.h.  */
16552 >
16553 > int
16554 > main ()
16555 > {
16556 >
16557 >  ;
16558 >  return 0;
16559 > }
16560 > _ACEOF
16561 > if ac_fn_c_try_compile "$LINENO"; then :
16562 >  eval "$as_CACHEVAR=yes"
16563 > else
16564 >  eval "$as_CACHEVAR=no"
16565 > fi
16566 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16567 >  CFLAGS=$ax_check_save_flags
16568 > fi
16569 > eval ac_res=\$$as_CACHEVAR
16570 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16571 > $as_echo "$ac_res" >&6; }
16572 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16573 >
16574 > if ${CFLAGS+:} false; then :
16575 >
16576 >  case " $CFLAGS " in #(
16577 >  *" $flag "*) :
16578 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16579 >  (: CFLAGS already contains $flag) 2>&5
16580 >  ac_status=$?
16581 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16582 >  test $ac_status = 0; } ;; #(
16583 >  *) :
16584 >
16585 >     as_fn_append CFLAGS " $flag"
16586 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16587 >  (: CFLAGS="$CFLAGS") 2>&5
16588 >  ac_status=$?
16589 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16590 >  test $ac_status = 0; }
16591 >     ;;
16592 > esac
16593 >
16594 > else
16595 >
16596 >  CFLAGS=$flag
16597 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16598 >  (: CFLAGS="$CFLAGS") 2>&5
16599 >  ac_status=$?
16600 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16601 >  test $ac_status = 0; }
16602 >
16603   fi
16604  
16605   else
# Line 15505 | Line 16608 | fi
16608  
16609   done
16610  
16611 +
16612 + fi
16613 +
16614 +
16615 +  # Check whether --enable-efence was given.
16616 + if test "${enable_efence+set}" = set; then :
16617 +  enableval=$enable_efence; efence="$enableval"
16618 + else
16619 +  efence="no"
16620 + fi
16621 +
16622 +
16623 +  if test "$efence" = "yes"; then :
16624 +
16625 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
16626 + $as_echo_n "checking for library containing EF_Print... " >&6; }
16627 + if ${ac_cv_search_EF_Print+:} false; then :
16628 +  $as_echo_n "(cached) " >&6
16629 + else
16630 +  ac_func_search_save_LIBS=$LIBS
16631 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 + /* end confdefs.h.  */
16633 +
16634 + /* Override any GCC internal prototype to avoid an error.
16635 +   Use char because int might match the return type of a GCC
16636 +   builtin and then its argument prototype would still apply.  */
16637 + #ifdef __cplusplus
16638 + extern "C"
16639 + #endif
16640 + char EF_Print ();
16641 + int
16642 + main ()
16643 + {
16644 + return EF_Print ();
16645 +  ;
16646 +  return 0;
16647 + }
16648 + _ACEOF
16649 + for ac_lib in '' efence; do
16650 +  if test -z "$ac_lib"; then
16651 +    ac_res="none required"
16652 +  else
16653 +    ac_res=-l$ac_lib
16654 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16655    fi
16656 +  if ac_fn_c_try_link "$LINENO"; then :
16657 +  ac_cv_search_EF_Print=$ac_res
16658 + fi
16659 + rm -f core conftest.err conftest.$ac_objext \
16660 +    conftest$ac_exeext
16661 +  if ${ac_cv_search_EF_Print+:} false; then :
16662 +  break
16663 + fi
16664 + done
16665 + if ${ac_cv_search_EF_Print+:} false; then :
16666 +
16667 + else
16668 +  ac_cv_search_EF_Print=no
16669 + fi
16670 + rm conftest.$ac_ext
16671 + LIBS=$ac_func_search_save_LIBS
16672 + fi
16673 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
16674 + $as_echo "$ac_cv_search_EF_Print" >&6; }
16675 + ac_res=$ac_cv_search_EF_Print
16676 + if test "$ac_res" != no; then :
16677 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16678 +
16679 + else
16680 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16681 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16682 + as_fn_error $? "Electric Fence 'efence' library not found
16683 + See \`config.log' for more details" "$LINENO" 5; }
16684 + fi
16685 +
16686 +
16687 + fi
16688 +
16689 +
16690 + # Check whether --enable-openssl was given.
16691 + if test "${enable_openssl+set}" = set; then :
16692 +  enableval=$enable_openssl;  cf_enable_openssl=$enableval
16693 + else
16694 +   cf_enable_openssl="auto"
16695 + fi
16696 +
16697 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
16698 + $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
16699 + if test "$cf_enable_openssl" != "no"; then
16700 +  cf_openssl_basedir=""
16701 +  if test "$cf_enable_openssl" != "auto" &&
16702 +     test "$cf_enable_openssl" != "yes"; then
16703 +          cf_openssl_basedir="${cf_enable_openssl}"
16704 +  else
16705 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
16706 +                /opt /opt/openssl /usr/local/openssl; do
16707 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
16708 +        cf_openssl_basedir="${dirs}"
16709 +        break
16710 +      fi
16711 +    done
16712 +    unset dirs
16713 +  fi
16714 +
16715 +    if test ! -z "$cf_openssl_basedir"; then
16716 +    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
16717 +      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
16718 +      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
16719 +    else
16720 +                  cf_openssl_basedir=""
16721 +    fi
16722 +  else
16723 +                            if test -f "/usr/include/openssl/opensslv.h"; then
16724 +      cf_openssl_basedir="/usr"
16725 +    fi
16726 +  fi
16727 +
16728 +      if test ! -z "$cf_openssl_basedir"; then
16729 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16730 + $as_echo "$cf_openssl_basedir" >&6; }
16731 +    cf_enable_openssl="yes"
16732 +  else
16733 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
16734 + $as_echo "not found. Please check your path." >&6; }
16735 +    cf_enable_openssl="no"
16736 +  fi
16737 +  unset cf_openssl_basedir
16738 + else
16739 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16740 + $as_echo "disabled" >&6; }
16741 + fi
16742 +
16743 + if test "$cf_enable_openssl" != "no"; then :
16744 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
16745 + $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
16746 +  if test "$cross_compiling" = yes; then :
16747 +  cf_openssl_version_ok=no
16748 + else
16749 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 + /* end confdefs.h.  */
16751 +
16752 +
16753 +    #include <openssl/opensslv.h>
16754 +    #include <stdlib.h>
16755 + int
16756 + main ()
16757 + {
16758 + exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
16759 +  ;
16760 +  return 0;
16761 + }
16762 + _ACEOF
16763 + if ac_fn_c_try_run "$LINENO"; then :
16764 +  cf_openssl_version_ok=yes
16765 + else
16766 +  cf_openssl_version_ok=no
16767 + fi
16768 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16769 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
16770 + fi
16771 +
16772 +
16773 +  if test "$cf_openssl_version_ok" = "yes"; then :
16774 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16775 + $as_echo "found" >&6; }
16776 +
16777 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16778 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16779 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16780 +  $as_echo_n "(cached) " >&6
16781 + else
16782 +  ac_check_lib_save_LIBS=$LIBS
16783 + LIBS="-lcrypto  $LIBS"
16784 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 + /* end confdefs.h.  */
16786 +
16787 + /* Override any GCC internal prototype to avoid an error.
16788 +   Use char because int might match the return type of a GCC
16789 +   builtin and then its argument prototype would still apply.  */
16790 + #ifdef __cplusplus
16791 + extern "C"
16792 + #endif
16793 + char RSA_free ();
16794 + int
16795 + main ()
16796 + {
16797 + return RSA_free ();
16798 +  ;
16799 +  return 0;
16800 + }
16801 + _ACEOF
16802 + if ac_fn_c_try_link "$LINENO"; then :
16803 +  ac_cv_lib_crypto_RSA_free=yes
16804 + else
16805 +  ac_cv_lib_crypto_RSA_free=no
16806 + fi
16807 + rm -f core conftest.err conftest.$ac_objext \
16808 +    conftest$ac_exeext conftest.$ac_ext
16809 + LIBS=$ac_check_lib_save_LIBS
16810 + fi
16811 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16812 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16813 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16814 +  cat >>confdefs.h <<_ACEOF
16815 + #define HAVE_LIBCRYPTO 1
16816 + _ACEOF
16817 +
16818 +  LIBS="-lcrypto $LIBS"
16819 +
16820 + fi
16821 +
16822 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16823 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16824 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16825 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16826 +  $as_echo_n "(cached) " >&6
16827 + else
16828 +  ac_check_lib_save_LIBS=$LIBS
16829 + LIBS="-lssl  $LIBS"
16830 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 + /* end confdefs.h.  */
16832 +
16833 + /* Override any GCC internal prototype to avoid an error.
16834 +   Use char because int might match the return type of a GCC
16835 +   builtin and then its argument prototype would still apply.  */
16836 + #ifdef __cplusplus
16837 + extern "C"
16838 + #endif
16839 + char SSL_connect ();
16840 + int
16841 + main ()
16842 + {
16843 + return SSL_connect ();
16844 +  ;
16845 +  return 0;
16846 + }
16847 + _ACEOF
16848 + if ac_fn_c_try_link "$LINENO"; then :
16849 +  ac_cv_lib_ssl_SSL_connect=yes
16850 + else
16851 +  ac_cv_lib_ssl_SSL_connect=no
16852 + fi
16853 + rm -f core conftest.err conftest.$ac_objext \
16854 +    conftest$ac_exeext conftest.$ac_ext
16855 + LIBS=$ac_check_lib_save_LIBS
16856 + fi
16857 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16858 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16859 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16860 +  cat >>confdefs.h <<_ACEOF
16861 + #define HAVE_LIBSSL 1
16862 + _ACEOF
16863 +
16864 +  LIBS="-lssl $LIBS"
16865 +
16866 + fi
16867 +
16868 + fi
16869 +
16870 + else
16871 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16872 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16873 +    cf_enable_openssl="no"
16874 + fi
16875 + fi
16876 +
16877 +
16878 + # Check whether --enable-gnutls was given.
16879 + if test "${enable_gnutls+set}" = set; then :
16880 +  enableval=$enable_gnutls;  cf_enable_gnutls=$enableval
16881 + else
16882 +   cf_enable_gnutls="auto"
16883 + fi
16884 +
16885 +
16886 + if test "$cf_enable_openssl" != "auto" &&
16887 +   test "$cf_enable_openssl" != "yes"; then
16888 +  if test "$cf_enable_gnutls" != "no"; then
16889 +
16890 +    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16891 + if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
16892 +
16893 +      if test "$cross_compiling" = yes; then :
16894 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16895 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16896 + as_fn_error $? "cannot run test program while cross compiling
16897 + See \`config.log' for more details" "$LINENO" 5; }
16898 + else
16899 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 + /* end confdefs.h.  */
16901 +
16902 +
16903 +          #include <gnutls/gnutls.h>
16904 +          #include <stdlib.h>
16905 + int
16906 + main ()
16907 + {
16908 +
16909 +          exit(!(GNUTLS_VERSION_NUMBER >= 0x030605));
16910 +  ;
16911 +  return 0;
16912 + }
16913 + _ACEOF
16914 + if ac_fn_c_try_run "$LINENO"; then :
16915 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
16916 + $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
16917 + if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
16918 +  $as_echo_n "(cached) " >&6
16919 + else
16920 +  ac_check_lib_save_LIBS=$LIBS
16921 + LIBS="-lgnutls  $LIBS"
16922 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 + /* end confdefs.h.  */
16924 +
16925 + /* Override any GCC internal prototype to avoid an error.
16926 +   Use char because int might match the return type of a GCC
16927 +   builtin and then its argument prototype would still apply.  */
16928 + #ifdef __cplusplus
16929 + extern "C"
16930 + #endif
16931 + char gnutls_init ();
16932 + int
16933 + main ()
16934 + {
16935 + return gnutls_init ();
16936 +  ;
16937 +  return 0;
16938 + }
16939 + _ACEOF
16940 + if ac_fn_c_try_link "$LINENO"; then :
16941 +  ac_cv_lib_gnutls_gnutls_init=yes
16942 + else
16943 +  ac_cv_lib_gnutls_gnutls_init=no
16944 + fi
16945 + rm -f core conftest.err conftest.$ac_objext \
16946 +    conftest$ac_exeext conftest.$ac_ext
16947 + LIBS=$ac_check_lib_save_LIBS
16948 + fi
16949 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
16950 + $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
16951 + if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
16952 +  cat >>confdefs.h <<_ACEOF
16953 + #define HAVE_LIBGNUTLS 1
16954 + _ACEOF
16955 +
16956 +  LIBS="-lgnutls $LIBS"
16957 +
16958 + fi
16959 +
16960 + fi
16961 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16962 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
16963 + fi
16964 +
16965 + fi
16966 +
16967 +
16968 +
16969 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
16970 + $as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; }
16971 +    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
16972 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16973 + $as_echo "found" >&6; }
16974 + else
16975 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
16976 + $as_echo "no - GnuTLS support disabled" >&6; }
16977 + fi
16978 +
16979 +  fi
16980 + fi
16981 +
16982 +
16983 + # Disable -Wformat-truncation
16984 +
16985 +
16986 +
16987 +
16988 + for flag in -Wno-format-truncation; do
16989 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16990 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16991 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16992 + if eval \${$as_CACHEVAR+:} false; then :
16993 +  $as_echo_n "(cached) " >&6
16994 + else
16995 +
16996 +  ax_check_save_flags=$CFLAGS
16997 +  CFLAGS="$CFLAGS  $flag"
16998 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 + /* end confdefs.h.  */
17000 +
17001 + int
17002 + main ()
17003 + {
17004 +
17005 +  ;
17006 +  return 0;
17007 + }
17008 + _ACEOF
17009 + if ac_fn_c_try_compile "$LINENO"; then :
17010 +  eval "$as_CACHEVAR=yes"
17011 + else
17012 +  eval "$as_CACHEVAR=no"
17013 + fi
17014 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 +  CFLAGS=$ax_check_save_flags
17016 + fi
17017 + eval ac_res=\$$as_CACHEVAR
17018 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17019 + $as_echo "$ac_res" >&6; }
17020 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17021 +
17022 + if ${CFLAGS+:} false; then :
17023 +
17024 +  case " $CFLAGS " in #(
17025 +  *" $flag "*) :
17026 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17027 +  (: CFLAGS already contains $flag) 2>&5
17028 +  ac_status=$?
17029 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17030 +  test $ac_status = 0; } ;; #(
17031 +  *) :
17032 +
17033 +     as_fn_append CFLAGS " $flag"
17034 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17035 +  (: CFLAGS="$CFLAGS") 2>&5
17036 +  ac_status=$?
17037 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17038 +  test $ac_status = 0; }
17039 +     ;;
17040 + esac
17041 +
17042 + else
17043 +
17044 +  CFLAGS=$flag
17045 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17046 +  (: CFLAGS="$CFLAGS") 2>&5
17047 +  ac_status=$?
17048 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17049 +  test $ac_status = 0; }
17050 +
17051 + fi
17052 +
17053 + else
17054 +  :
17055 + fi
17056 +
17057 + done
17058  
17059  
17060  
# Line 15594 | Line 17143 | _ACEOF
17143    test "$exec_prefix_NONE" && exec_prefix=NONE
17144  
17145  
17146 < ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
17146 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile modules/extra/Makefile doc/Makefile help/Makefile tools/Makefile"
17147  
17148  
17149   cat >confcache <<\_ACEOF
# Line 15760 | Line 17309 | LT_CONFIG_H=config.h
17309  
17310  
17311  
15763 if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15764  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15766 fi
17312  
17313   : "${CONFIG_STATUS=./config.status}"
17314   ac_write_fail=0
# Line 16161 | Line 17706 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17706   # report actual input values of CONFIG_FILES etc. instead of their
17707   # values after options handling.
17708   ac_log="
17709 < This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
17709 > This file was extended by ircd-hybrid $as_me 8.2.26, which was
17710   generated by GNU Autoconf 2.69.  Invocation command line was
17711  
17712    CONFIG_FILES    = $CONFIG_FILES
# Line 16227 | Line 17772 | _ACEOF
17772   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17773   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17774   ac_cs_version="\\
17775 < ircd-hybrid config.status 8.2.0rc1
17775 > ircd-hybrid config.status 8.2.26
17776   configured by $0, generated by GNU Autoconf 2.69,
17777    with options \\"\$ac_cs_config\\"
17778  
# Line 16346 | Line 17891 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17891   #
17892   # INIT-COMMANDS
17893   #
17894 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17894 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17895  
17896  
17897   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 16362 | Line 17907 | enable_static='`$ECHO "$enable_static" |
17907   enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17908   pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17909   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17910 + shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17911   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17912   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17913   PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
# Line 16411 | Line 17957 | compiler='`$ECHO "$compiler" | $SED "$de
17957   GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17958   lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17959   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17960 + lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17961   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17962   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17963 + lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17964   nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17965   lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17966 + lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17967   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17968   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17969   lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
# Line 16479 | Line 18028 | finish_cmds='`$ECHO "$finish_cmds" | $SE
18028   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18029   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18030   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18031 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18031 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18032 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18033   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18034   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18035   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 16530 | Line 18080 | CFLAGS \
18080   compiler \
18081   lt_cv_sys_global_symbol_pipe \
18082   lt_cv_sys_global_symbol_to_cdecl \
18083 + lt_cv_sys_global_symbol_to_import \
18084   lt_cv_sys_global_symbol_to_c_name_address \
18085   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18086 + lt_cv_nm_interface \
18087   nm_file_list_spec \
18088 + lt_cv_truncate_bin \
18089   lt_prog_compiler_no_builtin_flag \
18090   lt_prog_compiler_pic \
18091   lt_prog_compiler_wl \
# Line 16567 | Line 18120 | old_striplib \
18120   striplib; do
18121      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18122      *[\\\\\\\`\\"\\\$]*)
18123 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18123 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18124        ;;
18125      *)
18126        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 16594 | Line 18147 | postinstall_cmds \
18147   postuninstall_cmds \
18148   finish_cmds \
18149   sys_lib_search_path_spec \
18150 < sys_lib_dlsearch_path_spec; do
18150 > configure_time_dlsearch_path \
18151 > configure_time_lt_sys_library_path; do
18152      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18153      *[\\\\\\\`\\"\\\$]*)
18154 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18154 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18155        ;;
18156      *)
18157        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 16606 | Line 18160 | sys_lib_dlsearch_path_spec; do
18160   done
18161  
18162   ac_aux_dir='$ac_aux_dir'
16609 xsi_shell='$xsi_shell'
16610 lt_shell_append='$lt_shell_append'
18163  
18164 < # See if we are running on zsh, and set the options which allow our
18164 > # See if we are running on zsh, and set the options that allow our
18165   # commands through without removal of \ escapes INIT.
18166 < if test -n "\${ZSH_VERSION+set}" ; then
18166 > if test -n "\${ZSH_VERSION+set}"; then
18167     setopt NO_GLOB_SUBST
18168   fi
18169  
18170  
18171      PACKAGE='$PACKAGE'
18172      VERSION='$VERSION'
16621    TIMESTAMP='$TIMESTAMP'
18173      RM='$RM'
18174      ofile='$ofile'
18175  
# Line 16641 | Line 18192 | do
18192      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
18193      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
18194      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
18195 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
18196      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18197      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
18198      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
# Line 17243 | Line 18795 | $as_echo "$as_me: executing $ac_file com
18795    # Older Autoconf quotes --file arguments for eval, but not when files
18796    # are listed without --file.  Let's play safe and only enable the eval
18797    # if we detect the quoting.
18798 <  case $CONFIG_FILES in
18799 <  *\'*) eval set x "$CONFIG_FILES" ;;
18800 <  *)   set x $CONFIG_FILES ;;
18801 <  esac
18798 >  # TODO: see whether this extra hack can be removed once we start
18799 >  # requiring Autoconf 2.70 or later.
18800 >  case $CONFIG_FILES in #(
18801 >  *\'*) :
18802 >    eval set x "$CONFIG_FILES" ;; #(
18803 >  *) :
18804 >    set x $CONFIG_FILES ;; #(
18805 >  *) :
18806 >     ;;
18807 > esac
18808    shift
18809 <  for mf
18809 >  # Used to flag and report bootstrapping failures.
18810 >  am_rc=0
18811 >  for am_mf
18812    do
18813      # Strip MF so we end up with the name of the file.
18814 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
18815 <    # Check whether this is an Automake generated Makefile or not.
18816 <    # We used to match only the files named 'Makefile.in', but
18817 <    # some people rename them; so instead we look at the file content.
17258 <    # Grep'ing the first line is not enough: some people post-process
17259 <    # each Makefile.in and add a new line on top of each file to say so.
17260 <    # Grep'ing the whole file is not good either: AIX grep has a line
18814 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18815 >    # Check whether this is an Automake generated Makefile which includes
18816 >    # dependency-tracking related rules and includes.
18817 >    # Grep'ing the whole file directly is not great: AIX grep has a line
18818      # limit of 2048, but all sed's we know have understand at least 4000.
18819 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18820 <      dirpart=`$as_dirname -- "$mf" ||
18821 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18822 <         X"$mf" : 'X\(//\)[^/]' \| \
18823 <         X"$mf" : 'X\(//\)$' \| \
18824 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18825 < $as_echo X"$mf" |
18819 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18820 >      || continue
18821 >    am_dirpart=`$as_dirname -- "$am_mf" ||
18822 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18823 >         X"$am_mf" : 'X\(//\)[^/]' \| \
18824 >         X"$am_mf" : 'X\(//\)$' \| \
18825 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18826 > $as_echo X"$am_mf" |
18827      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18828              s//\1/
18829              q
# Line 17283 | Line 18841 | $as_echo X"$mf" |
18841              q
18842            }
18843            s/.*/./; q'`
18844 <    else
18845 <      continue
18846 <    fi
18847 <    # Extract the definition of DEPDIR, am__include, and am__quote
18848 <    # from the Makefile without running 'make'.
18849 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17292 <    test -z "$DEPDIR" && continue
17293 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17294 <    test -z "$am__include" && continue
17295 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17296 <    # Find all dependency output files, they are included files with
17297 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17298 <    # simplest approach to changing $(DEPDIR) to its actual value in the
17299 <    # expansion.
17300 <    for file in `sed -n "
17301 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17302 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17303 <      # Make sure the directory exists.
17304 <      test -f "$dirpart/$file" && continue
17305 <      fdir=`$as_dirname -- "$file" ||
17306 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17307 <         X"$file" : 'X\(//\)[^/]' \| \
17308 <         X"$file" : 'X\(//\)$' \| \
17309 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17310 < $as_echo X"$file" |
17311 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17312 <            s//\1/
17313 <            q
17314 <          }
17315 <          /^X\(\/\/\)[^/].*/{
18844 >    am_filepart=`$as_basename -- "$am_mf" ||
18845 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18846 >         X"$am_mf" : 'X\(//\)$' \| \
18847 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18848 > $as_echo X/"$am_mf" |
18849 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
18850              s//\1/
18851              q
18852            }
18853 <          /^X\(\/\/\)$/{
18853 >          /^X\/\(\/\/\)$/{
18854              s//\1/
18855              q
18856            }
18857 <          /^X\(\/\).*/{
18857 >          /^X\/\(\/\).*/{
18858              s//\1/
18859              q
18860            }
18861            s/.*/./; q'`
18862 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18863 <      # echo "creating $dirpart/$file"
18864 <      echo '# dummy' > "$dirpart/$file"
18865 <    done
18862 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18863 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18864 >        | $MAKE -f - am--depfiles" >&5
18865 >   (cd "$am_dirpart" \
18866 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18867 >        | $MAKE -f - am--depfiles) >&5 2>&5
18868 >   ac_status=$?
18869 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 >   (exit $ac_status); } || am_rc=$?
18871    done
18872 +  if test $am_rc -ne 0; then
18873 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18874 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18875 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
18876 +    for automatic dependency tracking.  Try re-running configure with the
18877 +    '--disable-dependency-tracking' option to at least be able to build
18878 +    the package (albeit without support for automatic dependency tracking).
18879 + See \`config.log' for more details" "$LINENO" 5; }
18880 +  fi
18881 +  { am_dirpart=; unset am_dirpart;}
18882 +  { am_filepart=; unset am_filepart;}
18883 +  { am_mf=; unset am_mf;}
18884 +  { am_rc=; unset am_rc;}
18885 +  rm -f conftest-deps.mk
18886   }
18887   ;;
18888      "libtool":C)
18889  
18890 <    # See if we are running on zsh, and set the options which allow our
18890 >    # See if we are running on zsh, and set the options that allow our
18891      # commands through without removal of \ escapes.
18892 <    if test -n "${ZSH_VERSION+set}" ; then
18892 >    if test -n "${ZSH_VERSION+set}"; then
18893        setopt NO_GLOB_SUBST
18894      fi
18895  
18896 <    cfgfile="${ofile}T"
18896 >    cfgfile=${ofile}T
18897      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18898      $RM "$cfgfile"
18899  
18900      cat <<_LT_EOF >> "$cfgfile"
18901   #! $SHELL
18902 <
17350 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17351 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17352 < # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18902 > # Generated automatically by $as_me ($PACKAGE) $VERSION
18903   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18904 +
18905 + # Provide generalized library-building support services.
18906 + # Written by Gordon Matzigkeit, 1996
18907 +
18908 + # Copyright (C) 2014 Free Software Foundation, Inc.
18909 + # This is free software; see the source for copying conditions.  There is NO
18910 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18911 +
18912 + # GNU Libtool is free software; you can redistribute it and/or modify
18913 + # it under the terms of the GNU General Public License as published by
18914 + # the Free Software Foundation; either version 2 of of the License, or
18915 + # (at your option) any later version.
18916   #
18917 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18918 < #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18919 < #                 Foundation, Inc.
18920 < #   Written by Gordon Matzigkeit, 1996
17359 < #
17360 < #   This file is part of GNU Libtool.
17361 < #
17362 < # GNU Libtool is free software; you can redistribute it and/or
17363 < # modify it under the terms of the GNU General Public License as
17364 < # published by the Free Software Foundation; either version 2 of
17365 < # the License, or (at your option) any later version.
17366 < #
17367 < # As a special exception to the GNU General Public License,
17368 < # if you distribute this file as part of a program or library that
17369 < # is built using GNU Libtool, you may include this file under the
17370 < # same distribution terms that you use for the rest of that program.
18917 > # As a special exception to the GNU General Public License, if you
18918 > # distribute this file as part of a program or library that is built
18919 > # using GNU Libtool, you may include this file under the  same
18920 > # distribution terms that you use for the rest of that program.
18921   #
18922 < # GNU Libtool is distributed in the hope that it will be useful,
18923 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
18922 > # GNU Libtool is distributed in the hope that it will be useful, but
18923 > # WITHOUT ANY WARRANTY; without even the implied warranty of
18924   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18925   # GNU General Public License for more details.
18926   #
18927   # You should have received a copy of the GNU General Public License
18928 < # along with GNU Libtool; see the file COPYING.  If not, a copy
17379 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17380 < # obtained by writing to the Free Software Foundation, Inc.,
17381 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18928 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18929  
18930  
18931   # The names of the tagged configurations supported by this script.
18932 < available_tags=""
18932 > available_tags=''
18933 >
18934 > # Configured defaults for sys_lib_dlsearch_path munging.
18935 > : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18936  
18937   # ### BEGIN LIBTOOL CONFIG
18938  
# Line 17402 | Line 18952 | pic_mode=$pic_mode
18952   # Whether or not to optimize for fast installation.
18953   fast_install=$enable_fast_install
18954  
18955 + # Shared archive member basename,for filename based shared library versioning on AIX.
18956 + shared_archive_member_spec=$shared_archive_member_spec
18957 +
18958   # Shell to use when invoking shell scripts.
18959   SHELL=$lt_SHELL
18960  
# Line 17519 | Line 19072 | global_symbol_pipe=$lt_lt_cv_sys_global_
19072   # Transform the output of nm in a proper C declaration.
19073   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19074  
19075 + # Transform the output of nm into a list of symbols to manually relocate.
19076 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19077 +
19078   # Transform the output of nm in a C name address pair.
19079   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19080  
19081   # Transform the output of nm in a C name address pair when lib prefix is needed.
19082   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19083  
19084 + # The name lister interface.
19085 + nm_interface=$lt_lt_cv_nm_interface
19086 +
19087   # Specify filename containing input files for \$NM.
19088   nm_file_list_spec=$lt_nm_file_list_spec
19089  
19090 < # The root where to search for dependent libraries,and in which our libraries should be installed.
19090 > # The root where to search for dependent libraries,and where our libraries should be installed.
19091   lt_sysroot=$lt_sysroot
19092  
19093 + # Command to truncate a binary pipe.
19094 + lt_truncate_bin=$lt_lt_cv_truncate_bin
19095 +
19096   # The name of the directory that contains temporary libtool files.
19097   objdir=$objdir
19098  
# Line 17621 | Line 19183 | hardcode_into_libs=$hardcode_into_libs
19183   # Compile-time system search path for libraries.
19184   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19185  
19186 < # Run-time system search path for libraries.
19187 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19186 > # Detected run-time system search path for libraries.
19187 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19188 >
19189 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19190 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19191  
19192   # Whether dlopen is supported.
19193   dlopen_support=$enable_dlopen
# Line 17715 | Line 19280 | hardcode_libdir_flag_spec=$lt_hardcode_l
19280   # Whether we need a single "-rpath" flag with a separated argument.
19281   hardcode_libdir_separator=$lt_hardcode_libdir_separator
19282  
19283 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19283 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19284   # DIR into the resulting binary.
19285   hardcode_direct=$hardcode_direct
19286  
19287 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19287 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19288   # DIR into the resulting binary and the resulting library dependency is
19289 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19289 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19290   # library is relocated.
19291   hardcode_direct_absolute=$hardcode_direct_absolute
19292  
# Line 17773 | Line 19338 | hardcode_action=$hardcode_action
19338  
19339   _LT_EOF
19340  
19341 +    cat <<'_LT_EOF' >> "$cfgfile"
19342 +
19343 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19344 +
19345 + # func_munge_path_list VARIABLE PATH
19346 + # -----------------------------------
19347 + # VARIABLE is name of variable containing _space_ separated list of
19348 + # directories to be munged by the contents of PATH, which is string
19349 + # having a format:
19350 + # "DIR[:DIR]:"
19351 + #       string "DIR[ DIR]" will be prepended to VARIABLE
19352 + # ":DIR[:DIR]"
19353 + #       string "DIR[ DIR]" will be appended to VARIABLE
19354 + # "DIRP[:DIRP]::[DIRA:]DIRA"
19355 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19356 + #       "DIRA[ DIRA]" will be appended to VARIABLE
19357 + # "DIR[:DIR]"
19358 + #       VARIABLE will be replaced by "DIR[ DIR]"
19359 + func_munge_path_list ()
19360 + {
19361 +    case x$2 in
19362 +    x)
19363 +        ;;
19364 +    *:)
19365 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19366 +        ;;
19367 +    x:*)
19368 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19369 +        ;;
19370 +    *::*)
19371 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19372 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19373 +        ;;
19374 +    *)
19375 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19376 +        ;;
19377 +    esac
19378 + }
19379 +
19380 +
19381 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19382 + func_cc_basename ()
19383 + {
19384 +    for cc_temp in $*""; do
19385 +      case $cc_temp in
19386 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19387 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19388 +        \-*) ;;
19389 +        *) break;;
19390 +      esac
19391 +    done
19392 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19393 + }
19394 +
19395 +
19396 + # ### END FUNCTIONS SHARED WITH CONFIGURE
19397 +
19398 + _LT_EOF
19399 +
19400    case $host_os in
19401    aix3*)
19402      cat <<\_LT_EOF >> "$cfgfile"
19403   # AIX sometimes has problems with the GCC collect2 program.  For some
19404   # reason, if we set the COLLECT_NAMES environment variable, the problems
19405   # vanish in a puff of smoke.
19406 < if test "X${COLLECT_NAMES+set}" != Xset; then
19406 > if test set != "${COLLECT_NAMES+set}"; then
19407    COLLECT_NAMES=
19408    export COLLECT_NAMES
19409   fi
# Line 17788 | Line 19412 | _LT_EOF
19412    esac
19413  
19414  
19415 < ltmain="$ac_aux_dir/ltmain.sh"
19415 > ltmain=$ac_aux_dir/ltmain.sh
19416  
19417  
19418    # We use sed instead of cat because bash on DJGPP gets confused if
# Line 17798 | Line 19422 | ltmain="$ac_aux_dir/ltmain.sh"
19422    sed '$q' "$ltmain" >> "$cfgfile" \
19423       || (rm -f "$cfgfile"; exit 1)
19424  
17801  if test x"$xsi_shell" = xyes; then
17802  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17803 func_dirname ()\
17804 {\
17805 \    case ${1} in\
17806 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17807 \      *  ) func_dirname_result="${3}" ;;\
17808 \    esac\
17809 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17810  && mv -f "$cfgfile.tmp" "$cfgfile" \
17811    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17812 test 0 -eq $? || _lt_function_replace_fail=:
17813
17814
17815  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17816 func_basename ()\
17817 {\
17818 \    func_basename_result="${1##*/}"\
17819 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17820  && mv -f "$cfgfile.tmp" "$cfgfile" \
17821    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17822 test 0 -eq $? || _lt_function_replace_fail=:
17823
17824
17825  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17826 func_dirname_and_basename ()\
17827 {\
17828 \    case ${1} in\
17829 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17830 \      *  ) func_dirname_result="${3}" ;;\
17831 \    esac\
17832 \    func_basename_result="${1##*/}"\
17833 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17834  && mv -f "$cfgfile.tmp" "$cfgfile" \
17835    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17836 test 0 -eq $? || _lt_function_replace_fail=:
17837
17838
17839  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17840 func_stripname ()\
17841 {\
17842 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17843 \    # positional parameters, so assign one to ordinary parameter first.\
17844 \    func_stripname_result=${3}\
17845 \    func_stripname_result=${func_stripname_result#"${1}"}\
17846 \    func_stripname_result=${func_stripname_result%"${2}"}\
17847 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17848  && mv -f "$cfgfile.tmp" "$cfgfile" \
17849    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17850 test 0 -eq $? || _lt_function_replace_fail=:
17851
17852
17853  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17854 func_split_long_opt ()\
17855 {\
17856 \    func_split_long_opt_name=${1%%=*}\
17857 \    func_split_long_opt_arg=${1#*=}\
17858 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17859  && mv -f "$cfgfile.tmp" "$cfgfile" \
17860    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17861 test 0 -eq $? || _lt_function_replace_fail=:
17862
17863
17864  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17865 func_split_short_opt ()\
17866 {\
17867 \    func_split_short_opt_arg=${1#??}\
17868 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17869 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17870  && mv -f "$cfgfile.tmp" "$cfgfile" \
17871    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17872 test 0 -eq $? || _lt_function_replace_fail=:
17873
17874
17875  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17876 func_lo2o ()\
17877 {\
17878 \    case ${1} in\
17879 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17880 \      *)    func_lo2o_result=${1} ;;\
17881 \    esac\
17882 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17883  && mv -f "$cfgfile.tmp" "$cfgfile" \
17884    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17885 test 0 -eq $? || _lt_function_replace_fail=:
17886
17887
17888  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17889 func_xform ()\
17890 {\
17891    func_xform_result=${1%.*}.lo\
17892 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17893  && mv -f "$cfgfile.tmp" "$cfgfile" \
17894    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17895 test 0 -eq $? || _lt_function_replace_fail=:
17896
17897
17898  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17899 func_arith ()\
17900 {\
17901    func_arith_result=$(( $* ))\
17902 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17903  && mv -f "$cfgfile.tmp" "$cfgfile" \
17904    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17905 test 0 -eq $? || _lt_function_replace_fail=:
17906
17907
17908  sed -e '/^func_len ()$/,/^} # func_len /c\
17909 func_len ()\
17910 {\
17911    func_len_result=${#1}\
17912 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17913  && mv -f "$cfgfile.tmp" "$cfgfile" \
17914    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17915 test 0 -eq $? || _lt_function_replace_fail=:
17916
17917 fi
17918
17919 if test x"$lt_shell_append" = xyes; then
17920  sed -e '/^func_append ()$/,/^} # func_append /c\
17921 func_append ()\
17922 {\
17923    eval "${1}+=\\${2}"\
17924 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17925  && mv -f "$cfgfile.tmp" "$cfgfile" \
17926    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17927 test 0 -eq $? || _lt_function_replace_fail=:
17928
17929
17930  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17931 func_append_quoted ()\
17932 {\
17933 \    func_quote_for_eval "${2}"\
17934 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17935 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17936  && mv -f "$cfgfile.tmp" "$cfgfile" \
17937    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17938 test 0 -eq $? || _lt_function_replace_fail=:
17939
17940
17941  # Save a `func_append' function call where possible by direct use of '+='
17942  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17943    && mv -f "$cfgfile.tmp" "$cfgfile" \
17944      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17945  test 0 -eq $? || _lt_function_replace_fail=:
17946 else
17947  # Save a `func_append' function call even when '+=' is not available
17948  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17949    && mv -f "$cfgfile.tmp" "$cfgfile" \
17950      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17951  test 0 -eq $? || _lt_function_replace_fail=:
17952 fi
17953
17954 if test x"$_lt_function_replace_fail" = x":"; then
17955  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17956 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17957 fi
17958
17959
19425     mv -f "$cfgfile" "$ofile" ||
19426      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19427    chmod +x "$ofile"
# Line 18000 | Line 19465 | if test -n "$ac_unrecognized_opts" && te
19465   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19466   fi
19467  
19468 +
19469 + echo "###############################################################################"
19470 + echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
19471 + echo
19472 + echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
19473 + echo "   ./configure --prefix=DIRECTORY"
19474 + echo "###############################################################################"

Diff Legend

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