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 4901 by michael, Sat Nov 22 18:31:53 2014 UTC vs.
Revision 5811 by michael, Thu Apr 23 17:29:01 2015 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 4772 2014-10-20 18:04:30Z michael .
2 > # From configure.ac Id: configure.ac 5788 2015-04-05 18:07:10Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.7.
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.1'
597 < PACKAGE_STRING='ircd-hybrid 8.2.1'
596 > PACKAGE_VERSION='8.2.7'
597 > PACKAGE_STRING='ircd-hybrid 8.2.7'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 656 | Line 656 | CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
658   INSTALL_LTDL_TRUE
659 < ARGZ_H
659 > LT_ARGZ_H
660   sys_symbol_underscore
661   LIBADD_DL
662   LT_DLPREOPEN
# Line 669 | Line 669 | LTDLINCL
669   LTDLDEPS
670   LIBLTDL
671   CPP
672 + LT_SYS_LIBRARY_PATH
673   OTOOL64
674   OTOOL
675   LIPO
# Line 798 | Line 799 | enable_static
799   enable_shared
800   with_pic
801   enable_fast_install
802 + with_aix_soname
803   with_gnu_ld
804   with_sysroot
805   enable_libtool_lock
# Line 805 | Line 807 | with_included_ltdl
807   with_ltdl_include
808   with_ltdl_lib
809   enable_ltdl_install
808 enable_libgeoip
809 enable_assert
810   enable_kqueue
811   enable_epoll
812   enable_devpoll
813   enable_poll
814 + enable_assert
815   enable_debugging
816   enable_warnings
817   enable_openssl
818 + enable_libgeoip
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 1366 | Line 1369 | if test "$ac_init_help" = "long"; then
1369    # Omit some internal or obsolete options to make the list less imposing.
1370    # This message is too long to be a string in the A/UX 3.1 sh.
1371    cat <<_ACEOF
1372 < \`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems.
1372 > \`configure' configures ircd-hybrid 8.2.7 to adapt to many kinds of systems.
1373  
1374   Usage: $0 [OPTION]... [VAR=VALUE]...
1375  
# Line 1436 | Line 1439 | fi
1439  
1440   if test -n "$ac_init_help"; then
1441    case $ac_init_help in
1442 <     short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";;
1442 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.7:";;
1443     esac
1444    cat <<\_ACEOF
1445  
# Line 1459 | Line 1462 | Optional Features:
1462                            optimize for fast installation [default=yes]
1463    --disable-libtool-lock  avoid locking (might break parallel builds)
1464    --enable-ltdl-install   install libltdl
1462  --disable-libgeoip      Disable GeoIP support
1463  --enable-assert         Enable assert() statements
1465    --enable-kqueue         Force kqueue usage.
1466    --enable-epoll          Force epoll usage.
1467    --enable-devpoll        Force devpoll usage.
1468    --enable-poll           Force poll usage.
1469 +  --enable-assert         Enable assert() statements
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472    --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1473    --disable-openssl            Disable LibreSSL/OpenSSL support.
1474 +  --disable-libgeoip      Disable GeoIP support
1475  
1476   Optional Packages:
1477    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1478    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1479    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1480                            both]
1481 +  --with-aix-soname=aix|svr4|both
1482 +                          shared library versioning (aka "SONAME") variant to
1483 +                          provide on AIX, [default=aix].
1484    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1485    --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1486                            compiler's sysroot if not specified).
# Line 1496 | Line 1502 | Some influential environment variables:
1502    YFLAGS      The list of arguments that will be passed by default to $YACC.
1503                This script will default YFLAGS to the empty string to avoid a
1504                default value of `-d' given by some make applications.
1505 +  LT_SYS_LIBRARY_PATH
1506 +              User-defined run-time library search path.
1507    CPP         C preprocessor
1508  
1509   Use these variables to override the choices made by `configure' or to help
# Line 1564 | Line 1572 | fi
1572   test -n "$ac_init_help" && exit $ac_status
1573   if $ac_init_version; then
1574    cat <<\_ACEOF
1575 < ircd-hybrid configure 8.2.1
1575 > ircd-hybrid configure 8.2.7
1576   generated by GNU Autoconf 2.69
1577  
1578   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2033 | Line 2041 | cat >config.log <<_ACEOF
2041   This file contains any messages produced by compilers while
2042   running configure, to aid debugging if configure makes a mistake.
2043  
2044 < It was created by ircd-hybrid $as_me 8.2.1, which was
2044 > It was created by ircd-hybrid $as_me 8.2.7, which was
2045   generated by GNU Autoconf 2.69.  Invocation command line was
2046  
2047    $ $0 $@
# Line 2392 | Line 2400 | ac_link='$CC -o conftest$ac_exeext $CFLA
2400   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2401  
2402  
2403 < am__api_version='1.14'
2403 > am__api_version='1.15'
2404  
2405   ac_aux_dir=
2406   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2593 | Line 2601 | test "$program_suffix" != NONE &&
2601   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2602   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2603  
2604 < # expand $ac_aux_dir to an absolute path
2605 < am_aux_dir=`cd $ac_aux_dir && pwd`
2604 > # Expand $ac_aux_dir to an absolute path.
2605 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2606  
2607   if test x"${MISSING+set}" != xset; then
2608    case $am_aux_dir in
# Line 2613 | Line 2621 | else
2621   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2622   fi
2623  
2624 < if test x"${install_sh}" != xset; then
2624 > if test x"${install_sh+set}" != xset; then
2625    case $am_aux_dir in
2626    *\ * | *\     *)
2627      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2907 | Line 2915 | fi
2915  
2916   # Define the identity of the package.
2917   PACKAGE='ircd-hybrid'
2918 < VERSION='8.2.1'
2918 > VERSION='8.2.7'
2919  
2920  
2921   cat >>confdefs.h <<_ACEOF
# Line 2941 | Line 2949 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2949   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2950   mkdir_p='$(MKDIR_P)'
2951  
2952 < # We need awk for the "check" target.  The system "awk" is bad on
2953 < # some platforms.
2952 > # We need awk for the "check" target (and possibly the TAP driver).  The
2953 > # system "awk" is bad on some platforms.
2954   # Always define AMTAR for backward compatibility.  Yes, it's still used
2955   # in the wild :-(  We should find a proper way to deprecate it ...
2956   AMTAR='$${TAR-tar}'
# Line 3000 | Line 3008 | END
3008    fi
3009   fi
3010  
3011 +
3012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3013   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3014      # Check whether --enable-maintainer-mode was given.
# Line 4471 | Line 4480 | esac
4480  
4481  
4482  
4483 < macro_version='2.4.2.458.26-92994'
4484 < macro_revision='2.4.3'
4483 > macro_version='2.4.6'
4484 > macro_revision='2.4.6'
4485  
4486  
4487  
# Line 5844 | Line 5853 | sysv4 | sysv4.3*)
5853   tpf*)
5854    lt_cv_deplibs_check_method=pass_all
5855    ;;
5856 + os2*)
5857 +  lt_cv_deplibs_check_method=pass_all
5858 +  ;;
5859   esac
5860  
5861   fi
# Line 6891 | Line 6903 | $as_echo "$lt_cv_truncate_bin" >&6; }
6903  
6904  
6905  
6906 +
6907 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6908 + func_cc_basename ()
6909 + {
6910 +    for cc_temp in $*""; do
6911 +      case $cc_temp in
6912 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6913 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6914 +        \-*) ;;
6915 +        *) break;;
6916 +      esac
6917 +    done
6918 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6919 + }
6920 +
6921   # Check whether --enable-libtool-lock was given.
6922   if test "${enable_libtool_lock+set}" = set; then :
6923    enableval=$enable_libtool_lock;
# Line 7898 | Line 7925 | $as_echo "$lt_cv_ld_force_load" >&6; }
7925      ;;
7926    esac
7927  
7928 + # func_munge_path_list VARIABLE PATH
7929 + # -----------------------------------
7930 + # VARIABLE is name of variable containing _space_ separated list of
7931 + # directories to be munged by the contents of PATH, which is string
7932 + # having a format:
7933 + # "DIR[:DIR]:"
7934 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7935 + # ":DIR[:DIR]"
7936 + #       string "DIR[ DIR]" will be appended to VARIABLE
7937 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7938 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7939 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7940 + # "DIR[:DIR]"
7941 + #       VARIABLE will be replaced by "DIR[ DIR]"
7942 + func_munge_path_list ()
7943 + {
7944 +    case x$2 in
7945 +    x)
7946 +        ;;
7947 +    *:)
7948 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7949 +        ;;
7950 +    x:*)
7951 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7952 +        ;;
7953 +    *::*)
7954 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7955 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7956 +        ;;
7957 +    *)
7958 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7959 +        ;;
7960 +    esac
7961 + }
7962 +
7963   ac_ext=c
7964   ac_cpp='$CPP $CPPFLAGS'
7965   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8312 | Line 8374 | fi
8374  
8375  
8376  
8377 +  shared_archive_member_spec=
8378 + case $host,$enable_shared in
8379 + power*-*-aix[5-9]*,yes)
8380 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8381 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8382 +
8383 + # Check whether --with-aix-soname was given.
8384 + if test "${with_aix_soname+set}" = set; then :
8385 +  withval=$with_aix_soname; case $withval in
8386 +    aix|svr4|both)
8387 +      ;;
8388 +    *)
8389 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8390 +      ;;
8391 +    esac
8392 +    lt_cv_with_aix_soname=$with_aix_soname
8393 + else
8394 +  if ${lt_cv_with_aix_soname+:} false; then :
8395 +  $as_echo_n "(cached) " >&6
8396 + else
8397 +  lt_cv_with_aix_soname=aix
8398 + fi
8399 +
8400 +    with_aix_soname=$lt_cv_with_aix_soname
8401 + fi
8402 +
8403 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8404 + $as_echo "$with_aix_soname" >&6; }
8405 +  if test aix != "$with_aix_soname"; then
8406 +    # For the AIX way of multilib, we name the shared archive member
8407 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8408 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8409 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8410 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8411 +    if test 64 = "${OBJECT_MODE-32}"; then
8412 +      shared_archive_member_spec=shr_64
8413 +    else
8414 +      shared_archive_member_spec=shr
8415 +    fi
8416 +  fi
8417 +  ;;
8418 + *)
8419 +  with_aix_soname=aix
8420 +  ;;
8421 + esac
8422 +
8423 +
8424 +
8425 +
8426 +
8427 +
8428 +
8429  
8430  
8431  
# Line 8431 | Line 8545 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8545   test -z "$LD" && LD=ld
8546   test -z "$ac_objext" && ac_objext=o
8547  
8548 < for cc_temp in $compiler""; do
8549 <  case $cc_temp in
8436 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8437 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8438 <    \-*) ;;
8439 <    *) break;;
8440 <  esac
8441 < done
8442 < cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8548 > func_cc_basename $compiler
8549 > cc_basename=$func_cc_basename_result
8550  
8551  
8552   # Only perform the check for file, if the check method requires it
# Line 8750 | Line 8857 | lt_prog_compiler_static=
8857        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8858        # (--disable-auto-import) libraries
8859        lt_prog_compiler_pic='-DDLL_EXPORT'
8860 +      case $host_os in
8861 +      os2*)
8862 +        lt_prog_compiler_static='$wl-static'
8863 +        ;;
8864 +      esac
8865        ;;
8866  
8867      darwin* | rhapsody*)
# Line 8846 | Line 8958 | lt_prog_compiler_static=
8958        # This hack is so that the source file can tell whether it is being
8959        # built for inclusion in a dll (and should export symbols for example).
8960        lt_prog_compiler_pic='-DDLL_EXPORT'
8961 +      case $host_os in
8962 +      os2*)
8963 +        lt_prog_compiler_static='$wl-static'
8964 +        ;;
8965 +      esac
8966        ;;
8967  
8968      hpux9* | hpux10* | hpux11*)
# Line 9486 | Line 9603 | _LT_EOF
9603        link_all_deplibs=yes
9604        ;;
9605  
9606 +    os2*)
9607 +      hardcode_libdir_flag_spec='-L$libdir'
9608 +      hardcode_minus_L=yes
9609 +      allow_undefined_flag=unsupported
9610 +      shrext_cmds=.dll
9611 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9612 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9613 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9614 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9615 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9616 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9617 +        emximp -o $lib $output_objdir/$libname.def'
9618 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9619 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9620 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9621 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9622 +        prefix_cmds="$SED"~
9623 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9624 +          prefix_cmds="$prefix_cmds -e 1d";
9625 +        fi~
9626 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9627 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9628 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9629 +        emximp -o $lib $output_objdir/$libname.def'
9630 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9631 +      enable_shared_with_static_runtimes=yes
9632 +      ;;
9633 +
9634      interix[3-9]*)
9635        hardcode_direct=no
9636        hardcode_shlibpath_var=no
# Line 9559 | Line 9704 | _LT_EOF
9704          fi
9705  
9706          case $cc_basename in
9707 +        tcc*)
9708 +          export_dynamic_flag_spec='-rdynamic'
9709 +          ;;
9710          xlf* | bgf* | bgxlf* | mpixlf*)
9711            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9712            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
# Line 9688 | Line 9836 | _LT_EOF
9836          no_entry_flag=
9837        else
9838          # If we're using GNU nm, then we don't want the "-C" option.
9839 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9840 <        # Also, AIX nm treats weak defined symbols like other global
9841 <        # defined symbols, whereas GNU nm marks them as "W".
9839 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9840 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9841 >        # weak defined symbols like other global defined symbols, whereas
9842 >        # GNU nm marks them as "W".
9843 >        # While the 'weak' keyword is ignored in the Export File, we need
9844 >        # it in the Import File for the 'aix-soname' feature, so we have
9845 >        # to replace the "-B" option with "-P" for AIX nm.
9846          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9847 <          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'
9847 >          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'
9848          else
9849 <          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'
9849 >          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'
9850          fi
9851          aix_use_runtimelinking=no
9852  
9853          # Test if we are trying to use run time linking or normal
9854          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9855 <        # need to do runtime linking.
9855 >        # have runtime linking enabled, and use it for executables.
9856 >        # For shared libraries, we enable/disable runtime linking
9857 >        # depending on the kind of the shared library created -
9858 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9859 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9860 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9861 >        #            lib.a           static archive
9862 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9863 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9864 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9865 >        #            lib.a(lib.so.V) shared, rtl:no
9866 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9867 >        #            lib.a           static archive
9868          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9869            for ld_flag in $LDFLAGS; do
9870            if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
# Line 9708 | Line 9872 | _LT_EOF
9872              break
9873            fi
9874            done
9875 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9876 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9877 +            # so we don't have lib.a shared libs to link our executables.
9878 +            # We have to force runtime linking in this case.
9879 +            aix_use_runtimelinking=yes
9880 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9881 +          fi
9882            ;;
9883          esac
9884  
# Line 9727 | Line 9898 | _LT_EOF
9898        hardcode_libdir_separator=':'
9899        link_all_deplibs=yes
9900        file_list_spec='$wl-f,'
9901 +      case $with_aix_soname,$aix_use_runtimelinking in
9902 +      aix,*) ;; # traditional, no import file
9903 +      svr4,* | *,yes) # use import file
9904 +        # The Import File defines what to hardcode.
9905 +        hardcode_direct=no
9906 +        hardcode_direct_absolute=no
9907 +        ;;
9908 +      esac
9909  
9910        if test yes = "$GCC"; then
9911          case $host_os in aix4.[012]|aix4.[012].*)
# Line 9754 | Line 9933 | _LT_EOF
9933          if test yes = "$aix_use_runtimelinking"; then
9934            shared_flag="$shared_flag "'$wl-G'
9935          fi
9936 +        # Need to ensure runtime linking is disabled for the traditional
9937 +        # shared library, or the linker may eventually find shared libraries
9938 +        # /with/ Import File - we do not want to mix them.
9939 +        shared_flag_aix='-shared'
9940 +        shared_flag_svr4='-shared $wl-G'
9941        else
9942          # not using gcc
9943          if test ia64 = "$host_cpu"; then
# Line 9766 | Line 9950 | _LT_EOF
9950            else
9951              shared_flag='$wl-bM:SRE'
9952            fi
9953 +          shared_flag_aix='$wl-bM:SRE'
9954 +          shared_flag_svr4='$wl-G'
9955          fi
9956        fi
9957  
# Line 9773 | Line 9959 | _LT_EOF
9959        # It seems that -bexpall does not export symbols beginning with
9960        # underscore (_), so it is better to generate a list of symbols to export.
9961        always_export_symbols=yes
9962 <      if test yes = "$aix_use_runtimelinking"; then
9962 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9963          # Warning - without using the other runtime loading flags (-brtl),
9964          # -berok will link without error, but may produce a broken library.
9965          allow_undefined_flag='-berok'
# Line 9888 | Line 10074 | fi
10074              whole_archive_flag_spec='$convenience'
10075            fi
10076            archive_cmds_need_lc=yes
10077 <          # This is similar to how AIX traditionally builds its shared libraries.
10078 <          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'
10077 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10078 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10079 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10080 >          if test svr4 != "$with_aix_soname"; then
10081 >            # This is similar to how AIX traditionally builds its shared libraries.
10082 >            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'
10083 >          fi
10084 >          if test aix != "$with_aix_soname"; then
10085 >            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'
10086 >          else
10087 >            # used by -dlpreopen to get the symbols
10088 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10089 >          fi
10090 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10091          fi
10092        fi
10093        ;;
# Line 10208 | Line 10406 | $as_echo "$lt_cv_irix_exported_symbol" >
10406        link_all_deplibs=yes
10407        ;;
10408  
10409 +    linux*)
10410 +      case $cc_basename in
10411 +      tcc*)
10412 +        # Fabrice Bellard et al's Tiny C Compiler
10413 +        ld_shlibs=yes
10414 +        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10415 +        ;;
10416 +      esac
10417 +      ;;
10418 +
10419      netbsd*)
10420        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10421          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
# Line 10253 | Line 10461 | $as_echo "$lt_cv_irix_exported_symbol" >
10461        hardcode_libdir_flag_spec='-L$libdir'
10462        hardcode_minus_L=yes
10463        allow_undefined_flag=unsupported
10464 <      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'
10465 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10464 >      shrext_cmds=.dll
10465 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10466 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10467 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10468 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10469 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10470 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10471 >        emximp -o $lib $output_objdir/$libname.def'
10472 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10473 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10474 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10475 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10476 >        prefix_cmds="$SED"~
10477 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10478 >          prefix_cmds="$prefix_cmds -e 1d";
10479 >        fi~
10480 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10481 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10482 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10483 >        emximp -o $lib $output_objdir/$libname.def'
10484 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10485 >      enable_shared_with_static_runtimes=yes
10486        ;;
10487  
10488      osf3*)
# Line 10777 | Line 11005 | hardcode_into_libs=no
11005   # flags to be left without arguments
11006   need_version=unknown
11007  
11008 +
11009 +
11010   case $host_os in
11011   aix3*)
11012    version_type=linux # correct to gnu/linux during the next big refactor
# Line 10813 | Line 11043 | aix[4-9]*)
11043        fi
11044        ;;
11045      esac
11046 +    # Using Import Files as archive members, it is possible to support
11047 +    # filename-based versioning of shared library archives on AIX. While
11048 +    # this would work for both with and without runtime linking, it will
11049 +    # prevent static linking of such archives. So we do filename-based
11050 +    # shared library versioning with .so extension only, which is used
11051 +    # when both runtime linking and shared linking is enabled.
11052 +    # Unfortunately, runtime linking may impact performance, so we do
11053 +    # not want this to be the default eventually. Also, we use the
11054 +    # versioned .so libs for executables only if there is the -brtl
11055 +    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11056 +    # To allow for filename-based versioning support, we need to create
11057 +    # libNAME.so.V as an archive file, containing:
11058 +    # *) an Import File, referring to the versioned filename of the
11059 +    #    archive as well as the shared archive member, telling the
11060 +    #    bitwidth (32 or 64) of that shared object, and providing the
11061 +    #    list of exported symbols of that shared object, eventually
11062 +    #    decorated with the 'weak' keyword
11063 +    # *) the shared object with the F_LOADONLY flag set, to really avoid
11064 +    #    it being seen by the linker.
11065 +    # At run time we better use the real file rather than another symlink,
11066 +    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11067 +
11068 +    case $with_aix_soname,$aix_use_runtimelinking in
11069      # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11070      # soname into executable. Probably we can add versioning support to
11071      # collect2, so additional links can be useful in future.
11072 <    if test yes = "$aix_use_runtimelinking"; then
11072 >    aix,yes) # traditional libtool
11073 >      dynamic_linker='AIX unversionable lib.so'
11074        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11075        # instead of lib<name>.a to let people know that these are not
11076        # typical AIX shared libraries.
11077        library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11078 <    else
11078 >      ;;
11079 >    aix,no) # traditional AIX only
11080 >      dynamic_linker='AIX lib.a(lib.so.V)'
11081        # We preserve .a as extension for shared libraries through AIX4.2
11082        # and later when we are not doing run time linking.
11083        library_names_spec='$libname$release.a $libname.a'
11084        soname_spec='$libname$release$shared_ext$major'
11085 <    fi
11085 >      ;;
11086 >    svr4,*) # full svr4 only
11087 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11088 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11089 >      # We do not specify a path in Import Files, so LIBPATH fires.
11090 >      shlibpath_overrides_runpath=yes
11091 >      ;;
11092 >    *,yes) # both, prefer svr4
11093 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11094 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11095 >      # unpreferred sharedlib libNAME.a needs extra handling
11096 >      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"'
11097 >      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"'
11098 >      # We do not specify a path in Import Files, so LIBPATH fires.
11099 >      shlibpath_overrides_runpath=yes
11100 >      ;;
11101 >    *,no) # both, prefer aix
11102 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11103 >      library_names_spec='$libname$release.a $libname.a'
11104 >      soname_spec='$libname$release$shared_ext$major'
11105 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11106 >      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)'
11107 >      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"'
11108 >      ;;
11109 >    esac
11110      shlibpath_var=LIBPATH
11111    fi
11112    ;;
# Line 11014 | Line 11294 | freebsd* | dragonfly*)
11294    version_type=freebsd-$objformat
11295    case $version_type in
11296      freebsd-elf*)
11297 <      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
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        need_version=no
11300        need_lib_prefix=no
11301        ;;
# Line 11074 | Line 11355 | hpux9* | hpux10* | hpux11*)
11355      soname_spec='$libname$release$shared_ext$major'
11356      if test 32 = "$HPUX_IA64_MODE"; then
11357        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11358 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11359      else
11360        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11361 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11362      fi
11080    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11363      ;;
11364    hppa*64*)
11365      shrext_cmds='.sl'
# Line 11229 | Line 11511 | fi
11511    # before this can be enabled.
11512    hardcode_into_libs=yes
11513  
11514 <  # Append ld.so.conf contents to the search path
11514 >  # Ideally, we could use ldconfig to report *all* directores which are
11515 >  # searched for libraries, however this is still not possible.  Aside from not
11516 >  # being certain /sbin/ldconfig is available, command
11517 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11518 >  # even though it is searched at run-time.  Try to do the best guess by
11519 >  # appending ld.so.conf contents (and includes) to the search path.
11520    if test -f /etc/ld.so.conf; then
11521      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' ' '`
11522      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 11298 | Line 11585 | openbsd* | bitrig*)
11585  
11586   os2*)
11587    libname_spec='$name'
11588 +  version_type=windows
11589    shrext_cmds=.dll
11590 +  need_version=no
11591    need_lib_prefix=no
11592 <  library_names_spec='$libname$shared_ext $libname.a'
11592 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11593 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11594 >    v=$($ECHO $release$versuffix | tr -d .-);
11595 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11596 >    $ECHO $n$v`$shared_ext'
11597 >  library_names_spec='${libname}_dll.$libext'
11598    dynamic_linker='OS/2 ld.exe'
11599 <  shlibpath_var=LIBPATH
11599 >  shlibpath_var=BEGINLIBPATH
11600 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11601 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11602 >  postinstall_cmds='base_file=`basename \$file`~
11603 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11604 >    dldir=$destdir/`dirname \$dlpath`~
11605 >    test -d \$dldir || mkdir -p \$dldir~
11606 >    $install_prog $dir/$dlname \$dldir/$dlname~
11607 >    chmod a+x \$dldir/$dlname~
11608 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11609 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11610 >    fi'
11611 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11612 >    dlpath=$dir/\$dldll~
11613 >    $RM \$dlpath'
11614    ;;
11615  
11616   osf3* | osf4* | osf5*)
# Line 11378 | Line 11686 | sysv4*MP*)
11686    ;;
11687  
11688   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11689 <  version_type=freebsd-elf
11689 >  version_type=sco
11690    need_lib_prefix=no
11691    need_version=no
11692    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
# Line 11433 | Line 11741 | fi
11741   if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11742    sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11743   fi
11744 +
11745   if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11746    sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11747   fi
11748  
11749 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11750 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11751 +
11752 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11753 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11754 +
11755 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11756 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11757 +
11758 +
11759 +
11760 +
11761 +
11762 +
11763  
11764  
11765  
# Line 11907 | Line 12230 | else
12230   #  endif
12231   #endif
12232  
12233 < /* When -fvisbility=hidden is used, assume the code has been annotated
12233 > /* When -fvisibility=hidden is used, assume the code has been annotated
12234     correspondingly for the symbols needed.  */
12235   #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12236   int fnord () __attribute__((visibility("default")));
# Line 12013 | Line 12336 | else
12336   #  endif
12337   #endif
12338  
12339 < /* When -fvisbility=hidden is used, assume the code has been annotated
12339 > /* When -fvisibility=hidden is used, assume the code has been annotated
12340     correspondingly for the symbols needed.  */
12341   #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12342   int fnord () __attribute__((visibility("default")));
# Line 12162 | Line 12485 | $as_echo_n "checking whether to build sh
12485      ;;
12486  
12487    aix[4-9]*)
12488 <    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12489 <      test yes = "$enable_shared" && enable_static=no
12488 >    if test ia64 != "$host_cpu"; then
12489 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12490 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12491 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12492 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12493 >      esac
12494      fi
12495      ;;
12496    esac
# Line 12239 | Line 12566 | cat >>confdefs.h <<_ACEOF
12566   _ACEOF
12567  
12568   fi
12569 + if test -n "$shared_archive_member_spec"; then
12570 +
12571 + cat >>confdefs.h <<_ACEOF
12572 + #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12573 + _ACEOF
12574 +
12575 + fi
12576  
12577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12578   $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
# Line 12292 | Line 12626 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12626   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12627   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12628  
12629 + lt_dlload_save_LIBS=$LIBS
12630  
12631   LIBADD_DLOPEN=
12632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
# Line 12516 | Line 12851 | fi
12851   beos*)
12852    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12853    ;;
12854 < cygwin* | mingw* | os2* | pw32*)
12854 > cygwin* | mingw* | pw32*)
12855    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12856   "
12857   if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
# Line 12594 | Line 12929 | fi
12929   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12930  
12931  
12932 + LIBS=$lt_dlload_save_LIBS
12933   ac_ext=c
12934   ac_cpp='$CPP $CPPFLAGS'
12935   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 12649 | Line 12985 | $as_echo "$lt_cv_sys_symbol_underscore"
12985  
12986  
12987   if test yes = "$lt_cv_sys_symbol_underscore"; then
12988 <  if test yes = "$libltdl_cv_func_dlopen" ||
12989 <     test yes = "$libltdl_cv_lib_dl_dlopen"; then
12654 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12988 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
12989 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12990   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12991   if ${libltdl_cv_need_uscore+:} false; then :
12992    $as_echo_n "(cached) " >&6
12993   else
12994    libltdl_cv_need_uscore=unknown
12995 <          save_LIBS=$LIBS
12996 <          LIBS="$LIBS $LIBADD_DLOPEN"
12997 <          if test yes = "$cross_compiling"; then :
12998 <  libltdl_cv_need_uscore=cross
12664 < else
12665 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12666 <  lt_status=$lt_dlunknown
12667 <  cat > conftest.$ac_ext <<_LT_EOF
12995 >      dlsym_uscore_save_LIBS=$LIBS
12996 >      LIBS="$LIBS $LIBADD_DLOPEN"
12997 >      libname=conftmod # stay within 8.3 filename limits!
12998 >      cat >$libname.$ac_ext <<_LT_EOF
12999   #line $LINENO "configure"
13000   #include "confdefs.h"
13001 + /* When -fvisibility=hidden is used, assume the code has been annotated
13002 +   correspondingly for the symbols needed.  */
13003 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13004 + int fnord () __attribute__((visibility("default")));
13005 + #endif
13006 + int fnord () { return 42; }
13007 + _LT_EOF
13008  
13009 +      # ltfn_module_cmds module_cmds
13010 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
13011 +      # $module_cmds or $archive_cmds type content.
13012 +      ltfn_module_cmds ()
13013 +      {( # subshell avoids polluting parent global environment
13014 +          module_cmds_save_ifs=$IFS; IFS='~'
13015 +          for cmd in $1; do
13016 +            IFS=$module_cmds_save_ifs
13017 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13018 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13019 +            major=; versuffix=; verstring=; deplibs=
13020 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13021 +            eval $cmd
13022 +          done
13023 +          IFS=$module_cmds_save_ifs
13024 +      )}
13025 +
13026 +      # Compile a loadable module using libtool macro expansion results.
13027 +      $CC $pic_flag -c $libname.$ac_ext
13028 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13029 +
13030 +      # Try to fetch fnord with dlsym().
13031 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13032 +      cat >conftest.$ac_ext <<_LT_EOF
13033 + #line $LINENO "configure"
13034 + #include "confdefs.h"
13035   #if HAVE_DLFCN_H
13036   #include <dlfcn.h>
13037   #endif
12674
13038   #include <stdio.h>
13039 <
12677 < #ifdef RTLD_GLOBAL
12678 < #  define LT_DLGLOBAL           RTLD_GLOBAL
12679 < #else
13039 > #ifndef RTLD_GLOBAL
13040   #  ifdef DL_GLOBAL
13041 < #    define LT_DLGLOBAL         DL_GLOBAL
13041 > #    define RTLD_GLOBAL DL_GLOBAL
13042   #  else
13043 < #    define LT_DLGLOBAL         0
13043 > #    define RTLD_GLOBAL 0
13044   #  endif
13045   #endif
13046 <
13047 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13048 <   find out it does not work in some platform. */
12689 < #ifndef LT_DLLAZY_OR_NOW
12690 < #  ifdef RTLD_LAZY
12691 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13046 > #ifndef RTLD_NOW
13047 > #  ifdef DL_NOW
13048 > #    define RTLD_NOW DL_NOW
13049   #  else
13050 < #    ifdef DL_LAZY
12694 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
12695 < #    else
12696 < #      ifdef RTLD_NOW
12697 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12698 < #      else
12699 < #        ifdef DL_NOW
12700 < #          define LT_DLLAZY_OR_NOW      DL_NOW
12701 < #        else
12702 < #          define LT_DLLAZY_OR_NOW      0
12703 < #        endif
12704 < #      endif
12705 < #    endif
13050 > #    define RTLD_NOW 0
13051   #  endif
13052   #endif
13053 <
13054 < /* When -fvisbility=hidden is used, assume the code has been annotated
13055 <   correspondingly for the symbols needed.  */
13056 < #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13057 < int fnord () __attribute__((visibility("default")));
13058 < #endif
13059 <
13060 < int fnord () { return 42; }
13061 < int main ()
12717 < {
12718 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12719 <  int status = $lt_dlunknown;
12720 <
12721 <  if (self)
12722 <    {
12723 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13053 > int main () {
13054 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13055 >  int status = $libltdl_dlunknown;
13056 >  if (handle) {
13057 >    if (dlsym (handle, "fnord"))
13058 >      status = $libltdl_dlnouscore;
13059 >    else {
13060 >      if (dlsym (handle, "_fnord"))
13061 >        status = $libltdl_dluscore;
13062        else
13063 <        {
12726 <          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12727 <          else puts (dlerror ());
12728 <        }
12729 <      /* dlclose (self); */
13063 >        puts (dlerror ());
13064      }
13065 <  else
13065 >    dlclose (handle);
13066 >  } else
13067      puts (dlerror ());
12733
13068    return status;
13069   }
13070   _LT_EOF
13071 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13071 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13072    (eval $ac_link) 2>&5
13073    ac_status=$?
13074    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13075    test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13076 <    (./conftest; exit; ) >&5 2>/dev/null
13077 <    lt_status=$?
13078 <    case x$lt_status in
13079 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13080 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13081 <      x$lt_dlunknown|x*)  ;;
13082 <    esac
13083 <  else :
13084 <    # compilation failed
13085 <
12752 <  fi
12753 < fi
12754 < rm -fr conftest*
12755 <
12756 <          LIBS=$save_LIBS
13076 >        (./conftest; exit; ) >&5 2>/dev/null
13077 >        libltdl_status=$?
13078 >        case x$libltdl_status in
13079 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13080 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13081 >          x*) libltdl_cv_need_uscore=unknown ;;
13082 >        esac
13083 >      fi
13084 >      rm -rf conftest* $libname*
13085 >      LIBS=$dlsym_uscore_save_LIBS
13086  
13087   fi
13088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 12872 | Line 13201 | $as_echo "#define LTDL_DLOPEN_DEPLIBS 1"
13201  
13202   fi
13203  
12875 :
13204  
13205   for ac_header in argz.h
13206   do :
# Line 12909 | Line 13237 | $as_echo "#define __error_t_defined 1" >
13237   fi
13238  
13239  
13240 < ARGZ_H=
13240 > LT_ARGZ_H=
13241   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13242          argz_next argz_stringify
13243   do :
# Line 12921 | Line 13249 | if eval test \"x\$"$as_ac_var"\" = x"yes
13249   _ACEOF
13250  
13251   else
13252 <  ARGZ_H=argz.h;
13252 >  LT_ARGZ_H=lt__argz.h;
13253  
13254 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13254 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13255  
13256   fi
13257   done
13258  
13259  
13260 < if test -z "$ARGZ_H"; then :
13260 > if test -z "$LT_ARGZ_H"; then :
13261    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13262   $as_echo_n "checking if argz actually works... " >&6; }
13263   if ${lt_cv_sys_argz_works+:} false; then :
# Line 12968 | Line 13296 | $as_echo "$lt_cv_sys_argz_works" >&6; }
13296   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13297  
13298   else
13299 <  ARGZ_H=argz.h
13299 >  LT_ARGZ_H=lt__argz.h
13300  
13301  
13302 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13302 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13303  
13304   fi
13305   fi
# Line 13956 | Line 14284 | if test "$ac_res" != no; then :
14284   fi
14285  
14286  
13959 # Check whether --enable-libgeoip was given.
13960 if test "${enable_libgeoip+set}" = set; then :
13961  enableval=$enable_libgeoip;
13962 else
13963  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13964 if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13965  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13966 $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13967 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13968  $as_echo_n "(cached) " >&6
13969 else
13970  ac_func_search_save_LIBS=$LIBS
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h.  */
13973
13974 /* Override any GCC internal prototype to avoid an error.
13975   Use char because int might match the return type of a GCC
13976   builtin and then its argument prototype would still apply.  */
13977 #ifdef __cplusplus
13978 extern "C"
13979 #endif
13980 char GeoIP_id_by_ipnum_v6_gl ();
13981 int
13982 main ()
13983 {
13984 return GeoIP_id_by_ipnum_v6_gl ();
13985  ;
13986  return 0;
13987 }
13988 _ACEOF
13989 for ac_lib in '' GeoIP; do
13990  if test -z "$ac_lib"; then
13991    ac_res="none required"
13992  else
13993    ac_res=-l$ac_lib
13994    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13995  fi
13996  if ac_fn_c_try_link "$LINENO"; then :
13997  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13998 fi
13999 rm -f core conftest.err conftest.$ac_objext \
14000    conftest$ac_exeext
14001  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14002  break
14003 fi
14004 done
14005 if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14006
14007 else
14008  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14009 fi
14010 rm conftest.$ac_ext
14011 LIBS=$ac_func_search_save_LIBS
14012 fi
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
14014 $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
14015 ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
14016 if test "$ac_res" != no; then :
14017  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14018
14019 $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
14020
14021 fi
14022
14023 fi
14024
14025
14026 fi
14027
14028
14029 # Check whether --enable-assert was given.
14030 if test "${enable_assert+set}" = set; then :
14031  enableval=$enable_assert; assert=$enableval
14032 else
14033  assert=no
14034 fi
14035
14036
14037 if test "$assert" = "no"; then :
14038
14039 $as_echo "#define NDEBUG 1" >>confdefs.h
14040
14041 fi
14042
14287  
14288   $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14289  
# Line 14344 | Line 14588 | _ACEOF
14588  
14589  
14590  
14591 +  # Check whether --enable-assert was given.
14592 + if test "${enable_assert+set}" = set; then :
14593 +  enableval=$enable_assert; assert=$enableval
14594 + else
14595 +  assert=no
14596 + fi
14597 +
14598 +
14599 +  if test "$assert" = "no"; then :
14600 +
14601 + $as_echo "#define NDEBUG 1" >>confdefs.h
14602 +
14603 + fi
14604 +
14605 +
14606    # Check whether --enable-debugging was given.
14607   if test "${enable_debugging+set}" = set; then :
14608    enableval=$enable_debugging; debugging="$enableval"
# Line 16125 | Line 16384 | fi
16384  
16385  
16386  
16387 +  # Check whether --enable-libgeoip was given.
16388 + if test "${enable_libgeoip+set}" = set; then :
16389 +  enableval=$enable_libgeoip;
16390 + else
16391 +  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
16392 + if test "x$ac_cv_header_GeoIP_h" = xyes; then :
16393 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
16394 + $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
16395 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16396 +  $as_echo_n "(cached) " >&6
16397 + else
16398 +  ac_func_search_save_LIBS=$LIBS
16399 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 + /* end confdefs.h.  */
16401 +
16402 + /* Override any GCC internal prototype to avoid an error.
16403 +   Use char because int might match the return type of a GCC
16404 +   builtin and then its argument prototype would still apply.  */
16405 + #ifdef __cplusplus
16406 + extern "C"
16407 + #endif
16408 + char GeoIP_id_by_ipnum_v6_gl ();
16409 + int
16410 + main ()
16411 + {
16412 + return GeoIP_id_by_ipnum_v6_gl ();
16413 +  ;
16414 +  return 0;
16415 + }
16416 + _ACEOF
16417 + for ac_lib in '' GeoIP; do
16418 +  if test -z "$ac_lib"; then
16419 +    ac_res="none required"
16420 +  else
16421 +    ac_res=-l$ac_lib
16422 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16423 +  fi
16424 +  if ac_fn_c_try_link "$LINENO"; then :
16425 +  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
16426 + fi
16427 + rm -f core conftest.err conftest.$ac_objext \
16428 +    conftest$ac_exeext
16429 +  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16430 +  break
16431 + fi
16432 + done
16433 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
16434 +
16435 + else
16436 +  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
16437 + fi
16438 + rm conftest.$ac_ext
16439 + LIBS=$ac_func_search_save_LIBS
16440 + fi
16441 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
16442 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
16443 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
16444 + if test "$ac_res" != no; then :
16445 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16446 +
16447 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
16448 +
16449 + fi
16450 +
16451 + fi
16452 +
16453 +
16454 + fi
16455 +
16456 +
16457 +
16458  
16459    prefix_NONE=
16460    exec_prefix_NONE=
# Line 16778 | Line 17108 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17108   # report actual input values of CONFIG_FILES etc. instead of their
17109   # values after options handling.
17110   ac_log="
17111 < This file was extended by ircd-hybrid $as_me 8.2.1, which was
17111 > This file was extended by ircd-hybrid $as_me 8.2.7, which was
17112   generated by GNU Autoconf 2.69.  Invocation command line was
17113  
17114    CONFIG_FILES    = $CONFIG_FILES
# Line 16844 | Line 17174 | _ACEOF
17174   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17175   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17176   ac_cs_version="\\
17177 < ircd-hybrid config.status 8.2.1
17177 > ircd-hybrid config.status 8.2.7
17178   configured by $0, generated by GNU Autoconf 2.69,
17179    with options \\"\$ac_cs_config\\"
17180  
# Line 16979 | Line 17309 | enable_static='`$ECHO "$enable_static" |
17309   enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17310   pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17311   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17312 + shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17313   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17314   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17315   PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
# Line 17099 | Line 17430 | finish_cmds='`$ECHO "$finish_cmds" | $SE
17430   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17431   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17432   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17433 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17433 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17434 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17435   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17436   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17437   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 17217 | Line 17549 | postinstall_cmds \
17549   postuninstall_cmds \
17550   finish_cmds \
17551   sys_lib_search_path_spec \
17552 < sys_lib_dlsearch_path_spec; do
17552 > configure_time_dlsearch_path \
17553 > configure_time_lt_sys_library_path; do
17554      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17555      *[\\\\\\\`\\"\\\$]*)
17556        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 18000 | Line 18333 | $as_echo X"$file" |
18333   # The names of the tagged configurations supported by this script.
18334   available_tags=''
18335  
18336 + # Configured defaults for sys_lib_dlsearch_path munging.
18337 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18338 +
18339   # ### BEGIN LIBTOOL CONFIG
18340  
18341   # Which release of libtool.m4 was used?
# Line 18018 | Line 18354 | pic_mode=$pic_mode
18354   # Whether or not to optimize for fast installation.
18355   fast_install=$enable_fast_install
18356  
18357 + # Shared archive member basename,for filename based shared library versioning on AIX.
18358 + shared_archive_member_spec=$shared_archive_member_spec
18359 +
18360   # Shell to use when invoking shell scripts.
18361   SHELL=$lt_SHELL
18362  
# Line 18246 | Line 18585 | hardcode_into_libs=$hardcode_into_libs
18585   # Compile-time system search path for libraries.
18586   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18587  
18588 < # Run-time system search path for libraries.
18589 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18588 > # Detected run-time system search path for libraries.
18589 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18590 >
18591 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18592 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18593  
18594   # Whether dlopen is supported.
18595   dlopen_support=$enable_dlopen
# Line 18398 | Line 18740 | hardcode_action=$hardcode_action
18740  
18741   _LT_EOF
18742  
18743 +    cat <<'_LT_EOF' >> "$cfgfile"
18744 +
18745 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18746 +
18747 + # func_munge_path_list VARIABLE PATH
18748 + # -----------------------------------
18749 + # VARIABLE is name of variable containing _space_ separated list of
18750 + # directories to be munged by the contents of PATH, which is string
18751 + # having a format:
18752 + # "DIR[:DIR]:"
18753 + #       string "DIR[ DIR]" will be prepended to VARIABLE
18754 + # ":DIR[:DIR]"
18755 + #       string "DIR[ DIR]" will be appended to VARIABLE
18756 + # "DIRP[:DIRP]::[DIRA:]DIRA"
18757 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18758 + #       "DIRA[ DIRA]" will be appended to VARIABLE
18759 + # "DIR[:DIR]"
18760 + #       VARIABLE will be replaced by "DIR[ DIR]"
18761 + func_munge_path_list ()
18762 + {
18763 +    case x$2 in
18764 +    x)
18765 +        ;;
18766 +    *:)
18767 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18768 +        ;;
18769 +    x:*)
18770 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18771 +        ;;
18772 +    *::*)
18773 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18774 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18775 +        ;;
18776 +    *)
18777 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18778 +        ;;
18779 +    esac
18780 + }
18781 +
18782 +
18783 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18784 + func_cc_basename ()
18785 + {
18786 +    for cc_temp in $*""; do
18787 +      case $cc_temp in
18788 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18789 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18790 +        \-*) ;;
18791 +        *) break;;
18792 +      esac
18793 +    done
18794 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18795 + }
18796 +
18797 +
18798 + # ### END FUNCTIONS SHARED WITH CONFIGURE
18799 +
18800 + _LT_EOF
18801 +
18802    case $host_os in
18803    aix3*)
18804      cat <<\_LT_EOF >> "$cfgfile"
# Line 18466 | Line 18867 | if test -n "$ac_unrecognized_opts" && te
18867   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18868   fi
18869  
18870 +
18871 + echo "###############################################################################"
18872 + echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
18873 + echo
18874 + echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
18875 + echo "   ./configure --prefix=DIRECTORY"
18876 + echo "###############################################################################"

Diff Legend

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