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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1039 by michael, Sat Dec 5 23:19:44 2009 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1015 2009-10-25 00:08:06Z michael .
2 > # From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 > # Foundation, Inc.
12   #
13   #
14   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 92 | fi
92   IFS=" ""        $as_nl"
93  
94   # Find who we are.  Look in the path if we contain no directory separator.
95 + as_myself=
96   case $0 in #((
97    *[\\/]* ) as_myself=$0 ;;
98    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 174 | Line 175 | test x\$exitcode = x0 || exit 1"
175    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 +
179 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 +    PATH=/empty FPATH=/empty; export PATH FPATH
184 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
186   test \$(( 1 + 1 )) = 2 || exit 1"
187    if (eval "$as_required") 2>/dev/null; then :
188    as_have_required=yes
# Line 217 | Line 226 | IFS=$as_save_IFS
226    # We cannot yet assume a decent shell, so we have to provide a
227          # neutralization value for shells without unset; and this also
228          # works around shells that cannot unset nonexistent variables.
229 +        # Preserve -v and -x to the replacement shell.
230          BASH_ENV=/dev/null
231          ENV=/dev/null
232          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233          export CONFIG_SHELL
234 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 >        case $- in # ((((
235 >          *v*x* | *x*v* ) as_opts=-vx ;;
236 >          *v* ) as_opts=-v ;;
237 >          *x* ) as_opts=-x ;;
238 >          * ) as_opts= ;;
239 >        esac
240 >        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
241   fi
242  
243      if test x$as_have_required = xno; then :
# Line 320 | Line 336 | $as_echo X"$as_dir" |
336        test -d "$as_dir" && break
337      done
338      test -z "$as_dirs" || eval "mkdir $as_dirs"
339 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
339 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340  
341  
342   } # as_fn_mkdir_p
# Line 360 | Line 376 | else
376   fi # as_fn_arith
377  
378  
379 < # as_fn_error ERROR [LINENO LOG_FD]
380 < # ---------------------------------
379 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 > # ----------------------------------------
381   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 < # script with status $?, using 1 if that was 0.
383 > # script with STATUS, using 1 if that was 0.
384   as_fn_error ()
385   {
386 <  as_status=$?; test $as_status -eq 0 && as_status=1
387 <  if test "$3"; then
388 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
386 >  as_status=$1; test $as_status -eq 0 && as_status=1
387 >  if test "$4"; then
388 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390    fi
391 <  $as_echo "$as_me: error: $1" >&2
391 >  $as_echo "$as_me: error: $2" >&2
392    as_fn_exit $as_status
393   } # as_fn_error
394  
# Line 529 | Line 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
545   # Sed expression to map a string onto a valid variable name.
546   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547  
548 + lt_ltdl_dir='libltdl'
549  
533
534 # Check that we are running under the correct shell.
550   SHELL=${CONFIG_SHELL-/bin/sh}
551  
537 case X$lt_ECHO in
538 X*--fallback-echo)
539  # Remove one level of quotation (which was required for Make).
540  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541  ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546  # Discard the --no-reexec flag, and continue.
547  shift
548 elif test "X$1" = X--fallback-echo; then
549  # Avoid inline document here, it may be left over
550  :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552  # Yippee, $ECHO works!
553  :
554 else
555  # Restart under the correct shell.
556  exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560  # used as fallback echo
561  shift
562  cat <<_LT_EOF
563 $*
564 _LT_EOF
565  exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573  if test "X${echo_test_string+set}" != Xset; then
574    # find a string as large as possible, as long as the shell can cope with it
575    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579      then
580        break
581      fi
582    done
583  fi
584
585  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587     test "X$echo_testing_string" = "X$echo_test_string"; then
588    :
589  else
590    # The Solaris, AIX, and Digital Unix default echo programs unquote
591    # backslashes.  This makes it impossible to quote backslashes using
592    #   echo "$something" | sed 's/\\/\\\\/g'
593    #
594    # So, first we look for a working echo in the user's PATH.
595
596    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597    for dir in $PATH /usr/ucb; do
598      IFS="$lt_save_ifs"
599      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602         test "X$echo_testing_string" = "X$echo_test_string"; then
603        ECHO="$dir/echo"
604        break
605      fi
606    done
607    IFS="$lt_save_ifs"
608
609    if test "X$ECHO" = Xecho; then
610      # We didn't find a better echo, so look for alternatives.
611      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613         test "X$echo_testing_string" = "X$echo_test_string"; then
614        # This shell has a builtin print -r that does the trick.
615        ECHO='print -r'
616      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617           test "X$CONFIG_SHELL" != X/bin/ksh; then
618        # If we have ksh, try running configure again with it.
619        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620        export ORIGINAL_CONFIG_SHELL
621        CONFIG_SHELL=/bin/ksh
622        export CONFIG_SHELL
623        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624      else
625        # Try using printf.
626        ECHO='printf %s\n'
627        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629           test "X$echo_testing_string" = "X$echo_test_string"; then
630          # Cool, printf works
631          :
632        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633             test "X$echo_testing_string" = 'X\t' &&
634             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635             test "X$echo_testing_string" = "X$echo_test_string"; then
636          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637          export CONFIG_SHELL
638          SHELL="$CONFIG_SHELL"
639          export SHELL
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642             test "X$echo_testing_string" = 'X\t' &&
643             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644             test "X$echo_testing_string" = "X$echo_test_string"; then
645          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646        else
647          # maybe with a smaller string...
648          prev=:
649
650          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652            then
653              break
654            fi
655            prev="$cmd"
656          done
657
658          if test "$prev" != 'sed 50q "$0"'; then
659            echo_test_string=`eval $prev`
660            export echo_test_string
661            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662          else
663            # Oops.  We lost completely, so just stick with echo.
664            ECHO=echo
665          fi
666        fi
667      fi
668    fi
669  fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 lt_ltdl_dir='libltdl'
683
684 lt_dlopen_dir="$lt_ltdl_dir"
552  
553   test -n "$DJDIR" || exec 7<&0 </dev/null
554   exec 6>&1
555  
556   # Name of the host.
557 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558   # so uname gets run too.
559   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560  
# Line 706 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.3-rc1'
577 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
# Line 748 | Line 615 | ac_includes_default="\
615   # include <unistd.h>
616   #endif"
617  
751 enable_option_checking=no
618   ac_func_list=
619   ac_header_list=
620   ac_subst_vars='ltdl_LTLIBOBJS
# Line 770 | Line 636 | ENABLE_PCRE_FALSE
636   ENABLE_PCRE_TRUE
637   LTDLOPEN
638   LT_CONFIG_H
773 subdirs
639   CONVENIENCE_LTDL_FALSE
640   CONVENIENCE_LTDL_TRUE
641   INSTALL_LTDL_FALSE
# Line 793 | Line 658 | OTOOL
658   LIPO
659   NMEDIT
660   DSYMUTIL
661 < lt_ECHO
661 > MANIFEST_TOOL
662   RANLIB
663 + ac_ct_AR
664   AR
665 + DLLTOOL
666   OBJDUMP
667   LN_S
668   NM
# Line 823 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 910 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
# Line 930 | Line 799 | enable_poll
799   enable_select
800   with_nicklen
801   with_topiclen
933 with_syslog_facility
802   enable_efnet
803   enable_halfops
804   enable_debugging
805   enable_warnings
938 enable_syslog
806   '
807        ac_precious_vars='build_alias
808   host_alias
# Line 948 | Line 815 | CPPFLAGS
815   YACC
816   YFLAGS
817   CPP'
818 < ac_subdirs_all='libltdl'
818 >
819  
820   # Initialize some variables set by options.
821   ac_init_help=
# Line 1010 | Line 877 | do
877    fi
878  
879    case $ac_option in
880 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 <  *)    ac_optarg=yes ;;
880 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 >  *=)   ac_optarg= ;;
882 >  *)    ac_optarg=yes ;;
883    esac
884  
885    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 924 | do
924      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925      # Reject names that are not valid shell variable names.
926      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 <      as_fn_error "invalid feature name: $ac_useropt"
927 >      as_fn_error $? "invalid feature name: $ac_useropt"
928      ac_useropt_orig=$ac_useropt
929      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930      case $ac_user_opts in
# Line 1082 | Line 950 | do
950      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951      # Reject names that are not valid shell variable names.
952      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 <      as_fn_error "invalid feature name: $ac_useropt"
953 >      as_fn_error $? "invalid feature name: $ac_useropt"
954      ac_useropt_orig=$ac_useropt
955      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956      case $ac_user_opts in
# Line 1286 | Line 1154 | do
1154      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155      # Reject names that are not valid shell variable names.
1156      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 <      as_fn_error "invalid package name: $ac_useropt"
1157 >      as_fn_error $? "invalid package name: $ac_useropt"
1158      ac_useropt_orig=$ac_useropt
1159      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160      case $ac_user_opts in
# Line 1302 | Line 1170 | do
1170      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171      # Reject names that are not valid shell variable names.
1172      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 <      as_fn_error "invalid package name: $ac_useropt"
1173 >      as_fn_error $? "invalid package name: $ac_useropt"
1174      ac_useropt_orig=$ac_useropt
1175      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176      case $ac_user_opts in
# Line 1332 | Line 1200 | do
1200    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201      x_libraries=$ac_optarg ;;
1202  
1203 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1204 < Try \`$0 --help' for more information."
1203 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1204 > Try \`$0 --help' for more information"
1205      ;;
1206  
1207    *=*)
# Line 1341 | Line 1209 | Try \`$0 --help' for more information."
1209      # Reject names that are not valid shell variable names.
1210      case $ac_envvar in #(
1211        '' | [0-9]* | *[!_$as_cr_alnum]* )
1212 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1212 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1213      esac
1214      eval $ac_envvar=\$ac_optarg
1215      export $ac_envvar ;;
# Line 1351 | Line 1219 | Try \`$0 --help' for more information."
1219      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1222 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223      ;;
1224  
1225    esac
# Line 1359 | Line 1227 | done
1227  
1228   if test -n "$ac_prev"; then
1229    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230 <  as_fn_error "missing argument to $ac_option"
1230 >  as_fn_error $? "missing argument to $ac_option"
1231   fi
1232  
1233   if test -n "$ac_unrecognized_opts"; then
1234    case $enable_option_checking in
1235      no) ;;
1236 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1236 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238    esac
1239   fi
# Line 1388 | Line 1256 | do
1256      [\\/$]* | ?:[\\/]* )  continue;;
1257      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1258    esac
1259 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1259 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1260   done
1261  
1262   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1270 | target=$target_alias
1270   if test "x$host_alias" != x; then
1271    if test "x$build_alias" = x; then
1272      cross_compiling=maybe
1273 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1274 <    If a cross compiler is detected then cross compile mode will be used." >&2
1273 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274 >    If a cross compiler is detected then cross compile mode will be used" >&2
1275    elif test "x$build_alias" != "x$host_alias"; then
1276      cross_compiling=yes
1277    fi
# Line 1418 | Line 1286 | test "$silent" = yes && exec 6>/dev/null
1286   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287   ac_ls_di=`ls -di .` &&
1288   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289 <  as_fn_error "working directory cannot be determined"
1289 >  as_fn_error $? "working directory cannot be determined"
1290   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 <  as_fn_error "pwd does not report name of working directory"
1291 >  as_fn_error $? "pwd does not report name of working directory"
1292  
1293  
1294   # Find the source files, if location was not specified.
# Line 1459 | Line 1327 | else
1327   fi
1328   if test ! -r "$srcdir/$ac_unique_file"; then
1329    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1330 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1331   fi
1332   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333   ac_abs_confdir=`(
1334 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1334 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335          pwd)`
1336   # When building in place, set srcdir=.
1337   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1357 | if test "$ac_init_help" = "long"; then
1357    # Omit some internal or obsolete options to make the list less imposing.
1358    # This message is too long to be a string in the A/UX 3.1 sh.
1359    cat <<_ACEOF
1360 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1360 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1361  
1362   Usage: $0 [OPTION]... [VAR=VALUE]...
1363  
# Line 1503 | Line 1371 | Configuration:
1371        --help=short        display options specific to this package
1372        --help=recursive    display the short help of all the included packages
1373    -V, --version           display version information and exit
1374 <  -q, --quiet, --silent   do not print \`checking...' messages
1374 >  -q, --quiet, --silent   do not print \`checking ...' messages
1375        --cache-file=FILE   cache test results in FILE [disabled]
1376    -C, --config-cache      alias for \`--cache-file=config.cache'
1377    -n, --no-create         do not create output files
# Line 1559 | Line 1427 | fi
1427  
1428   if test -n "$ac_init_help"; then
1429    case $ac_init_help in
1430 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1430 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1431     esac
1432    cat <<\_ACEOF
1433  
# Line 1593 | Line 1461 | Optional Features:
1461    --enable-halfops        Enable halfops support.
1462    --enable-debugging      Enable debugging.
1463    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          separated in quotes; default: disabled).
1464  
1465   Optional Packages:
1466    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1467    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1468 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1468 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1469                            both]
1470    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1471 +  --with-sysroot=DIR Search for dependent libraries within DIR
1472 +                        (or the compiler's sysroot if not specified).
1473    --with-included-ltdl    use the GNU ltdl sources included here
1474    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1475    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1610 | Line 1477 | Optional Packages:
1477    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1478    --with-nicklen=<value>  Set nickname length (default 9).
1479    --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1480  
1481   Some influential environment variables:
1482    CC          C compiler command
# Line 1622 | Line 1486 | Some influential environment variables:
1486    LIBS        libraries to pass to the linker, e.g. -l<library>
1487    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488                you have headers in a nonstandard directory <include dir>
1489 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1490 <              the first program found out of: `bison -y', `byacc', `yacc'.
1489 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1490 >              Defaults to the first program found out of: `bison -y', `byacc',
1491 >              `yacc'.
1492    YFLAGS      The list of arguments that will be passed by default to $YACC.
1493                This script will default YFLAGS to the empty string to avoid a
1494                default value of `-d' given by some make applications.
# Line 1695 | Line 1560 | fi
1560   test -n "$ac_init_help" && exit $ac_status
1561   if $ac_init_version; then
1562    cat <<\_ACEOF
1563 < ircd-hybrid configure 7.3-rc1
1564 < generated by GNU Autoconf 2.65
1563 > ircd-hybrid configure 8beta1
1564 > generated by GNU Autoconf 2.68
1565  
1566 < Copyright (C) 2009 Free Software Foundation, Inc.
1566 > Copyright (C) 2010 Free Software Foundation, Inc.
1567   This configure script is free software; the Free Software Foundation
1568   gives unlimited permission to copy, distribute and modify it.
1569   _ACEOF
# Line 1742 | Line 1607 | sed 's/^/| /' conftest.$ac_ext >&5
1607  
1608          ac_retval=1
1609   fi
1610 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611    as_fn_set_status $ac_retval
1612  
1613   } # ac_fn_c_try_compile
# Line 1788 | Line 1653 | fi
1653    # interfere with the next link command; also delete a directory that is
1654    # left behind by Apple's compiler.  We do this before executing the actions.
1655    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657    as_fn_set_status $ac_retval
1658  
1659   } # ac_fn_c_try_link
# Line 1802 | Line 1667 | ac_fn_c_check_header_compile ()
1667    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669   $as_echo_n "checking for $2... " >&6; }
1670 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1670 > if eval \${$3+:} false; then :
1671    $as_echo_n "(cached) " >&6
1672   else
1673    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1685 | fi
1685   eval ac_res=\$$3
1686                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687   $as_echo "$ac_res" >&6; }
1688 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689  
1690   } # ac_fn_c_check_header_compile
1691  
# Line 1845 | Line 1710 | $as_echo "$ac_try_echo"; } >&5
1710      mv -f conftest.er1 conftest.err
1711    fi
1712    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 <  test $ac_status = 0; } >/dev/null && {
1713 >  test $ac_status = 0; } > conftest.i && {
1714           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715           test ! -s conftest.err
1716         }; then :
# Line 1856 | Line 1721 | sed 's/^/| /' conftest.$ac_ext >&5
1721  
1722      ac_retval=1
1723   fi
1724 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725    as_fn_set_status $ac_retval
1726  
1727   } # ac_fn_c_try_cpp
# Line 1898 | Line 1763 | sed 's/^/| /' conftest.$ac_ext >&5
1763         ac_retval=$ac_status
1764   fi
1765    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767    as_fn_set_status $ac_retval
1768  
1769   } # ac_fn_c_try_run
# Line 1911 | Line 1776 | ac_fn_c_check_func ()
1776    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778   $as_echo_n "checking for $2... " >&6; }
1779 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779 > if eval \${$3+:} false; then :
1780    $as_echo_n "(cached) " >&6
1781   else
1782    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1831 | fi
1831   eval ac_res=\$$3
1832                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833   $as_echo "$ac_res" >&6; }
1834 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835  
1836   } # ac_fn_c_check_func
1837  
1838 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1839 < # ------------------------------------
1840 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1838 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1839 > # ---------------------------------------------
1840 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1841 > # accordingly.
1842   ac_fn_c_check_decl ()
1843   {
1844    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1846 < $as_echo_n "checking whether $2 is declared... " >&6; }
1847 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1845 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1846 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1847 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1848 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1849 > if eval \${$3+:} false; then :
1850    $as_echo_n "(cached) " >&6
1851   else
1852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1855 | $4
1855   int
1856   main ()
1857   {
1858 < #ifndef $2
1859 <  (void) $2;
1858 > #ifndef $as_decl_name
1859 > #ifdef __cplusplus
1860 >  (void) $as_decl_use;
1861 > #else
1862 >  (void) $as_decl_name;
1863 > #endif
1864   #endif
1865  
1866    ;
# Line 2005 | Line 1877 | fi
1877   eval ac_res=\$$3
1878                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879   $as_echo "$ac_res" >&6; }
1880 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881  
1882   } # ac_fn_c_check_decl
1883  
# Line 2018 | Line 1890 | ac_fn_c_check_type ()
1890    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892   $as_echo_n "checking for $2... " >&6; }
1893 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1893 > if eval \${$3+:} false; then :
1894    $as_echo_n "(cached) " >&6
1895   else
1896    eval "$3=no"
# Line 2059 | Line 1931 | fi
1931   eval ac_res=\$$3
1932                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933   $as_echo "$ac_res" >&6; }
1934 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935  
1936   } # ac_fn_c_check_type
1937  
# Line 2072 | Line 1944 | ac_fn_c_check_member ()
1944    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1946   $as_echo_n "checking for $2.$3... " >&6; }
1947 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1947 > if eval \${$4+:} false; then :
1948    $as_echo_n "(cached) " >&6
1949   else
1950    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1988 | fi
1988   eval ac_res=\$$4
1989                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990   $as_echo "$ac_res" >&6; }
1991 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992  
1993   } # ac_fn_c_check_member
1994  
# Line 2128 | Line 2000 | $as_echo "$ac_res" >&6; }
2000   ac_fn_c_check_header_mongrel ()
2001   {
2002    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2003 >  if eval \${$3+:} false; then :
2004    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005   $as_echo_n "checking for $2... " >&6; }
2006 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2006 > if eval \${$3+:} false; then :
2007    $as_echo_n "(cached) " >&6
2008   fi
2009   eval ac_res=\$$3
# Line 2167 | Line 2039 | if ac_fn_c_try_cpp "$LINENO"; then :
2039   else
2040    ac_header_preproc=no
2041   fi
2042 < rm -f conftest.err conftest.$ac_ext
2042 > rm -f conftest.err conftest.i conftest.$ac_ext
2043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2044   $as_echo "$ac_header_preproc" >&6; }
2045  
# Line 2190 | Line 2062 | $as_echo "$as_me: WARNING: $2: see the A
2062   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2063      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2064   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2065 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2065 > ( $as_echo "## ----------------------------------- ##
2066   ## Report this to bugs@ircd-hybrid.org ##
2067 < ## ----------------------------------- ##
2197 < _ASBOX
2067 > ## ----------------------------------- ##"
2068       ) | sed "s/^/$as_me: WARNING:     /" >&2
2069      ;;
2070   esac
2071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072   $as_echo_n "checking for $2... " >&6; }
2073 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2073 > if eval \${$3+:} false; then :
2074    $as_echo_n "(cached) " >&6
2075   else
2076    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2079 | eval ac_res=\$$3
2079                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080   $as_echo "$ac_res" >&6; }
2081   fi
2082 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2082 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083  
2084   } # ac_fn_c_check_header_mongrel
2085   cat >config.log <<_ACEOF
2086   This file contains any messages produced by compilers while
2087   running configure, to aid debugging if configure makes a mistake.
2088  
2089 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2090 < generated by GNU Autoconf 2.65.  Invocation command line was
2089 > It was created by ircd-hybrid $as_me 8beta1, which was
2090 > generated by GNU Autoconf 2.68.  Invocation command line was
2091  
2092    $ $0 $@
2093  
# Line 2327 | Line 2197 | trap 'exit_status=$?
2197    {
2198      echo
2199  
2200 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2200 >    $as_echo "## ---------------- ##
2201   ## Cache variables. ##
2202 < ## ---------------- ##
2334 < _ASBOX
2202 > ## ---------------- ##"
2203      echo
2204      # The following way of writing the cache mishandles newlines in values,
2205   (
# Line 2365 | Line 2233 | $as_echo "$as_me: WARNING: cache variabl
2233   )
2234      echo
2235  
2236 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2236 >    $as_echo "## ----------------- ##
2237   ## Output variables. ##
2238 < ## ----------------- ##
2372 < _ASBOX
2238 > ## ----------------- ##"
2239      echo
2240      for ac_var in $ac_subst_vars
2241      do
# Line 2382 | Line 2248 | _ASBOX
2248      echo
2249  
2250      if test -n "$ac_subst_files"; then
2251 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2251 >      $as_echo "## ------------------- ##
2252   ## File substitutions. ##
2253 < ## ------------------- ##
2389 < _ASBOX
2253 > ## ------------------- ##"
2254        echo
2255        for ac_var in $ac_subst_files
2256        do
# Line 2400 | Line 2264 | _ASBOX
2264      fi
2265  
2266      if test -s confdefs.h; then
2267 <      cat <<\_ASBOX
2404 < ## ----------- ##
2267 >      $as_echo "## ----------- ##
2268   ## confdefs.h. ##
2269 < ## ----------- ##
2407 < _ASBOX
2269 > ## ----------- ##"
2270        echo
2271        cat confdefs.h
2272        echo
# Line 2459 | Line 2321 | _ACEOF
2321   ac_site_file1=NONE
2322   ac_site_file2=NONE
2323   if test -n "$CONFIG_SITE"; then
2324 <  ac_site_file1=$CONFIG_SITE
2324 >  # We do not want a PATH search for config.site.
2325 >  case $CONFIG_SITE in #((
2326 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2327 >    */*) ac_site_file1=$CONFIG_SITE;;
2328 >    *)   ac_site_file1=./$CONFIG_SITE;;
2329 >  esac
2330   elif test "x$prefix" != xNONE; then
2331    ac_site_file1=$prefix/share/config.site
2332    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2341 | do
2341      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2343      sed 's/^/| /' "$ac_site_file" >&5
2344 <    . "$ac_site_file"
2344 >    . "$ac_site_file" \
2345 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 > as_fn_error $? "failed to load site script $ac_site_file
2348 > See \`config.log' for more details" "$LINENO" 5; }
2349    fi
2350   done
2351  
# Line 2500 | Line 2371 | as_fn_append ac_func_list " strtok_r"
2371   as_fn_append ac_func_list " usleep"
2372   as_fn_append ac_func_list " strlcat"
2373   as_fn_append ac_func_list " strlcpy"
2374 + as_fn_append ac_func_list " socketpair"
2375   as_fn_append ac_header_list " crypt.h"
2376   as_fn_append ac_header_list " inttypes.h"
2377   as_fn_append ac_header_list " stdint.h"
# Line 2567 | Line 2439 | if $ac_cache_corrupted; then
2439   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443   fi
2444   ## -------------------- ##
2445   ## Main body of script. ##
# Line 2584 | Line 2456 | am__api_version='1.11'
2456  
2457   ac_aux_dir=
2458   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2459 <  for ac_t in install-sh install.sh shtool; do
2460 <    if test -f "$ac_dir/$ac_t"; then
2461 <      ac_aux_dir=$ac_dir
2462 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2463 <      break 2
2464 <    fi
2465 <  done
2459 >  if test -f "$ac_dir/install-sh"; then
2460 >    ac_aux_dir=$ac_dir
2461 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2462 >    break
2463 >  elif test -f "$ac_dir/install.sh"; then
2464 >    ac_aux_dir=$ac_dir
2465 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2466 >    break
2467 >  elif test -f "$ac_dir/shtool"; then
2468 >    ac_aux_dir=$ac_dir
2469 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2470 >    break
2471 >  fi
2472   done
2473   if test -z "$ac_aux_dir"; then
2474 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2474 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2475   fi
2476  
2477   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2500 | ac_configure="$SHELL $ac_aux_dir/configu
2500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502   if test -z "$INSTALL"; then
2503 < if test "${ac_cv_path_install+set}" = set; then :
2503 > if ${ac_cv_path_install+:} false; then :
2504    $as_echo_n "(cached) " >&6
2505   else
2506    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2709 | Line 2587 | am_lf='
2587   '
2588   case `pwd` in
2589    *[\\\"\#\$\&\'\`$am_lf]*)
2590 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2591   esac
2592   case $srcdir in
2593    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2594 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2594 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2595   esac
2596  
2597   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2735 | Line 2613 | if (
2613        # if, for instance, CONFIG_SHELL is bash and it inherits a
2614        # broken ls alias from the environment.  This has actually
2615        # happened.  Such a system could not be considered "sane".
2616 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2616 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617   alias in your environment" "$LINENO" 5
2618     fi
2619  
# Line 2745 | Line 2623 | then
2623     # Ok.
2624     :
2625   else
2626 <   as_fn_error "newly created file is older than distributed files!
2626 >   as_fn_error $? "newly created file is older than distributed files!
2627   Check your system clock" "$LINENO" 5
2628   fi
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2799 | Line 2677 | if test "$cross_compiling" != no; then
2677   set dummy ${ac_tool_prefix}strip; ac_word=$2
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679   $as_echo_n "checking for $ac_word... " >&6; }
2680 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2680 > if ${ac_cv_prog_STRIP+:} false; then :
2681    $as_echo_n "(cached) " >&6
2682   else
2683    if test -n "$STRIP"; then
# Line 2839 | Line 2717 | if test -z "$ac_cv_prog_STRIP"; then
2717   set dummy strip; ac_word=$2
2718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719   $as_echo_n "checking for $ac_word... " >&6; }
2720 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2720 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2721    $as_echo_n "(cached) " >&6
2722   else
2723    if test -n "$ac_ct_STRIP"; then
# Line 2892 | Line 2770 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2771   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2772   if test -z "$MKDIR_P"; then
2773 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2773 >  if ${ac_cv_path_mkdir+:} false; then :
2774    $as_echo_n "(cached) " >&6
2775   else
2776    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2943 | Line 2821 | do
2821   set dummy $ac_prog; ac_word=$2
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823   $as_echo_n "checking for $ac_word... " >&6; }
2824 < if test "${ac_cv_prog_AWK+set}" = set; then :
2824 > if ${ac_cv_prog_AWK+:} false; then :
2825    $as_echo_n "(cached) " >&6
2826   else
2827    if test -n "$AWK"; then
# Line 2983 | Line 2861 | done
2861   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2862   set x ${MAKE-make}
2863   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2864 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2864 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2865    $as_echo_n "(cached) " >&6
2866   else
2867    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2869 | SHELL = /bin/sh
2869   all:
2870          @echo '@@@%%%=$(MAKE)=@@@%%%'
2871   _ACEOF
2872 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2872 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2873   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2874    *@@@%%%=?*=@@@%%%*)
2875      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2903 | if test "`cd $srcdir && pwd`" != "`pwd`"
2903    am__isrc=' -I$(srcdir)'
2904    # test to see if srcdir already configured
2905    if test -f $srcdir/config.status; then
2906 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2906 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2907    fi
2908   fi
2909  
# Line 3041 | Line 2919 | fi
2919  
2920   # Define the identity of the package.
2921   PACKAGE='ircd-hybrid'
2922 < VERSION='7.3-rc1'
2922 > VERSION='8beta1'
2923  
2924  
2925   cat >>confdefs.h <<_ACEOF
# Line 3071 | Line 2949 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2949  
2950   # We need awk for the "check" target.  The system "awk" is bad on
2951   # some platforms.
2952 < # Always define AMTAR for backward compatibility.
2953 <
2954 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2952 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2953 > # in the wild :-(  We should find a proper way to deprecate it ...
2954 > AMTAR='$${TAR-tar}'
2955  
2956 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2956 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2957  
2958  
2959  
# Line 3161 | Line 3039 | fi
3039   if test "x$enable_dependency_tracking" != xno; then
3040    am_depcomp="$ac_aux_dir/depcomp"
3041    AMDEPBACKSLASH='\'
3042 +  am__nodep='_no'
3043   fi
3044   if test "x$enable_dependency_tracking" != xno; then
3045    AMDEP_TRUE=
# Line 3181 | Line 3060 | if test -n "$ac_tool_prefix"; then
3060   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062   $as_echo_n "checking for $ac_word... " >&6; }
3063 < if test "${ac_cv_prog_CC+set}" = set; then :
3063 > if ${ac_cv_prog_CC+:} false; then :
3064    $as_echo_n "(cached) " >&6
3065   else
3066    if test -n "$CC"; then
# Line 3221 | Line 3100 | if test -z "$ac_cv_prog_CC"; then
3100   set dummy gcc; ac_word=$2
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102   $as_echo_n "checking for $ac_word... " >&6; }
3103 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3103 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3104    $as_echo_n "(cached) " >&6
3105   else
3106    if test -n "$ac_ct_CC"; then
# Line 3274 | Line 3153 | if test -z "$CC"; then
3153   set dummy ${ac_tool_prefix}cc; ac_word=$2
3154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155   $as_echo_n "checking for $ac_word... " >&6; }
3156 < if test "${ac_cv_prog_CC+set}" = set; then :
3156 > if ${ac_cv_prog_CC+:} false; then :
3157    $as_echo_n "(cached) " >&6
3158   else
3159    if test -n "$CC"; then
# Line 3314 | Line 3193 | if test -z "$CC"; then
3193   set dummy cc; ac_word=$2
3194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195   $as_echo_n "checking for $ac_word... " >&6; }
3196 < if test "${ac_cv_prog_CC+set}" = set; then :
3196 > if ${ac_cv_prog_CC+:} false; then :
3197    $as_echo_n "(cached) " >&6
3198   else
3199    if test -n "$CC"; then
# Line 3373 | Line 3252 | if test -z "$CC"; then
3252   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254   $as_echo_n "checking for $ac_word... " >&6; }
3255 < if test "${ac_cv_prog_CC+set}" = set; then :
3255 > if ${ac_cv_prog_CC+:} false; then :
3256    $as_echo_n "(cached) " >&6
3257   else
3258    if test -n "$CC"; then
# Line 3417 | Line 3296 | do
3296   set dummy $ac_prog; ac_word=$2
3297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298   $as_echo_n "checking for $ac_word... " >&6; }
3299 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3299 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300    $as_echo_n "(cached) " >&6
3301   else
3302    if test -n "$ac_ct_CC"; then
# Line 3471 | Line 3350 | fi
3350  
3351   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 < as_fn_error "no acceptable C compiler found in \$PATH
3354 < See \`config.log' for more details." "$LINENO" 5; }
3353 > as_fn_error $? "no acceptable C compiler found in \$PATH
3354 > See \`config.log' for more details" "$LINENO" 5; }
3355  
3356   # Provide some information about the compiler.
3357   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3465 | sed 's/^/| /' conftest.$ac_ext >&5
3465  
3466   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 < { as_fn_set_status 77
3469 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3468 > as_fn_error 77 "C compiler cannot create executables
3469 > See \`config.log' for more details" "$LINENO" 5; }
3470   else
3471    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3472   $as_echo "yes" >&6; }
# Line 3630 | Line 3508 | done
3508   else
3509    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3512 < See \`config.log' for more details." "$LINENO" 5; }
3511 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3512 > See \`config.log' for more details" "$LINENO" 5; }
3513   fi
3514   rm -f conftest conftest$ac_cv_exeext
3515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3566 | $as_echo "$ac_try_echo"; } >&5
3566      else
3567          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 < as_fn_error "cannot run C compiled programs.
3569 > as_fn_error $? "cannot run C compiled programs.
3570   If you meant to cross compile, use \`--host'.
3571 < See \`config.log' for more details." "$LINENO" 5; }
3571 > See \`config.log' for more details" "$LINENO" 5; }
3572      fi
3573    fi
3574   fi
# Line 3701 | Line 3579 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3579   ac_clean_files=$ac_clean_files_save
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3581   $as_echo_n "checking for suffix of object files... " >&6; }
3582 < if test "${ac_cv_objext+set}" = set; then :
3582 > if ${ac_cv_objext+:} false; then :
3583    $as_echo_n "(cached) " >&6
3584   else
3585    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3619 | sed 's/^/| /' conftest.$ac_ext >&5
3619  
3620   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 < as_fn_error "cannot compute suffix of object files: cannot compile
3623 < See \`config.log' for more details." "$LINENO" 5; }
3622 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3623 > See \`config.log' for more details" "$LINENO" 5; }
3624   fi
3625   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3626   fi
# Line 3752 | Line 3630 | OBJEXT=$ac_cv_objext
3630   ac_objext=$OBJEXT
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3632   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3633 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3633 > if ${ac_cv_c_compiler_gnu+:} false; then :
3634    $as_echo_n "(cached) " >&6
3635   else
3636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3667 | ac_test_CFLAGS=${CFLAGS+set}
3667   ac_save_CFLAGS=$CFLAGS
3668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3669   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3670 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3670 > if ${ac_cv_prog_cc_g+:} false; then :
3671    $as_echo_n "(cached) " >&6
3672   else
3673    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3745 | else
3745   fi
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3748 > if ${ac_cv_prog_cc_c89+:} false; then :
3749    $as_echo_n "(cached) " >&6
3750   else
3751    ac_cv_prog_cc_c89=no
# Line 3966 | Line 3844 | depcc="$CC"   am_compiler_list=
3844  
3845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3846   $as_echo_n "checking dependency style of $depcc... " >&6; }
3847 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3847 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3848    $as_echo_n "(cached) " >&6
3849   else
3850    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3975 | Line 3853 | else
3853    # instance it was reported that on HP-UX the gcc test will end up
3854    # making a dummy file named `D' -- because `-MD' means `put the output
3855    # in D'.
3856 +  rm -rf conftest.dir
3857    mkdir conftest.dir
3858    # Copy depcomp to subdir because otherwise we won't find it if we're
3859    # using a relative directory.
# Line 4034 | Line 3913 | else
3913          break
3914        fi
3915        ;;
3916 <    msvisualcpp | msvcmsys)
3916 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3917        # This compiler won't grok `-c -o', but also, the minuso test has
3918        # not run yet.  These depmodes are late enough in the game, and
3919        # so weak that their functioning should not be impacted.
# Line 4091 | Line 3970 | fi
3970  
3971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3972   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3973 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3973 > if ${ac_cv_prog_cc_c99+:} false; then :
3974    $as_echo_n "(cached) " >&6
3975   else
3976    ac_cv_prog_cc_c99=no
# Line 4267 | Line 4146 | fi
4146  
4147  
4148   if test "$ac_cv_prog_cc_c99" = "no"; then :
4149 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4149 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4150   fi
4151   for ac_prog in 'bison -y' byacc
4152   do
# Line 4275 | Line 4154 | do
4154   set dummy $ac_prog; ac_word=$2
4155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156   $as_echo_n "checking for $ac_word... " >&6; }
4157 < if test "${ac_cv_prog_YACC+set}" = set; then :
4157 > if ${ac_cv_prog_YACC+:} false; then :
4158    $as_echo_n "(cached) " >&6
4159   else
4160    if test -n "$YACC"; then
# Line 4319 | Line 4198 | do
4198   set dummy $ac_prog; ac_word=$2
4199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200   $as_echo_n "checking for $ac_word... " >&6; }
4201 < if test "${ac_cv_prog_LEX+set}" = set; then :
4201 > if ${ac_cv_prog_LEX+:} false; then :
4202    $as_echo_n "(cached) " >&6
4203   else
4204    if test -n "$LEX"; then
# Line 4389 | Line 4268 | $as_echo "$ac_try_echo"; } >&5
4268    test $ac_status = 0; }
4269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4270   $as_echo_n "checking lex output file root... " >&6; }
4271 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4271 > if ${ac_cv_prog_lex_root+:} false; then :
4272    $as_echo_n "(cached) " >&6
4273   else
4274  
# Line 4398 | Line 4277 | if test -f lex.yy.c; then
4277   elif test -f lexyy.c; then
4278    ac_cv_prog_lex_root=lexyy
4279   else
4280 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4280 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4281   fi
4282   fi
4283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4287 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4287   if test -z "${LEXLIB+set}"; then
4288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4289   $as_echo_n "checking lex library... " >&6; }
4290 < if test "${ac_cv_lib_lex+set}" = set; then :
4290 > if ${ac_cv_lib_lex+:} false; then :
4291    $as_echo_n "(cached) " >&6
4292   else
4293  
# Line 4438 | Line 4317 | fi
4317  
4318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4319   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4320 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4320 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4321    $as_echo_n "(cached) " >&6
4322   else
4323    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4328 | ac_save_LIBS=$LIBS
4328   LIBS="$LEXLIB $ac_save_LIBS"
4329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330   /* end confdefs.h.  */
4331 < #define YYTEXT_POINTER 1
4331 >
4332 >  #define YYTEXT_POINTER 1
4333   `cat $LEX_OUTPUT_ROOT.c`
4334   _ACEOF
4335   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4356 | fi
4356  
4357  
4358   # Initializing libtool.
4359 +
4360 +
4361 +
4362 +
4363 +
4364 +
4365 +
4366   case `pwd` in
4367    *\ * | *\     *)
4368      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4371 | esac
4371  
4372  
4373  
4374 < macro_version='2.2.6'
4375 < macro_revision='1.3012'
4374 > macro_version='2.4.2'
4375 > macro_revision='1.3337'
4376  
4377  
4378  
# Line 4503 | Line 4390 | ltmain="$ac_aux_dir/ltmain.sh"
4390  
4391   # Make sure we can run config.sub.
4392   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4393 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4393 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4394  
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4396   $as_echo_n "checking build system type... " >&6; }
4397 < if test "${ac_cv_build+set}" = set; then :
4397 > if ${ac_cv_build+:} false; then :
4398    $as_echo_n "(cached) " >&6
4399   else
4400    ac_build_alias=$build_alias
4401   test "x$ac_build_alias" = x &&
4402    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4403   test "x$ac_build_alias" = x &&
4404 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4404 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4405   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4406 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4406 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4407  
4408   fi
4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4410   $as_echo "$ac_cv_build" >&6; }
4411   case $ac_cv_build in
4412   *-*-*) ;;
4413 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4413 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4414   esac
4415   build=$ac_cv_build
4416   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4428 | case $build_os in *\ *) build_os=`echo "
4428  
4429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4430   $as_echo_n "checking host system type... " >&6; }
4431 < if test "${ac_cv_host+set}" = set; then :
4431 > if ${ac_cv_host+:} false; then :
4432    $as_echo_n "(cached) " >&6
4433   else
4434    if test "x$host_alias" = x; then
4435    ac_cv_host=$ac_cv_build
4436   else
4437    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4438 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4438 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4439   fi
4440  
4441   fi
# Line 4556 | Line 4443 | fi
4443   $as_echo "$ac_cv_host" >&6; }
4444   case $ac_cv_host in
4445   *-*-*) ;;
4446 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4446 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4447   esac
4448   host=$ac_cv_host
4449   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4459 | IFS=$ac_save_IFS
4459   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4460  
4461  
4462 + # Backslashify metacharacters that are still active within
4463 + # double-quoted strings.
4464 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4465 +
4466 + # Same as above, but do not quote variable references.
4467 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4468 +
4469 + # Sed substitution to delay expansion of an escaped shell variable in a
4470 + # double_quote_subst'ed string.
4471 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4472 +
4473 + # Sed substitution to delay expansion of an escaped single quote.
4474 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4475 +
4476 + # Sed substitution to avoid accidental globbing in evaled expressions
4477 + no_glob_subst='s/\*/\\\*/g'
4478 +
4479 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4480 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4481 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4482 +
4483 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4484 + $as_echo_n "checking how to print strings... " >&6; }
4485 + # Test print first, because it will be a builtin if present.
4486 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4487 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4488 +  ECHO='print -r --'
4489 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4490 +  ECHO='printf %s\n'
4491 + else
4492 +  # Use this function as a fallback that always works.
4493 +  func_fallback_echo ()
4494 +  {
4495 +    eval 'cat <<_LTECHO_EOF
4496 + $1
4497 + _LTECHO_EOF'
4498 +  }
4499 +  ECHO='func_fallback_echo'
4500 + fi
4501 +
4502 + # func_echo_all arg...
4503 + # Invoke $ECHO with all args, space-separated.
4504 + func_echo_all ()
4505 + {
4506 +    $ECHO ""
4507 + }
4508 +
4509 + case "$ECHO" in
4510 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4511 + $as_echo "printf" >&6; } ;;
4512 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4513 + $as_echo "print -r" >&6; } ;;
4514 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4515 + $as_echo "cat" >&6; } ;;
4516 + esac
4517 +
4518 +
4519 +
4520 +
4521 +
4522 +
4523 +
4524 +
4525 +
4526 +
4527 +
4528 +
4529 +
4530 +
4531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4532   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4533 < if test "${ac_cv_path_SED+set}" = set; then :
4533 > if ${ac_cv_path_SED+:} false; then :
4534    $as_echo_n "(cached) " >&6
4535   else
4536              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4629 | Line 4585 | esac
4585    done
4586   IFS=$as_save_IFS
4587    if test -z "$ac_cv_path_SED"; then
4588 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4588 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4589    fi
4590   else
4591    ac_cv_path_SED=$SED
# Line 4656 | Line 4612 | Xsed="$SED -e 1s/^X//"
4612  
4613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 < if test "${ac_cv_path_GREP+set}" = set; then :
4615 > if ${ac_cv_path_GREP+:} false; then :
4616    $as_echo_n "(cached) " >&6
4617   else
4618    if test -z "$GREP"; then
# Line 4705 | Line 4661 | esac
4661    done
4662   IFS=$as_save_IFS
4663    if test -z "$ac_cv_path_GREP"; then
4664 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4664 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4665    fi
4666   else
4667    ac_cv_path_GREP=$GREP
# Line 4719 | Line 4675 | $as_echo "$ac_cv_path_GREP" >&6; }
4675  
4676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677   $as_echo_n "checking for egrep... " >&6; }
4678 < if test "${ac_cv_path_EGREP+set}" = set; then :
4678 > if ${ac_cv_path_EGREP+:} false; then :
4679    $as_echo_n "(cached) " >&6
4680   else
4681    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4771 | Line 4727 | esac
4727    done
4728   IFS=$as_save_IFS
4729    if test -z "$ac_cv_path_EGREP"; then
4730 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4730 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4731    fi
4732   else
4733    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 4742 | $as_echo "$ac_cv_path_EGREP" >&6; }
4742  
4743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4744   $as_echo_n "checking for fgrep... " >&6; }
4745 < if test "${ac_cv_path_FGREP+set}" = set; then :
4745 > if ${ac_cv_path_FGREP+:} false; then :
4746    $as_echo_n "(cached) " >&6
4747   else
4748    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4838 | Line 4794 | esac
4794    done
4795   IFS=$as_save_IFS
4796    if test -z "$ac_cv_path_FGREP"; then
4797 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798    fi
4799   else
4800    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 4873 | else
4873    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4874   $as_echo_n "checking for non-GNU ld... " >&6; }
4875   fi
4876 < if test "${lt_cv_path_LD+set}" = set; then :
4876 > if ${lt_cv_path_LD+:} false; then :
4877    $as_echo_n "(cached) " >&6
4878   else
4879    if test -z "$LD"; then
# Line 4954 | Line 4910 | else
4910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911   $as_echo "no" >&6; }
4912   fi
4913 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4913 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4915   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4916 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4916 > if ${lt_cv_prog_gnu_ld+:} false; then :
4917    $as_echo_n "(cached) " >&6
4918   else
4919    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 4940 | with_gnu_ld=$lt_cv_prog_gnu_ld
4940  
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4942   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4943 < if test "${lt_cv_path_NM+set}" = set; then :
4943 > if ${lt_cv_path_NM+:} false; then :
4944    $as_echo_n "(cached) " >&6
4945   else
4946    if test -n "$NM"; then
# Line 5037 | Line 4993 | if test "$lt_cv_path_NM" != "no"; then
4993    NM="$lt_cv_path_NM"
4994   else
4995    # Didn't find any BSD compatible name lister, look for dumpbin.
4996 <  if test -n "$ac_tool_prefix"; then
4997 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4996 >  if test -n "$DUMPBIN"; then :
4997 >    # Let the user override the test.
4998 >  else
4999 >    if test -n "$ac_tool_prefix"; then
5000 >  for ac_prog in dumpbin "link -dump"
5001    do
5002      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5003   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005   $as_echo_n "checking for $ac_word... " >&6; }
5006 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5006 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5007    $as_echo_n "(cached) " >&6
5008   else
5009    if test -n "$DUMPBIN"; then
# Line 5082 | Line 5041 | fi
5041   fi
5042   if test -z "$DUMPBIN"; then
5043    ac_ct_DUMPBIN=$DUMPBIN
5044 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5044 >  for ac_prog in dumpbin "link -dump"
5045   do
5046    # Extract the first word of "$ac_prog", so it can be a program name with args.
5047   set dummy $ac_prog; ac_word=$2
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049   $as_echo_n "checking for $ac_word... " >&6; }
5050 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5050 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5051    $as_echo_n "(cached) " >&6
5052   else
5053    if test -n "$ac_ct_DUMPBIN"; then
# Line 5137 | Line 5096 | esac
5096    fi
5097   fi
5098  
5099 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5100 +    *COFF*)
5101 +      DUMPBIN="$DUMPBIN -symbols"
5102 +      ;;
5103 +    *)
5104 +      DUMPBIN=:
5105 +      ;;
5106 +    esac
5107 +  fi
5108  
5109    if test "$DUMPBIN" != ":"; then
5110      NM="$DUMPBIN"
# Line 5151 | Line 5119 | test -z "$NM" && NM=nm
5119  
5120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5121   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5122 < if test "${lt_cv_nm_interface+set}" = set; then :
5122 > if ${lt_cv_nm_interface+:} false; then :
5123    $as_echo_n "(cached) " >&6
5124   else
5125    lt_cv_nm_interface="BSD nm"
5126    echo "int some_variable = 0;" > conftest.$ac_ext
5127 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5127 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5128    (eval "$ac_compile" 2>conftest.err)
5129    cat conftest.err >&5
5130 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5130 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5131    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5132    cat conftest.err >&5
5133 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5133 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5134    cat conftest.out >&5
5135    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5136      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5154 | fi
5154   # find the maximum length of command line arguments
5155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5156   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5157 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5157 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5158    $as_echo_n "(cached) " >&6
5159   else
5160      i=0
# Line 5219 | Line 5187 | else
5187      lt_cv_sys_max_cmd_len=8192;
5188      ;;
5189  
5190 +  mint*)
5191 +    # On MiNT this can take a long time and run out of memory.
5192 +    lt_cv_sys_max_cmd_len=8192;
5193 +    ;;
5194 +
5195    amigaos*)
5196      # On AmigaOS with pdksh, this test takes hours, literally.
5197      # So we just punt and use a minimum line length of 8192.
# Line 5244 | Line 5217 | else
5217      lt_cv_sys_max_cmd_len=196608
5218      ;;
5219  
5220 +  os2*)
5221 +    # The test takes a long time on OS/2.
5222 +    lt_cv_sys_max_cmd_len=8192
5223 +    ;;
5224 +
5225    osf*)
5226      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5227      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5283 | Line 5261 | else
5261        # If test is not a shell built-in, we'll probably end up computing a
5262        # maximum length that is only half of the actual maximum length, but
5263        # we can't tell.
5264 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5265 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5264 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5265 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5266                test $i != 17 # 1/2 MB should be enough
5267        do
5268          i=`expr $i + 1`
# Line 5326 | Line 5304 | $as_echo_n "checking whether the shell u
5304   # Try some XSI features
5305   xsi_shell=no
5306   ( _lt_dummy="a/b/c"
5307 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5308 <      = c,a/b,, \
5307 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5308 >      = c,a/b,b/c, \
5309      && eval 'test $(( 1 + 1 )) -eq 2 \
5310      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5311    && xsi_shell=yes
# Line 5376 | Line 5354 | esac
5354  
5355  
5356  
5357 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5358 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5359 + if ${lt_cv_to_host_file_cmd+:} false; then :
5360 +  $as_echo_n "(cached) " >&6
5361 + else
5362 +  case $host in
5363 +  *-*-mingw* )
5364 +    case $build in
5365 +      *-*-mingw* ) # actually msys
5366 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5367 +        ;;
5368 +      *-*-cygwin* )
5369 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5370 +        ;;
5371 +      * ) # otherwise, assume *nix
5372 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5373 +        ;;
5374 +    esac
5375 +    ;;
5376 +  *-*-cygwin* )
5377 +    case $build in
5378 +      *-*-mingw* ) # actually msys
5379 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5380 +        ;;
5381 +      *-*-cygwin* )
5382 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5383 +        ;;
5384 +      * ) # otherwise, assume *nix
5385 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5386 +        ;;
5387 +    esac
5388 +    ;;
5389 +  * ) # unhandled hosts (and "normal" native builds)
5390 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5391 +    ;;
5392 + esac
5393 +
5394 + fi
5395 +
5396 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5398 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5399 +
5400 +
5401 +
5402 +
5403 +
5404 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5405 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5406 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5407 +  $as_echo_n "(cached) " >&6
5408 + else
5409 +  #assume ordinary cross tools, or native build.
5410 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5411 + case $host in
5412 +  *-*-mingw* )
5413 +    case $build in
5414 +      *-*-mingw* ) # actually msys
5415 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5416 +        ;;
5417 +    esac
5418 +    ;;
5419 + esac
5420 +
5421 + fi
5422 +
5423 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5424 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5425 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5426 +
5427 +
5428 +
5429 +
5430 +
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5432   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5433 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5433 > if ${lt_cv_ld_reload_flag+:} false; then :
5434    $as_echo_n "(cached) " >&6
5435   else
5436    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5444 | case $reload_flag in
5444   esac
5445   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5446   case $host_os in
5447 +  cygwin* | mingw* | pw32* | cegcc*)
5448 +    if test "$GCC" != yes; then
5449 +      reload_cmds=false
5450 +    fi
5451 +    ;;
5452    darwin*)
5453      if test "$GCC" = yes; then
5454        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5471 | if test -n "$ac_tool_prefix"; then
5471   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473   $as_echo_n "checking for $ac_word... " >&6; }
5474 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5474 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5475    $as_echo_n "(cached) " >&6
5476   else
5477    if test -n "$OBJDUMP"; then
# Line 5454 | Line 5511 | if test -z "$ac_cv_prog_OBJDUMP"; then
5511   set dummy objdump; ac_word=$2
5512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513   $as_echo_n "checking for $ac_word... " >&6; }
5514 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5514 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5515    $as_echo_n "(cached) " >&6
5516   else
5517    if test -n "$ac_ct_OBJDUMP"; then
# Line 5513 | Line 5570 | test -z "$OBJDUMP" && OBJDUMP=objdump
5570  
5571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5572   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5573 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5573 > if ${lt_cv_deplibs_check_method+:} false; then :
5574    $as_echo_n "(cached) " >&6
5575   else
5576    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5612 | mingw* | pw32*)
5612    # Base MSYS/MinGW do not provide the 'file' command needed by
5613    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5614    # unless we find 'file', for example because we are cross-compiling.
5615 <  if ( file / ) >/dev/null 2>&1; then
5615 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5616 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5617      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5618      lt_cv_file_magic_cmd='func_win32_libid'
5619    else
5620 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5620 >    # Keep this pattern in sync with the one in func_win32_libid.
5621 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5622      lt_cv_file_magic_cmd='$OBJDUMP -f'
5623    fi
5624    ;;
5625  
5626 < cegcc)
5626 > cegcc*)
5627    # use the weaker test based on 'objdump'. See mingw*.
5628    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5629    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5653 | gnu*)
5653    lt_cv_deplibs_check_method=pass_all
5654    ;;
5655  
5656 + haiku*)
5657 +  lt_cv_deplibs_check_method=pass_all
5658 +  ;;
5659 +
5660   hpux10.20* | hpux11*)
5661    lt_cv_file_magic_cmd=/usr/bin/file
5662    case $host_cpu in
# Line 5602 | Line 5665 | hpux10.20* | hpux11*)
5665      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5666      ;;
5667    hppa*64*)
5668 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5668 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5669      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5670      ;;
5671    *)
5672 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5672 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5673      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5674      ;;
5675    esac
# Line 5627 | Line 5690 | irix5* | irix6* | nonstopux*)
5690    lt_cv_deplibs_check_method=pass_all
5691    ;;
5692  
5693 < # This must be Linux ELF.
5694 < linux* | k*bsd*-gnu)
5693 > # This must be glibc/ELF.
5694 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5695    lt_cv_deplibs_check_method=pass_all
5696    ;;
5697  
# Line 5709 | Line 5772 | esac
5772   fi
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5774   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5775 +
5776 + file_magic_glob=
5777 + want_nocaseglob=no
5778 + if test "$build" = "$host"; then
5779 +  case $host_os in
5780 +  mingw* | pw32*)
5781 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5782 +      want_nocaseglob=yes
5783 +    else
5784 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5785 +    fi
5786 +    ;;
5787 +  esac
5788 + fi
5789 +
5790   file_magic_cmd=$lt_cv_file_magic_cmd
5791   deplibs_check_method=$lt_cv_deplibs_check_method
5792   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5802 | test -z "$deplibs_check_method" && depli
5802  
5803  
5804  
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 +
5812 +
5813 +
5814 +
5815   if test -n "$ac_tool_prefix"; then
5816 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5817 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5816 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5817 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5818 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 > $as_echo_n "checking for $ac_word... " >&6; }
5820 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5821 >  $as_echo_n "(cached) " >&6
5822 > else
5823 >  if test -n "$DLLTOOL"; then
5824 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5825 > else
5826 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 > for as_dir in $PATH
5828 > do
5829 >  IFS=$as_save_IFS
5830 >  test -z "$as_dir" && as_dir=.
5831 >    for ac_exec_ext in '' $ac_executable_extensions; do
5832 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5834 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 >    break 2
5836 >  fi
5837 > done
5838 >  done
5839 > IFS=$as_save_IFS
5840 >
5841 > fi
5842 > fi
5843 > DLLTOOL=$ac_cv_prog_DLLTOOL
5844 > if test -n "$DLLTOOL"; then
5845 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5846 > $as_echo "$DLLTOOL" >&6; }
5847 > else
5848 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 > $as_echo "no" >&6; }
5850 > fi
5851 >
5852 >
5853 > fi
5854 > if test -z "$ac_cv_prog_DLLTOOL"; then
5855 >  ac_ct_DLLTOOL=$DLLTOOL
5856 >  # Extract the first word of "dlltool", so it can be a program name with args.
5857 > set dummy dlltool; ac_word=$2
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859   $as_echo_n "checking for $ac_word... " >&6; }
5860 < if test "${ac_cv_prog_AR+set}" = set; then :
5860 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5861 >  $as_echo_n "(cached) " >&6
5862 > else
5863 >  if test -n "$ac_ct_DLLTOOL"; then
5864 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5865 > else
5866 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 > for as_dir in $PATH
5868 > do
5869 >  IFS=$as_save_IFS
5870 >  test -z "$as_dir" && as_dir=.
5871 >    for ac_exec_ext in '' $ac_executable_extensions; do
5872 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5874 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 >    break 2
5876 >  fi
5877 > done
5878 >  done
5879 > IFS=$as_save_IFS
5880 >
5881 > fi
5882 > fi
5883 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5884 > if test -n "$ac_ct_DLLTOOL"; then
5885 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5886 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5887 > else
5888 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 > $as_echo "no" >&6; }
5890 > fi
5891 >
5892 >  if test "x$ac_ct_DLLTOOL" = x; then
5893 >    DLLTOOL="false"
5894 >  else
5895 >    case $cross_compiling:$ac_tool_warned in
5896 > yes:)
5897 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5898 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 > ac_tool_warned=yes ;;
5900 > esac
5901 >    DLLTOOL=$ac_ct_DLLTOOL
5902 >  fi
5903 > else
5904 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5905 > fi
5906 >
5907 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5908 >
5909 >
5910 >
5911 >
5912 >
5913 >
5914 >
5915 >
5916 >
5917 >
5918 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5919 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5920 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5921 >  $as_echo_n "(cached) " >&6
5922 > else
5923 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5924 >
5925 > case $host_os in
5926 > cygwin* | mingw* | pw32* | cegcc*)
5927 >  # two different shell functions defined in ltmain.sh
5928 >  # decide which to use based on capabilities of $DLLTOOL
5929 >  case `$DLLTOOL --help 2>&1` in
5930 >  *--identify-strict*)
5931 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5932 >    ;;
5933 >  *)
5934 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5935 >    ;;
5936 >  esac
5937 >  ;;
5938 > *)
5939 >  # fallback: assume linklib IS sharedlib
5940 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5941 >  ;;
5942 > esac
5943 >
5944 > fi
5945 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5946 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5947 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5948 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5949 >
5950 >
5951 >
5952 >
5953 >
5954 >
5955 >
5956 > if test -n "$ac_tool_prefix"; then
5957 >  for ac_prog in ar
5958 >  do
5959 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5960 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5961 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 > $as_echo_n "checking for $ac_word... " >&6; }
5963 > if ${ac_cv_prog_AR+:} false; then :
5964    $as_echo_n "(cached) " >&6
5965   else
5966    if test -n "$AR"; then
# Line 5742 | Line 5973 | do
5973    test -z "$as_dir" && as_dir=.
5974      for ac_exec_ext in '' $ac_executable_extensions; do
5975    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5976 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5977      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978      break 2
5979    fi
# Line 5762 | Line 5993 | $as_echo "no" >&6; }
5993   fi
5994  
5995  
5996 +    test -n "$AR" && break
5997 +  done
5998   fi
5999 < if test -z "$ac_cv_prog_AR"; then
5999 > if test -z "$AR"; then
6000    ac_ct_AR=$AR
6001 <  # Extract the first word of "ar", so it can be a program name with args.
6002 < set dummy ar; ac_word=$2
6001 >  for ac_prog in ar
6002 > do
6003 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 > set dummy $ac_prog; ac_word=$2
6005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006   $as_echo_n "checking for $ac_word... " >&6; }
6007 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6007 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6008    $as_echo_n "(cached) " >&6
6009   else
6010    if test -n "$ac_ct_AR"; then
# Line 5782 | Line 6017 | do
6017    test -z "$as_dir" && as_dir=.
6018      for ac_exec_ext in '' $ac_executable_extensions; do
6019    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 <    ac_cv_prog_ac_ct_AR="ar"
6020 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6021      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022      break 2
6023    fi
# Line 5801 | Line 6036 | else
6036   $as_echo "no" >&6; }
6037   fi
6038  
6039 +
6040 +  test -n "$ac_ct_AR" && break
6041 + done
6042 +
6043    if test "x$ac_ct_AR" = x; then
6044      AR="false"
6045    else
# Line 5812 | Line 6051 | ac_tool_warned=yes ;;
6051   esac
6052      AR=$ac_ct_AR
6053    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6054   fi
6055  
6056 < test -z "$AR" && AR=ar
6057 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6056 > : ${AR=ar}
6057 > : ${AR_FLAGS=cru}
6058 >
6059  
6060  
6061  
# Line 5828 | Line 6066 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6066  
6067  
6068  
6069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6070 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6071 + if ${lt_cv_ar_at_file+:} false; then :
6072 +  $as_echo_n "(cached) " >&6
6073 + else
6074 +  lt_cv_ar_at_file=no
6075 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 + /* end confdefs.h.  */
6077 +
6078 + int
6079 + main ()
6080 + {
6081 +
6082 +  ;
6083 +  return 0;
6084 + }
6085 + _ACEOF
6086 + if ac_fn_c_try_compile "$LINENO"; then :
6087 +  echo conftest.$ac_objext > conftest.lst
6088 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6089 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6090 +  (eval $lt_ar_try) 2>&5
6091 +  ac_status=$?
6092 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6093 +  test $ac_status = 0; }
6094 +      if test "$ac_status" -eq 0; then
6095 +        # Ensure the archiver fails upon bogus file names.
6096 +        rm -f conftest.$ac_objext libconftest.a
6097 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6098 +  (eval $lt_ar_try) 2>&5
6099 +  ac_status=$?
6100 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 +  test $ac_status = 0; }
6102 +        if test "$ac_status" -ne 0; then
6103 +          lt_cv_ar_at_file=@
6104 +        fi
6105 +      fi
6106 +      rm -f conftest.* libconftest.a
6107 +
6108 + fi
6109 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 +
6111 + fi
6112 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6113 + $as_echo "$lt_cv_ar_at_file" >&6; }
6114 +
6115 + if test "x$lt_cv_ar_at_file" = xno; then
6116 +  archiver_list_spec=
6117 + else
6118 +  archiver_list_spec=$lt_cv_ar_at_file
6119 + fi
6120 +
6121 +
6122 +
6123 +
6124 +
6125 +
6126  
6127   if test -n "$ac_tool_prefix"; then
6128    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6129   set dummy ${ac_tool_prefix}strip; ac_word=$2
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131   $as_echo_n "checking for $ac_word... " >&6; }
6132 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6132 > if ${ac_cv_prog_STRIP+:} false; then :
6133    $as_echo_n "(cached) " >&6
6134   else
6135    if test -n "$STRIP"; then
# Line 5874 | Line 6169 | if test -z "$ac_cv_prog_STRIP"; then
6169   set dummy strip; ac_word=$2
6170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171   $as_echo_n "checking for $ac_word... " >&6; }
6172 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6172 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6173    $as_echo_n "(cached) " >&6
6174   else
6175    if test -n "$ac_ct_STRIP"; then
# Line 5933 | Line 6228 | if test -n "$ac_tool_prefix"; then
6228   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230   $as_echo_n "checking for $ac_word... " >&6; }
6231 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6231 > if ${ac_cv_prog_RANLIB+:} false; then :
6232    $as_echo_n "(cached) " >&6
6233   else
6234    if test -n "$RANLIB"; then
# Line 5973 | Line 6268 | if test -z "$ac_cv_prog_RANLIB"; then
6268   set dummy ranlib; ac_word=$2
6269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270   $as_echo_n "checking for $ac_word... " >&6; }
6271 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6271 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6272    $as_echo_n "(cached) " >&6
6273   else
6274    if test -n "$ac_ct_RANLIB"; then
# Line 6035 | Line 6330 | old_postuninstall_cmds=
6330   if test -n "$RANLIB"; then
6331    case $host_os in
6332    openbsd*)
6333 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6333 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6334      ;;
6335    *)
6336 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6336 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6337      ;;
6338    esac
6339 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6339 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6340   fi
6341  
6342 + case $host_os in
6343 +  darwin*)
6344 +    lock_old_archive_extraction=yes ;;
6345 +  *)
6346 +    lock_old_archive_extraction=no ;;
6347 + esac
6348 +
6349 +
6350 +
6351 +
6352 +
6353 +
6354  
6355  
6356  
# Line 6090 | Line 6397 | compiler=$CC
6397   # Check for command to grab the raw symbol name followed by C symbol from nm.
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6399   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6400 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6400 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6401    $as_echo_n "(cached) " >&6
6402   else
6403  
# Line 6151 | Line 6458 | esac
6458   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6459  
6460   # Transform an extracted symbol line into symbol name and symbol address
6461 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 < 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'"
6461 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 > 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'"
6463  
6464   # Handle CRLF in mingw tool chain
6465   opt_cr=
# Line 6176 | Line 6483 | for ac_symprfx in "" "_"; do
6483      # which start with @ or ?.
6484      lt_cv_sys_global_symbol_pipe="$AWK '"\
6485   "     {last_section=section; section=\$ 3};"\
6486 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6487   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6488   "     \$ 0!~/External *\|/{next};"\
6489   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6188 | Line 6496 | for ac_symprfx in "" "_"; do
6496    else
6497      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6498    fi
6499 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6500  
6501    # Check to see that the pipe works correctly.
6502    pipe_works=no
# Line 6213 | Line 6522 | _LT_EOF
6522    test $ac_status = 0; }; then
6523      # Now try to grab the symbols.
6524      nlist=conftest.nm
6525 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6526 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6525 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6526 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6527    ac_status=$?
6528    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6538 | _LT_EOF
6538        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6539          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6540            cat <<_LT_EOF > conftest.$ac_ext
6541 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6542 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6543 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6544 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6545 + # define LT_DLSYM_CONST
6546 + #elif defined(__osf__)
6547 + /* This system does not cope well with relocations in const data.  */
6548 + # define LT_DLSYM_CONST
6549 + #else
6550 + # define LT_DLSYM_CONST const
6551 + #endif
6552 +
6553   #ifdef __cplusplus
6554   extern "C" {
6555   #endif
# Line 6240 | Line 6561 | _LT_EOF
6561            cat <<_LT_EOF >> conftest.$ac_ext
6562  
6563   /* The mapping between symbol names and symbols.  */
6564 < const struct {
6564 > LT_DLSYM_CONST struct {
6565    const char *name;
6566    void       *address;
6567   }
# Line 6266 | Line 6587 | static const void *lt_preloaded_setup()
6587   _LT_EOF
6588            # Now try linking the two files.
6589            mv conftest.$ac_objext conftstm.$ac_objext
6590 <          lt_save_LIBS="$LIBS"
6591 <          lt_save_CFLAGS="$CFLAGS"
6590 >          lt_globsym_save_LIBS=$LIBS
6591 >          lt_globsym_save_CFLAGS=$CFLAGS
6592            LIBS="conftstm.$ac_objext"
6593            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6594            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6598 | _LT_EOF
6598    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6599              pipe_works=yes
6600            fi
6601 <          LIBS="$lt_save_LIBS"
6602 <          CFLAGS="$lt_save_CFLAGS"
6601 >          LIBS=$lt_globsym_save_LIBS
6602 >          CFLAGS=$lt_globsym_save_CFLAGS
6603          else
6604            echo "cannot find nm_test_func in $nlist" >&5
6605          fi
# Line 6315 | Line 6636 | else
6636   $as_echo "ok" >&6; }
6637   fi
6638  
6639 + # Response file support.
6640 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6641 +  nm_file_list_spec='@'
6642 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6643 +  nm_file_list_spec='@'
6644 + fi
6645 +
6646 +
6647 +
6648 +
6649 +
6650 +
6651 +
6652  
6653  
6654  
# Line 6335 | Line 6669 | fi
6669  
6670  
6671  
6672 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6673 + $as_echo_n "checking for sysroot... " >&6; }
6674 +
6675 + # Check whether --with-sysroot was given.
6676 + if test "${with_sysroot+set}" = set; then :
6677 +  withval=$with_sysroot;
6678 + else
6679 +  with_sysroot=no
6680 + fi
6681 +
6682 +
6683 + lt_sysroot=
6684 + case ${with_sysroot} in #(
6685 + yes)
6686 +   if test "$GCC" = yes; then
6687 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6688 +   fi
6689 +   ;; #(
6690 + /*)
6691 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6692 +   ;; #(
6693 + no|'')
6694 +   ;; #(
6695 + *)
6696 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6697 + $as_echo "${with_sysroot}" >&6; }
6698 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6699 +   ;;
6700 + esac
6701 +
6702 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6703 + $as_echo "${lt_sysroot:-no}" >&6; }
6704 +
6705 +
6706 +
6707 +
6708  
6709   # Check whether --enable-libtool-lock was given.
6710   if test "${enable_libtool_lock+set}" = set; then :
# Line 6367 | Line 6737 | ia64-*-hpux*)
6737    ;;
6738   *-*-irix6*)
6739    # Find out which ABI we are using.
6740 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6740 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6741    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6742    (eval $ac_compile) 2>&5
6743    ac_status=$?
# Line 6461 | Line 6831 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6831    CFLAGS="$CFLAGS -belf"
6832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6833   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6834 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6834 > if ${lt_cv_cc_needs_belf+:} false; then :
6835    $as_echo_n "(cached) " >&6
6836   else
6837    ac_ext=c
# Line 6502 | Line 6872 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6872      CFLAGS="$SAVE_CFLAGS"
6873    fi
6874    ;;
6875 < sparc*-*solaris*)
6875 > *-*solaris*)
6876    # Find out which ABI we are using.
6877    echo 'int i;' > conftest.$ac_ext
6878    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6513 | Line 6883 | sparc*-*solaris*)
6883      case `/usr/bin/file conftest.o` in
6884      *64-bit*)
6885        case $lt_cv_prog_gnu_ld in
6886 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6886 >      yes*)
6887 >        case $host in
6888 >        i?86-*-solaris*)
6889 >          LD="${LD-ld} -m elf_x86_64"
6890 >          ;;
6891 >        sparc*-*-solaris*)
6892 >          LD="${LD-ld} -m elf64_sparc"
6893 >          ;;
6894 >        esac
6895 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6896 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6897 >          LD="${LD-ld}_sol2"
6898 >        fi
6899 >        ;;
6900        *)
6901          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6902            LD="${LD-ld} -64"
# Line 6529 | Line 6912 | esac
6912  
6913   need_locks="$enable_libtool_lock"
6914  
6915 + if test -n "$ac_tool_prefix"; then
6916 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6917 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 + $as_echo_n "checking for $ac_word... " >&6; }
6920 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6921 +  $as_echo_n "(cached) " >&6
6922 + else
6923 +  if test -n "$MANIFEST_TOOL"; then
6924 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6925 + else
6926 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 + for as_dir in $PATH
6928 + do
6929 +  IFS=$as_save_IFS
6930 +  test -z "$as_dir" && as_dir=.
6931 +    for ac_exec_ext in '' $ac_executable_extensions; do
6932 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6933 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6934 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 +    break 2
6936 +  fi
6937 + done
6938 +  done
6939 + IFS=$as_save_IFS
6940 +
6941 + fi
6942 + fi
6943 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6944 + if test -n "$MANIFEST_TOOL"; then
6945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6946 + $as_echo "$MANIFEST_TOOL" >&6; }
6947 + else
6948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 + $as_echo "no" >&6; }
6950 + fi
6951 +
6952 +
6953 + fi
6954 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6955 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6956 +  # Extract the first word of "mt", so it can be a program name with args.
6957 + set dummy mt; ac_word=$2
6958 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 + $as_echo_n "checking for $ac_word... " >&6; }
6960 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6961 +  $as_echo_n "(cached) " >&6
6962 + else
6963 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6964 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6965 + else
6966 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 + for as_dir in $PATH
6968 + do
6969 +  IFS=$as_save_IFS
6970 +  test -z "$as_dir" && as_dir=.
6971 +    for ac_exec_ext in '' $ac_executable_extensions; do
6972 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6973 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6974 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 +    break 2
6976 +  fi
6977 + done
6978 +  done
6979 + IFS=$as_save_IFS
6980 +
6981 + fi
6982 + fi
6983 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6984 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6986 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6987 + else
6988 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 + $as_echo "no" >&6; }
6990 + fi
6991 +
6992 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6993 +    MANIFEST_TOOL=":"
6994 +  else
6995 +    case $cross_compiling:$ac_tool_warned in
6996 + yes:)
6997 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6998 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6999 + ac_tool_warned=yes ;;
7000 + esac
7001 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7002 +  fi
7003 + else
7004 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7005 + fi
7006 +
7007 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7009 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7010 + if ${lt_cv_path_mainfest_tool+:} false; then :
7011 +  $as_echo_n "(cached) " >&6
7012 + else
7013 +  lt_cv_path_mainfest_tool=no
7014 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7015 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7016 +  cat conftest.err >&5
7017 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7018 +    lt_cv_path_mainfest_tool=yes
7019 +  fi
7020 +  rm -f conftest*
7021 + fi
7022 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7023 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7024 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7025 +  MANIFEST_TOOL=:
7026 + fi
7027 +
7028 +
7029 +
7030 +
7031 +
7032  
7033    case $host_os in
7034      rhapsody* | darwin*)
# Line 6537 | Line 7037 | need_locks="$enable_libtool_lock"
7037   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039   $as_echo_n "checking for $ac_word... " >&6; }
7040 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7040 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7041    $as_echo_n "(cached) " >&6
7042   else
7043    if test -n "$DSYMUTIL"; then
# Line 6577 | Line 7077 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7077   set dummy dsymutil; ac_word=$2
7078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079   $as_echo_n "checking for $ac_word... " >&6; }
7080 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7080 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7081    $as_echo_n "(cached) " >&6
7082   else
7083    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6629 | Line 7129 | fi
7129   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131   $as_echo_n "checking for $ac_word... " >&6; }
7132 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7132 > if ${ac_cv_prog_NMEDIT+:} false; then :
7133    $as_echo_n "(cached) " >&6
7134   else
7135    if test -n "$NMEDIT"; then
# Line 6669 | Line 7169 | if test -z "$ac_cv_prog_NMEDIT"; then
7169   set dummy nmedit; ac_word=$2
7170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171   $as_echo_n "checking for $ac_word... " >&6; }
7172 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7172 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7173    $as_echo_n "(cached) " >&6
7174   else
7175    if test -n "$ac_ct_NMEDIT"; then
# Line 6721 | Line 7221 | fi
7221   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223   $as_echo_n "checking for $ac_word... " >&6; }
7224 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7224 > if ${ac_cv_prog_LIPO+:} false; then :
7225    $as_echo_n "(cached) " >&6
7226   else
7227    if test -n "$LIPO"; then
# Line 6761 | Line 7261 | if test -z "$ac_cv_prog_LIPO"; then
7261   set dummy lipo; ac_word=$2
7262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263   $as_echo_n "checking for $ac_word... " >&6; }
7264 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7264 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7265    $as_echo_n "(cached) " >&6
7266   else
7267    if test -n "$ac_ct_LIPO"; then
# Line 6813 | Line 7313 | fi
7313   set dummy ${ac_tool_prefix}otool; ac_word=$2
7314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315   $as_echo_n "checking for $ac_word... " >&6; }
7316 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7316 > if ${ac_cv_prog_OTOOL+:} false; then :
7317    $as_echo_n "(cached) " >&6
7318   else
7319    if test -n "$OTOOL"; then
# Line 6853 | Line 7353 | if test -z "$ac_cv_prog_OTOOL"; then
7353   set dummy otool; ac_word=$2
7354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355   $as_echo_n "checking for $ac_word... " >&6; }
7356 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7356 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7357    $as_echo_n "(cached) " >&6
7358   else
7359    if test -n "$ac_ct_OTOOL"; then
# Line 6905 | Line 7405 | fi
7405   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407   $as_echo_n "checking for $ac_word... " >&6; }
7408 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7408 > if ${ac_cv_prog_OTOOL64+:} false; then :
7409    $as_echo_n "(cached) " >&6
7410   else
7411    if test -n "$OTOOL64"; then
# Line 6945 | Line 7445 | if test -z "$ac_cv_prog_OTOOL64"; then
7445   set dummy otool64; ac_word=$2
7446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447   $as_echo_n "checking for $ac_word... " >&6; }
7448 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7448 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7449    $as_echo_n "(cached) " >&6
7450   else
7451    if test -n "$ac_ct_OTOOL64"; then
# Line 7020 | Line 7520 | fi
7520  
7521      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7522   $as_echo_n "checking for -single_module linker flag... " >&6; }
7523 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7523 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7524    $as_echo_n "(cached) " >&6
7525   else
7526    lt_cv_apple_cc_single_mod=no
# Line 7036 | Line 7536 | else
7536          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7537            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7538          _lt_result=$?
7539 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7539 >        # If there is a non-empty error log, and "single_module"
7540 >        # appears in it, assume the flag caused a linker warning
7541 >        if test -s conftest.err && $GREP single_module conftest.err; then
7542 >          cat conftest.err >&5
7543 >        # Otherwise, if the output was created with a 0 exit code from
7544 >        # the compiler, it worked.
7545 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7546            lt_cv_apple_cc_single_mod=yes
7547          else
7548            cat conftest.err >&5
# Line 7047 | Line 7553 | else
7553   fi
7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7555   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7556 +
7557      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7558   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7559 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7559 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7560    $as_echo_n "(cached) " >&6
7561   else
7562    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7586 | rm -f core conftest.err conftest.$ac_obj
7586   fi
7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7588   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7589 +
7590 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7591 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7592 + if ${lt_cv_ld_force_load+:} false; then :
7593 +  $as_echo_n "(cached) " >&6
7594 + else
7595 +  lt_cv_ld_force_load=no
7596 +      cat > conftest.c << _LT_EOF
7597 + int forced_loaded() { return 2;}
7598 + _LT_EOF
7599 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7600 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7601 +      echo "$AR cru libconftest.a conftest.o" >&5
7602 +      $AR cru libconftest.a conftest.o 2>&5
7603 +      echo "$RANLIB libconftest.a" >&5
7604 +      $RANLIB libconftest.a 2>&5
7605 +      cat > conftest.c << _LT_EOF
7606 + int main() { return 0;}
7607 + _LT_EOF
7608 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7609 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7610 +      _lt_result=$?
7611 +      if test -s conftest.err && $GREP force_load conftest.err; then
7612 +        cat conftest.err >&5
7613 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7614 +        lt_cv_ld_force_load=yes
7615 +      else
7616 +        cat conftest.err >&5
7617 +      fi
7618 +        rm -f conftest.err libconftest.a conftest conftest.c
7619 +        rm -rf conftest.dSYM
7620 +
7621 + fi
7622 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7623 + $as_echo "$lt_cv_ld_force_load" >&6; }
7624      case $host_os in
7625      rhapsody* | darwin1.[012])
7626        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7648 | $as_echo "$lt_cv_ld_exported_symbols_lis
7648      else
7649        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7650      fi
7651 <    if test "$DSYMUTIL" != ":"; then
7651 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7652        _lt_dsymutil='~$DSYMUTIL $lib || :'
7653      else
7654        _lt_dsymutil=
# Line 7126 | Line 7668 | if test -n "$CPP" && test -d "$CPP"; the
7668    CPP=
7669   fi
7670   if test -z "$CPP"; then
7671 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7671 >  if ${ac_cv_prog_CPP+:} false; then :
7672    $as_echo_n "(cached) " >&6
7673   else
7674        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7698 | else
7698    # Broken: fails on valid input.
7699   continue
7700   fi
7701 < rm -f conftest.err conftest.$ac_ext
7701 > rm -f conftest.err conftest.i conftest.$ac_ext
7702  
7703    # OK, works on sane cases.  Now check whether nonexistent headers
7704    # can be detected and how.
# Line 7172 | Line 7714 | else
7714   ac_preproc_ok=:
7715   break
7716   fi
7717 < rm -f conftest.err conftest.$ac_ext
7717 > rm -f conftest.err conftest.i conftest.$ac_ext
7718  
7719   done
7720   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7721 < rm -f conftest.err conftest.$ac_ext
7721 > rm -f conftest.i conftest.err conftest.$ac_ext
7722   if $ac_preproc_ok; then :
7723    break
7724   fi
# Line 7215 | Line 7757 | else
7757    # Broken: fails on valid input.
7758   continue
7759   fi
7760 < rm -f conftest.err conftest.$ac_ext
7760 > rm -f conftest.err conftest.i conftest.$ac_ext
7761  
7762    # OK, works on sane cases.  Now check whether nonexistent headers
7763    # can be detected and how.
# Line 7231 | Line 7773 | else
7773   ac_preproc_ok=:
7774   break
7775   fi
7776 < rm -f conftest.err conftest.$ac_ext
7776 > rm -f conftest.err conftest.i conftest.$ac_ext
7777  
7778   done
7779   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7780 < rm -f conftest.err conftest.$ac_ext
7780 > rm -f conftest.i conftest.err conftest.$ac_ext
7781   if $ac_preproc_ok; then :
7782  
7783   else
7784    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7785   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7786 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7787 < See \`config.log' for more details." "$LINENO" 5; }
7786 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7787 > See \`config.log' for more details" "$LINENO" 5; }
7788   fi
7789  
7790   ac_ext=c
# Line 7254 | Line 7796 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7796  
7797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7798   $as_echo_n "checking for ANSI C header files... " >&6; }
7799 < if test "${ac_cv_header_stdc+set}" = set; then :
7799 > if ${ac_cv_header_stdc+:} false; then :
7800    $as_echo_n "(cached) " >&6
7801   else
7802    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 7913 | do :
7913    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7914   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7915   "
7916 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
7916 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7917    cat >>confdefs.h <<_ACEOF
7918   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7919   _ACEOF
# Line 7386 | Line 7927 | for ac_header in dlfcn.h
7927   do :
7928    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7929   "
7930 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7930 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7931    cat >>confdefs.h <<_ACEOF
7932   #define HAVE_DLFCN_H 1
7933   _ACEOF
# Line 7397 | Line 7938 | done
7938  
7939  
7940  
7941 +
7942 +
7943   # Set options
7944   enable_dlopen=yes
7945   # Check whether --enable-static was given.
# Line 7470 | Line 8013 | fi
8013  
8014   # Check whether --with-pic was given.
8015   if test "${with_pic+set}" = set; then :
8016 <  withval=$with_pic; pic_mode="$withval"
8016 >  withval=$with_pic; lt_p=${PACKAGE-default}
8017 >    case $withval in
8018 >    yes|no) pic_mode=$withval ;;
8019 >    *)
8020 >      pic_mode=default
8021 >      # Look at the argument we got.  We use all the common list separators.
8022 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8023 >      for lt_pkg in $withval; do
8024 >        IFS="$lt_save_ifs"
8025 >        if test "X$lt_pkg" = "X$lt_p"; then
8026 >          pic_mode=yes
8027 >        fi
8028 >      done
8029 >      IFS="$lt_save_ifs"
8030 >      ;;
8031 >    esac
8032   else
8033    pic_mode=default
8034   fi
# Line 7547 | Line 8105 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8105  
8106  
8107  
8108 +
8109 +
8110 +
8111 +
8112 +
8113   test -z "$LN_S" && LN_S="ln -s"
8114  
8115  
# Line 7568 | Line 8131 | fi
8131  
8132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8133   $as_echo_n "checking for objdir... " >&6; }
8134 < if test "${lt_cv_objdir+set}" = set; then :
8134 > if ${lt_cv_objdir+:} false; then :
8135    $as_echo_n "(cached) " >&6
8136   else
8137    rm -f .libs 2>/dev/null
# Line 7596 | Line 8159 | _ACEOF
8159  
8160  
8161  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8162   case $host_os in
8163   aix3*)
8164    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8171 | aix3*)
8171    ;;
8172   esac
8173  
7624 # Sed substitution that helps us do robust quoting.  It backslashifies
7625 # metacharacters that are still active within double-quoted strings.
7626 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7627
7628 # Same as above, but do not quote variable references.
7629 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7630
7631 # Sed substitution to delay expansion of an escaped shell variable in a
7632 # double_quote_subst'ed string.
7633 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7634
7635 # Sed substitution to delay expansion of an escaped single quote.
7636 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7637
7638 # Sed substitution to avoid accidental globbing in evaled expressions
7639 no_glob_subst='s/\*/\\\*/g'
7640
8174   # Global variables:
8175   ofile=libtool
8176   can_build_shared=yes
# Line 7666 | Line 8199 | for cc_temp in $compiler""; do
8199      *) break;;
8200    esac
8201   done
8202 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8202 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8203  
8204  
8205   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8209 | file_magic*)
8209    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8210      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8211   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8212 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8212 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8213    $as_echo_n "(cached) " >&6
8214   else
8215    case $MAGIC_CMD in
# Line 7742 | Line 8275 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8275    if test -n "$ac_tool_prefix"; then
8276      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8277   $as_echo_n "checking for file... " >&6; }
8278 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8278 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8279    $as_echo_n "(cached) " >&6
8280   else
8281    case $MAGIC_CMD in
# Line 7871 | Line 8404 | if test -n "$compiler"; then
8404   lt_prog_compiler_no_builtin_flag=
8405  
8406   if test "$GCC" = yes; then
8407 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8407 >  case $cc_basename in
8408 >  nvcc*)
8409 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8410 >  *)
8411 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8412 >  esac
8413  
8414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8415   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8416 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8416 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8417    $as_echo_n "(cached) " >&6
8418   else
8419    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8429 | else
8429     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431     -e 's:$: $lt_compiler_flag:'`
8432 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8432 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433     (eval "$lt_compile" 2>conftest.err)
8434     ac_status=$?
8435     cat conftest.err >&5
8436 <   echo "$as_me:7898: \$? = $ac_status" >&5
8436 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437     if (exit $ac_status) && test -s "$ac_outfile"; then
8438       # The compiler can only warn and ignore the option if not recognized
8439       # So say no if there are warnings other than the usual output.
8440 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8440 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8441       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8442       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8443         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8466 | fi
8466   lt_prog_compiler_pic=
8467   lt_prog_compiler_static=
8468  
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7932 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8469  
8470    if test "$GCC" = yes; then
8471      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8513 | $as_echo_n "checking for $compiler optio
8513        lt_prog_compiler_pic='-fno-common'
8514        ;;
8515  
8516 +    haiku*)
8517 +      # PIC is the default for Haiku.
8518 +      # The "-static" flag exists, but is broken.
8519 +      lt_prog_compiler_static=
8520 +      ;;
8521 +
8522      hpux*)
8523        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8524        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8561 | $as_echo_n "checking for $compiler optio
8561        lt_prog_compiler_pic='-fPIC'
8562        ;;
8563      esac
8564 +
8565 +    case $cc_basename in
8566 +    nvcc*) # Cuda Compiler Driver 2.2
8567 +      lt_prog_compiler_wl='-Xlinker '
8568 +      if test -n "$lt_prog_compiler_pic"; then
8569 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8570 +      fi
8571 +      ;;
8572 +    esac
8573    else
8574      # PORTME Check for flag to pass linker flags through the system compiler.
8575      case $host_os in
# Line 8060 | Line 8611 | $as_echo_n "checking for $compiler optio
8611        lt_prog_compiler_static='-non_shared'
8612        ;;
8613  
8614 <    linux* | k*bsd*-gnu)
8614 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8615        case $cc_basename in
8616        # old Intel for x86_64 which still supported -KPIC.
8617        ecc*)
# Line 8081 | Line 8632 | $as_echo_n "checking for $compiler optio
8632          lt_prog_compiler_pic='--shared'
8633          lt_prog_compiler_static='--static'
8634          ;;
8635 <      pgcc* | pgf77* | pgf90* | pgf95*)
8635 >      nagfor*)
8636 >        # NAG Fortran compiler
8637 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8638 >        lt_prog_compiler_pic='-PIC'
8639 >        lt_prog_compiler_static='-Bstatic'
8640 >        ;;
8641 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8642          # Portland Group compilers (*not* the Pentium gcc compiler,
8643          # which looks to be a dead project)
8644          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8650 | $as_echo_n "checking for $compiler optio
8650          # All Alpha code is PIC.
8651          lt_prog_compiler_static='-non_shared'
8652          ;;
8653 <      xl*)
8654 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8653 >      xl* | bgxl* | bgf* | mpixl*)
8654 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8655          lt_prog_compiler_wl='-Wl,'
8656          lt_prog_compiler_pic='-qpic'
8657          lt_prog_compiler_static='-qstaticlink'
8658          ;;
8659        *)
8660          case `$CC -V 2>&1 | sed 5q` in
8661 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8662 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8663 +          lt_prog_compiler_pic='-KPIC'
8664 +          lt_prog_compiler_static='-Bstatic'
8665 +          lt_prog_compiler_wl=''
8666 +          ;;
8667 +        *Sun\ F* | *Sun*Fortran*)
8668 +          lt_prog_compiler_pic='-KPIC'
8669 +          lt_prog_compiler_static='-Bstatic'
8670 +          lt_prog_compiler_wl='-Qoption ld '
8671 +          ;;
8672          *Sun\ C*)
8673            # Sun C 5.9
8674            lt_prog_compiler_pic='-KPIC'
8675            lt_prog_compiler_static='-Bstatic'
8676            lt_prog_compiler_wl='-Wl,'
8677            ;;
8678 <        *Sun\ F*)
8679 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8680 <          lt_prog_compiler_pic='-KPIC'
8678 >        *Intel*\ [CF]*Compiler*)
8679 >          lt_prog_compiler_wl='-Wl,'
8680 >          lt_prog_compiler_pic='-fPIC'
8681 >          lt_prog_compiler_static='-static'
8682 >          ;;
8683 >        *Portland\ Group*)
8684 >          lt_prog_compiler_wl='-Wl,'
8685 >          lt_prog_compiler_pic='-fpic'
8686            lt_prog_compiler_static='-Bstatic'
8114          lt_prog_compiler_wl=''
8687            ;;
8688          esac
8689          ;;
# Line 8143 | Line 8715 | $as_echo_n "checking for $compiler optio
8715        lt_prog_compiler_pic='-KPIC'
8716        lt_prog_compiler_static='-Bstatic'
8717        case $cc_basename in
8718 <      f77* | f90* | f95*)
8718 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8719          lt_prog_compiler_wl='-Qoption ld ';;
8720        *)
8721          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 8772 | case $host_os in
8772      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8773      ;;
8774   esac
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8204 $as_echo "$lt_prog_compiler_pic" >&6; }
8205
8206
8207
8208
8775  
8776 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8777 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8778 + if ${lt_cv_prog_compiler_pic+:} false; then :
8779 +  $as_echo_n "(cached) " >&6
8780 + else
8781 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8782 + fi
8783 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8784 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8785 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8786  
8787   #
8788   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 8790 | $as_echo "$lt_prog_compiler_pic" >&6; }
8790   if test -n "$lt_prog_compiler_pic"; then
8791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8792   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8793 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8793 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8794    $as_echo_n "(cached) " >&6
8795   else
8796    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 8806 | else
8806     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8807     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8808     -e 's:$: $lt_compiler_flag:'`
8809 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8809 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8810     (eval "$lt_compile" 2>conftest.err)
8811     ac_status=$?
8812     cat conftest.err >&5
8813 <   echo "$as_me:8237: \$? = $ac_status" >&5
8813 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814     if (exit $ac_status) && test -s "$ac_outfile"; then
8815       # The compiler can only warn and ignore the option if not recognized
8816       # So say no if there are warnings other than the usual output.
8817 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8817 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8818       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8819       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8820         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 8843 | fi
8843  
8844  
8845  
8846 +
8847 +
8848 +
8849 +
8850 +
8851   #
8852   # Check to make sure the static flag actually works.
8853   #
8854   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8856   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8857 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8857 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8858    $as_echo_n "(cached) " >&6
8859   else
8860    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 8867 | else
8867       if test -s conftest.err; then
8868         # Append any errors to the config.log.
8869         cat conftest.err 1>&5
8870 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8870 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8871         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872         if diff conftest.exp conftest.er2 >/dev/null; then
8873           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 8897 | fi
8897  
8898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8899   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8900 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8900 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8901    $as_echo_n "(cached) " >&6
8902   else
8903    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 8916 | else
8916     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8917     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8918     -e 's:$: $lt_compiler_flag:'`
8919 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8919 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8920     (eval "$lt_compile" 2>out/conftest.err)
8921     ac_status=$?
8922     cat out/conftest.err >&5
8923 <   echo "$as_me:8342: \$? = $ac_status" >&5
8923 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8925     then
8926       # The compiler can only warn and ignore the option if not recognized
8927       # So say no if there are warnings
8928 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8928 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8929       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8930       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8931         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 8952 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8952  
8953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8954   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8955 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8956    $as_echo_n "(cached) " >&6
8957   else
8958    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 8971 | else
8971     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8972     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8973     -e 's:$: $lt_compiler_flag:'`
8974 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
8974 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8975     (eval "$lt_compile" 2>out/conftest.err)
8976     ac_status=$?
8977     cat out/conftest.err >&5
8978 <   echo "$as_me:8397: \$? = $ac_status" >&5
8978 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8980     then
8981       # The compiler can only warn and ignore the option if not recognized
8982       # So say no if there are warnings
8983 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8983 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8984       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8985       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8986         lt_cv_prog_compiler_c_o=yes
# Line 8465 | Line 9046 | $as_echo_n "checking whether the $compil
9046    hardcode_direct=no
9047    hardcode_direct_absolute=no
9048    hardcode_libdir_flag_spec=
8468  hardcode_libdir_flag_spec_ld=
9049    hardcode_libdir_separator=
9050    hardcode_minus_L=no
9051    hardcode_shlibpath_var=unsupported
# Line 8512 | Line 9092 | $as_echo_n "checking whether the $compil
9092    esac
9093  
9094    ld_shlibs=yes
9095 +
9096 +  # On some targets, GNU ld is compatible enough with the native linker
9097 +  # that we're better off using the native interface for both.
9098 +  lt_use_gnu_ld_interface=no
9099    if test "$with_gnu_ld" = yes; then
9100 +    case $host_os in
9101 +      aix*)
9102 +        # The AIX port of GNU ld has always aspired to compatibility
9103 +        # with the native linker.  However, as the warning in the GNU ld
9104 +        # block says, versions before 2.19.5* couldn't really create working
9105 +        # shared libraries, regardless of the interface used.
9106 +        case `$LD -v 2>&1` in
9107 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9108 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9109 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9110 +          *)
9111 +            lt_use_gnu_ld_interface=yes
9112 +            ;;
9113 +        esac
9114 +        ;;
9115 +      *)
9116 +        lt_use_gnu_ld_interface=yes
9117 +        ;;
9118 +    esac
9119 +  fi
9120 +
9121 +  if test "$lt_use_gnu_ld_interface" = yes; then
9122      # If archive_cmds runs LD, not CC, wlarc should be empty
9123      wlarc='${wl}'
9124  
# Line 8530 | Line 9136 | $as_echo_n "checking whether the $compil
9136      fi
9137      supports_anon_versioning=no
9138      case `$LD -v 2>&1` in
9139 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9140        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9141        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9142        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9152 | $as_echo_n "checking whether the $compil
9152          ld_shlibs=no
9153          cat <<_LT_EOF 1>&2
9154  
9155 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9155 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9156   *** to be unable to reliably create shared libraries on AIX.
9157   *** Therefore, libtool is disabling shared libraries support.  If you
9158 < *** really care for shared libraries, you may want to modify your PATH
9159 < *** so that a non-GNU linker is found, and then restart.
9158 > *** really care for shared libraries, you may want to install binutils
9159 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9160 > *** You will then need to restart the configuration process.
9161  
9162   _LT_EOF
9163        fi
# Line 8585 | Line 9193 | _LT_EOF
9193        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9194        # as there is no search path for DLLs.
9195        hardcode_libdir_flag_spec='-L$libdir'
9196 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9197        allow_undefined_flag=unsupported
9198        always_export_symbols=no
9199        enable_shared_with_static_runtimes=yes
9200 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9200 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9201 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9202  
9203        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9204          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8606 | Line 9216 | _LT_EOF
9216        fi
9217        ;;
9218  
9219 +    haiku*)
9220 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 +      link_all_deplibs=yes
9222 +      ;;
9223 +
9224      interix[3-9]*)
9225        hardcode_direct=no
9226        hardcode_shlibpath_var=no
# Line 8621 | Line 9236 | _LT_EOF
9236        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'
9237        ;;
9238  
9239 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9239 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9240        tmp_diet=no
9241        if test "$host_os" = linux-dietlibc; then
9242          case $cc_basename in
# Line 8631 | Line 9246 | _LT_EOF
9246        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9247           && test "$tmp_diet" = no
9248        then
9249 <        tmp_addflag=
9249 >        tmp_addflag=' $pic_flag'
9250          tmp_sharedflag='-shared'
9251          case $cc_basename,$host_cpu in
9252          pgcc*)                          # Portland Group C compiler
9253 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9253 >          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'
9254            tmp_addflag=' $pic_flag'
9255            ;;
9256 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9257 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9256 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9257 >                                        # Portland Group f77 and f90 compilers
9258 >          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'
9259            tmp_addflag=' $pic_flag -Mnomain' ;;
9260          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9261            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9266 | _LT_EOF
9266          lf95*)                          # Lahey Fortran 8.1
9267            whole_archive_flag_spec=
9268            tmp_sharedflag='--shared' ;;
9269 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9269 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9270            tmp_sharedflag='-qmkshrobj'
9271            tmp_addflag= ;;
9272 +        nvcc*)  # Cuda Compiler Driver 2.2
9273 +          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'
9274 +          compiler_needs_object=yes
9275 +          ;;
9276          esac
9277          case `$CC -V 2>&1 | sed 5q` in
9278          *Sun\ C*)                       # Sun C 5.9
9279 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9279 >          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'
9280            compiler_needs_object=yes
9281            tmp_sharedflag='-G' ;;
9282          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9292 | _LT_EOF
9292          fi
9293  
9294          case $cc_basename in
9295 <        xlf*)
9295 >        xlf* | bgf* | bgxlf* | mpixlf*)
9296            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9297            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9298 <          hardcode_libdir_flag_spec=
9299 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8680 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9298 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9299 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9300            if test "x$supports_anon_versioning" = xyes; then
9301              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9302                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9303                echo "local: *; };" >> $output_objdir/$libname.ver~
9304 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9304 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9305            fi
9306            ;;
9307          esac
# Line 8696 | Line 9315 | _LT_EOF
9315          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9316          wlarc=
9317        else
9318 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9318 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320        fi
9321        ;;
9322  
# Line 8715 | Line 9334 | _LT_EOF
9334  
9335   _LT_EOF
9336        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9337 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9337 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339        else
9340          ld_shlibs=no
9341        fi
# Line 8762 | Line 9381 | _LT_EOF
9381  
9382      *)
9383        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9384 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386        else
9387          ld_shlibs=no
9388        fi
# Line 8803 | Line 9422 | _LT_EOF
9422        else
9423          # If we're using GNU nm, then we don't want the "-C" option.
9424          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9425 +        # Also, AIX nm treats weak defined symbols like other global
9426 +        # defined symbols, whereas GNU nm marks them as "W".
9427          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9428 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9428 >          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'
9429          else
9430            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'
9431          fi
# Line 8866 | Line 9487 | _LT_EOF
9487          if test "$aix_use_runtimelinking" = yes; then
9488            shared_flag="$shared_flag "'${wl}-G'
9489          fi
8869        link_all_deplibs=no
9490        else
9491          # not using gcc
9492          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9512 | _LT_EOF
9512          allow_undefined_flag='-berok'
9513          # Determine the default libpath from the value encoded in an
9514          # empty executable.
9515 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 >        if test "${lt_cv_aix_libpath+set}" = set; then
9516 >  aix_libpath=$lt_cv_aix_libpath
9517 > else
9518 >  if ${lt_cv_aix_libpath_+:} false; then :
9519 >  $as_echo_n "(cached) " >&6
9520 > else
9521 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522   /* end confdefs.h.  */
9523  
9524   int
# Line 8905 | Line 9531 | main ()
9531   _ACEOF
9532   if ac_fn_c_try_link "$LINENO"; then :
9533  
9534 < lt_aix_libpath_sed='
9535 <    /Import File Strings/,/^$/ {
9536 <        /^0/ {
9537 <            s/^0  *\(.*\)$/\1/
9538 <            p
9539 <        }
9540 <    }'
9541 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 < # Check for a 64-bit object if we didn't find anything.
9543 < if test -z "$aix_libpath"; then
9544 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 < fi
9534 >  lt_aix_libpath_sed='
9535 >      /Import File Strings/,/^$/ {
9536 >          /^0/ {
9537 >              s/^0  *\([^ ]*\) *$/\1/
9538 >              p
9539 >          }
9540 >      }'
9541 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 >  # Check for a 64-bit object if we didn't find anything.
9543 >  if test -z "$lt_cv_aix_libpath_"; then
9544 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 >  fi
9546   fi
9547   rm -f core conftest.err conftest.$ac_objext \
9548      conftest$ac_exeext conftest.$ac_ext
9549 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9549 >  if test -z "$lt_cv_aix_libpath_"; then
9550 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9551 >  fi
9552 >
9553 > fi
9554 >
9555 >  aix_libpath=$lt_cv_aix_libpath_
9556 > fi
9557  
9558          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9559 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9559 >        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"
9560        else
9561          if test "$host_cpu" = ia64; then
9562            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9565 | if test -z "$aix_libpath"; then aix_libp
9565          else
9566           # Determine the default libpath from the value encoded in an
9567           # empty executable.
9568 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 >         if test "${lt_cv_aix_libpath+set}" = set; then
9569 >  aix_libpath=$lt_cv_aix_libpath
9570 > else
9571 >  if ${lt_cv_aix_libpath_+:} false; then :
9572 >  $as_echo_n "(cached) " >&6
9573 > else
9574 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575   /* end confdefs.h.  */
9576  
9577   int
# Line 8945 | Line 9584 | main ()
9584   _ACEOF
9585   if ac_fn_c_try_link "$LINENO"; then :
9586  
9587 < lt_aix_libpath_sed='
9588 <    /Import File Strings/,/^$/ {
9589 <        /^0/ {
9590 <            s/^0  *\(.*\)$/\1/
9591 <            p
9592 <        }
9593 <    }'
9594 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 < # Check for a 64-bit object if we didn't find anything.
9596 < if test -z "$aix_libpath"; then
9597 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 < fi
9587 >  lt_aix_libpath_sed='
9588 >      /Import File Strings/,/^$/ {
9589 >          /^0/ {
9590 >              s/^0  *\([^ ]*\) *$/\1/
9591 >              p
9592 >          }
9593 >      }'
9594 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 >  # Check for a 64-bit object if we didn't find anything.
9596 >  if test -z "$lt_cv_aix_libpath_"; then
9597 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 >  fi
9599   fi
9600   rm -f core conftest.err conftest.$ac_objext \
9601      conftest$ac_exeext conftest.$ac_ext
9602 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9602 >  if test -z "$lt_cv_aix_libpath_"; then
9603 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9604 >  fi
9605 >
9606 > fi
9607 >
9608 >  aix_libpath=$lt_cv_aix_libpath_
9609 > fi
9610  
9611           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9612            # Warning - without using the other run time loading flags,
9613            # -berok will link without error, but may produce a broken library.
9614            no_undefined_flag=' ${wl}-bernotok'
9615            allow_undefined_flag=' ${wl}-berok'
9616 <          # Exported symbols can be pulled into shared objects from archives
9617 <          whole_archive_flag_spec='$convenience'
9616 >          if test "$with_gnu_ld" = yes; then
9617 >            # We only use this code for GNU lds that support --whole-archive.
9618 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9619 >          else
9620 >            # Exported symbols can be pulled into shared objects from archives
9621 >            whole_archive_flag_spec='$convenience'
9622 >          fi
9623            archive_cmds_need_lc=yes
9624            # This is similar to how AIX traditionally builds its shared libraries.
9625            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'
# Line 9000 | Line 9651 | if test -z "$aix_libpath"; then aix_libp
9651        # Microsoft Visual C++.
9652        # hardcode_libdir_flag_spec is actually meaningless, as there is
9653        # no search path for DLLs.
9654 <      hardcode_libdir_flag_spec=' '
9655 <      allow_undefined_flag=unsupported
9656 <      # Tell ltmain to make .lib files, not .a files.
9657 <      libext=lib
9658 <      # Tell ltmain to make .dll files, not .so files.
9659 <      shrext_cmds=".dll"
9660 <      # FIXME: Setting linknames here is a bad hack.
9661 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9662 <      # The linker will automatically build a .lib file if we build a DLL.
9663 <      old_archive_from_new_cmds='true'
9664 <      # FIXME: Should let the user specify the lib program.
9665 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9666 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9667 <      enable_shared_with_static_runtimes=yes
9654 >      case $cc_basename in
9655 >      cl*)
9656 >        # Native MSVC
9657 >        hardcode_libdir_flag_spec=' '
9658 >        allow_undefined_flag=unsupported
9659 >        always_export_symbols=yes
9660 >        file_list_spec='@'
9661 >        # Tell ltmain to make .lib files, not .a files.
9662 >        libext=lib
9663 >        # Tell ltmain to make .dll files, not .so files.
9664 >        shrext_cmds=".dll"
9665 >        # FIXME: Setting linknames here is a bad hack.
9666 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9667 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9668 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9669 >          else
9670 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9671 >          fi~
9672 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9673 >          linknames='
9674 >        # The linker will not automatically build a static lib if we build a DLL.
9675 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9676 >        enable_shared_with_static_runtimes=yes
9677 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9678 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9679 >        # Don't use ranlib
9680 >        old_postinstall_cmds='chmod 644 $oldlib'
9681 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9682 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9683 >          case $lt_outputfile in
9684 >            *.exe|*.EXE) ;;
9685 >            *)
9686 >              lt_outputfile="$lt_outputfile.exe"
9687 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9688 >              ;;
9689 >          esac~
9690 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9691 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9692 >            $RM "$lt_outputfile.manifest";
9693 >          fi'
9694 >        ;;
9695 >      *)
9696 >        # Assume MSVC wrapper
9697 >        hardcode_libdir_flag_spec=' '
9698 >        allow_undefined_flag=unsupported
9699 >        # Tell ltmain to make .lib files, not .a files.
9700 >        libext=lib
9701 >        # Tell ltmain to make .dll files, not .so files.
9702 >        shrext_cmds=".dll"
9703 >        # FIXME: Setting linknames here is a bad hack.
9704 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9705 >        # The linker will automatically build a .lib file if we build a DLL.
9706 >        old_archive_from_new_cmds='true'
9707 >        # FIXME: Should let the user specify the lib program.
9708 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9709 >        enable_shared_with_static_runtimes=yes
9710 >        ;;
9711 >      esac
9712        ;;
9713  
9714      darwin* | rhapsody*)
# Line 9023 | Line 9718 | if test -z "$aix_libpath"; then aix_libp
9718    hardcode_direct=no
9719    hardcode_automatic=yes
9720    hardcode_shlibpath_var=unsupported
9721 <  whole_archive_flag_spec=''
9721 >  if test "$lt_cv_ld_force_load" = "yes"; then
9722 >    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\"`'
9723 >
9724 >  else
9725 >    whole_archive_flag_spec=''
9726 >  fi
9727    link_all_deplibs=yes
9728    allow_undefined_flag="$_lt_dar_allow_undefined"
9729    case $cc_basename in
# Line 9031 | Line 9731 | if test -z "$aix_libpath"; then aix_libp
9731       *) _lt_dar_can_shared=$GCC ;;
9732    esac
9733    if test "$_lt_dar_can_shared" = "yes"; then
9734 <    output_verbose_link_cmd=echo
9734 >    output_verbose_link_cmd=func_echo_all
9735      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9736      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9737      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}"
# Line 9049 | Line 9749 | if test -z "$aix_libpath"; then aix_libp
9749        hardcode_shlibpath_var=no
9750        ;;
9751  
9052    freebsd1*)
9053      ld_shlibs=no
9054      ;;
9055
9752      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9753      # support.  Future versions do this automatically, but an explicit c++rt0.o
9754      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 9761 | if test -z "$aix_libpath"; then aix_libp
9761        ;;
9762  
9763      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9764 <    freebsd2*)
9764 >    freebsd2.*)
9765        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9766        hardcode_direct=yes
9767        hardcode_minus_L=yes
# Line 9074 | Line 9770 | if test -z "$aix_libpath"; then aix_libp
9770  
9771      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9772      freebsd* | dragonfly*)
9773 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9773 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9774        hardcode_libdir_flag_spec='-R$libdir'
9775        hardcode_direct=yes
9776        hardcode_shlibpath_var=no
# Line 9082 | Line 9778 | if test -z "$aix_libpath"; then aix_libp
9778  
9779      hpux9*)
9780        if test "$GCC" = yes; then
9781 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9781 >        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'
9782        else
9783          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'
9784        fi
# Line 9097 | Line 9793 | if test -z "$aix_libpath"; then aix_libp
9793        ;;
9794  
9795      hpux10*)
9796 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9797 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9796 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9797 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9798        else
9799          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9800        fi
9801        if test "$with_gnu_ld" = no; then
9802          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107        hardcode_libdir_flag_spec_ld='+b $libdir'
9803          hardcode_libdir_separator=:
9804          hardcode_direct=yes
9805          hardcode_direct_absolute=yes
# Line 9116 | Line 9811 | if test -z "$aix_libpath"; then aix_libp
9811        ;;
9812  
9813      hpux11*)
9814 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9814 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9815          case $host_cpu in
9816          hppa*64*)
9817            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9818            ;;
9819          ia64*)
9820 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9820 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821            ;;
9822          *)
9823 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9823 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824            ;;
9825          esac
9826        else
# Line 9137 | Line 9832 | if test -z "$aix_libpath"; then aix_libp
9832            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9833            ;;
9834          *)
9835 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9835 >
9836 >          # Older versions of the 11.00 compiler do not understand -b yet
9837 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9838 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9839 > $as_echo_n "checking if $CC understands -b... " >&6; }
9840 > if ${lt_cv_prog_compiler__b+:} false; then :
9841 >  $as_echo_n "(cached) " >&6
9842 > else
9843 >  lt_cv_prog_compiler__b=no
9844 >   save_LDFLAGS="$LDFLAGS"
9845 >   LDFLAGS="$LDFLAGS -b"
9846 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9847 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9848 >     # The linker can only warn and ignore the option if not recognized
9849 >     # So say no if there are warnings
9850 >     if test -s conftest.err; then
9851 >       # Append any errors to the config.log.
9852 >       cat conftest.err 1>&5
9853 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9854 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9855 >       if diff conftest.exp conftest.er2 >/dev/null; then
9856 >         lt_cv_prog_compiler__b=yes
9857 >       fi
9858 >     else
9859 >       lt_cv_prog_compiler__b=yes
9860 >     fi
9861 >   fi
9862 >   $RM -r conftest*
9863 >   LDFLAGS="$save_LDFLAGS"
9864 >
9865 > fi
9866 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9867 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9868 >
9869 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9870 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9871 > else
9872 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9873 > fi
9874 >
9875            ;;
9876          esac
9877        fi
# Line 9165 | Line 9899 | if test -z "$aix_libpath"; then aix_libp
9899  
9900      irix5* | irix6* | nonstopux*)
9901        if test "$GCC" = yes; then
9902 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9902 >        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'
9903          # Try to use the -exported_symbol ld option, if it does not
9904          # work, assume that -exports_file does not work either and
9905          # implicitly export all symbols.
9906 <        save_LDFLAGS="$LDFLAGS"
9907 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9908 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 >        # This should be the same for all languages, so no per-tag cache variable.
9907 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9908 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9909 > if ${lt_cv_irix_exported_symbol+:} false; then :
9910 >  $as_echo_n "(cached) " >&6
9911 > else
9912 >  save_LDFLAGS="$LDFLAGS"
9913 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9914 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915   /* end confdefs.h.  */
9916 < int foo(void) {}
9916 > int foo (void) { return 0; }
9917   _ACEOF
9918   if ac_fn_c_try_link "$LINENO"; then :
9919 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9920 <
9919 >  lt_cv_irix_exported_symbol=yes
9920 > else
9921 >  lt_cv_irix_exported_symbol=no
9922   fi
9923   rm -f core conftest.err conftest.$ac_objext \
9924      conftest$ac_exeext conftest.$ac_ext
9925 <        LDFLAGS="$save_LDFLAGS"
9925 >           LDFLAGS="$save_LDFLAGS"
9926 > fi
9927 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9928 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9929 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9930 >          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'
9931 >        fi
9932        else
9933 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9934 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9933 >        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'
9934 >        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'
9935        fi
9936        archive_cmds_need_lc='no'
9937        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 9993 | rm -f core conftest.err conftest.$ac_obj
9993        hardcode_libdir_flag_spec='-L$libdir'
9994        hardcode_minus_L=yes
9995        allow_undefined_flag=unsupported
9996 <      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'
9996 >      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'
9997        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9998        ;;
9999  
10000      osf3*)
10001        if test "$GCC" = yes; then
10002          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10003 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10003 >        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'
10004        else
10005          allow_undefined_flag=' -expect_unresolved \*'
10006 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10006 >        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'
10007        fi
10008        archive_cmds_need_lc='no'
10009        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 10013 | rm -f core conftest.err conftest.$ac_obj
10013      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10014        if test "$GCC" = yes; then
10015          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10016 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10016 >        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'
10017          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10018        else
10019          allow_undefined_flag=' -expect_unresolved \*'
10020 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10020 >        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'
10021          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~
10022 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10022 >        $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'
10023  
10024          # Both c and cxx compiler support -rpath directly
10025          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 10032 | rm -f core conftest.err conftest.$ac_obj
10032        no_undefined_flag=' -z defs'
10033        if test "$GCC" = yes; then
10034          wlarc='${wl}'
10035 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10035 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10036          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10037 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10037 >          $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'
10038        else
10039          case `$CC -V 2>&1` in
10040          *"Compilers 5.0"*)
# Line 9475 | Line 10222 | x|xyes)
10222        # to ld, don't add -lc before -lgcc.
10223        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10224   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10225 <      $RM conftest*
10226 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10225 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10226 >  $as_echo_n "(cached) " >&6
10227 > else
10228 >  $RM conftest*
10229 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10230  
10231 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10231 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10232    (eval $ac_compile) 2>&5
10233    ac_status=$?
10234    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10235    test $ac_status = 0; } 2>conftest.err; then
10236 <        soname=conftest
10237 <        lib=conftest
10238 <        libobjs=conftest.$ac_objext
10239 <        deplibs=
10240 <        wl=$lt_prog_compiler_wl
10241 <        pic_flag=$lt_prog_compiler_pic
10242 <        compiler_flags=-v
10243 <        linker_flags=-v
10244 <        verstring=
10245 <        output_objdir=.
10246 <        libname=conftest
10247 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10248 <        allow_undefined_flag=
10249 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10236 >          soname=conftest
10237 >          lib=conftest
10238 >          libobjs=conftest.$ac_objext
10239 >          deplibs=
10240 >          wl=$lt_prog_compiler_wl
10241 >          pic_flag=$lt_prog_compiler_pic
10242 >          compiler_flags=-v
10243 >          linker_flags=-v
10244 >          verstring=
10245 >          output_objdir=.
10246 >          libname=conftest
10247 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10248 >          allow_undefined_flag=
10249 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10250    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10251    ac_status=$?
10252    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10253    test $ac_status = 0; }
10254 <        then
10255 <          archive_cmds_need_lc=no
10256 <        else
10257 <          archive_cmds_need_lc=yes
10258 <        fi
10259 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10260 <      else
10261 <        cat conftest.err 1>&5
10262 <      fi
10263 <      $RM conftest*
10264 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10265 < $as_echo "$archive_cmds_need_lc" >&6; }
10254 >          then
10255 >            lt_cv_archive_cmds_need_lc=no
10256 >          else
10257 >            lt_cv_archive_cmds_need_lc=yes
10258 >          fi
10259 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10260 >        else
10261 >          cat conftest.err 1>&5
10262 >        fi
10263 >        $RM conftest*
10264 >
10265 > fi
10266 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10267 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10268 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10269        ;;
10270      esac
10271    fi
# Line 9670 | Line 10423 | esac
10423  
10424  
10425  
9673
9674
9675
9676
9677
10426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10427   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10428  
# Line 9683 | Line 10431 | if test "$GCC" = yes; then
10431      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10432      *) lt_awk_arg="/^libraries:/" ;;
10433    esac
10434 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10435 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10434 >  case $host_os in
10435 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10436 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10437 >  esac
10438 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10439 >  case $lt_search_path_spec in
10440 >  *\;*)
10441      # if the path contains ";" then we assume it to be the separator
10442      # otherwise default to the standard path separator (i.e. ":") - it is
10443      # assumed that no part of a normal pathname contains ";" but that should
10444      # okay in the real world where ";" in dirpaths is itself problematic.
10445 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10446 <  else
10447 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10448 <  fi
10445 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10446 >    ;;
10447 >  *)
10448 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10449 >    ;;
10450 >  esac
10451    # Ok, now we have the path, separated by spaces, we can step through it
10452    # and add multilib dir if necessary.
10453    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10460 | if test "$GCC" = yes; then
10460          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10461      fi
10462    done
10463 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10463 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10464   BEGIN {RS=" "; FS="/|\n";} {
10465    lt_foo="";
10466    lt_count=0;
# Line 9725 | Line 10480 | BEGIN {RS=" "; FS="/|\n";} {
10480    if (lt_foo != "") { lt_freq[lt_foo]++; }
10481    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10482   }'`
10483 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10483 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10484 >  # for these hosts.
10485 >  case $host_os in
10486 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10487 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10488 >  esac
10489 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10490   else
10491    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10492   fi
# Line 9751 | Line 10512 | need_version=unknown
10512  
10513   case $host_os in
10514   aix3*)
10515 <  version_type=linux
10515 >  version_type=linux # correct to gnu/linux during the next big refactor
10516    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10517    shlibpath_var=LIBPATH
10518  
# Line 9760 | Line 10521 | aix3*)
10521    ;;
10522  
10523   aix[4-9]*)
10524 <  version_type=linux
10524 >  version_type=linux # correct to gnu/linux during the next big refactor
10525    need_lib_prefix=no
10526    need_version=no
10527    hardcode_into_libs=yes
# Line 9813 | Line 10574 | amigaos*)
10574    m68k)
10575      library_names_spec='$libname.ixlibrary $libname.a'
10576      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10577 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10577 >    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'
10578      ;;
10579    esac
10580    ;;
# Line 9825 | Line 10586 | beos*)
10586    ;;
10587  
10588   bsdi[45]*)
10589 <  version_type=linux
10589 >  version_type=linux # correct to gnu/linux during the next big refactor
10590    need_version=no
10591    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9844 | Line 10605 | cygwin* | mingw* | pw32* | cegcc*)
10605    need_version=no
10606    need_lib_prefix=no
10607  
10608 <  case $GCC,$host_os in
10609 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10608 >  case $GCC,$cc_basename in
10609 >  yes,*)
10610 >    # gcc
10611      library_names_spec='$libname.dll.a'
10612      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10613      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10628 | cygwin* | mingw* | pw32* | cegcc*)
10628      cygwin*)
10629        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10630        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10631 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10631 >
10632 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10633        ;;
10634      mingw* | cegcc*)
10635        # MinGW DLLs use traditional 'lib' prefix
10636        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9874      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9875      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9876        # It is most probably a Windows format PATH printed by
9877        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9878        # path with ; separators, and with drive letters. We can handle the
9879        # drive letters (cygwin fileutils understands them), so leave them,
9880        # especially as we might pass files found there to a mingw objdump,
9881        # which wouldn't understand a cygwinified path. Ahh.
9882        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9883      else
9884        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9885      fi
10637        ;;
10638      pw32*)
10639        # pw32 DLLs use 'pw' prefix rather than 'lib'
10640        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641        ;;
10642      esac
10643 +    dynamic_linker='Win32 ld.exe'
10644 +    ;;
10645 +
10646 +  *,cl*)
10647 +    # Native MSVC
10648 +    libname_spec='$name'
10649 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650 +    library_names_spec='${libname}.dll.lib'
10651 +
10652 +    case $build_os in
10653 +    mingw*)
10654 +      sys_lib_search_path_spec=
10655 +      lt_save_ifs=$IFS
10656 +      IFS=';'
10657 +      for lt_path in $LIB
10658 +      do
10659 +        IFS=$lt_save_ifs
10660 +        # Let DOS variable expansion print the short 8.3 style file name.
10661 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10662 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10663 +      done
10664 +      IFS=$lt_save_ifs
10665 +      # Convert to MSYS style.
10666 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10667 +      ;;
10668 +    cygwin*)
10669 +      # Convert to unix form, then to dos form, then back to unix form
10670 +      # but this time dos style (no spaces!) so that the unix form looks
10671 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10672 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10673 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10674 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10675 +      ;;
10676 +    *)
10677 +      sys_lib_search_path_spec="$LIB"
10678 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10679 +        # It is most probably a Windows format PATH.
10680 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10681 +      else
10682 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10683 +      fi
10684 +      # FIXME: find the short name or the path components, as spaces are
10685 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10686 +      ;;
10687 +    esac
10688 +
10689 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10690 +    postinstall_cmds='base_file=`basename \${file}`~
10691 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10692 +      dldir=$destdir/`dirname \$dlpath`~
10693 +      test -d \$dldir || mkdir -p \$dldir~
10694 +      $install_prog $dir/$dlname \$dldir/$dlname'
10695 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10696 +      dlpath=$dir/\$dldll~
10697 +       $RM \$dlpath'
10698 +    shlibpath_overrides_runpath=yes
10699 +    dynamic_linker='Win32 link.exe'
10700      ;;
10701  
10702    *)
10703 +    # Assume MSVC wrapper
10704      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10705 +    dynamic_linker='Win32 ld.exe'
10706      ;;
10707    esac
9898  dynamic_linker='Win32 ld.exe'
10708    # FIXME: first we should search . and the directory the executable is in
10709    shlibpath_var=PATH
10710    ;;
# Line 9916 | Line 10725 | darwin* | rhapsody*)
10725    ;;
10726  
10727   dgux*)
10728 <  version_type=linux
10728 >  version_type=linux # correct to gnu/linux during the next big refactor
10729    need_lib_prefix=no
10730    need_version=no
10731    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9924 | Line 10733 | dgux*)
10733    shlibpath_var=LD_LIBRARY_PATH
10734    ;;
10735  
9927 freebsd1*)
9928  dynamic_linker=no
9929  ;;
9930
10736   freebsd* | dragonfly*)
10737    # DragonFly does not have aout.  When/if they implement a new
10738    # versioning mechanism, adjust this.
# Line 9935 | Line 10740 | freebsd* | dragonfly*)
10740      objformat=`/usr/bin/objformat`
10741    else
10742      case $host_os in
10743 <    freebsd[123]*) objformat=aout ;;
10743 >    freebsd[23].*) objformat=aout ;;
10744      *) objformat=elf ;;
10745      esac
10746    fi
# Line 9953 | Line 10758 | freebsd* | dragonfly*)
10758    esac
10759    shlibpath_var=LD_LIBRARY_PATH
10760    case $host_os in
10761 <  freebsd2*)
10761 >  freebsd2.*)
10762      shlibpath_overrides_runpath=yes
10763      ;;
10764    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9973 | Line 10778 | freebsd* | dragonfly*)
10778    ;;
10779  
10780   gnu*)
10781 <  version_type=linux
10781 >  version_type=linux # correct to gnu/linux during the next big refactor
10782    need_lib_prefix=no
10783    need_version=no
10784    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10785    soname_spec='${libname}${release}${shared_ext}$major'
10786    shlibpath_var=LD_LIBRARY_PATH
10787 +  shlibpath_overrides_runpath=no
10788 +  hardcode_into_libs=yes
10789 +  ;;
10790 +
10791 + haiku*)
10792 +  version_type=linux # correct to gnu/linux during the next big refactor
10793 +  need_lib_prefix=no
10794 +  need_version=no
10795 +  dynamic_linker="$host_os runtime_loader"
10796 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10797 +  soname_spec='${libname}${release}${shared_ext}$major'
10798 +  shlibpath_var=LIBRARY_PATH
10799 +  shlibpath_overrides_runpath=yes
10800 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10801    hardcode_into_libs=yes
10802    ;;
10803  
# Line 10024 | Line 10843 | hpux9* | hpux10* | hpux11*)
10843      soname_spec='${libname}${release}${shared_ext}$major'
10844      ;;
10845    esac
10846 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10846 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10847    postinstall_cmds='chmod 555 $lib'
10848 +  # or fails outright, so override atomically:
10849 +  install_override_mode=555
10850    ;;
10851  
10852   interix[3-9]*)
10853 <  version_type=linux
10853 >  version_type=linux # correct to gnu/linux during the next big refactor
10854    need_lib_prefix=no
10855    need_version=no
10856    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10045 | Line 10866 | irix5* | irix6* | nonstopux*)
10866      nonstopux*) version_type=nonstopux ;;
10867      *)
10868          if test "$lt_cv_prog_gnu_ld" = yes; then
10869 <                version_type=linux
10869 >                version_type=linux # correct to gnu/linux during the next big refactor
10870          else
10871                  version_type=irix
10872          fi ;;
# Line 10082 | Line 10903 | linux*oldld* | linux*aout* | linux*coff*
10903    dynamic_linker=no
10904    ;;
10905  
10906 < # This must be Linux ELF.
10907 < linux* | k*bsd*-gnu)
10908 <  version_type=linux
10906 > # This must be glibc/ELF.
10907 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10908 >  version_type=linux # correct to gnu/linux during the next big refactor
10909    need_lib_prefix=no
10910    need_version=no
10911    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10092 | Line 10913 | linux* | k*bsd*-gnu)
10913    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10914    shlibpath_var=LD_LIBRARY_PATH
10915    shlibpath_overrides_runpath=no
10916 +
10917    # Some binutils ld are patched to set DT_RUNPATH
10918 <  save_LDFLAGS=$LDFLAGS
10919 <  save_libdir=$libdir
10920 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10919 >  $as_echo_n "(cached) " >&6
10920 > else
10921 >  lt_cv_shlibpath_overrides_runpath=no
10922 >    save_LDFLAGS=$LDFLAGS
10923 >    save_libdir=$libdir
10924 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10925 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10926 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927   /* end confdefs.h.  */
10928  
10929   int
# Line 10110 | Line 10936 | main ()
10936   _ACEOF
10937   if ac_fn_c_try_link "$LINENO"; then :
10938    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10939 <  shlibpath_overrides_runpath=yes
10939 >  lt_cv_shlibpath_overrides_runpath=yes
10940   fi
10941   fi
10942   rm -f core conftest.err conftest.$ac_objext \
10943      conftest$ac_exeext conftest.$ac_ext
10944 <  LDFLAGS=$save_LDFLAGS
10945 <  libdir=$save_libdir
10944 >    LDFLAGS=$save_LDFLAGS
10945 >    libdir=$save_libdir
10946 >
10947 > fi
10948 >
10949 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10950  
10951    # This implies no fast_install, which is unacceptable.
10952    # Some rework will be needed to allow for fast_install
10953    # before this can be enabled.
10954    hardcode_into_libs=yes
10955  
10126  # find out which ABI we are using
10127  libsuff=
10128  case "$host_cpu" in
10129  x86_64*|s390x*|powerpc64*)
10130    echo '#line 10130 "configure"' > conftest.$ac_ext
10131    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132  (eval $ac_compile) 2>&5
10133  ac_status=$?
10134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135  test $ac_status = 0; }; then
10136      case `/usr/bin/file conftest.$ac_objext` in
10137      *64-bit*)
10138        libsuff=64
10139        ;;
10140      esac
10141    fi
10142    rm -rf conftest*
10143    ;;
10144  esac
10145
10146  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10147
10956    # Append ld.so.conf contents to the search path
10957    if test -f /etc/ld.so.conf; then
10958 <    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;/^$/d' | tr '\n' ' '`
10959 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10958 >    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' ' '`
10959 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10960    fi
10961  
10962    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | Line 10987 | netbsd*)
10987    ;;
10988  
10989   newsos6)
10990 <  version_type=linux
10990 >  version_type=linux # correct to gnu/linux during the next big refactor
10991    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992    shlibpath_var=LD_LIBRARY_PATH
10993    shlibpath_overrides_runpath=yes
# Line 10248 | Line 11056 | rdos*)
11056    ;;
11057  
11058   solaris*)
11059 <  version_type=linux
11059 >  version_type=linux # correct to gnu/linux during the next big refactor
11060    need_lib_prefix=no
11061    need_version=no
11062    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10273 | Line 11081 | sunos4*)
11081    ;;
11082  
11083   sysv4 | sysv4.3*)
11084 <  version_type=linux
11084 >  version_type=linux # correct to gnu/linux during the next big refactor
11085    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086    soname_spec='${libname}${release}${shared_ext}$major'
11087    shlibpath_var=LD_LIBRARY_PATH
# Line 10297 | Line 11105 | sysv4 | sysv4.3*)
11105  
11106   sysv4*MP*)
11107    if test -d /usr/nec ;then
11108 <    version_type=linux
11108 >    version_type=linux # correct to gnu/linux during the next big refactor
11109      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11110      soname_spec='$libname${shared_ext}.$major'
11111      shlibpath_var=LD_LIBRARY_PATH
# Line 10328 | Line 11136 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11136  
11137   tpf*)
11138    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11139 <  version_type=linux
11139 >  version_type=linux # correct to gnu/linux during the next big refactor
11140    need_lib_prefix=no
11141    need_version=no
11142    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10338 | Line 11146 | tpf*)
11146    ;;
11147  
11148   uts4*)
11149 <  version_type=linux
11149 >  version_type=linux # correct to gnu/linux during the next big refactor
11150    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151    soname_spec='${libname}${release}${shared_ext}$major'
11152    shlibpath_var=LD_LIBRARY_PATH
# Line 10450 | Line 11258 | fi
11258  
11259  
11260  
11261 +
11262 +
11263 +
11264 +
11265 +
11266    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11267   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11268   hardcode_action=
# Line 10522 | Line 11335 | else
11335    # if libdl is installed we need to link against it
11336      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11337   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11338 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11339    $as_echo_n "(cached) " >&6
11340   else
11341    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11369 | LIBS=$ac_check_lib_save_LIBS
11369   fi
11370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11371   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11372 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11372 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11373    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11374   else
11375  
# Line 10570 | Line 11383 | fi
11383  
11384    *)
11385      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11386 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11386 > if test "x$ac_cv_func_shl_load" = xyes; then :
11387    lt_cv_dlopen="shl_load"
11388   else
11389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11390   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11391 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11391 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11392    $as_echo_n "(cached) " >&6
11393   else
11394    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11422 | LIBS=$ac_check_lib_save_LIBS
11422   fi
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11424   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11425 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11425 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11426    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11427   else
11428    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11429 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11429 > if test "x$ac_cv_func_dlopen" = xyes; then :
11430    lt_cv_dlopen="dlopen"
11431   else
11432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11433   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11434 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11434 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11435    $as_echo_n "(cached) " >&6
11436   else
11437    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11465 | LIBS=$ac_check_lib_save_LIBS
11465   fi
11466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11467   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11468 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11468 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11469    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11470   else
11471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11472   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11473 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11473 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11474    $as_echo_n "(cached) " >&6
11475   else
11476    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11504 | LIBS=$ac_check_lib_save_LIBS
11504   fi
11505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11507 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11508    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509   else
11510    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11512 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11513    $as_echo_n "(cached) " >&6
11514   else
11515    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11543 | LIBS=$ac_check_lib_save_LIBS
11543   fi
11544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11545   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11546 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11546 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11547    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11548   fi
11549  
# Line 10771 | Line 11584 | fi
11584  
11585      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11586   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11587 < if test "${lt_cv_dlopen_self+set}" = set; then :
11587 > if ${lt_cv_dlopen_self+:} false; then :
11588    $as_echo_n "(cached) " >&6
11589   else
11590            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11593 | else
11593    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594    lt_status=$lt_dlunknown
11595    cat > conftest.$ac_ext <<_LT_EOF
11596 < #line 10783 "configure"
11596 > #line $LINENO "configure"
11597   #include "confdefs.h"
11598  
11599   #if HAVE_DLFCN_H
# Line 10821 | Line 11634 | else
11634   #  endif
11635   #endif
11636  
11637 < void fnord() { int i=42;}
11637 > /* When -fvisbility=hidden is used, assume the code has been annotated
11638 >   correspondingly for the symbols needed.  */
11639 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 > int fnord () __attribute__((visibility("default")));
11641 > #endif
11642 >
11643 > int fnord () { return 42; }
11644   int main ()
11645   {
11646    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11649 | int main ()
11649    if (self)
11650      {
11651        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11652 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11652 >      else
11653 >        {
11654 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11655 >          else puts (dlerror ());
11656 >        }
11657        /* dlclose (self); */
11658      }
11659    else
# Line 10867 | Line 11690 | $as_echo "$lt_cv_dlopen_self" >&6; }
11690        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11691        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11692   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11693 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11693 > if ${lt_cv_dlopen_self_static+:} false; then :
11694    $as_echo_n "(cached) " >&6
11695   else
11696            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 11699 | else
11699    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11700    lt_status=$lt_dlunknown
11701    cat > conftest.$ac_ext <<_LT_EOF
11702 < #line 10879 "configure"
11702 > #line $LINENO "configure"
11703   #include "confdefs.h"
11704  
11705   #if HAVE_DLFCN_H
# Line 10917 | Line 11740 | else
11740   #  endif
11741   #endif
11742  
11743 < void fnord() { int i=42;}
11743 > /* When -fvisbility=hidden is used, assume the code has been annotated
11744 >   correspondingly for the symbols needed.  */
11745 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11746 > int fnord () __attribute__((visibility("default")));
11747 > #endif
11748 >
11749 > int fnord () { return 42; }
11750   int main ()
11751   {
11752    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 11755 | int main ()
11755    if (self)
11756      {
11757        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11758 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11758 >      else
11759 >        {
11760 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11761 >          else puts (dlerror ());
11762 >        }
11763        /* dlclose (self); */
11764      }
11765    else
# Line 11095 | Line 11928 | CC="$lt_save_CC"
11928  
11929  
11930  
11931 +
11932 +
11933          ac_config_commands="$ac_config_commands libtool"
11934  
11935  
# Line 11105 | Line 11940 | CC="$lt_save_CC"
11940  
11941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11942   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11943 < if test "${libltdl_cv_shlibext+set}" = set; then :
11943 > if ${libltdl_cv_shlibext+:} false; then :
11944    $as_echo_n "(cached) " >&6
11945   else
11946  
11947   module=yes
11948   eval libltdl_cv_shlibext=$shrext_cmds
11949 + module=no
11950 + eval libltdl_cv_shrext=$shrext_cmds
11951  
11952   fi
11953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 11959 | cat >>confdefs.h <<_ACEOF
11959   _ACEOF
11960  
11961   fi
11962 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11963 +
11964 + cat >>confdefs.h <<_ACEOF
11965 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11966 + _ACEOF
11967 +
11968 + fi
11969  
11970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11971   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11972 < if test "${lt_cv_module_path_var+set}" = set; then :
11972 > if ${lt_cv_module_path_var+:} false; then :
11973    $as_echo_n "(cached) " >&6
11974   else
11975    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 11986 | fi
11986  
11987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11988   $as_echo_n "checking for the default library search path... " >&6; }
11989 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11989 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11990    $as_echo_n "(cached) " >&6
11991   else
11992    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 12023 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12023   LIBADD_DLOPEN=
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12025   $as_echo_n "checking for library containing dlopen... " >&6; }
12026 < if test "${ac_cv_search_dlopen+set}" = set; then :
12026 > if ${ac_cv_search_dlopen+:} false; then :
12027    $as_echo_n "(cached) " >&6
12028   else
12029    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12057 | for ac_lib in '' dl; do
12057   fi
12058   rm -f core conftest.err conftest.$ac_objext \
12059      conftest$ac_exeext
12060 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12060 >  if ${ac_cv_search_dlopen+:} false; then :
12061    break
12062   fi
12063   done
12064 < if test "${ac_cv_search_dlopen+set}" = set; then :
12064 > if ${ac_cv_search_dlopen+:} false; then :
12065  
12066   else
12067    ac_cv_search_dlopen=no
# Line 11262 | Line 12106 | $as_echo "#define HAVE_LIBDL 1" >>confde
12106   else
12107    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12108   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12109 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12109 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12110    $as_echo_n "(cached) " >&6
12111   else
12112    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12140 | LIBS=$ac_check_lib_save_LIBS
12140   fi
12141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12142   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12143 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12143 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12144  
12145   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12146  
# Line 11316 | Line 12160 | then
12160    for ac_func in dlerror
12161   do :
12162    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12163 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12163 > if test "x$ac_cv_func_dlerror" = xyes; then :
12164    cat >>confdefs.h <<_ACEOF
12165   #define HAVE_DLERROR 1
12166   _ACEOF
# Line 11330 | Line 12174 | fi
12174  
12175   LIBADD_SHL_LOAD=
12176   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12177 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12177 > if test "x$ac_cv_func_shl_load" = xyes; then :
12178  
12179   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12180  
# Line 11338 | Line 12182 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12182   else
12183    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12184   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12185 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12185 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12186    $as_echo_n "(cached) " >&6
12187   else
12188    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12216 | LIBS=$ac_check_lib_save_LIBS
12216   fi
12217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12218   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12219 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12219 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12220  
12221   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12222  
# Line 11388 | Line 12232 | case $host_os in
12232   darwin[1567].*)
12233   # We only want this for pre-Mac OS X 10.4.
12234    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12235 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12235 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12236  
12237   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12238  
# Line 11402 | Line 12246 | beos*)
12246   cygwin* | mingw* | os2* | pw32*)
12247    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12248   "
12249 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12249 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12250    ac_have_decl=1
12251   else
12252    ac_have_decl=0
# Line 11418 | Line 12262 | esac
12262  
12263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12264   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12265 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12265 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12266    $as_echo_n "(cached) " >&6
12267   else
12268    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12296 | LIBS=$ac_check_lib_save_LIBS
12296   fi
12297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12298   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12299 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12299 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12300  
12301   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12302  
# Line 11486 | Line 12330 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12330  
12331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12332   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12333 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12333 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12334    $as_echo_n "(cached) " >&6
12335   else
12336    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12380 | if test x"$lt_cv_sys_symbol_underscore"
12380       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12381          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12382   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12383 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12383 > if ${libltdl_cv_need_uscore+:} false; then :
12384    $as_echo_n "(cached) " >&6
12385   else
12386    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12392 | else
12392    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12393    lt_status=$lt_dlunknown
12394    cat > conftest.$ac_ext <<_LT_EOF
12395 < #line 11551 "configure"
12395 > #line $LINENO "configure"
12396   #include "confdefs.h"
12397  
12398   #if HAVE_DLFCN_H
# Line 11589 | Line 12433 | else
12433   #  endif
12434   #endif
12435  
12436 < void fnord() { int i=42;}
12436 > /* When -fvisbility=hidden is used, assume the code has been annotated
12437 >   correspondingly for the symbols needed.  */
12438 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12439 > int fnord () __attribute__((visibility("default")));
12440 > #endif
12441 >
12442 > int fnord () { return 42; }
12443   int main ()
12444   {
12445    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12448 | int main ()
12448    if (self)
12449      {
12450        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12451 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12451 >      else
12452 >        {
12453 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12454 >          else puts (dlerror ());
12455 >        }
12456        /* dlclose (self); */
12457      }
12458    else
# Line 11642 | Line 12496 | fi
12496  
12497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12498   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12499 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12499 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12500    $as_echo_n "(cached) " >&6
12501   else
12502    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12528 | else
12528    freebsd* | dragonfly*)
12529      lt_cv_sys_dlopen_deplibs=yes
12530      ;;
12531 <  gnu* | linux* | k*bsd*-gnu)
12531 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12532      # GNU and its variants, using gnu ld.so (Glibc)
12533      lt_cv_sys_dlopen_deplibs=yes
12534      ;;
# Line 11748 | Line 12602 | for ac_header in argz.h
12602   do :
12603    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12604   "
12605 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12605 > if test "x$ac_cv_header_argz_h" = xyes; then :
12606    cat >>confdefs.h <<_ACEOF
12607   #define HAVE_ARGZ_H 1
12608   _ACEOF
# Line 11762 | Line 12616 | ac_fn_c_check_type "$LINENO" "error_t" "
12616   #  include <argz.h>
12617   #endif
12618   "
12619 < if test "x$ac_cv_type_error_t" = x""yes; then :
12619 > if test "x$ac_cv_type_error_t" = xyes; then :
12620  
12621   cat >>confdefs.h <<_ACEOF
12622   #define HAVE_ERROR_T 1
# Line 11785 | Line 12639 | for ac_func in argz_add argz_append argz
12639   do :
12640    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12641   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12642 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12642 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12643    cat >>confdefs.h <<_ACEOF
12644   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12645   _ACEOF
# Line 11803 | Line 12656 | done
12656   if test -z "$ARGZ_H"; then :
12657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12658   $as_echo_n "checking if argz actually works... " >&6; }
12659 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12659 > if ${lt_cv_sys_argz_works+:} false; then :
12660    $as_echo_n "(cached) " >&6
12661   else
12662    case $host_os in #(
# Line 11834 | Line 12687 | else
12687   fi
12688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12689   $as_echo "$lt_cv_sys_argz_works" >&6; }
12690 <     if test $lt_cv_sys_argz_works = yes; then :
12690 >     if test "$lt_cv_sys_argz_works" = yes; then :
12691  
12692   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12693  
# Line 11851 | Line 12704 | fi
12704  
12705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12706   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12707 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12707 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12708    $as_echo_n "(cached) " >&6
12709   else
12710    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 12722 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12722  
12723   fi
12724  
11872
11873
12725   # Set options
12726  
12727  
# Line 11883 | Line 12734 | fi
12734  
12735  
12736  
11886
12737   # Check whether --with-included_ltdl was given.
12738   if test "${with_included_ltdl+set}" = set; then :
12739    withval=$with_included_ltdl;
# Line 11896 | Line 12746 | if test "x$with_included_ltdl" != xyes;
12746    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12747  
12748   "
12749 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12749 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12750    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12751              #include <ltdl.h>
12752   "
12753 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12753 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12755   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12756 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12756 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12757    $as_echo_n "(cached) " >&6
12758   else
12759    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 12787 | LIBS=$ac_check_lib_save_LIBS
12787   fi
12788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12789   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12790 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12790 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12791    with_included_ltdl=no
12792   else
12793    with_included_ltdl=yes
# Line 11957 | Line 12807 | fi
12807  
12808  
12809  
11960
11961
11962
11963
11964
12810   # Check whether --with-ltdl_include was given.
12811   if test "${with_ltdl_include+set}" = set; then :
12812    withval=$with_ltdl_include;
# Line 11971 | Line 12816 | fi
12816   if test -n "$with_ltdl_include"; then
12817    if test -f "$with_ltdl_include/ltdl.h"; then :
12818    else
12819 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12819 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12820    fi
12821   else
12822    with_ltdl_include=no
# Line 11987 | Line 12832 | fi
12832   if test -n "$with_ltdl_lib"; then
12833    if test -f "$with_ltdl_lib/libltdl.la"; then :
12834    else
12835 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12835 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12836    fi
12837   else
12838    with_ltdl_lib=no
# Line 11996 | Line 12841 | fi
12841   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12842    ,yes,no,no,)
12843          case $enable_ltdl_convenience in
12844 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12844 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12845    "") enable_ltdl_convenience=yes
12846        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12847   esac
# Line 12024 | Line 12869 | $as_echo "#define HAVE_LTDL 1" >>confdef
12869          LTDLINCL=
12870          ;;
12871    ,no*,no,*)
12872 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12872 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12873          ;;
12874    *)    with_included_ltdl=no
12875          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 12920 | fi
12920  
12921  
12922  
12078    subdirs="$subdirs libltdl"
12079
12080
12923  
12924  
12925  
# Line 12094 | Line 12936 | do :
12936    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12937   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12938   "
12939 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
12939 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12940    cat >>confdefs.h <<_ACEOF
12941   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12942   _ACEOF
# Line 12109 | Line 12950 | for ac_func in closedir opendir readdir
12950   do :
12951    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12952   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12953 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
12953 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12954    cat >>confdefs.h <<_ACEOF
12955   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12956   _ACEOF
# Line 12127 | Line 12967 | for ac_func in strlcat strlcpy
12967   do :
12968    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12969   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12970 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
12970 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12971    cat >>confdefs.h <<_ACEOF
12972   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12973   _ACEOF
# Line 12148 | Line 12987 | cat >>confdefs.h <<_ACEOF
12987   _ACEOF
12988  
12989  
12990 + name=
12991 + eval "lt_libprefix=\"$libname_spec\""
12992 +
12993 + cat >>confdefs.h <<_ACEOF
12994 + #define LT_LIBPREFIX "$lt_libprefix"
12995 + _ACEOF
12996 +
12997 +
12998   name=ltdl
12999 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12999 > eval "LTDLOPEN=\"$libname_spec\""
13000  
13001  
13002  
# Line 12161 | Line 13008 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13008   # Only expand once:
13009  
13010  
13011 + LIBTOOL="$LIBTOOL --silent"
13012  
13013   # Checks for libraries.
13014  
13015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13016   $as_echo_n "checking for library containing socket... " >&6; }
13017 < if test "${ac_cv_search_socket+set}" = set; then :
13017 > if ${ac_cv_search_socket+:} false; then :
13018    $as_echo_n "(cached) " >&6
13019   else
13020    ac_func_search_save_LIBS=$LIBS
# Line 12200 | Line 13048 | for ac_lib in '' socket; do
13048   fi
13049   rm -f core conftest.err conftest.$ac_objext \
13050      conftest$ac_exeext
13051 <  if test "${ac_cv_search_socket+set}" = set; then :
13051 >  if ${ac_cv_search_socket+:} false; then :
13052    break
13053   fi
13054   done
13055 < if test "${ac_cv_search_socket+set}" = set; then :
13055 > if ${ac_cv_search_socket+:} false; then :
13056  
13057   else
13058    ac_cv_search_socket=no
# Line 12219 | Line 13067 | if test "$ac_res" != no; then :
13067    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13068  
13069   else
13070 <  as_fn_error "socket library not found" "$LINENO" 5
13070 >  as_fn_error $? "socket library not found" "$LINENO" 5
13071 > fi
13072 >
13073 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13074 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13075 > if ${ac_cv_search_inet_ntoa+:} false; then :
13076 >  $as_echo_n "(cached) " >&6
13077 > else
13078 >  ac_func_search_save_LIBS=$LIBS
13079 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 > /* end confdefs.h.  */
13081 >
13082 > /* Override any GCC internal prototype to avoid an error.
13083 >   Use char because int might match the return type of a GCC
13084 >   builtin and then its argument prototype would still apply.  */
13085 > #ifdef __cplusplus
13086 > extern "C"
13087 > #endif
13088 > char inet_ntoa ();
13089 > int
13090 > main ()
13091 > {
13092 > return inet_ntoa ();
13093 >  ;
13094 >  return 0;
13095 > }
13096 > _ACEOF
13097 > for ac_lib in '' nsl; do
13098 >  if test -z "$ac_lib"; then
13099 >    ac_res="none required"
13100 >  else
13101 >    ac_res=-l$ac_lib
13102 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13103 >  fi
13104 >  if ac_fn_c_try_link "$LINENO"; then :
13105 >  ac_cv_search_inet_ntoa=$ac_res
13106 > fi
13107 > rm -f core conftest.err conftest.$ac_objext \
13108 >    conftest$ac_exeext
13109 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13110 >  break
13111 > fi
13112 > done
13113 > if ${ac_cv_search_inet_ntoa+:} false; then :
13114 >
13115 > else
13116 >  ac_cv_search_inet_ntoa=no
13117 > fi
13118 > rm conftest.$ac_ext
13119 > LIBS=$ac_func_search_save_LIBS
13120 > fi
13121 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13122 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13123 > ac_res=$ac_cv_search_inet_ntoa
13124 > if test "$ac_res" != no; then :
13125 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13126 >
13127 > fi
13128 >
13129 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13130 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13131 > if ${ac_cv_search_inet_aton+:} false; then :
13132 >  $as_echo_n "(cached) " >&6
13133 > else
13134 >  ac_func_search_save_LIBS=$LIBS
13135 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136 > /* end confdefs.h.  */
13137 >
13138 > /* Override any GCC internal prototype to avoid an error.
13139 >   Use char because int might match the return type of a GCC
13140 >   builtin and then its argument prototype would still apply.  */
13141 > #ifdef __cplusplus
13142 > extern "C"
13143 > #endif
13144 > char inet_aton ();
13145 > int
13146 > main ()
13147 > {
13148 > return inet_aton ();
13149 >  ;
13150 >  return 0;
13151 > }
13152 > _ACEOF
13153 > for ac_lib in '' resolv; do
13154 >  if test -z "$ac_lib"; then
13155 >    ac_res="none required"
13156 >  else
13157 >    ac_res=-l$ac_lib
13158 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13159 >  fi
13160 >  if ac_fn_c_try_link "$LINENO"; then :
13161 >  ac_cv_search_inet_aton=$ac_res
13162 > fi
13163 > rm -f core conftest.err conftest.$ac_objext \
13164 >    conftest$ac_exeext
13165 >  if ${ac_cv_search_inet_aton+:} false; then :
13166 >  break
13167 > fi
13168 > done
13169 > if ${ac_cv_search_inet_aton+:} false; then :
13170 >
13171 > else
13172 >  ac_cv_search_inet_aton=no
13173 > fi
13174 > rm conftest.$ac_ext
13175 > LIBS=$ac_func_search_save_LIBS
13176 > fi
13177 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13178 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13179 > ac_res=$ac_cv_search_inet_aton
13180 > if test "$ac_res" != no; then :
13181 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13182 >
13183   fi
13184  
13185    for ac_func in inet_aton inet_ntop inet_pton
13186   do :
13187    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13188   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13189 < eval as_val=\$$as_ac_var
12230 <   if test "x$as_val" = x""yes; then :
13189 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13190    cat >>confdefs.h <<_ACEOF
13191   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192   _ACEOF
# Line 12240 | Line 13199 | done
13199     #include <netdb.h>
13200  
13201   "
13202 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13202 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13203  
13204   cat >>confdefs.h <<_ACEOF
13205   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12253 | Line 13212 | ac_fn_c_check_type "$LINENO" "struct soc
13212     #include <netdb.h>
13213  
13214   "
13215 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13215 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13216  
13217   cat >>confdefs.h <<_ACEOF
13218   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12266 | Line 13225 | ac_fn_c_check_type "$LINENO" "struct add
13225     #include <netdb.h>
13226  
13227   "
13228 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13228 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13229  
13230   cat >>confdefs.h <<_ACEOF
13231   #define HAVE_STRUCT_ADDRINFO 1
# Line 12278 | Line 13237 | fi
13237    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13238    <sys/socket.h>
13239   "
13240 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13240 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13241  
13242   cat >>confdefs.h <<_ACEOF
13243   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12289 | Line 13248 | fi
13248  
13249  
13250  
13251 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13252 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13253 <
12295 < cat >>confdefs.h <<_ACEOF
12296 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12297 < _ACEOF
12298 <
12299 <
12300 < else
13251 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13252 > "
13253 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13254  
13255   $as_echo "#define IPV6 1" >>confdefs.h
13256  
# Line 12308 | Line 13261 | fi
13261   # Checks for typedefs, structures, and compiler characteristics.
13262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13263   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13264 < if test "${ac_cv_c_bigendian+set}" = set; then :
13264 > if ${ac_cv_c_bigendian+:} false; then :
13265    $as_echo_n "(cached) " >&6
13266   else
13267    ac_cv_c_bigendian=unknown
# Line 12526 | Line 13479 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13479  
13480       ;; #(
13481     *)
13482 <     as_fn_error "unknown endianness
13482 >     as_fn_error $? "unknown endianness
13483   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13484   esac
13485  
# Line 12539 | Line 13492 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13492   do :
13493    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13494   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13495 < eval as_val=\$$as_ac_var
12543 <   if test "x$as_val" = x""yes; then :
13495 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13496    cat >>confdefs.h <<_ACEOF
13497   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13498   _ACEOF
# Line 12560 | Line 13512 | done
13512  
13513  
13514  
13515 +
13516 +
13517   # Checks for header files.
13518  
13519  
# Line 12569 | Line 13523 | do :
13523    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13524   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13525   "
13526 < eval as_val=\$$as_ac_Header
12573 <   if test "x$as_val" = x""yes; then :
13526 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13527    cat >>confdefs.h <<_ACEOF
13528   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13529   _ACEOF
# Line 12627 | Line 13580 | fi
13580  
13581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13582   $as_echo_n "checking for library containing crypt... " >&6; }
13583 < if test "${ac_cv_search_crypt+set}" = set; then :
13583 > if ${ac_cv_search_crypt+:} false; then :
13584    $as_echo_n "(cached) " >&6
13585   else
13586    ac_func_search_save_LIBS=$LIBS
# Line 12661 | Line 13614 | for ac_lib in '' crypt; do
13614   fi
13615   rm -f core conftest.err conftest.$ac_objext \
13616      conftest$ac_exeext
13617 <  if test "${ac_cv_search_crypt+set}" = set; then :
13617 >  if ${ac_cv_search_crypt+:} false; then :
13618    break
13619   fi
13620   done
13621 < if test "${ac_cv_search_crypt+set}" = set; then :
13621 > if ${ac_cv_search_crypt+:} false; then :
13622  
13623   else
13624    ac_cv_search_crypt=no
# Line 12701 | Line 13654 | fi
13654   if test "$zlib" = "yes"; then :
13655  
13656    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13657 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13657 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13659   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13660 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13660 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13661    $as_echo_n "(cached) " >&6
13662   else
13663    ac_check_lib_save_LIBS=$LIBS
# Line 12738 | Line 13691 | LIBS=$ac_check_lib_save_LIBS
13691   fi
13692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13693   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13694 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13694 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13695  
13696        LIBS="-lz $LIBS"
13697  
# Line 12776 | Line 13729 | fi
13729   if test "$libpcre" = "yes"; then :
13730  
13731    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13732 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13732 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13733    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13734   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13735 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13735 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13736    $as_echo_n "(cached) " >&6
13737   else
13738    ac_check_lib_save_LIBS=$LIBS
# Line 12813 | Line 13766 | LIBS=$ac_check_lib_save_LIBS
13766   fi
13767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13768   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13769 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13769 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13770  
13771        LIBS="-lpcre $LIBS"
13772  
# Line 12908 | Line 13861 | else
13861    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862   /* end confdefs.h.  */
13863  
13864 +
13865      #include <openssl/opensslv.h>
13866      #include <stdlib.h>
13867   int
13868   main ()
13869   {
13870 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13870 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13871    ;
13872    return 0;
13873   }
# Line 12934 | Line 13888 | $as_echo "found" >&6; }
13888  
13889      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13890   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13891 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13891 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13892    $as_echo_n "(cached) " >&6
13893   else
13894    ac_check_lib_save_LIBS=$LIBS
# Line 12968 | Line 13922 | LIBS=$ac_check_lib_save_LIBS
13922   fi
13923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13924   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13925 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13925 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13926    cat >>confdefs.h <<_ACEOF
13927   #define HAVE_LIBCRYPTO 1
13928   _ACEOF
# Line 12987 | Line 13941 | fi
13941   do :
13942    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13943   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13944 < eval as_val=\$$as_ac_var
12991 <   if test "x$as_val" = x""yes; then :
13944 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13945    cat >>confdefs.h <<_ACEOF
13946   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13947   _ACEOF
# Line 13210 | Line 14163 | _ACEOF
14163    if test "$cross_compiling" = yes; then :
14164    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14165   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14166 < as_fn_error "cannot run test program while cross compiling
14167 < See \`config.log' for more details." "$LINENO" 5; }
14166 > as_fn_error $? "cannot run test program while cross compiling
14167 > See \`config.log' for more details" "$LINENO" 5; }
14168   else
14169    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170   /* end confdefs.h.  */
# Line 13244 | Line 14197 | else
14197   #endif
14198   _syscall1(int, epoll_create, int, size)
14199   #endif
13247 main() { return epoll_create(256) == -1 ? 1 : 0; }
14200  
14201 + int
14202 + main ()
14203 + {
14204 + return epoll_create(256) == -1 ? 1 : 0
14205 +  ;
14206 +  return 0;
14207 + }
14208   _ACEOF
14209   if ac_fn_c_try_run "$LINENO"; then :
14210    is_epoll_mechanism_available="yes"
# Line 13315 | Line 14274 | _ACEOF
14274    if test "$cross_compiling" = yes; then :
14275    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14276   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14277 < as_fn_error "cannot run test program while cross compiling
14278 < See \`config.log' for more details." "$LINENO" 5; }
14277 > as_fn_error $? "cannot run test program while cross compiling
14278 > See \`config.log' for more details" "$LINENO" 5; }
14279   else
14280    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281   /* end confdefs.h.  */
14282  
14283 + #define _GNU_SOURCE
14284   #include <fcntl.h>
14285 < #ifdef F_SETSIG
13326 < main () { return 0; } /* F_SETSIG defined */
13327 < #else
13328 < main () { return 1; } /* F_SETSIG not defined */
13329 < #endif
14285 > static unsigned int have_f_setsig = 0;
14286  
14287   int
14288   main ()
14289   {
14290  
14291 + #ifdef F_SETSIG
14292 +  have_f_setsig = 1;
14293 + #endif
14294 +  return have_f_setsig == 0;
14295 +
14296    ;
14297    return 0;
14298   }
# Line 13465 | Line 14426 | rm -f core conftest.err conftest.$ac_obj
14426      if test "$optimal_iopoll_mechanism" = "none" ; then
14427        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14428   $as_echo "none" >&6; }
14429 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14429 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14430      else
14431        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14432        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13480 | Line 14441 | $as_echo "$selected_iopoll_mechanism" >&
14441      else
14442        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14443   $as_echo "none" >&6; }
14444 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14444 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14445      fi
14446    fi
14447        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13521 | Line 14482 | _ACEOF
14482  
14483  
14484  
13524
13525 # Check whether --with-syslog-facility was given.
13526 if test "${with_syslog_facility+set}" = set; then :
13527  withval=$with_syslog_facility; syslog_facility="$withval"
13528 else
13529  syslog_facility="LOG_LOCAL4"
13530 fi
13531
13532
13533 cat >>confdefs.h <<_ACEOF
13534 #define LOG_FACILITY $syslog_facility
13535 _ACEOF
13536
13537
13538
14485    # Check whether --enable-efnet was given.
14486   if test "${enable_efnet+set}" = set; then :
14487    enableval=$enable_efnet; efnet="$enableval"
# Line 13548 | Line 14494 | fi
14494  
14495   $as_echo "#define EFNET 1" >>confdefs.h
14496  
13551
13552 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13553
14497          else
14498                  use_efnet="no"
14499    fi
# Line 13609 | Line 14552 | fi
14552    fi
14553  
14554  
13612  for ac_header in syslog.h sys/syslog.h
13613 do :
13614  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13615 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13616 eval as_val=\$$as_ac_Header
13617   if test "x$as_val" = x""yes; then :
13618  cat >>confdefs.h <<_ACEOF
13619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13620 _ACEOF
13621
13622 fi
13623
13624 done
13625
13626  # Check whether --enable-syslog was given.
13627 if test "${enable_syslog+set}" = set; then :
13628  enableval=$enable_syslog; syslog="$enableval"
13629 else
13630  syslog="no"
13631 fi
13632
13633  if test "$enableval" != "no" ; then
13634    for option in $enableval ; do
13635      case "$option" in
13636        users)
13637 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13638 ;;
13639        oper)
13640 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13641 ;;
13642        yes) : ;;
13643        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13644      esac
13645    done
13646
13647 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13648
13649  fi
13650
13651
14555  
14556    prefix_NONE=
14557    exec_prefix_NONE=
# Line 13735 | Line 14638 | _ACEOF
14638    test "$exec_prefix_NONE" && exec_prefix=NONE
14639  
14640  
14641 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14641 > ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14642  
14643  
14644   cat >confcache <<\_ACEOF
# Line 13802 | Line 14705 | $as_echo "$as_me: WARNING: cache variabl
14705       :end' >>confcache
14706   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14707    if test -w "$cache_file"; then
14708 <    test "x$cache_file" != "x/dev/null" &&
14708 >    if test "x$cache_file" != "x/dev/null"; then
14709        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14710   $as_echo "$as_me: updating cache $cache_file" >&6;}
14711 <    cat confcache >$cache_file
14711 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14712 >        cat confcache >"$cache_file"
14713 >      else
14714 >        case $cache_file in #(
14715 >        */* | ?:*)
14716 >          mv -f confcache "$cache_file"$$ &&
14717 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14718 >        *)
14719 >          mv -f confcache "$cache_file" ;;
14720 >        esac
14721 >      fi
14722 >    fi
14723    else
14724      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14725   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13821 | Line 14735 | DEFS=-DHAVE_CONFIG_H
14735  
14736   ac_libobjs=
14737   ac_ltlibobjs=
14738 + U=
14739   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14740    # 1. Remove the extension, and $U if already installed.
14741    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13844 | Line 14759 | else
14759   fi
14760  
14761   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14762 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14762 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14763   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14764   fi
14765   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14766 <  as_fn_error "conditional \"AMDEP\" was never defined.
14766 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14767   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14768   fi
14769   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14770 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14770 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14771   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14772   fi
14773   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14774 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14774 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14775   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14776   fi
14777   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14778 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14778 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14779   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14780   fi
14781   LT_CONFIG_H=config.h
# Line 13882 | Line 14797 | LT_CONFIG_H=config.h
14797  
14798  
14799   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14800 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14800 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14801   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14802   fi
14803   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14804 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14804 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14805   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806   fi
14807   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14808 <  as_fn_error "conditional \"EFNET\" was never defined.
14808 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14809   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810   fi
14811  
14812 < : ${CONFIG_STATUS=./config.status}
14812 > : "${CONFIG_STATUS=./config.status}"
14813   ac_write_fail=0
14814   ac_clean_files_save=$ac_clean_files
14815   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13995 | Line 14910 | fi
14910   IFS=" ""        $as_nl"
14911  
14912   # Find who we are.  Look in the path if we contain no directory separator.
14913 + as_myself=
14914   case $0 in #((
14915    *[\\/]* ) as_myself=$0 ;;
14916    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14040 | Line 14956 | export LANGUAGE
14956   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14957  
14958  
14959 < # as_fn_error ERROR [LINENO LOG_FD]
14960 < # ---------------------------------
14959 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14960 > # ----------------------------------------
14961   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14962   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14963 < # script with status $?, using 1 if that was 0.
14963 > # script with STATUS, using 1 if that was 0.
14964   as_fn_error ()
14965   {
14966 <  as_status=$?; test $as_status -eq 0 && as_status=1
14967 <  if test "$3"; then
14968 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14969 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14966 >  as_status=$1; test $as_status -eq 0 && as_status=1
14967 >  if test "$4"; then
14968 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14969 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14970    fi
14971 <  $as_echo "$as_me: error: $1" >&2
14971 >  $as_echo "$as_me: error: $2" >&2
14972    as_fn_exit $as_status
14973   } # as_fn_error
14974  
# Line 14248 | Line 15164 | $as_echo X"$as_dir" |
15164        test -d "$as_dir" && break
15165      done
15166      test -z "$as_dirs" || eval "mkdir $as_dirs"
15167 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15167 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15168  
15169  
15170   } # as_fn_mkdir_p
# Line 14301 | Line 15217 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15217   # report actual input values of CONFIG_FILES etc. instead of their
15218   # values after options handling.
15219   ac_log="
15220 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15221 < generated by GNU Autoconf 2.65.  Invocation command line was
15220 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15221 > generated by GNU Autoconf 2.68.  Invocation command line was
15222  
15223    CONFIG_FILES    = $CONFIG_FILES
15224    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14367 | Line 15283 | _ACEOF
15283   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15284   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15285   ac_cs_version="\\
15286 < ircd-hybrid config.status 7.3-rc1
15287 < configured by $0, generated by GNU Autoconf 2.65,
15286 > ircd-hybrid config.status 8beta1
15287 > configured by $0, generated by GNU Autoconf 2.68,
15288    with options \\"\$ac_cs_config\\"
15289  
15290 < Copyright (C) 2009 Free Software Foundation, Inc.
15290 > Copyright (C) 2010 Free Software Foundation, Inc.
15291   This config.status script is free software; the Free Software Foundation
15292   gives unlimited permission to copy, distribute and modify it."
15293  
# Line 14389 | Line 15305 | ac_need_defaults=:
15305   while test $# != 0
15306   do
15307    case $1 in
15308 <  --*=*)
15308 >  --*=?*)
15309      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15310      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15311      ac_shift=:
15312      ;;
15313 +  --*=)
15314 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15315 +    ac_optarg=
15316 +    ac_shift=:
15317 +    ;;
15318    *)
15319      ac_option=$1
15320      ac_optarg=$2
# Line 14415 | Line 15336 | do
15336      $ac_shift
15337      case $ac_optarg in
15338      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15339 +    '') as_fn_error $? "missing file argument" ;;
15340      esac
15341      as_fn_append CONFIG_FILES " '$ac_optarg'"
15342      ac_need_defaults=false;;
# Line 14427 | Line 15349 | do
15349      ac_need_defaults=false;;
15350    --he | --h)
15351      # Conflict between --help and --header
15352 <    as_fn_error "ambiguous option: \`$1'
15352 >    as_fn_error $? "ambiguous option: \`$1'
15353   Try \`$0 --help' for more information.";;
15354    --help | --hel | -h )
15355      $as_echo "$ac_cs_usage"; exit ;;
# Line 14436 | Line 15358 | Try \`$0 --help' for more information.";
15358      ac_cs_silent=: ;;
15359  
15360    # This is an error.
15361 <  -*) as_fn_error "unrecognized option: \`$1'
15361 >  -*) as_fn_error $? "unrecognized option: \`$1'
15362   Try \`$0 --help' for more information." ;;
15363  
15364    *) as_fn_append ac_config_targets " $1"
# Line 14490 | Line 15412 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15412   sed_quote_subst='$sed_quote_subst'
15413   double_quote_subst='$double_quote_subst'
15414   delay_variable_subst='$delay_variable_subst'
15415 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15416 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15417 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15418 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15419 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15420 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15421 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15422 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15423 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15424 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15425 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15426 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15427 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15428 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15429 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15430 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15431 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15432 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15433 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15434 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15435 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15436 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15437 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15438 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15439 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15440 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15441 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15442 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15443 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15444 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15445 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15446 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15447 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15448 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15449 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15450 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15451 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15452 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15453 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15454 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15455 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15456 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15457 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15458 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15459 < lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15460 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15461 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15462 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15463 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15464 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15465 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15466 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15467 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15468 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15469 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15470 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15471 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15472 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15473 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15474 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15475 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15476 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15477 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15478 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15479 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15480 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15481 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15482 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15483 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15484 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15485 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15486 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15487 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15488 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15489 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15490 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15491 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15492 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15493 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15494 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15495 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15496 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15497 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15498 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15499 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15500 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15501 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15502 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15503 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15504 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15505 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15506 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15507 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15508 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15509 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15510 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15511 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15512 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15513 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15514 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15515 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15516 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15517 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15518 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15519 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15520 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15521 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15522 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15523 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15524 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15525 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15526 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15527 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15528 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15529 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15530 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15531 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15532 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15415 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15416 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15417 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15418 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15419 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15420 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15421 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15422 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15423 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15424 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15425 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15426 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15427 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15428 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15429 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15430 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15431 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15432 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15433 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15434 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15435 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15436 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15437 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15438 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15439 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15440 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15441 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15442 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15443 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15444 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15445 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15446 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15447 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15448 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15449 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15450 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15451 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15452 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15453 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15454 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15455 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15456 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15457 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15458 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15459 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15460 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15461 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15462 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15463 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15464 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15465 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15466 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15467 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15468 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15469 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15470 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15471 > 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"`'
15472 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15473 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15474 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15475 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15476 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15477 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15478 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15479 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15480 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15481 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15482 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15483 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15484 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15485 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15486 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15487 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15488 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15489 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15490 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15491 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15492 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15493 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15494 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15495 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15496 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15497 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15498 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15499 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15500 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15501 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15502 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15503 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15504 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15505 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15506 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15507 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15508 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15509 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15510 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15511 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15512 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15513 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15514 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15515 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15516 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15517 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15518 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15519 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15520 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15521 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15522 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15523 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15524 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15525 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15526 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15527 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15528 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15529 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15530 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15531 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15532 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15533 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15534 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15535 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15536 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15537 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15538 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15539 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15540 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15541 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15542 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15543 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15544 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15545  
15546   LTCC='$LTCC'
15547   LTCFLAGS='$LTCFLAGS'
15548   compiler='$compiler_DEFAULT'
15549  
15550 + # A function that is used when there is no print builtin or printf.
15551 + func_fallback_echo ()
15552 + {
15553 +  eval 'cat <<_LTECHO_EOF
15554 + \$1
15555 + _LTECHO_EOF'
15556 + }
15557 +
15558   # Quote evaled strings.
15559 < for var in SED \
15559 > for var in SHELL \
15560 > ECHO \
15561 > PATH_SEPARATOR \
15562 > SED \
15563   GREP \
15564   EGREP \
15565   FGREP \
# Line 14627 | Line 15572 | reload_flag \
15572   OBJDUMP \
15573   deplibs_check_method \
15574   file_magic_cmd \
15575 + file_magic_glob \
15576 + want_nocaseglob \
15577 + DLLTOOL \
15578 + sharedlib_from_linklib_cmd \
15579   AR \
15580   AR_FLAGS \
15581 + archiver_list_spec \
15582   STRIP \
15583   RANLIB \
15584   CC \
# Line 14638 | Line 15588 | lt_cv_sys_global_symbol_pipe \
15588   lt_cv_sys_global_symbol_to_cdecl \
15589   lt_cv_sys_global_symbol_to_c_name_address \
15590   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15591 < SHELL \
14642 < ECHO \
15591 > nm_file_list_spec \
15592   lt_prog_compiler_no_builtin_flag \
14644 lt_prog_compiler_wl \
15593   lt_prog_compiler_pic \
15594 + lt_prog_compiler_wl \
15595   lt_prog_compiler_static \
15596   lt_cv_prog_compiler_c_o \
15597   need_locks \
15598 + MANIFEST_TOOL \
15599   DSYMUTIL \
15600   NMEDIT \
15601   LIPO \
# Line 14659 | Line 15609 | with_gnu_ld \
15609   allow_undefined_flag \
15610   no_undefined_flag \
15611   hardcode_libdir_flag_spec \
14662 hardcode_libdir_flag_spec_ld \
15612   hardcode_libdir_separator \
14664 fix_srcfile_path \
15613   exclude_expsyms \
15614   include_expsyms \
15615   file_list_spec \
# Line 14669 | Line 15617 | variables_saved_for_relink \
15617   libname_spec \
15618   library_names_spec \
15619   soname_spec \
15620 + install_override_mode \
15621   finish_eval \
15622   old_striplib \
15623   striplib; do
15624 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15624 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15625      *[\\\\\\\`\\"\\\$]*)
15626 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15626 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15627        ;;
15628      *)
15629        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14696 | Line 15645 | module_cmds \
15645   module_expsym_cmds \
15646   export_symbols_cmds \
15647   prelink_cmds \
15648 + postlink_cmds \
15649   postinstall_cmds \
15650   postuninstall_cmds \
15651   finish_cmds \
15652   sys_lib_search_path_spec \
15653   sys_lib_dlsearch_path_spec; do
15654 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15654 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15655      *[\\\\\\\`\\"\\\$]*)
15656 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15656 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15657        ;;
15658      *)
15659        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14711 | Line 15661 | sys_lib_dlsearch_path_spec; do
15661      esac
15662   done
15663  
14714 # Fix-up fallback echo if it was mangled by the above quoting rules.
14715 case \$lt_ECHO in
14716 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14717  ;;
14718 esac
14719
15664   ac_aux_dir='$ac_aux_dir'
15665   xsi_shell='$xsi_shell'
15666   lt_shell_append='$lt_shell_append'
# Line 14750 | Line 15694 | do
15694      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15695      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15696      "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14753    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14754    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14755    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
15697      "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15698      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15699      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15700      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15701 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15702      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15703      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15704      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14766 | Line 15708 | do
15708      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15709      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15710  
15711 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15711 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15712    esac
15713   done
15714  
# Line 14789 | Line 15731 | fi
15731   # after its creation but before its name has been assigned to `$tmp'.
15732   $debug ||
15733   {
15734 <  tmp=
15734 >  tmp= ac_tmp=
15735    trap 'exit_status=$?
15736 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15736 >  : "${ac_tmp:=$tmp}"
15737 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15738   ' 0
15739    trap 'as_fn_exit 1' 1 2 13 15
15740   }
# Line 14799 | Line 15742 | $debug ||
15742  
15743   {
15744    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15745 <  test -n "$tmp" && test -d "$tmp"
15745 >  test -d "$tmp"
15746   }  ||
15747   {
15748    tmp=./conf$$-$RANDOM
15749    (umask 077 && mkdir "$tmp")
15750 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15750 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15751 > ac_tmp=$tmp
15752  
15753   # Set up the scripts for CONFIG_FILES section.
15754   # No need to generate them if there are no CONFIG_FILES.
# Line 14821 | Line 15765 | if test "x$ac_cr" = x; then
15765   fi
15766   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15767   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15768 <  ac_cs_awk_cr='\r'
15768 >  ac_cs_awk_cr='\\r'
15769   else
15770    ac_cs_awk_cr=$ac_cr
15771   fi
15772  
15773 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15773 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15774   _ACEOF
15775  
15776  
# Line 14835 | Line 15779 | _ACEOF
15779    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15780    echo "_ACEOF"
15781   } >conf$$subs.sh ||
15782 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15783 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15782 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15783 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15784   ac_delim='%!_!# '
15785   for ac_last_try in false false false false false :; do
15786    . ./conf$$subs.sh ||
15787 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15787 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15788  
15789    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15790    if test $ac_delim_n = $ac_delim_num; then
15791      break
15792    elif $ac_last_try; then
15793 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15793 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15794    else
15795      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15796    fi
# Line 14854 | Line 15798 | done
15798   rm -f conf$$subs.sh
15799  
15800   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15801 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15801 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15802   _ACEOF
15803   sed -n '
15804   h
# Line 14902 | Line 15846 | t delim
15846   rm -f conf$$subs.awk
15847   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848   _ACAWK
15849 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15849 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15850    for (key in S) S_is_set[key] = 1
15851    FS = ""
15852  
# Line 14934 | Line 15878 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15878    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15879   else
15880    cat
15881 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15882 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15881 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15882 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15883   _ACEOF
15884  
15885 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15886 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15885 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15886 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15887   # trailing colons and then remove the whole line if VPATH becomes empty
15888   # (actually we leave an empty line to preserve line numbers).
15889   if test "x$srcdir" = x.; then
15890 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15891 < s/:*\$(srcdir):*/:/
15892 < s/:*\${srcdir}:*/:/
15893 < s/:*@srcdir@:*/:/
15894 < s/^\([^=]*=[     ]*\):*/\1/
15890 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15891 > h
15892 > s///
15893 > s/^/:/
15894 > s/[      ]*$/:/
15895 > s/:\$(srcdir):/:/g
15896 > s/:\${srcdir}:/:/g
15897 > s/:@srcdir@:/:/g
15898 > s/^:*//
15899   s/:*$//
15900 + x
15901 + s/\(=[   ]*\).*/\1/
15902 + G
15903 + s/\n//
15904   s/^[^=]*=[       ]*$//
15905   }'
15906   fi
# Line 14960 | Line 15912 | fi # test -n "$CONFIG_FILES"
15912   # No need to generate them if there are no CONFIG_HEADERS.
15913   # This happens for instance with `./config.status Makefile'.
15914   if test -n "$CONFIG_HEADERS"; then
15915 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15915 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15916   BEGIN {
15917   _ACEOF
15918  
# Line 14972 | Line 15924 | _ACEOF
15924   # handling of long lines.
15925   ac_delim='%!_!# '
15926   for ac_last_try in false false :; do
15927 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15928 <  if test -z "$ac_t"; then
15927 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15928 >  if test -z "$ac_tt"; then
15929      break
15930    elif $ac_last_try; then
15931 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15931 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15932    else
15933      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15934    fi
# Line 15061 | Line 16013 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16013   _ACAWK
16014   _ACEOF
16015   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16016 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16016 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16017   fi # test -n "$CONFIG_HEADERS"
16018  
16019  
# Line 15074 | Line 16026 | do
16026    esac
16027    case $ac_mode$ac_tag in
16028    :[FHL]*:*);;
16029 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16029 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16030    :[FH]-) ac_tag=-:-;;
16031    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16032    esac
# Line 15093 | Line 16045 | do
16045      for ac_f
16046      do
16047        case $ac_f in
16048 <      -) ac_f="$tmp/stdin";;
16048 >      -) ac_f="$ac_tmp/stdin";;
16049        *) # Look for the file first in the build tree, then in the source tree
16050           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16051           # because $ac_f cannot contain `:'.
# Line 15102 | Line 16054 | do
16054             [\\/$]*) false;;
16055             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16056             esac ||
16057 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16057 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16058        esac
16059        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16060        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15128 | Line 16080 | $as_echo "$as_me: creating $ac_file" >&6
16080      esac
16081  
16082      case $ac_tag in
16083 <    *:-:* | *:-) cat >"$tmp/stdin" \
16084 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16083 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16084 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16085      esac
16086      ;;
16087    esac
# Line 15265 | Line 16217 | s&@INSTALL@&$ac_INSTALL&;t t
16217   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16218   $ac_datarootdir_hack
16219   "
16220 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16221 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16220 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16221 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16222  
16223   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16224 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16225 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16224 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16225 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16226 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16228 < which seems to be undefined.  Please make sure it is defined." >&5
16228 > which seems to be undefined.  Please make sure it is defined" >&5
16229   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16230 < which seems to be undefined.  Please make sure it is defined." >&2;}
16230 > which seems to be undefined.  Please make sure it is defined" >&2;}
16231  
16232 <  rm -f "$tmp/stdin"
16232 >  rm -f "$ac_tmp/stdin"
16233    case $ac_file in
16234 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16235 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16234 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16235 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16236    esac \
16237 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16237 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16238   ;;
16239    :H)
16240    #
# Line 15290 | Line 16243 | which seems to be undefined.  Please mak
16243    if test x"$ac_file" != x-; then
16244      {
16245        $as_echo "/* $configure_input  */" \
16246 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16247 <    } >"$tmp/config.h" \
16248 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16249 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16246 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16247 >    } >"$ac_tmp/config.h" \
16248 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16249 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16250        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16251   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16252      else
16253        rm -f "$ac_file"
16254 <      mv "$tmp/config.h" "$ac_file" \
16255 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16254 >      mv "$ac_tmp/config.h" "$ac_file" \
16255 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16256      fi
16257    else
16258      $as_echo "/* $configure_input  */" \
16259 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16260 <      || as_fn_error "could not create -" "$LINENO" 5
16259 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16260 >      || as_fn_error $? "could not create -" "$LINENO" 5
16261    fi
16262   # Compute "$ac_file"'s index in $config_headers.
16263   _am_arg="$ac_file"
# Line 15465 | Line 16418 | $as_echo X"$file" |
16418   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16419   #
16420   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16421 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16421 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16422 > #                 Foundation, Inc.
16423   #   Written by Gordon Matzigkeit, 1996
16424   #
16425   #   This file is part of GNU Libtool.
# Line 15513 | Line 16467 | pic_mode=$pic_mode
16467   # Whether or not to optimize for fast installation.
16468   fast_install=$enable_fast_install
16469  
16470 + # Shell to use when invoking shell scripts.
16471 + SHELL=$lt_SHELL
16472 +
16473 + # An echo program that protects backslashes.
16474 + ECHO=$lt_ECHO
16475 +
16476 + # The PATH separator for the build system.
16477 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16478 +
16479   # The host system.
16480   host_alias=$host_alias
16481   host=$host
# Line 15562 | Line 16525 | SP2NL=$lt_lt_SP2NL
16525   # turn newlines into spaces.
16526   NL2SP=$lt_lt_NL2SP
16527  
16528 < # How to create reloadable object files.
16529 < reload_flag=$lt_reload_flag
16530 < reload_cmds=$lt_reload_cmds
16528 > # convert \$build file names to \$host format.
16529 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16530 >
16531 > # convert \$build files to toolchain format.
16532 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16533  
16534   # An object symbol dumper.
16535   OBJDUMP=$lt_OBJDUMP
# Line 15572 | Line 16537 | OBJDUMP=$lt_OBJDUMP
16537   # Method to check whether dependent libraries are shared objects.
16538   deplibs_check_method=$lt_deplibs_check_method
16539  
16540 < # Command to use when deplibs_check_method == "file_magic".
16540 > # Command to use when deplibs_check_method = "file_magic".
16541   file_magic_cmd=$lt_file_magic_cmd
16542  
16543 + # How to find potential files when deplibs_check_method = "file_magic".
16544 + file_magic_glob=$lt_file_magic_glob
16545 +
16546 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16547 + want_nocaseglob=$lt_want_nocaseglob
16548 +
16549 + # DLL creation program.
16550 + DLLTOOL=$lt_DLLTOOL
16551 +
16552 + # Command to associate shared and link libraries.
16553 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16554 +
16555   # The archiver.
16556   AR=$lt_AR
16557 +
16558 + # Flags to create an archive.
16559   AR_FLAGS=$lt_AR_FLAGS
16560  
16561 + # How to feed a file listing to the archiver.
16562 + archiver_list_spec=$lt_archiver_list_spec
16563 +
16564   # A symbol stripping program.
16565   STRIP=$lt_STRIP
16566  
# Line 15587 | Line 16569 | RANLIB=$lt_RANLIB
16569   old_postinstall_cmds=$lt_old_postinstall_cmds
16570   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16571  
16572 + # Whether to use a lock for old archive extraction.
16573 + lock_old_archive_extraction=$lock_old_archive_extraction
16574 +
16575   # A C compiler.
16576   LTCC=$lt_CC
16577  
# Line 15605 | Line 16590 | global_symbol_to_c_name_address=$lt_lt_c
16590   # Transform the output of nm in a C name address pair when lib prefix is needed.
16591   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16592  
16593 < # The name of the directory that contains temporary libtool files.
16594 < objdir=$objdir
16593 > # Specify filename containing input files for \$NM.
16594 > nm_file_list_spec=$lt_nm_file_list_spec
16595  
16596 < # Shell to use when invoking shell scripts.
16597 < SHELL=$lt_SHELL
16596 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16597 > lt_sysroot=$lt_sysroot
16598  
16599 < # An echo program that does not interpret backslashes.
16600 < ECHO=$lt_ECHO
16599 > # The name of the directory that contains temporary libtool files.
16600 > objdir=$objdir
16601  
16602   # Used to examine libraries when file_magic_cmd begins with "file".
16603   MAGIC_CMD=$MAGIC_CMD
# Line 15620 | Line 16605 | MAGIC_CMD=$MAGIC_CMD
16605   # Must we lock files when doing compilation?
16606   need_locks=$lt_need_locks
16607  
16608 + # Manifest tool.
16609 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16610 +
16611   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16612   DSYMUTIL=$lt_DSYMUTIL
16613  
# Line 15676 | Line 16664 | library_names_spec=$lt_library_names_spe
16664   # The coded name of the library, if different from the real name.
16665   soname_spec=$lt_soname_spec
16666  
16667 + # Permission mode override for installation of shared libraries.
16668 + install_override_mode=$lt_install_override_mode
16669 +
16670   # Command to use after installation of a shared archive.
16671   postinstall_cmds=$lt_postinstall_cmds
16672  
# Line 15715 | Line 16706 | striplib=$lt_striplib
16706   # The linker used to build libraries.
16707   LD=$lt_LD
16708  
16709 + # How to create reloadable object files.
16710 + reload_flag=$lt_reload_flag
16711 + reload_cmds=$lt_reload_cmds
16712 +
16713   # Commands used to build an old-style archive.
16714   old_archive_cmds=$lt_old_archive_cmds
16715  
# Line 15727 | Line 16722 | with_gcc=$GCC
16722   # Compiler flag to turn off builtin functions.
16723   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16724  
15730 # How to pass a linker flag through the compiler.
15731 wl=$lt_lt_prog_compiler_wl
15732
16725   # Additional compiler flags for building library objects.
16726   pic_flag=$lt_lt_prog_compiler_pic
16727  
16728 + # How to pass a linker flag through the compiler.
16729 + wl=$lt_lt_prog_compiler_wl
16730 +
16731   # Compiler flag to prevent dynamic linking.
16732   link_static_flag=$lt_lt_prog_compiler_static
16733  
# Line 15782 | Line 16777 | no_undefined_flag=$lt_no_undefined_flag
16777   # This must work even if \$libdir does not exist
16778   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16779  
15785 # If ld is used when linking, flag to hardcode \$libdir into a binary
15786 # during linking.  This must work even if \$libdir does not exist.
15787 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15788
16780   # Whether we need a single "-rpath" flag with a separated argument.
16781   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16782  
# Line 15819 | Line 16810 | inherit_rpath=$inherit_rpath
16810   # Whether libtool must link a program against all its dependency libraries.
16811   link_all_deplibs=$link_all_deplibs
16812  
15822 # Fix the shell variable \$srcfile for the compiler.
15823 fix_srcfile_path=$lt_fix_srcfile_path
15824
16813   # Set to "yes" if exported symbols are required.
16814   always_export_symbols=$always_export_symbols
16815  
# Line 15837 | Line 16825 | include_expsyms=$lt_include_expsyms
16825   # Commands necessary for linking programs (against libraries) with templates.
16826   prelink_cmds=$lt_prelink_cmds
16827  
16828 + # Commands necessary for finishing linking programs.
16829 + postlink_cmds=$lt_postlink_cmds
16830 +
16831   # Specify filename containing input files.
16832   file_list_spec=$lt_file_list_spec
16833  
# Line 15869 | Line 16860 | ltmain="$ac_aux_dir/ltmain.sh"
16860    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16861    # text mode, it properly converts lines to CR/LF.  This bash problem
16862    # is reportedly fixed, but why not run on old versions too?
16863 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16864 <    || (rm -f "$cfgfile"; exit 1)
15874 <
15875 <  case $xsi_shell in
15876 <  yes)
15877 <    cat << \_LT_EOF >> "$cfgfile"
15878 <
15879 < # func_dirname file append nondir_replacement
15880 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15881 < # otherwise set result to NONDIR_REPLACEMENT.
15882 < func_dirname ()
15883 < {
15884 <  case ${1} in
15885 <    */*) func_dirname_result="${1%/*}${2}" ;;
15886 <    *  ) func_dirname_result="${3}" ;;
15887 <  esac
15888 < }
15889 <
15890 < # func_basename file
15891 < func_basename ()
15892 < {
15893 <  func_basename_result="${1##*/}"
15894 < }
15895 <
15896 < # func_dirname_and_basename file append nondir_replacement
15897 < # perform func_basename and func_dirname in a single function
15898 < # call:
15899 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15900 < #             add APPEND to the result, otherwise set result
15901 < #             to NONDIR_REPLACEMENT.
15902 < #             value returned in "$func_dirname_result"
15903 < #   basename: Compute filename of FILE.
15904 < #             value retuned in "$func_basename_result"
15905 < # Implementation must be kept synchronized with func_dirname
15906 < # and func_basename. For efficiency, we do not delegate to
15907 < # those functions but instead duplicate the functionality here.
15908 < func_dirname_and_basename ()
15909 < {
15910 <  case ${1} in
15911 <    */*) func_dirname_result="${1%/*}${2}" ;;
15912 <    *  ) func_dirname_result="${3}" ;;
15913 <  esac
15914 <  func_basename_result="${1##*/}"
15915 < }
15916 <
15917 < # func_stripname prefix suffix name
15918 < # strip PREFIX and SUFFIX off of NAME.
15919 < # PREFIX and SUFFIX must not contain globbing or regex special
15920 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15921 < # dot (in which case that matches only a dot).
15922 < func_stripname ()
15923 < {
15924 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15925 <  # positional parameters, so assign one to ordinary parameter first.
15926 <  func_stripname_result=${3}
15927 <  func_stripname_result=${func_stripname_result#"${1}"}
15928 <  func_stripname_result=${func_stripname_result%"${2}"}
15929 < }
15930 <
15931 < # func_opt_split
15932 < func_opt_split ()
15933 < {
15934 <  func_opt_split_opt=${1%%=*}
15935 <  func_opt_split_arg=${1#*=}
15936 < }
15937 <
15938 < # func_lo2o object
15939 < func_lo2o ()
15940 < {
15941 <  case ${1} in
15942 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15943 <    *)    func_lo2o_result=${1} ;;
15944 <  esac
15945 < }
15946 <
15947 < # func_xform libobj-or-source
15948 < func_xform ()
15949 < {
15950 <  func_xform_result=${1%.*}.lo
15951 < }
15952 <
15953 < # func_arith arithmetic-term...
15954 < func_arith ()
15955 < {
15956 <  func_arith_result=$(( $* ))
15957 < }
15958 <
15959 < # func_len string
15960 < # STRING may not start with a hyphen.
15961 < func_len ()
15962 < {
15963 <  func_len_result=${#1}
15964 < }
15965 <
15966 < _LT_EOF
15967 <    ;;
15968 <  *) # Bourne compatible functions.
15969 <    cat << \_LT_EOF >> "$cfgfile"
15970 <
15971 < # func_dirname file append nondir_replacement
15972 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15973 < # otherwise set result to NONDIR_REPLACEMENT.
15974 < func_dirname ()
15975 < {
15976 <  # Extract subdirectory from the argument.
15977 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15978 <  if test "X$func_dirname_result" = "X${1}"; then
15979 <    func_dirname_result="${3}"
15980 <  else
15981 <    func_dirname_result="$func_dirname_result${2}"
15982 <  fi
15983 < }
15984 <
15985 < # func_basename file
15986 < func_basename ()
15987 < {
15988 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15989 < }
15990 <
15991 <
15992 < # func_stripname prefix suffix name
15993 < # strip PREFIX and SUFFIX off of NAME.
15994 < # PREFIX and SUFFIX must not contain globbing or regex special
15995 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15996 < # dot (in which case that matches only a dot).
15997 < # func_strip_suffix prefix name
15998 < func_stripname ()
15999 < {
16000 <  case ${2} in
16001 <    .*) func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16003 <    *)  func_stripname_result=`$ECHO "X${3}" \
16004 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16005 <  esac
16006 < }
16007 <
16008 < # sed scripts:
16009 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16010 < my_sed_long_arg='1s/^-[^=]*=//'
16011 <
16012 < # func_opt_split
16013 < func_opt_split ()
16014 < {
16015 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16016 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16017 < }
16018 <
16019 < # func_lo2o object
16020 < func_lo2o ()
16021 < {
16022 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16023 < }
16024 <
16025 < # func_xform libobj-or-source
16026 < func_xform ()
16027 < {
16028 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16029 < }
16030 <
16031 < # func_arith arithmetic-term...
16032 < func_arith ()
16033 < {
16034 <  func_arith_result=`expr "$@"`
16035 < }
16036 <
16037 < # func_len string
16038 < # STRING may not start with a hyphen.
16039 < func_len ()
16040 < {
16041 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16042 < }
16043 <
16044 < _LT_EOF
16045 < esac
16046 <
16047 < case $lt_shell_append in
16048 <  yes)
16049 <    cat << \_LT_EOF >> "$cfgfile"
16050 <
16051 < # func_append var value
16052 < # Append VALUE to the end of shell variable VAR.
16053 < func_append ()
16054 < {
16055 <  eval "$1+=\$2"
16056 < }
16057 < _LT_EOF
16058 <    ;;
16059 <  *)
16060 <    cat << \_LT_EOF >> "$cfgfile"
16061 <
16062 < # func_append var value
16063 < # Append VALUE to the end of shell variable VAR.
16064 < func_append ()
16065 < {
16066 <  eval "$1=\$$1\$2"
16067 < }
16068 <
16069 < _LT_EOF
16070 <    ;;
16071 <  esac
16863 >  sed '$q' "$ltmain" >> "$cfgfile" \
16864 >     || (rm -f "$cfgfile"; exit 1)
16865  
16866 +  if test x"$xsi_shell" = xyes; then
16867 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16868 + func_dirname ()\
16869 + {\
16870 + \    case ${1} in\
16871 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16872 + \      *  ) func_dirname_result="${3}" ;;\
16873 + \    esac\
16874 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16875 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16876 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16877 + test 0 -eq $? || _lt_function_replace_fail=:
16878 +
16879 +
16880 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16881 + func_basename ()\
16882 + {\
16883 + \    func_basename_result="${1##*/}"\
16884 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16885 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16886 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16887 + test 0 -eq $? || _lt_function_replace_fail=:
16888 +
16889 +
16890 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16891 + func_dirname_and_basename ()\
16892 + {\
16893 + \    case ${1} in\
16894 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16895 + \      *  ) func_dirname_result="${3}" ;;\
16896 + \    esac\
16897 + \    func_basename_result="${1##*/}"\
16898 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16899 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16900 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16901 + test 0 -eq $? || _lt_function_replace_fail=:
16902 +
16903 +
16904 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16905 + func_stripname ()\
16906 + {\
16907 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16908 + \    # positional parameters, so assign one to ordinary parameter first.\
16909 + \    func_stripname_result=${3}\
16910 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16911 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16912 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16913 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16914 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16915 + test 0 -eq $? || _lt_function_replace_fail=:
16916 +
16917 +
16918 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16919 + func_split_long_opt ()\
16920 + {\
16921 + \    func_split_long_opt_name=${1%%=*}\
16922 + \    func_split_long_opt_arg=${1#*=}\
16923 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16924 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16925 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16926 + test 0 -eq $? || _lt_function_replace_fail=:
16927 +
16928 +
16929 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16930 + func_split_short_opt ()\
16931 + {\
16932 + \    func_split_short_opt_arg=${1#??}\
16933 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16934 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16935 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16936 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16937 + test 0 -eq $? || _lt_function_replace_fail=:
16938 +
16939 +
16940 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16941 + func_lo2o ()\
16942 + {\
16943 + \    case ${1} in\
16944 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16945 + \      *)    func_lo2o_result=${1} ;;\
16946 + \    esac\
16947 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16948 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16949 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16950 + test 0 -eq $? || _lt_function_replace_fail=:
16951 +
16952 +
16953 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16954 + func_xform ()\
16955 + {\
16956 +    func_xform_result=${1%.*}.lo\
16957 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16958 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16959 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 + test 0 -eq $? || _lt_function_replace_fail=:
16961 +
16962 +
16963 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16964 + func_arith ()\
16965 + {\
16966 +    func_arith_result=$(( $* ))\
16967 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16968 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16969 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16970 + test 0 -eq $? || _lt_function_replace_fail=:
16971 +
16972 +
16973 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16974 + func_len ()\
16975 + {\
16976 +    func_len_result=${#1}\
16977 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16978 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16979 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16980 + test 0 -eq $? || _lt_function_replace_fail=:
16981 +
16982 + fi
16983 +
16984 + if test x"$lt_shell_append" = xyes; then
16985 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16986 + func_append ()\
16987 + {\
16988 +    eval "${1}+=\\${2}"\
16989 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16990 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16991 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16992 + test 0 -eq $? || _lt_function_replace_fail=:
16993 +
16994 +
16995 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16996 + func_append_quoted ()\
16997 + {\
16998 + \    func_quote_for_eval "${2}"\
16999 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17000 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17001 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17002 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17003 + test 0 -eq $? || _lt_function_replace_fail=:
17004 +
17005 +
17006 +  # Save a `func_append' function call where possible by direct use of '+='
17007 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17008 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17009 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17010 +  test 0 -eq $? || _lt_function_replace_fail=:
17011 + else
17012 +  # Save a `func_append' function call even when '+=' is not available
17013 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17014 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17015 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17016 +  test 0 -eq $? || _lt_function_replace_fail=:
17017 + fi
17018 +
17019 + if test x"$_lt_function_replace_fail" = x":"; then
17020 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17021 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17022 + fi
17023  
16074  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16075    || (rm -f "$cfgfile"; exit 1)
17024  
17025 <  mv -f "$cfgfile" "$ofile" ||
17025 >   mv -f "$cfgfile" "$ofile" ||
17026      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17027    chmod +x "$ofile"
17028  
# Line 16089 | Line 17037 | _ACEOF
17037   ac_clean_files=$ac_clean_files_save
17038  
17039   test $ac_write_fail = 0 ||
17040 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17040 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17041  
17042  
17043   # configure is writing to config.log, and then calls config.status.
# Line 16110 | Line 17058 | if test "$no_create" != yes; then
17058    exec 5>>config.log
17059    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17060    # would make configure fail if this is the last instruction.
17061 <  $ac_cs_success || as_fn_exit $?
16114 < fi
16115 <
16116 < #
16117 < # CONFIG_SUBDIRS section.
16118 < #
16119 < if test "$no_recursion" != yes; then
16120 <
16121 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16122 <  # so they do not pile up.
16123 <  ac_sub_configure_args=
16124 <  ac_prev=
16125 <  eval "set x $ac_configure_args"
16126 <  shift
16127 <  for ac_arg
16128 <  do
16129 <    if test -n "$ac_prev"; then
16130 <      ac_prev=
16131 <      continue
16132 <    fi
16133 <    case $ac_arg in
16134 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16135 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16136 <      ac_prev=cache_file ;;
16137 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16138 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16139 <    | --c=*)
16140 <      ;;
16141 <    --config-cache | -C)
16142 <      ;;
16143 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16144 <      ac_prev=srcdir ;;
16145 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16146 <      ;;
16147 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16148 <      ac_prev=prefix ;;
16149 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16150 <      ;;
16151 <    --disable-option-checking)
16152 <      ;;
16153 <    *)
16154 <      case $ac_arg in
16155 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16156 <      esac
16157 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16158 <    esac
16159 <  done
16160 <
16161 <  # Always prepend --prefix to ensure using the same prefix
16162 <  # in subdir configurations.
16163 <  ac_arg="--prefix=$prefix"
16164 <  case $ac_arg in
16165 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16166 <  esac
16167 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16168 <
16169 <  # Pass --silent
16170 <  if test "$silent" = yes; then
16171 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16172 <  fi
16173 <
16174 <  # Always prepend --disable-option-checking to silence warnings, since
16175 <  # different subdirs can have different --enable and --with options.
16176 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16177 <
16178 <  ac_popdir=`pwd`
16179 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16180 <
16181 <    # Do not complain, so a configure script can configure whichever
16182 <    # parts of a large source tree are present.
16183 <    test -d "$srcdir/$ac_dir" || continue
16184 <
16185 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16186 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16187 <    $as_echo "$ac_msg" >&6
16188 <    as_dir="$ac_dir"; as_fn_mkdir_p
16189 <    ac_builddir=.
16190 <
16191 < case "$ac_dir" in
16192 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16193 < *)
16194 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16195 <  # A ".." for each directory in $ac_dir_suffix.
16196 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16197 <  case $ac_top_builddir_sub in
16198 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16199 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16200 <  esac ;;
16201 < esac
16202 < ac_abs_top_builddir=$ac_pwd
16203 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16204 < # for backward compatibility:
16205 < ac_top_builddir=$ac_top_build_prefix
16206 <
16207 < case $srcdir in
16208 <  .)  # We are building in place.
16209 <    ac_srcdir=.
16210 <    ac_top_srcdir=$ac_top_builddir_sub
16211 <    ac_abs_top_srcdir=$ac_pwd ;;
16212 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16213 <    ac_srcdir=$srcdir$ac_dir_suffix;
16214 <    ac_top_srcdir=$srcdir
16215 <    ac_abs_top_srcdir=$srcdir ;;
16216 <  *) # Relative name.
16217 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16218 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16219 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16220 < esac
16221 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16222 <
16223 <
16224 <    cd "$ac_dir"
16225 <
16226 <    # Check for guested configure; otherwise get Cygnus style configure.
16227 <    if test -f "$ac_srcdir/configure.gnu"; then
16228 <      ac_sub_configure=$ac_srcdir/configure.gnu
16229 <    elif test -f "$ac_srcdir/configure"; then
16230 <      ac_sub_configure=$ac_srcdir/configure
16231 <    elif test -f "$ac_srcdir/configure.in"; then
16232 <      # This should be Cygnus configure.
16233 <      ac_sub_configure=$ac_aux_dir/configure
16234 <    else
16235 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16236 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16237 <      ac_sub_configure=
16238 <    fi
16239 <
16240 <    # The recursion is here.
16241 <    if test -n "$ac_sub_configure"; then
16242 <      # Make the cache file name correct relative to the subdirectory.
16243 <      case $cache_file in
16244 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16245 <      *) # Relative name.
16246 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16247 <      esac
16248 <
16249 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16250 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16251 <      # The eval makes quoting arguments work.
16252 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16253 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16254 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16255 <    fi
16256 <
16257 <    cd "$ac_popdir"
16258 <  done
17061 >  $ac_cs_success || as_fn_exit 1
17062   fi
17063   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17064    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Diff Legend

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