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 1309 by michael, Sun Mar 25 11:24:18 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 1304 2012-03-23 12:03:56Z 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
785   with_ltdl_lib
786   enable_ltdl_install
918 with_zlib_path
919 enable_zlib
787   with_libpcre_path
788   enable_libpcre
789   enable_openssl
# Line 930 | Line 797 | enable_poll
797   enable_select
798   with_nicklen
799   with_topiclen
933 with_syslog_facility
800   enable_efnet
801   enable_halfops
802   enable_debugging
803   enable_warnings
938 enable_syslog
804   '
805        ac_precious_vars='build_alias
806   host_alias
# Line 948 | Line 813 | CPPFLAGS
813   YACC
814   YFLAGS
815   CPP'
816 < ac_subdirs_all='libltdl'
816 >
817  
818   # Initialize some variables set by options.
819   ac_init_help=
# Line 1010 | Line 875 | do
875    fi
876  
877    case $ac_option in
878 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 <  *)    ac_optarg=yes ;;
878 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 >  *=)   ac_optarg= ;;
880 >  *)    ac_optarg=yes ;;
881    esac
882  
883    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 922 | do
922      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923      # Reject names that are not valid shell variable names.
924      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 <      as_fn_error "invalid feature name: $ac_useropt"
925 >      as_fn_error $? "invalid feature name: $ac_useropt"
926      ac_useropt_orig=$ac_useropt
927      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928      case $ac_user_opts in
# Line 1082 | Line 948 | do
948      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949      # Reject names that are not valid shell variable names.
950      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 <      as_fn_error "invalid feature name: $ac_useropt"
951 >      as_fn_error $? "invalid feature name: $ac_useropt"
952      ac_useropt_orig=$ac_useropt
953      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954      case $ac_user_opts in
# Line 1286 | Line 1152 | do
1152      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153      # Reject names that are not valid shell variable names.
1154      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 <      as_fn_error "invalid package name: $ac_useropt"
1155 >      as_fn_error $? "invalid package name: $ac_useropt"
1156      ac_useropt_orig=$ac_useropt
1157      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158      case $ac_user_opts in
# Line 1302 | Line 1168 | do
1168      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169      # Reject names that are not valid shell variable names.
1170      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 <      as_fn_error "invalid package name: $ac_useropt"
1171 >      as_fn_error $? "invalid package name: $ac_useropt"
1172      ac_useropt_orig=$ac_useropt
1173      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174      case $ac_user_opts in
# Line 1332 | Line 1198 | do
1198    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1199      x_libraries=$ac_optarg ;;
1200  
1201 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1202 < Try \`$0 --help' for more information."
1201 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1202 > Try \`$0 --help' for more information"
1203      ;;
1204  
1205    *=*)
# Line 1341 | Line 1207 | Try \`$0 --help' for more information."
1207      # Reject names that are not valid shell variable names.
1208      case $ac_envvar in #(
1209        '' | [0-9]* | *[!_$as_cr_alnum]* )
1210 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1210 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1211      esac
1212      eval $ac_envvar=\$ac_optarg
1213      export $ac_envvar ;;
# Line 1351 | Line 1217 | Try \`$0 --help' for more information."
1217      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221      ;;
1222  
1223    esac
# Line 1359 | Line 1225 | done
1225  
1226   if test -n "$ac_prev"; then
1227    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1228 <  as_fn_error "missing argument to $ac_option"
1228 >  as_fn_error $? "missing argument to $ac_option"
1229   fi
1230  
1231   if test -n "$ac_unrecognized_opts"; then
1232    case $enable_option_checking in
1233      no) ;;
1234 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1234 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1235      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236    esac
1237   fi
# Line 1388 | Line 1254 | do
1254      [\\/$]* | ?:[\\/]* )  continue;;
1255      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256    esac
1257 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1257 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1258   done
1259  
1260   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1268 | target=$target_alias
1268   if test "x$host_alias" != x; then
1269    if test "x$build_alias" = x; then
1270      cross_compiling=maybe
1271 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 <    If a cross compiler is detected then cross compile mode will be used." >&2
1271 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272 >    If a cross compiler is detected then cross compile mode will be used" >&2
1273    elif test "x$build_alias" != "x$host_alias"; then
1274      cross_compiling=yes
1275    fi
# Line 1418 | Line 1284 | test "$silent" = yes && exec 6>/dev/null
1284   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285   ac_ls_di=`ls -di .` &&
1286   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 <  as_fn_error "working directory cannot be determined"
1287 >  as_fn_error $? "working directory cannot be determined"
1288   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 <  as_fn_error "pwd does not report name of working directory"
1289 >  as_fn_error $? "pwd does not report name of working directory"
1290  
1291  
1292   # Find the source files, if location was not specified.
# Line 1459 | Line 1325 | else
1325   fi
1326   if test ! -r "$srcdir/$ac_unique_file"; then
1327    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1328 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1329   fi
1330   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331   ac_abs_confdir=`(
1332 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333          pwd)`
1334   # When building in place, set srcdir=.
1335   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1355 | if test "$ac_init_help" = "long"; then
1355    # Omit some internal or obsolete options to make the list less imposing.
1356    # This message is too long to be a string in the A/UX 3.1 sh.
1357    cat <<_ACEOF
1358 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1358 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1359  
1360   Usage: $0 [OPTION]... [VAR=VALUE]...
1361  
# Line 1503 | Line 1369 | Configuration:
1369        --help=short        display options specific to this package
1370        --help=recursive    display the short help of all the included packages
1371    -V, --version           display version information and exit
1372 <  -q, --quiet, --silent   do not print \`checking...' messages
1372 >  -q, --quiet, --silent   do not print \`checking ...' messages
1373        --cache-file=FILE   cache test results in FILE [disabled]
1374    -C, --config-cache      alias for \`--cache-file=config.cache'
1375    -n, --no-create         do not create output files
# Line 1559 | Line 1425 | fi
1425  
1426   if test -n "$ac_init_help"; then
1427    case $ac_init_help in
1428 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1428 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1429     esac
1430    cat <<\_ACEOF
1431  
# Line 1577 | Line 1443 | Optional Features:
1443                            optimize for fast installation [default=yes]
1444    --disable-libtool-lock  avoid locking (might break parallel builds)
1445    --enable-ltdl-install   install libltdl
1580  --disable-zlib          Disable ziplinks support
1446    --disable-libpcre       Disable PCRE support
1447    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1448    --disable-openssl            Disable OpenSSL support.
# Line 1593 | Line 1458 | Optional Features:
1458    --enable-halfops        Enable halfops support.
1459    --enable-debugging      Enable debugging.
1460    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          separated in quotes; default: disabled).
1461  
1462   Optional Packages:
1463    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1465 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                            both]
1467    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468 +  --with-sysroot=DIR Search for dependent libraries within DIR
1469 +                        (or the compiler's sysroot if not specified).
1470    --with-included-ltdl    use the GNU ltdl sources included here
1471    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1473    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474    --with-nicklen=<value>  Set nickname length (default 9).
1475    --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1476  
1477   Some influential environment variables:
1478    CC          C compiler command
# Line 1622 | Line 1482 | Some influential environment variables:
1482    LIBS        libraries to pass to the linker, e.g. -l<library>
1483    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484                you have headers in a nonstandard directory <include dir>
1485 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1486 <              the first program found out of: `bison -y', `byacc', `yacc'.
1485 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1486 >              Defaults to the first program found out of: `bison -y', `byacc',
1487 >              `yacc'.
1488    YFLAGS      The list of arguments that will be passed by default to $YACC.
1489                This script will default YFLAGS to the empty string to avoid a
1490                default value of `-d' given by some make applications.
# Line 1695 | Line 1556 | fi
1556   test -n "$ac_init_help" && exit $ac_status
1557   if $ac_init_version; then
1558    cat <<\_ACEOF
1559 < ircd-hybrid configure 7.3-rc1
1560 < generated by GNU Autoconf 2.65
1559 > ircd-hybrid configure 8beta1
1560 > generated by GNU Autoconf 2.68
1561  
1562 < Copyright (C) 2009 Free Software Foundation, Inc.
1562 > Copyright (C) 2010 Free Software Foundation, Inc.
1563   This configure script is free software; the Free Software Foundation
1564   gives unlimited permission to copy, distribute and modify it.
1565   _ACEOF
# Line 1742 | Line 1603 | sed 's/^/| /' conftest.$ac_ext >&5
1603  
1604          ac_retval=1
1605   fi
1606 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607    as_fn_set_status $ac_retval
1608  
1609   } # ac_fn_c_try_compile
# Line 1788 | Line 1649 | fi
1649    # interfere with the next link command; also delete a directory that is
1650    # left behind by Apple's compiler.  We do this before executing the actions.
1651    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653    as_fn_set_status $ac_retval
1654  
1655   } # ac_fn_c_try_link
# Line 1802 | Line 1663 | ac_fn_c_check_header_compile ()
1663    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665   $as_echo_n "checking for $2... " >&6; }
1666 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1666 > if eval \${$3+:} false; then :
1667    $as_echo_n "(cached) " >&6
1668   else
1669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1681 | fi
1681   eval ac_res=\$$3
1682                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683   $as_echo "$ac_res" >&6; }
1684 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  
1686   } # ac_fn_c_check_header_compile
1687  
# Line 1845 | Line 1706 | $as_echo "$ac_try_echo"; } >&5
1706      mv -f conftest.er1 conftest.err
1707    fi
1708    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 <  test $ac_status = 0; } >/dev/null && {
1709 >  test $ac_status = 0; } > conftest.i && {
1710           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1711           test ! -s conftest.err
1712         }; then :
# Line 1856 | Line 1717 | sed 's/^/| /' conftest.$ac_ext >&5
1717  
1718      ac_retval=1
1719   fi
1720 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721    as_fn_set_status $ac_retval
1722  
1723   } # ac_fn_c_try_cpp
# Line 1898 | Line 1759 | sed 's/^/| /' conftest.$ac_ext >&5
1759         ac_retval=$ac_status
1760   fi
1761    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763    as_fn_set_status $ac_retval
1764  
1765   } # ac_fn_c_try_run
# Line 1911 | Line 1772 | ac_fn_c_check_func ()
1772    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774   $as_echo_n "checking for $2... " >&6; }
1775 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775 > if eval \${$3+:} false; then :
1776    $as_echo_n "(cached) " >&6
1777   else
1778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1827 | fi
1827   eval ac_res=\$$3
1828                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829   $as_echo "$ac_res" >&6; }
1830 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831  
1832   } # ac_fn_c_check_func
1833  
1834 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1835 < # ------------------------------------
1836 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1834 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1835 > # ---------------------------------------------
1836 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1837 > # accordingly.
1838   ac_fn_c_check_decl ()
1839   {
1840    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1842 < $as_echo_n "checking whether $2 is declared... " >&6; }
1843 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1842 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845 > if eval \${$3+:} false; then :
1846    $as_echo_n "(cached) " >&6
1847   else
1848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1851 | $4
1851   int
1852   main ()
1853   {
1854 < #ifndef $2
1855 <  (void) $2;
1854 > #ifndef $as_decl_name
1855 > #ifdef __cplusplus
1856 >  (void) $as_decl_use;
1857 > #else
1858 >  (void) $as_decl_name;
1859 > #endif
1860   #endif
1861  
1862    ;
# Line 2005 | Line 1873 | fi
1873   eval ac_res=\$$3
1874                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875   $as_echo "$ac_res" >&6; }
1876 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877  
1878   } # ac_fn_c_check_decl
1879  
# Line 2018 | Line 1886 | ac_fn_c_check_type ()
1886    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888   $as_echo_n "checking for $2... " >&6; }
1889 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 > if eval \${$3+:} false; then :
1890    $as_echo_n "(cached) " >&6
1891   else
1892    eval "$3=no"
# Line 2059 | Line 1927 | fi
1927   eval ac_res=\$$3
1928                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929   $as_echo "$ac_res" >&6; }
1930 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  
1932   } # ac_fn_c_check_type
1933  
# Line 2072 | Line 1940 | ac_fn_c_check_member ()
1940    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942   $as_echo_n "checking for $2.$3... " >&6; }
1943 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1943 > if eval \${$4+:} false; then :
1944    $as_echo_n "(cached) " >&6
1945   else
1946    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1984 | fi
1984   eval ac_res=\$$4
1985                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986   $as_echo "$ac_res" >&6; }
1987 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988  
1989   } # ac_fn_c_check_member
1990  
# Line 2128 | Line 1996 | $as_echo "$ac_res" >&6; }
1996   ac_fn_c_check_header_mongrel ()
1997   {
1998    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 >  if eval \${$3+:} false; then :
2000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001   $as_echo_n "checking for $2... " >&6; }
2002 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2002 > if eval \${$3+:} false; then :
2003    $as_echo_n "(cached) " >&6
2004   fi
2005   eval ac_res=\$$3
# Line 2167 | Line 2035 | if ac_fn_c_try_cpp "$LINENO"; then :
2035   else
2036    ac_header_preproc=no
2037   fi
2038 < rm -f conftest.err conftest.$ac_ext
2038 > rm -f conftest.err conftest.i conftest.$ac_ext
2039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2040   $as_echo "$ac_header_preproc" >&6; }
2041  
# Line 2190 | Line 2058 | $as_echo "$as_me: WARNING: $2: see the A
2058   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2059      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2061 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2061 > ( $as_echo "## ----------------------------------- ##
2062   ## Report this to bugs@ircd-hybrid.org ##
2063 < ## ----------------------------------- ##
2197 < _ASBOX
2063 > ## ----------------------------------- ##"
2064       ) | sed "s/^/$as_me: WARNING:     /" >&2
2065      ;;
2066   esac
2067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068   $as_echo_n "checking for $2... " >&6; }
2069 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 > if eval \${$3+:} false; then :
2070    $as_echo_n "(cached) " >&6
2071   else
2072    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2075 | eval ac_res=\$$3
2075                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076   $as_echo "$ac_res" >&6; }
2077   fi
2078 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079  
2080   } # ac_fn_c_check_header_mongrel
2081   cat >config.log <<_ACEOF
2082   This file contains any messages produced by compilers while
2083   running configure, to aid debugging if configure makes a mistake.
2084  
2085 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2086 < generated by GNU Autoconf 2.65.  Invocation command line was
2085 > It was created by ircd-hybrid $as_me 8beta1, which was
2086 > generated by GNU Autoconf 2.68.  Invocation command line was
2087  
2088    $ $0 $@
2089  
# Line 2327 | Line 2193 | trap 'exit_status=$?
2193    {
2194      echo
2195  
2196 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2196 >    $as_echo "## ---------------- ##
2197   ## Cache variables. ##
2198 < ## ---------------- ##
2334 < _ASBOX
2198 > ## ---------------- ##"
2199      echo
2200      # The following way of writing the cache mishandles newlines in values,
2201   (
# Line 2365 | Line 2229 | $as_echo "$as_me: WARNING: cache variabl
2229   )
2230      echo
2231  
2232 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2232 >    $as_echo "## ----------------- ##
2233   ## Output variables. ##
2234 < ## ----------------- ##
2372 < _ASBOX
2234 > ## ----------------- ##"
2235      echo
2236      for ac_var in $ac_subst_vars
2237      do
# Line 2382 | Line 2244 | _ASBOX
2244      echo
2245  
2246      if test -n "$ac_subst_files"; then
2247 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2247 >      $as_echo "## ------------------- ##
2248   ## File substitutions. ##
2249 < ## ------------------- ##
2389 < _ASBOX
2249 > ## ------------------- ##"
2250        echo
2251        for ac_var in $ac_subst_files
2252        do
# Line 2400 | Line 2260 | _ASBOX
2260      fi
2261  
2262      if test -s confdefs.h; then
2263 <      cat <<\_ASBOX
2404 < ## ----------- ##
2263 >      $as_echo "## ----------- ##
2264   ## confdefs.h. ##
2265 < ## ----------- ##
2407 < _ASBOX
2265 > ## ----------- ##"
2266        echo
2267        cat confdefs.h
2268        echo
# Line 2459 | Line 2317 | _ACEOF
2317   ac_site_file1=NONE
2318   ac_site_file2=NONE
2319   if test -n "$CONFIG_SITE"; then
2320 <  ac_site_file1=$CONFIG_SITE
2320 >  # We do not want a PATH search for config.site.
2321 >  case $CONFIG_SITE in #((
2322 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2323 >    */*) ac_site_file1=$CONFIG_SITE;;
2324 >    *)   ac_site_file1=./$CONFIG_SITE;;
2325 >  esac
2326   elif test "x$prefix" != xNONE; then
2327    ac_site_file1=$prefix/share/config.site
2328    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2337 | do
2337      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339      sed 's/^/| /' "$ac_site_file" >&5
2340 <    . "$ac_site_file"
2340 >    . "$ac_site_file" \
2341 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 > as_fn_error $? "failed to load site script $ac_site_file
2344 > See \`config.log' for more details" "$LINENO" 5; }
2345    fi
2346   done
2347  
# Line 2500 | Line 2367 | as_fn_append ac_func_list " strtok_r"
2367   as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370 + as_fn_append ac_func_list " socketpair"
2371   as_fn_append ac_header_list " crypt.h"
2372   as_fn_append ac_header_list " inttypes.h"
2373   as_fn_append ac_header_list " stdint.h"
# Line 2567 | Line 2435 | if $ac_cache_corrupted; then
2435   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2437   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2438 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2438 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439   fi
2440   ## -------------------- ##
2441   ## Main body of script. ##
# Line 2584 | Line 2452 | am__api_version='1.11'
2452  
2453   ac_aux_dir=
2454   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2455 <  for ac_t in install-sh install.sh shtool; do
2456 <    if test -f "$ac_dir/$ac_t"; then
2457 <      ac_aux_dir=$ac_dir
2458 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2459 <      break 2
2460 <    fi
2461 <  done
2455 >  if test -f "$ac_dir/install-sh"; then
2456 >    ac_aux_dir=$ac_dir
2457 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2458 >    break
2459 >  elif 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/shtool"; then
2464 >    ac_aux_dir=$ac_dir
2465 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2466 >    break
2467 >  fi
2468   done
2469   if test -z "$ac_aux_dir"; then
2470 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2470 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2471   fi
2472  
2473   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2496 | ac_configure="$SHELL $ac_aux_dir/configu
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2497   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2498   if test -z "$INSTALL"; then
2499 < if test "${ac_cv_path_install+set}" = set; then :
2499 > if ${ac_cv_path_install+:} false; then :
2500    $as_echo_n "(cached) " >&6
2501   else
2502    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2709 | Line 2583 | am_lf='
2583   '
2584   case `pwd` in
2585    *[\\\"\#\$\&\'\`$am_lf]*)
2586 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2586 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2735 | Line 2609 | if (
2609        # if, for instance, CONFIG_SHELL is bash and it inherits a
2610        # broken ls alias from the environment.  This has actually
2611        # happened.  Such a system could not be considered "sane".
2612 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2612 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613   alias in your environment" "$LINENO" 5
2614     fi
2615  
# Line 2745 | Line 2619 | then
2619     # Ok.
2620     :
2621   else
2622 <   as_fn_error "newly created file is older than distributed files!
2622 >   as_fn_error $? "newly created file is older than distributed files!
2623   Check your system clock" "$LINENO" 5
2624   fi
2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2799 | Line 2673 | if test "$cross_compiling" != no; then
2673   set dummy ${ac_tool_prefix}strip; ac_word=$2
2674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675   $as_echo_n "checking for $ac_word... " >&6; }
2676 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2676 > if ${ac_cv_prog_STRIP+:} false; then :
2677    $as_echo_n "(cached) " >&6
2678   else
2679    if test -n "$STRIP"; then
# Line 2839 | Line 2713 | if test -z "$ac_cv_prog_STRIP"; then
2713   set dummy strip; ac_word=$2
2714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715   $as_echo_n "checking for $ac_word... " >&6; }
2716 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2716 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2717    $as_echo_n "(cached) " >&6
2718   else
2719    if test -n "$ac_ct_STRIP"; then
# Line 2892 | Line 2766 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768   if test -z "$MKDIR_P"; then
2769 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2769 >  if ${ac_cv_path_mkdir+:} false; then :
2770    $as_echo_n "(cached) " >&6
2771   else
2772    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2943 | Line 2817 | do
2817   set dummy $ac_prog; ac_word=$2
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819   $as_echo_n "checking for $ac_word... " >&6; }
2820 < if test "${ac_cv_prog_AWK+set}" = set; then :
2820 > if ${ac_cv_prog_AWK+:} false; then :
2821    $as_echo_n "(cached) " >&6
2822   else
2823    if test -n "$AWK"; then
# Line 2983 | Line 2857 | done
2857   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858   set x ${MAKE-make}
2859   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2860 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2861    $as_echo_n "(cached) " >&6
2862   else
2863    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2865 | SHELL = /bin/sh
2865   all:
2866          @echo '@@@%%%=$(MAKE)=@@@%%%'
2867   _ACEOF
2868 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2868 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2870    *@@@%%%=?*=@@@%%%*)
2871      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2899 | if test "`cd $srcdir && pwd`" != "`pwd`"
2899    am__isrc=' -I$(srcdir)'
2900    # test to see if srcdir already configured
2901    if test -f $srcdir/config.status; then
2902 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2902 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2903    fi
2904   fi
2905  
# Line 3041 | Line 2915 | fi
2915  
2916   # Define the identity of the package.
2917   PACKAGE='ircd-hybrid'
2918 < VERSION='7.3-rc1'
2918 > VERSION='8beta1'
2919  
2920  
2921   cat >>confdefs.h <<_ACEOF
# Line 3071 | Line 2945 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2945  
2946   # We need awk for the "check" target.  The system "awk" is bad on
2947   # some platforms.
2948 < # Always define AMTAR for backward compatibility.
2949 <
2950 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2948 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2949 > # in the wild :-(  We should find a proper way to deprecate it ...
2950 > AMTAR='$${TAR-tar}'
2951  
2952 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2952 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2953  
2954  
2955  
# Line 3161 | Line 3035 | fi
3035   if test "x$enable_dependency_tracking" != xno; then
3036    am_depcomp="$ac_aux_dir/depcomp"
3037    AMDEPBACKSLASH='\'
3038 +  am__nodep='_no'
3039   fi
3040   if test "x$enable_dependency_tracking" != xno; then
3041    AMDEP_TRUE=
# Line 3181 | Line 3056 | if test -n "$ac_tool_prefix"; then
3056   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058   $as_echo_n "checking for $ac_word... " >&6; }
3059 < if test "${ac_cv_prog_CC+set}" = set; then :
3059 > if ${ac_cv_prog_CC+:} false; then :
3060    $as_echo_n "(cached) " >&6
3061   else
3062    if test -n "$CC"; then
# Line 3221 | Line 3096 | if test -z "$ac_cv_prog_CC"; then
3096   set dummy gcc; ac_word=$2
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098   $as_echo_n "checking for $ac_word... " >&6; }
3099 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3099 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3100    $as_echo_n "(cached) " >&6
3101   else
3102    if test -n "$ac_ct_CC"; then
# Line 3274 | Line 3149 | if test -z "$CC"; then
3149   set dummy ${ac_tool_prefix}cc; ac_word=$2
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151   $as_echo_n "checking for $ac_word... " >&6; }
3152 < if test "${ac_cv_prog_CC+set}" = set; then :
3152 > if ${ac_cv_prog_CC+:} false; then :
3153    $as_echo_n "(cached) " >&6
3154   else
3155    if test -n "$CC"; then
# Line 3314 | Line 3189 | if test -z "$CC"; then
3189   set dummy cc; ac_word=$2
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191   $as_echo_n "checking for $ac_word... " >&6; }
3192 < if test "${ac_cv_prog_CC+set}" = set; then :
3192 > if ${ac_cv_prog_CC+:} false; then :
3193    $as_echo_n "(cached) " >&6
3194   else
3195    if test -n "$CC"; then
# Line 3373 | Line 3248 | if test -z "$CC"; then
3248   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250   $as_echo_n "checking for $ac_word... " >&6; }
3251 < if test "${ac_cv_prog_CC+set}" = set; then :
3251 > if ${ac_cv_prog_CC+:} false; then :
3252    $as_echo_n "(cached) " >&6
3253   else
3254    if test -n "$CC"; then
# Line 3417 | Line 3292 | do
3292   set dummy $ac_prog; ac_word=$2
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294   $as_echo_n "checking for $ac_word... " >&6; }
3295 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3295 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3296    $as_echo_n "(cached) " >&6
3297   else
3298    if test -n "$ac_ct_CC"; then
# Line 3471 | Line 3346 | fi
3346  
3347   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 < as_fn_error "no acceptable C compiler found in \$PATH
3350 < See \`config.log' for more details." "$LINENO" 5; }
3349 > as_fn_error $? "no acceptable C compiler found in \$PATH
3350 > See \`config.log' for more details" "$LINENO" 5; }
3351  
3352   # Provide some information about the compiler.
3353   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3461 | sed 's/^/| /' conftest.$ac_ext >&5
3461  
3462   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 < { as_fn_set_status 77
3465 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3464 > as_fn_error 77 "C compiler cannot create executables
3465 > See \`config.log' for more details" "$LINENO" 5; }
3466   else
3467    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468   $as_echo "yes" >&6; }
# Line 3630 | Line 3504 | done
3504   else
3505    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3508 < See \`config.log' for more details." "$LINENO" 5; }
3507 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3508 > See \`config.log' for more details" "$LINENO" 5; }
3509   fi
3510   rm -f conftest conftest$ac_cv_exeext
3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3562 | $as_echo "$ac_try_echo"; } >&5
3562      else
3563          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 < as_fn_error "cannot run C compiled programs.
3565 > as_fn_error $? "cannot run C compiled programs.
3566   If you meant to cross compile, use \`--host'.
3567 < See \`config.log' for more details." "$LINENO" 5; }
3567 > See \`config.log' for more details" "$LINENO" 5; }
3568      fi
3569    fi
3570   fi
# Line 3701 | Line 3575 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3575   ac_clean_files=$ac_clean_files_save
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3577   $as_echo_n "checking for suffix of object files... " >&6; }
3578 < if test "${ac_cv_objext+set}" = set; then :
3578 > if ${ac_cv_objext+:} false; then :
3579    $as_echo_n "(cached) " >&6
3580   else
3581    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3615 | sed 's/^/| /' conftest.$ac_ext >&5
3615  
3616   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 < as_fn_error "cannot compute suffix of object files: cannot compile
3619 < See \`config.log' for more details." "$LINENO" 5; }
3618 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3619 > See \`config.log' for more details" "$LINENO" 5; }
3620   fi
3621   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3622   fi
# Line 3752 | Line 3626 | OBJEXT=$ac_cv_objext
3626   ac_objext=$OBJEXT
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3628   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3629 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3629 > if ${ac_cv_c_compiler_gnu+:} false; then :
3630    $as_echo_n "(cached) " >&6
3631   else
3632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3663 | ac_test_CFLAGS=${CFLAGS+set}
3663   ac_save_CFLAGS=$CFLAGS
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3665   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3666 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3666 > if ${ac_cv_prog_cc_g+:} false; then :
3667    $as_echo_n "(cached) " >&6
3668   else
3669    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3741 | else
3741   fi
3742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3743   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3744 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3744 > if ${ac_cv_prog_cc_c89+:} false; then :
3745    $as_echo_n "(cached) " >&6
3746   else
3747    ac_cv_prog_cc_c89=no
# Line 3966 | Line 3840 | depcc="$CC"   am_compiler_list=
3840  
3841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3842   $as_echo_n "checking dependency style of $depcc... " >&6; }
3843 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3843 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3844    $as_echo_n "(cached) " >&6
3845   else
3846    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3975 | Line 3849 | else
3849    # instance it was reported that on HP-UX the gcc test will end up
3850    # making a dummy file named `D' -- because `-MD' means `put the output
3851    # in D'.
3852 +  rm -rf conftest.dir
3853    mkdir conftest.dir
3854    # Copy depcomp to subdir because otherwise we won't find it if we're
3855    # using a relative directory.
# Line 4034 | Line 3909 | else
3909          break
3910        fi
3911        ;;
3912 <    msvisualcpp | msvcmsys)
3912 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3913        # This compiler won't grok `-c -o', but also, the minuso test has
3914        # not run yet.  These depmodes are late enough in the game, and
3915        # so weak that their functioning should not be impacted.
# Line 4091 | Line 3966 | fi
3966  
3967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3968   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3969 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3969 > if ${ac_cv_prog_cc_c99+:} false; then :
3970    $as_echo_n "(cached) " >&6
3971   else
3972    ac_cv_prog_cc_c99=no
# Line 4267 | Line 4142 | fi
4142  
4143  
4144   if test "$ac_cv_prog_cc_c99" = "no"; then :
4145 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4145 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4146   fi
4147   for ac_prog in 'bison -y' byacc
4148   do
# Line 4275 | Line 4150 | do
4150   set dummy $ac_prog; ac_word=$2
4151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152   $as_echo_n "checking for $ac_word... " >&6; }
4153 < if test "${ac_cv_prog_YACC+set}" = set; then :
4153 > if ${ac_cv_prog_YACC+:} false; then :
4154    $as_echo_n "(cached) " >&6
4155   else
4156    if test -n "$YACC"; then
# Line 4319 | Line 4194 | do
4194   set dummy $ac_prog; ac_word=$2
4195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196   $as_echo_n "checking for $ac_word... " >&6; }
4197 < if test "${ac_cv_prog_LEX+set}" = set; then :
4197 > if ${ac_cv_prog_LEX+:} false; then :
4198    $as_echo_n "(cached) " >&6
4199   else
4200    if test -n "$LEX"; then
# Line 4389 | Line 4264 | $as_echo "$ac_try_echo"; } >&5
4264    test $ac_status = 0; }
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4266   $as_echo_n "checking lex output file root... " >&6; }
4267 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4267 > if ${ac_cv_prog_lex_root+:} false; then :
4268    $as_echo_n "(cached) " >&6
4269   else
4270  
# Line 4398 | Line 4273 | if test -f lex.yy.c; then
4273   elif test -f lexyy.c; then
4274    ac_cv_prog_lex_root=lexyy
4275   else
4276 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4276 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4277   fi
4278   fi
4279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4283 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4283   if test -z "${LEXLIB+set}"; then
4284    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4285   $as_echo_n "checking lex library... " >&6; }
4286 < if test "${ac_cv_lib_lex+set}" = set; then :
4286 > if ${ac_cv_lib_lex+:} false; then :
4287    $as_echo_n "(cached) " >&6
4288   else
4289  
# Line 4438 | Line 4313 | fi
4313  
4314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4315   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4316 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4316 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4317    $as_echo_n "(cached) " >&6
4318   else
4319    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4324 | ac_save_LIBS=$LIBS
4324   LIBS="$LEXLIB $ac_save_LIBS"
4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326   /* end confdefs.h.  */
4327 < #define YYTEXT_POINTER 1
4327 >
4328 >  #define YYTEXT_POINTER 1
4329   `cat $LEX_OUTPUT_ROOT.c`
4330   _ACEOF
4331   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4352 | fi
4352  
4353  
4354   # Initializing libtool.
4355 +
4356 +
4357 +
4358 +
4359 +
4360 +
4361 +
4362   case `pwd` in
4363    *\ * | *\     *)
4364      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4367 | esac
4367  
4368  
4369  
4370 < macro_version='2.2.6'
4371 < macro_revision='1.3012'
4370 > macro_version='2.4.2'
4371 > macro_revision='1.3337'
4372  
4373  
4374  
# Line 4503 | Line 4386 | ltmain="$ac_aux_dir/ltmain.sh"
4386  
4387   # Make sure we can run config.sub.
4388   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4389 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4389 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4390  
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4392   $as_echo_n "checking build system type... " >&6; }
4393 < if test "${ac_cv_build+set}" = set; then :
4393 > if ${ac_cv_build+:} false; then :
4394    $as_echo_n "(cached) " >&6
4395   else
4396    ac_build_alias=$build_alias
4397   test "x$ac_build_alias" = x &&
4398    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4399   test "x$ac_build_alias" = x &&
4400 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4400 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4401   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4402 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4402 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4403  
4404   fi
4405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4406   $as_echo "$ac_cv_build" >&6; }
4407   case $ac_cv_build in
4408   *-*-*) ;;
4409 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4409 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4410   esac
4411   build=$ac_cv_build
4412   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4424 | case $build_os in *\ *) build_os=`echo "
4424  
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4426   $as_echo_n "checking host system type... " >&6; }
4427 < if test "${ac_cv_host+set}" = set; then :
4427 > if ${ac_cv_host+:} false; then :
4428    $as_echo_n "(cached) " >&6
4429   else
4430    if test "x$host_alias" = x; then
4431    ac_cv_host=$ac_cv_build
4432   else
4433    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4434 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4434 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4435   fi
4436  
4437   fi
# Line 4556 | Line 4439 | fi
4439   $as_echo "$ac_cv_host" >&6; }
4440   case $ac_cv_host in
4441   *-*-*) ;;
4442 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4442 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4443   esac
4444   host=$ac_cv_host
4445   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4455 | IFS=$ac_save_IFS
4455   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4456  
4457  
4458 + # Backslashify metacharacters that are still active within
4459 + # double-quoted strings.
4460 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4461 +
4462 + # Same as above, but do not quote variable references.
4463 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4464 +
4465 + # Sed substitution to delay expansion of an escaped shell variable in a
4466 + # double_quote_subst'ed string.
4467 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4468 +
4469 + # Sed substitution to delay expansion of an escaped single quote.
4470 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4471 +
4472 + # Sed substitution to avoid accidental globbing in evaled expressions
4473 + no_glob_subst='s/\*/\\\*/g'
4474 +
4475 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4476 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4477 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4478 +
4479 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4480 + $as_echo_n "checking how to print strings... " >&6; }
4481 + # Test print first, because it will be a builtin if present.
4482 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4483 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4484 +  ECHO='print -r --'
4485 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4486 +  ECHO='printf %s\n'
4487 + else
4488 +  # Use this function as a fallback that always works.
4489 +  func_fallback_echo ()
4490 +  {
4491 +    eval 'cat <<_LTECHO_EOF
4492 + $1
4493 + _LTECHO_EOF'
4494 +  }
4495 +  ECHO='func_fallback_echo'
4496 + fi
4497 +
4498 + # func_echo_all arg...
4499 + # Invoke $ECHO with all args, space-separated.
4500 + func_echo_all ()
4501 + {
4502 +    $ECHO ""
4503 + }
4504 +
4505 + case "$ECHO" in
4506 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4507 + $as_echo "printf" >&6; } ;;
4508 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4509 + $as_echo "print -r" >&6; } ;;
4510 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4511 + $as_echo "cat" >&6; } ;;
4512 + esac
4513 +
4514 +
4515 +
4516 +
4517 +
4518 +
4519 +
4520 +
4521 +
4522 +
4523 +
4524 +
4525 +
4526 +
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4528   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4529 < if test "${ac_cv_path_SED+set}" = set; then :
4529 > if ${ac_cv_path_SED+:} false; then :
4530    $as_echo_n "(cached) " >&6
4531   else
4532              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4629 | Line 4581 | esac
4581    done
4582   IFS=$as_save_IFS
4583    if test -z "$ac_cv_path_SED"; then
4584 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4584 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4585    fi
4586   else
4587    ac_cv_path_SED=$SED
# Line 4656 | Line 4608 | Xsed="$SED -e 1s/^X//"
4608  
4609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4610   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4611 < if test "${ac_cv_path_GREP+set}" = set; then :
4611 > if ${ac_cv_path_GREP+:} false; then :
4612    $as_echo_n "(cached) " >&6
4613   else
4614    if test -z "$GREP"; then
# Line 4705 | Line 4657 | esac
4657    done
4658   IFS=$as_save_IFS
4659    if test -z "$ac_cv_path_GREP"; then
4660 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4661    fi
4662   else
4663    ac_cv_path_GREP=$GREP
# Line 4719 | Line 4671 | $as_echo "$ac_cv_path_GREP" >&6; }
4671  
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4673   $as_echo_n "checking for egrep... " >&6; }
4674 < if test "${ac_cv_path_EGREP+set}" = set; then :
4674 > if ${ac_cv_path_EGREP+:} false; then :
4675    $as_echo_n "(cached) " >&6
4676   else
4677    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4771 | Line 4723 | esac
4723    done
4724   IFS=$as_save_IFS
4725    if test -z "$ac_cv_path_EGREP"; then
4726 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4727    fi
4728   else
4729    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 4738 | $as_echo "$ac_cv_path_EGREP" >&6; }
4738  
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4740   $as_echo_n "checking for fgrep... " >&6; }
4741 < if test "${ac_cv_path_FGREP+set}" = set; then :
4741 > if ${ac_cv_path_FGREP+:} false; then :
4742    $as_echo_n "(cached) " >&6
4743   else
4744    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4838 | Line 4790 | esac
4790    done
4791   IFS=$as_save_IFS
4792    if test -z "$ac_cv_path_FGREP"; then
4793 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4793 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4794    fi
4795   else
4796    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 4869 | else
4869    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4870   $as_echo_n "checking for non-GNU ld... " >&6; }
4871   fi
4872 < if test "${lt_cv_path_LD+set}" = set; then :
4872 > if ${lt_cv_path_LD+:} false; then :
4873    $as_echo_n "(cached) " >&6
4874   else
4875    if test -z "$LD"; then
# Line 4954 | Line 4906 | else
4906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907   $as_echo "no" >&6; }
4908   fi
4909 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4909 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4911   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4912 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4912 > if ${lt_cv_prog_gnu_ld+:} false; then :
4913    $as_echo_n "(cached) " >&6
4914   else
4915    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 4936 | with_gnu_ld=$lt_cv_prog_gnu_ld
4936  
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4938   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4939 < if test "${lt_cv_path_NM+set}" = set; then :
4939 > if ${lt_cv_path_NM+:} false; then :
4940    $as_echo_n "(cached) " >&6
4941   else
4942    if test -n "$NM"; then
# Line 5037 | Line 4989 | if test "$lt_cv_path_NM" != "no"; then
4989    NM="$lt_cv_path_NM"
4990   else
4991    # Didn't find any BSD compatible name lister, look for dumpbin.
4992 <  if test -n "$ac_tool_prefix"; then
4993 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4992 >  if test -n "$DUMPBIN"; then :
4993 >    # Let the user override the test.
4994 >  else
4995 >    if test -n "$ac_tool_prefix"; then
4996 >  for ac_prog in dumpbin "link -dump"
4997    do
4998      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4999   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001   $as_echo_n "checking for $ac_word... " >&6; }
5002 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5002 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5003    $as_echo_n "(cached) " >&6
5004   else
5005    if test -n "$DUMPBIN"; then
# Line 5082 | Line 5037 | fi
5037   fi
5038   if test -z "$DUMPBIN"; then
5039    ac_ct_DUMPBIN=$DUMPBIN
5040 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5040 >  for ac_prog in dumpbin "link -dump"
5041   do
5042    # Extract the first word of "$ac_prog", so it can be a program name with args.
5043   set dummy $ac_prog; ac_word=$2
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045   $as_echo_n "checking for $ac_word... " >&6; }
5046 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5046 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5047    $as_echo_n "(cached) " >&6
5048   else
5049    if test -n "$ac_ct_DUMPBIN"; then
# Line 5137 | Line 5092 | esac
5092    fi
5093   fi
5094  
5095 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5096 +    *COFF*)
5097 +      DUMPBIN="$DUMPBIN -symbols"
5098 +      ;;
5099 +    *)
5100 +      DUMPBIN=:
5101 +      ;;
5102 +    esac
5103 +  fi
5104  
5105    if test "$DUMPBIN" != ":"; then
5106      NM="$DUMPBIN"
# Line 5151 | Line 5115 | test -z "$NM" && NM=nm
5115  
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5117   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5118 < if test "${lt_cv_nm_interface+set}" = set; then :
5118 > if ${lt_cv_nm_interface+:} false; then :
5119    $as_echo_n "(cached) " >&6
5120   else
5121    lt_cv_nm_interface="BSD nm"
5122    echo "int some_variable = 0;" > conftest.$ac_ext
5123 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5123 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5124    (eval "$ac_compile" 2>conftest.err)
5125    cat conftest.err >&5
5126 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5126 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5127    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5128    cat conftest.err >&5
5129 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5129 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5130    cat conftest.out >&5
5131    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5132      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5150 | fi
5150   # find the maximum length of command line arguments
5151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5152   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5153 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5153 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5154    $as_echo_n "(cached) " >&6
5155   else
5156      i=0
# Line 5219 | Line 5183 | else
5183      lt_cv_sys_max_cmd_len=8192;
5184      ;;
5185  
5186 +  mint*)
5187 +    # On MiNT this can take a long time and run out of memory.
5188 +    lt_cv_sys_max_cmd_len=8192;
5189 +    ;;
5190 +
5191    amigaos*)
5192      # On AmigaOS with pdksh, this test takes hours, literally.
5193      # So we just punt and use a minimum line length of 8192.
# Line 5244 | Line 5213 | else
5213      lt_cv_sys_max_cmd_len=196608
5214      ;;
5215  
5216 +  os2*)
5217 +    # The test takes a long time on OS/2.
5218 +    lt_cv_sys_max_cmd_len=8192
5219 +    ;;
5220 +
5221    osf*)
5222      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5223      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5283 | Line 5257 | else
5257        # If test is not a shell built-in, we'll probably end up computing a
5258        # maximum length that is only half of the actual maximum length, but
5259        # we can't tell.
5260 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5261 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5260 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5261 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5262                test $i != 17 # 1/2 MB should be enough
5263        do
5264          i=`expr $i + 1`
# Line 5326 | Line 5300 | $as_echo_n "checking whether the shell u
5300   # Try some XSI features
5301   xsi_shell=no
5302   ( _lt_dummy="a/b/c"
5303 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5304 <      = c,a/b,, \
5303 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5304 >      = c,a/b,b/c, \
5305      && eval 'test $(( 1 + 1 )) -eq 2 \
5306      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5307    && xsi_shell=yes
# Line 5376 | Line 5350 | esac
5350  
5351  
5352  
5353 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5354 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5355 + if ${lt_cv_to_host_file_cmd+:} false; then :
5356 +  $as_echo_n "(cached) " >&6
5357 + else
5358 +  case $host in
5359 +  *-*-mingw* )
5360 +    case $build in
5361 +      *-*-mingw* ) # actually msys
5362 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5363 +        ;;
5364 +      *-*-cygwin* )
5365 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5366 +        ;;
5367 +      * ) # otherwise, assume *nix
5368 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5369 +        ;;
5370 +    esac
5371 +    ;;
5372 +  *-*-cygwin* )
5373 +    case $build in
5374 +      *-*-mingw* ) # actually msys
5375 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5376 +        ;;
5377 +      *-*-cygwin* )
5378 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5379 +        ;;
5380 +      * ) # otherwise, assume *nix
5381 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5382 +        ;;
5383 +    esac
5384 +    ;;
5385 +  * ) # unhandled hosts (and "normal" native builds)
5386 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5387 +    ;;
5388 + esac
5389 +
5390 + fi
5391 +
5392 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5393 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5394 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5395 +
5396 +
5397 +
5398 +
5399 +
5400 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5401 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5402 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5403 +  $as_echo_n "(cached) " >&6
5404 + else
5405 +  #assume ordinary cross tools, or native build.
5406 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5407 + case $host in
5408 +  *-*-mingw* )
5409 +    case $build in
5410 +      *-*-mingw* ) # actually msys
5411 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5412 +        ;;
5413 +    esac
5414 +    ;;
5415 + esac
5416 +
5417 + fi
5418 +
5419 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5421 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5422 +
5423 +
5424 +
5425 +
5426 +
5427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5428   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5429 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5429 > if ${lt_cv_ld_reload_flag+:} false; then :
5430    $as_echo_n "(cached) " >&6
5431   else
5432    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5440 | case $reload_flag in
5440   esac
5441   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5442   case $host_os in
5443 +  cygwin* | mingw* | pw32* | cegcc*)
5444 +    if test "$GCC" != yes; then
5445 +      reload_cmds=false
5446 +    fi
5447 +    ;;
5448    darwin*)
5449      if test "$GCC" = yes; then
5450        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5467 | if test -n "$ac_tool_prefix"; then
5467   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469   $as_echo_n "checking for $ac_word... " >&6; }
5470 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5470 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5471    $as_echo_n "(cached) " >&6
5472   else
5473    if test -n "$OBJDUMP"; then
# Line 5454 | Line 5507 | if test -z "$ac_cv_prog_OBJDUMP"; then
5507   set dummy objdump; ac_word=$2
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509   $as_echo_n "checking for $ac_word... " >&6; }
5510 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5510 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5511    $as_echo_n "(cached) " >&6
5512   else
5513    if test -n "$ac_ct_OBJDUMP"; then
# Line 5513 | Line 5566 | test -z "$OBJDUMP" && OBJDUMP=objdump
5566  
5567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5568   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5569 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5569 > if ${lt_cv_deplibs_check_method+:} false; then :
5570    $as_echo_n "(cached) " >&6
5571   else
5572    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5608 | mingw* | pw32*)
5608    # Base MSYS/MinGW do not provide the 'file' command needed by
5609    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5610    # unless we find 'file', for example because we are cross-compiling.
5611 <  if ( file / ) >/dev/null 2>&1; then
5611 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5612 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5613      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5614      lt_cv_file_magic_cmd='func_win32_libid'
5615    else
5616 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5616 >    # Keep this pattern in sync with the one in func_win32_libid.
5617 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5618      lt_cv_file_magic_cmd='$OBJDUMP -f'
5619    fi
5620    ;;
5621  
5622 < cegcc)
5622 > cegcc*)
5623    # use the weaker test based on 'objdump'. See mingw*.
5624    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5625    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5649 | gnu*)
5649    lt_cv_deplibs_check_method=pass_all
5650    ;;
5651  
5652 + haiku*)
5653 +  lt_cv_deplibs_check_method=pass_all
5654 +  ;;
5655 +
5656   hpux10.20* | hpux11*)
5657    lt_cv_file_magic_cmd=/usr/bin/file
5658    case $host_cpu in
# Line 5602 | Line 5661 | hpux10.20* | hpux11*)
5661      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5662      ;;
5663    hppa*64*)
5664 <    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]'
5664 >    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]'
5665      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5666      ;;
5667    *)
5668 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5668 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5669      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5670      ;;
5671    esac
# Line 5627 | Line 5686 | irix5* | irix6* | nonstopux*)
5686    lt_cv_deplibs_check_method=pass_all
5687    ;;
5688  
5689 < # This must be Linux ELF.
5690 < linux* | k*bsd*-gnu)
5689 > # This must be glibc/ELF.
5690 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5691    lt_cv_deplibs_check_method=pass_all
5692    ;;
5693  
# Line 5709 | Line 5768 | esac
5768   fi
5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5770   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5771 +
5772 + file_magic_glob=
5773 + want_nocaseglob=no
5774 + if test "$build" = "$host"; then
5775 +  case $host_os in
5776 +  mingw* | pw32*)
5777 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5778 +      want_nocaseglob=yes
5779 +    else
5780 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5781 +    fi
5782 +    ;;
5783 +  esac
5784 + fi
5785 +
5786   file_magic_cmd=$lt_cv_file_magic_cmd
5787   deplibs_check_method=$lt_cv_deplibs_check_method
5788   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5798 | test -z "$deplibs_check_method" && depli
5798  
5799  
5800  
5801 +
5802 +
5803 +
5804 +
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 + if test -n "$ac_tool_prefix"; then
5812 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5813 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 + $as_echo_n "checking for $ac_word... " >&6; }
5816 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5817 +  $as_echo_n "(cached) " >&6
5818 + else
5819 +  if test -n "$DLLTOOL"; then
5820 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5821 + else
5822 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 + for as_dir in $PATH
5824 + do
5825 +  IFS=$as_save_IFS
5826 +  test -z "$as_dir" && as_dir=.
5827 +    for ac_exec_ext in '' $ac_executable_extensions; do
5828 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5830 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 +    break 2
5832 +  fi
5833 + done
5834 +  done
5835 + IFS=$as_save_IFS
5836 +
5837 + fi
5838 + fi
5839 + DLLTOOL=$ac_cv_prog_DLLTOOL
5840 + if test -n "$DLLTOOL"; then
5841 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5842 + $as_echo "$DLLTOOL" >&6; }
5843 + else
5844 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 + $as_echo "no" >&6; }
5846 + fi
5847 +
5848 +
5849 + fi
5850 + if test -z "$ac_cv_prog_DLLTOOL"; then
5851 +  ac_ct_DLLTOOL=$DLLTOOL
5852 +  # Extract the first word of "dlltool", so it can be a program name with args.
5853 + set dummy dlltool; ac_word=$2
5854 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 + $as_echo_n "checking for $ac_word... " >&6; }
5856 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5857 +  $as_echo_n "(cached) " >&6
5858 + else
5859 +  if test -n "$ac_ct_DLLTOOL"; then
5860 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5861 + else
5862 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 + for as_dir in $PATH
5864 + do
5865 +  IFS=$as_save_IFS
5866 +  test -z "$as_dir" && as_dir=.
5867 +    for ac_exec_ext in '' $ac_executable_extensions; do
5868 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5870 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 +    break 2
5872 +  fi
5873 + done
5874 +  done
5875 + IFS=$as_save_IFS
5876 +
5877 + fi
5878 + fi
5879 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5880 + if test -n "$ac_ct_DLLTOOL"; then
5881 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5882 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5883 + else
5884 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 + $as_echo "no" >&6; }
5886 + fi
5887 +
5888 +  if test "x$ac_ct_DLLTOOL" = x; then
5889 +    DLLTOOL="false"
5890 +  else
5891 +    case $cross_compiling:$ac_tool_warned in
5892 + yes:)
5893 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5894 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5895 + ac_tool_warned=yes ;;
5896 + esac
5897 +    DLLTOOL=$ac_ct_DLLTOOL
5898 +  fi
5899 + else
5900 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5901 + fi
5902 +
5903 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5904 +
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5915 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5916 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5917 +  $as_echo_n "(cached) " >&6
5918 + else
5919 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5920 +
5921 + case $host_os in
5922 + cygwin* | mingw* | pw32* | cegcc*)
5923 +  # two different shell functions defined in ltmain.sh
5924 +  # decide which to use based on capabilities of $DLLTOOL
5925 +  case `$DLLTOOL --help 2>&1` in
5926 +  *--identify-strict*)
5927 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5928 +    ;;
5929 +  *)
5930 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5931 +    ;;
5932 +  esac
5933 +  ;;
5934 + *)
5935 +  # fallback: assume linklib IS sharedlib
5936 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5937 +  ;;
5938 + esac
5939 +
5940 + fi
5941 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5942 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5943 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5944 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5945 +
5946 +
5947 +
5948 +
5949 +
5950 +
5951 +
5952   if test -n "$ac_tool_prefix"; then
5953 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5954 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5953 >  for ac_prog in ar
5954 >  do
5955 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958   $as_echo_n "checking for $ac_word... " >&6; }
5959 < if test "${ac_cv_prog_AR+set}" = set; then :
5959 > if ${ac_cv_prog_AR+:} false; then :
5960    $as_echo_n "(cached) " >&6
5961   else
5962    if test -n "$AR"; then
# Line 5742 | Line 5969 | do
5969    test -z "$as_dir" && as_dir=.
5970      for ac_exec_ext in '' $ac_executable_extensions; do
5971    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5972 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974      break 2
5975    fi
# Line 5762 | Line 5989 | $as_echo "no" >&6; }
5989   fi
5990  
5991  
5992 +    test -n "$AR" && break
5993 +  done
5994   fi
5995 < if test -z "$ac_cv_prog_AR"; then
5995 > if test -z "$AR"; then
5996    ac_ct_AR=$AR
5997 <  # Extract the first word of "ar", so it can be a program name with args.
5998 < set dummy ar; ac_word=$2
5997 >  for ac_prog in ar
5998 > do
5999 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 > set dummy $ac_prog; ac_word=$2
6001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002   $as_echo_n "checking for $ac_word... " >&6; }
6003 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6003 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004    $as_echo_n "(cached) " >&6
6005   else
6006    if test -n "$ac_ct_AR"; then
# Line 5782 | Line 6013 | do
6013    test -z "$as_dir" && as_dir=.
6014      for ac_exec_ext in '' $ac_executable_extensions; do
6015    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 <    ac_cv_prog_ac_ct_AR="ar"
6016 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6017      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018      break 2
6019    fi
# Line 5801 | Line 6032 | else
6032   $as_echo "no" >&6; }
6033   fi
6034  
6035 +
6036 +  test -n "$ac_ct_AR" && break
6037 + done
6038 +
6039    if test "x$ac_ct_AR" = x; then
6040      AR="false"
6041    else
# Line 5812 | Line 6047 | ac_tool_warned=yes ;;
6047   esac
6048      AR=$ac_ct_AR
6049    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6050   fi
6051  
6052 < test -z "$AR" && AR=ar
6053 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6052 > : ${AR=ar}
6053 > : ${AR_FLAGS=cru}
6054 >
6055 >
6056  
6057  
6058  
# Line 5827 | Line 6062 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6062  
6063  
6064  
6065 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6066 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6067 + if ${lt_cv_ar_at_file+:} false; then :
6068 +  $as_echo_n "(cached) " >&6
6069 + else
6070 +  lt_cv_ar_at_file=no
6071 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 + /* end confdefs.h.  */
6073 +
6074 + int
6075 + main ()
6076 + {
6077 +
6078 +  ;
6079 +  return 0;
6080 + }
6081 + _ACEOF
6082 + if ac_fn_c_try_compile "$LINENO"; then :
6083 +  echo conftest.$ac_objext > conftest.lst
6084 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6085 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086 +  (eval $lt_ar_try) 2>&5
6087 +  ac_status=$?
6088 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 +  test $ac_status = 0; }
6090 +      if test "$ac_status" -eq 0; then
6091 +        # Ensure the archiver fails upon bogus file names.
6092 +        rm -f conftest.$ac_objext libconftest.a
6093 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094 +  (eval $lt_ar_try) 2>&5
6095 +  ac_status=$?
6096 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 +  test $ac_status = 0; }
6098 +        if test "$ac_status" -ne 0; then
6099 +          lt_cv_ar_at_file=@
6100 +        fi
6101 +      fi
6102 +      rm -f conftest.* libconftest.a
6103 +
6104 + fi
6105 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 +
6107 + fi
6108 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6109 + $as_echo "$lt_cv_ar_at_file" >&6; }
6110 +
6111 + if test "x$lt_cv_ar_at_file" = xno; then
6112 +  archiver_list_spec=
6113 + else
6114 +  archiver_list_spec=$lt_cv_ar_at_file
6115 + fi
6116 +
6117 +
6118 +
6119 +
6120 +
6121  
6122  
6123   if test -n "$ac_tool_prefix"; then
# Line 5834 | Line 6125 | if test -n "$ac_tool_prefix"; then
6125   set dummy ${ac_tool_prefix}strip; ac_word=$2
6126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127   $as_echo_n "checking for $ac_word... " >&6; }
6128 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6128 > if ${ac_cv_prog_STRIP+:} false; then :
6129    $as_echo_n "(cached) " >&6
6130   else
6131    if test -n "$STRIP"; then
# Line 5874 | Line 6165 | if test -z "$ac_cv_prog_STRIP"; then
6165   set dummy strip; ac_word=$2
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167   $as_echo_n "checking for $ac_word... " >&6; }
6168 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6168 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6169    $as_echo_n "(cached) " >&6
6170   else
6171    if test -n "$ac_ct_STRIP"; then
# Line 5933 | Line 6224 | if test -n "$ac_tool_prefix"; then
6224   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226   $as_echo_n "checking for $ac_word... " >&6; }
6227 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6227 > if ${ac_cv_prog_RANLIB+:} false; then :
6228    $as_echo_n "(cached) " >&6
6229   else
6230    if test -n "$RANLIB"; then
# Line 5973 | Line 6264 | if test -z "$ac_cv_prog_RANLIB"; then
6264   set dummy ranlib; ac_word=$2
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266   $as_echo_n "checking for $ac_word... " >&6; }
6267 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6267 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6268    $as_echo_n "(cached) " >&6
6269   else
6270    if test -n "$ac_ct_RANLIB"; then
# Line 6035 | Line 6326 | old_postuninstall_cmds=
6326   if test -n "$RANLIB"; then
6327    case $host_os in
6328    openbsd*)
6329 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6329 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6330      ;;
6331    *)
6332 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6332 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6333      ;;
6334    esac
6335 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6335 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6336   fi
6337  
6338 + case $host_os in
6339 +  darwin*)
6340 +    lock_old_archive_extraction=yes ;;
6341 +  *)
6342 +    lock_old_archive_extraction=no ;;
6343 + esac
6344 +
6345 +
6346 +
6347 +
6348 +
6349 +
6350  
6351  
6352  
# Line 6090 | Line 6393 | compiler=$CC
6393   # Check for command to grab the raw symbol name followed by C symbol from nm.
6394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6395   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6396 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6396 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6397    $as_echo_n "(cached) " >&6
6398   else
6399  
# Line 6151 | Line 6454 | esac
6454   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6455  
6456   # Transform an extracted symbol line into symbol name and symbol address
6457 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 < 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'"
6457 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 > 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'"
6459  
6460   # Handle CRLF in mingw tool chain
6461   opt_cr=
# Line 6176 | Line 6479 | for ac_symprfx in "" "_"; do
6479      # which start with @ or ?.
6480      lt_cv_sys_global_symbol_pipe="$AWK '"\
6481   "     {last_section=section; section=\$ 3};"\
6482 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6483   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6484   "     \$ 0!~/External *\|/{next};"\
6485   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6188 | Line 6492 | for ac_symprfx in "" "_"; do
6492    else
6493      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6494    fi
6495 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6496  
6497    # Check to see that the pipe works correctly.
6498    pipe_works=no
# Line 6213 | Line 6518 | _LT_EOF
6518    test $ac_status = 0; }; then
6519      # Now try to grab the symbols.
6520      nlist=conftest.nm
6521 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6522 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6521 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6522 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6523    ac_status=$?
6524    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6534 | _LT_EOF
6534        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6535          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6536            cat <<_LT_EOF > conftest.$ac_ext
6537 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6538 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6539 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6540 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6541 + # define LT_DLSYM_CONST
6542 + #elif defined(__osf__)
6543 + /* This system does not cope well with relocations in const data.  */
6544 + # define LT_DLSYM_CONST
6545 + #else
6546 + # define LT_DLSYM_CONST const
6547 + #endif
6548 +
6549   #ifdef __cplusplus
6550   extern "C" {
6551   #endif
# Line 6240 | Line 6557 | _LT_EOF
6557            cat <<_LT_EOF >> conftest.$ac_ext
6558  
6559   /* The mapping between symbol names and symbols.  */
6560 < const struct {
6560 > LT_DLSYM_CONST struct {
6561    const char *name;
6562    void       *address;
6563   }
# Line 6266 | Line 6583 | static const void *lt_preloaded_setup()
6583   _LT_EOF
6584            # Now try linking the two files.
6585            mv conftest.$ac_objext conftstm.$ac_objext
6586 <          lt_save_LIBS="$LIBS"
6587 <          lt_save_CFLAGS="$CFLAGS"
6586 >          lt_globsym_save_LIBS=$LIBS
6587 >          lt_globsym_save_CFLAGS=$CFLAGS
6588            LIBS="conftstm.$ac_objext"
6589            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6590            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6594 | _LT_EOF
6594    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6595              pipe_works=yes
6596            fi
6597 <          LIBS="$lt_save_LIBS"
6598 <          CFLAGS="$lt_save_CFLAGS"
6597 >          LIBS=$lt_globsym_save_LIBS
6598 >          CFLAGS=$lt_globsym_save_CFLAGS
6599          else
6600            echo "cannot find nm_test_func in $nlist" >&5
6601          fi
# Line 6315 | Line 6632 | else
6632   $as_echo "ok" >&6; }
6633   fi
6634  
6635 + # Response file support.
6636 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6637 +  nm_file_list_spec='@'
6638 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6639 +  nm_file_list_spec='@'
6640 + fi
6641 +
6642 +
6643 +
6644 +
6645 +
6646 +
6647 +
6648 +
6649 +
6650  
6651  
6652  
# Line 6333 | Line 6665 | fi
6665  
6666  
6667  
6668 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6669 + $as_echo_n "checking for sysroot... " >&6; }
6670 +
6671 + # Check whether --with-sysroot was given.
6672 + if test "${with_sysroot+set}" = set; then :
6673 +  withval=$with_sysroot;
6674 + else
6675 +  with_sysroot=no
6676 + fi
6677 +
6678 +
6679 + lt_sysroot=
6680 + case ${with_sysroot} in #(
6681 + yes)
6682 +   if test "$GCC" = yes; then
6683 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6684 +   fi
6685 +   ;; #(
6686 + /*)
6687 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6688 +   ;; #(
6689 + no|'')
6690 +   ;; #(
6691 + *)
6692 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6693 + $as_echo "${with_sysroot}" >&6; }
6694 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6695 +   ;;
6696 + esac
6697 +
6698 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6699 + $as_echo "${lt_sysroot:-no}" >&6; }
6700 +
6701 +
6702  
6703  
6704  
# Line 6367 | Line 6733 | ia64-*-hpux*)
6733    ;;
6734   *-*-irix6*)
6735    # Find out which ABI we are using.
6736 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6736 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6737    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738    (eval $ac_compile) 2>&5
6739    ac_status=$?
# Line 6461 | Line 6827 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6827    CFLAGS="$CFLAGS -belf"
6828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6829   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6830 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830 > if ${lt_cv_cc_needs_belf+:} false; then :
6831    $as_echo_n "(cached) " >&6
6832   else
6833    ac_ext=c
# Line 6502 | Line 6868 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868      CFLAGS="$SAVE_CFLAGS"
6869    fi
6870    ;;
6871 < sparc*-*solaris*)
6871 > *-*solaris*)
6872    # Find out which ABI we are using.
6873    echo 'int i;' > conftest.$ac_ext
6874    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6513 | Line 6879 | sparc*-*solaris*)
6879      case `/usr/bin/file conftest.o` in
6880      *64-bit*)
6881        case $lt_cv_prog_gnu_ld in
6882 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6882 >      yes*)
6883 >        case $host in
6884 >        i?86-*-solaris*)
6885 >          LD="${LD-ld} -m elf_x86_64"
6886 >          ;;
6887 >        sparc*-*-solaris*)
6888 >          LD="${LD-ld} -m elf64_sparc"
6889 >          ;;
6890 >        esac
6891 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6892 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6893 >          LD="${LD-ld}_sol2"
6894 >        fi
6895 >        ;;
6896        *)
6897          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6898            LD="${LD-ld} -64"
# Line 6529 | Line 6908 | esac
6908  
6909   need_locks="$enable_libtool_lock"
6910  
6911 + if test -n "$ac_tool_prefix"; then
6912 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6913 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 + $as_echo_n "checking for $ac_word... " >&6; }
6916 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6917 +  $as_echo_n "(cached) " >&6
6918 + else
6919 +  if test -n "$MANIFEST_TOOL"; then
6920 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6921 + else
6922 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 + for as_dir in $PATH
6924 + do
6925 +  IFS=$as_save_IFS
6926 +  test -z "$as_dir" && as_dir=.
6927 +    for ac_exec_ext in '' $ac_executable_extensions; do
6928 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6930 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 +    break 2
6932 +  fi
6933 + done
6934 +  done
6935 + IFS=$as_save_IFS
6936 +
6937 + fi
6938 + fi
6939 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6940 + if test -n "$MANIFEST_TOOL"; then
6941 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6942 + $as_echo "$MANIFEST_TOOL" >&6; }
6943 + else
6944 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 + $as_echo "no" >&6; }
6946 + fi
6947 +
6948 +
6949 + fi
6950 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6951 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6952 +  # Extract the first word of "mt", so it can be a program name with args.
6953 + set dummy mt; ac_word=$2
6954 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 + $as_echo_n "checking for $ac_word... " >&6; }
6956 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6957 +  $as_echo_n "(cached) " >&6
6958 + else
6959 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6960 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6961 + else
6962 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 + for as_dir in $PATH
6964 + do
6965 +  IFS=$as_save_IFS
6966 +  test -z "$as_dir" && as_dir=.
6967 +    for ac_exec_ext in '' $ac_executable_extensions; do
6968 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6970 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 +    break 2
6972 +  fi
6973 + done
6974 +  done
6975 + IFS=$as_save_IFS
6976 +
6977 + fi
6978 + fi
6979 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6980 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6981 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6982 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6983 + else
6984 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 + $as_echo "no" >&6; }
6986 + fi
6987 +
6988 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6989 +    MANIFEST_TOOL=":"
6990 +  else
6991 +    case $cross_compiling:$ac_tool_warned in
6992 + yes:)
6993 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995 + ac_tool_warned=yes ;;
6996 + esac
6997 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6998 +  fi
6999 + else
7000 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7001 + fi
7002 +
7003 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7004 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7005 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7006 + if ${lt_cv_path_mainfest_tool+:} false; then :
7007 +  $as_echo_n "(cached) " >&6
7008 + else
7009 +  lt_cv_path_mainfest_tool=no
7010 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7011 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7012 +  cat conftest.err >&5
7013 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7014 +    lt_cv_path_mainfest_tool=yes
7015 +  fi
7016 +  rm -f conftest*
7017 + fi
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7019 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7020 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7021 +  MANIFEST_TOOL=:
7022 + fi
7023 +
7024 +
7025 +
7026 +
7027 +
7028  
7029    case $host_os in
7030      rhapsody* | darwin*)
# Line 6537 | Line 7033 | need_locks="$enable_libtool_lock"
7033   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035   $as_echo_n "checking for $ac_word... " >&6; }
7036 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7036 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7037    $as_echo_n "(cached) " >&6
7038   else
7039    if test -n "$DSYMUTIL"; then
# Line 6577 | Line 7073 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7073   set dummy dsymutil; ac_word=$2
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075   $as_echo_n "checking for $ac_word... " >&6; }
7076 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7076 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7077    $as_echo_n "(cached) " >&6
7078   else
7079    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6629 | Line 7125 | fi
7125   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127   $as_echo_n "checking for $ac_word... " >&6; }
7128 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7128 > if ${ac_cv_prog_NMEDIT+:} false; then :
7129    $as_echo_n "(cached) " >&6
7130   else
7131    if test -n "$NMEDIT"; then
# Line 6669 | Line 7165 | if test -z "$ac_cv_prog_NMEDIT"; then
7165   set dummy nmedit; ac_word=$2
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167   $as_echo_n "checking for $ac_word... " >&6; }
7168 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7168 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7169    $as_echo_n "(cached) " >&6
7170   else
7171    if test -n "$ac_ct_NMEDIT"; then
# Line 6721 | Line 7217 | fi
7217   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219   $as_echo_n "checking for $ac_word... " >&6; }
7220 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7220 > if ${ac_cv_prog_LIPO+:} false; then :
7221    $as_echo_n "(cached) " >&6
7222   else
7223    if test -n "$LIPO"; then
# Line 6761 | Line 7257 | if test -z "$ac_cv_prog_LIPO"; then
7257   set dummy lipo; ac_word=$2
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259   $as_echo_n "checking for $ac_word... " >&6; }
7260 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7260 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7261    $as_echo_n "(cached) " >&6
7262   else
7263    if test -n "$ac_ct_LIPO"; then
# Line 6813 | Line 7309 | fi
7309   set dummy ${ac_tool_prefix}otool; ac_word=$2
7310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311   $as_echo_n "checking for $ac_word... " >&6; }
7312 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7312 > if ${ac_cv_prog_OTOOL+:} false; then :
7313    $as_echo_n "(cached) " >&6
7314   else
7315    if test -n "$OTOOL"; then
# Line 6853 | Line 7349 | if test -z "$ac_cv_prog_OTOOL"; then
7349   set dummy otool; ac_word=$2
7350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351   $as_echo_n "checking for $ac_word... " >&6; }
7352 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7352 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7353    $as_echo_n "(cached) " >&6
7354   else
7355    if test -n "$ac_ct_OTOOL"; then
# Line 6905 | Line 7401 | fi
7401   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403   $as_echo_n "checking for $ac_word... " >&6; }
7404 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7404 > if ${ac_cv_prog_OTOOL64+:} false; then :
7405    $as_echo_n "(cached) " >&6
7406   else
7407    if test -n "$OTOOL64"; then
# Line 6945 | Line 7441 | if test -z "$ac_cv_prog_OTOOL64"; then
7441   set dummy otool64; ac_word=$2
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443   $as_echo_n "checking for $ac_word... " >&6; }
7444 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7444 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7445    $as_echo_n "(cached) " >&6
7446   else
7447    if test -n "$ac_ct_OTOOL64"; then
# Line 7020 | Line 7516 | fi
7516  
7517      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7518   $as_echo_n "checking for -single_module linker flag... " >&6; }
7519 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7519 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7520    $as_echo_n "(cached) " >&6
7521   else
7522    lt_cv_apple_cc_single_mod=no
# Line 7036 | Line 7532 | else
7532          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7533            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7534          _lt_result=$?
7535 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7535 >        # If there is a non-empty error log, and "single_module"
7536 >        # appears in it, assume the flag caused a linker warning
7537 >        if test -s conftest.err && $GREP single_module conftest.err; then
7538 >          cat conftest.err >&5
7539 >        # Otherwise, if the output was created with a 0 exit code from
7540 >        # the compiler, it worked.
7541 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7542            lt_cv_apple_cc_single_mod=yes
7543          else
7544            cat conftest.err >&5
# Line 7047 | Line 7549 | else
7549   fi
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7551   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7552 +
7553      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7554   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7555 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7555 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7556    $as_echo_n "(cached) " >&6
7557   else
7558    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7582 | rm -f core conftest.err conftest.$ac_obj
7582   fi
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7584   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7585 +
7586 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7587 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7588 + if ${lt_cv_ld_force_load+:} false; then :
7589 +  $as_echo_n "(cached) " >&6
7590 + else
7591 +  lt_cv_ld_force_load=no
7592 +      cat > conftest.c << _LT_EOF
7593 + int forced_loaded() { return 2;}
7594 + _LT_EOF
7595 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7596 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7597 +      echo "$AR cru libconftest.a conftest.o" >&5
7598 +      $AR cru libconftest.a conftest.o 2>&5
7599 +      echo "$RANLIB libconftest.a" >&5
7600 +      $RANLIB libconftest.a 2>&5
7601 +      cat > conftest.c << _LT_EOF
7602 + int main() { return 0;}
7603 + _LT_EOF
7604 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7605 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7606 +      _lt_result=$?
7607 +      if test -s conftest.err && $GREP force_load conftest.err; then
7608 +        cat conftest.err >&5
7609 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7610 +        lt_cv_ld_force_load=yes
7611 +      else
7612 +        cat conftest.err >&5
7613 +      fi
7614 +        rm -f conftest.err libconftest.a conftest conftest.c
7615 +        rm -rf conftest.dSYM
7616 +
7617 + fi
7618 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7619 + $as_echo "$lt_cv_ld_force_load" >&6; }
7620      case $host_os in
7621      rhapsody* | darwin1.[012])
7622        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7644 | $as_echo "$lt_cv_ld_exported_symbols_lis
7644      else
7645        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7646      fi
7647 <    if test "$DSYMUTIL" != ":"; then
7647 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7648        _lt_dsymutil='~$DSYMUTIL $lib || :'
7649      else
7650        _lt_dsymutil=
# Line 7126 | Line 7664 | if test -n "$CPP" && test -d "$CPP"; the
7664    CPP=
7665   fi
7666   if test -z "$CPP"; then
7667 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7667 >  if ${ac_cv_prog_CPP+:} false; then :
7668    $as_echo_n "(cached) " >&6
7669   else
7670        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7694 | else
7694    # Broken: fails on valid input.
7695   continue
7696   fi
7697 < rm -f conftest.err conftest.$ac_ext
7697 > rm -f conftest.err conftest.i conftest.$ac_ext
7698  
7699    # OK, works on sane cases.  Now check whether nonexistent headers
7700    # can be detected and how.
# Line 7172 | Line 7710 | else
7710   ac_preproc_ok=:
7711   break
7712   fi
7713 < rm -f conftest.err conftest.$ac_ext
7713 > rm -f conftest.err conftest.i conftest.$ac_ext
7714  
7715   done
7716   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7717 < rm -f conftest.err conftest.$ac_ext
7717 > rm -f conftest.i conftest.err conftest.$ac_ext
7718   if $ac_preproc_ok; then :
7719    break
7720   fi
# Line 7215 | Line 7753 | else
7753    # Broken: fails on valid input.
7754   continue
7755   fi
7756 < rm -f conftest.err conftest.$ac_ext
7756 > rm -f conftest.err conftest.i conftest.$ac_ext
7757  
7758    # OK, works on sane cases.  Now check whether nonexistent headers
7759    # can be detected and how.
# Line 7231 | Line 7769 | else
7769   ac_preproc_ok=:
7770   break
7771   fi
7772 < rm -f conftest.err conftest.$ac_ext
7772 > rm -f conftest.err conftest.i conftest.$ac_ext
7773  
7774   done
7775   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7776 < rm -f conftest.err conftest.$ac_ext
7776 > rm -f conftest.i conftest.err conftest.$ac_ext
7777   if $ac_preproc_ok; then :
7778  
7779   else
7780    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7781   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7782 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7783 < See \`config.log' for more details." "$LINENO" 5; }
7782 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7783 > See \`config.log' for more details" "$LINENO" 5; }
7784   fi
7785  
7786   ac_ext=c
# Line 7254 | Line 7792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7792  
7793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7794   $as_echo_n "checking for ANSI C header files... " >&6; }
7795 < if test "${ac_cv_header_stdc+set}" = set; then :
7795 > if ${ac_cv_header_stdc+:} false; then :
7796    $as_echo_n "(cached) " >&6
7797   else
7798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 7909 | do :
7909    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7910   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7911   "
7912 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
7912 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7913    cat >>confdefs.h <<_ACEOF
7914   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7915   _ACEOF
# Line 7386 | Line 7923 | for ac_header in dlfcn.h
7923   do :
7924    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925   "
7926 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7927    cat >>confdefs.h <<_ACEOF
7928   #define HAVE_DLFCN_H 1
7929   _ACEOF
# Line 7397 | Line 7934 | done
7934  
7935  
7936  
7937 +
7938 +
7939   # Set options
7940   enable_dlopen=yes
7941   # Check whether --enable-static was given.
# Line 7470 | Line 8009 | fi
8009  
8010   # Check whether --with-pic was given.
8011   if test "${with_pic+set}" = set; then :
8012 <  withval=$with_pic; pic_mode="$withval"
8012 >  withval=$with_pic; lt_p=${PACKAGE-default}
8013 >    case $withval in
8014 >    yes|no) pic_mode=$withval ;;
8015 >    *)
8016 >      pic_mode=default
8017 >      # Look at the argument we got.  We use all the common list separators.
8018 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019 >      for lt_pkg in $withval; do
8020 >        IFS="$lt_save_ifs"
8021 >        if test "X$lt_pkg" = "X$lt_p"; then
8022 >          pic_mode=yes
8023 >        fi
8024 >      done
8025 >      IFS="$lt_save_ifs"
8026 >      ;;
8027 >    esac
8028   else
8029    pic_mode=default
8030   fi
# Line 7547 | Line 8101 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8101  
8102  
8103  
8104 +
8105 +
8106 +
8107 +
8108 +
8109   test -z "$LN_S" && LN_S="ln -s"
8110  
8111  
# Line 7568 | Line 8127 | fi
8127  
8128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8129   $as_echo_n "checking for objdir... " >&6; }
8130 < if test "${lt_cv_objdir+set}" = set; then :
8130 > if ${lt_cv_objdir+:} false; then :
8131    $as_echo_n "(cached) " >&6
8132   else
8133    rm -f .libs 2>/dev/null
# Line 7596 | Line 8155 | _ACEOF
8155  
8156  
8157  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8158   case $host_os in
8159   aix3*)
8160    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8167 | aix3*)
8167    ;;
8168   esac
8169  
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
8170   # Global variables:
8171   ofile=libtool
8172   can_build_shared=yes
# Line 7666 | Line 8195 | for cc_temp in $compiler""; do
8195      *) break;;
8196    esac
8197   done
8198 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8198 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8199  
8200  
8201   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8205 | file_magic*)
8205    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8206      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8207   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8208 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8208 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209    $as_echo_n "(cached) " >&6
8210   else
8211    case $MAGIC_CMD in
# Line 7742 | Line 8271 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8271    if test -n "$ac_tool_prefix"; then
8272      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8273   $as_echo_n "checking for file... " >&6; }
8274 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8275    $as_echo_n "(cached) " >&6
8276   else
8277    case $MAGIC_CMD in
# Line 7871 | Line 8400 | if test -n "$compiler"; then
8400   lt_prog_compiler_no_builtin_flag=
8401  
8402   if test "$GCC" = yes; then
8403 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8403 >  case $cc_basename in
8404 >  nvcc*)
8405 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8406 >  *)
8407 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8408 >  esac
8409  
8410    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8411   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8412 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8412 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8413    $as_echo_n "(cached) " >&6
8414   else
8415    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8425 | else
8425     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8426     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8427     -e 's:$: $lt_compiler_flag:'`
8428 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8428 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8429     (eval "$lt_compile" 2>conftest.err)
8430     ac_status=$?
8431     cat conftest.err >&5
8432 <   echo "$as_me:7898: \$? = $ac_status" >&5
8432 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433     if (exit $ac_status) && test -s "$ac_outfile"; then
8434       # The compiler can only warn and ignore the option if not recognized
8435       # So say no if there are warnings other than the usual output.
8436 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8436 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8437       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8438       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8439         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8462 | fi
8462   lt_prog_compiler_pic=
8463   lt_prog_compiler_static=
8464  
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; }
8465  
8466    if test "$GCC" = yes; then
8467      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8509 | $as_echo_n "checking for $compiler optio
8509        lt_prog_compiler_pic='-fno-common'
8510        ;;
8511  
8512 +    haiku*)
8513 +      # PIC is the default for Haiku.
8514 +      # The "-static" flag exists, but is broken.
8515 +      lt_prog_compiler_static=
8516 +      ;;
8517 +
8518      hpux*)
8519        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8520        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8557 | $as_echo_n "checking for $compiler optio
8557        lt_prog_compiler_pic='-fPIC'
8558        ;;
8559      esac
8560 +
8561 +    case $cc_basename in
8562 +    nvcc*) # Cuda Compiler Driver 2.2
8563 +      lt_prog_compiler_wl='-Xlinker '
8564 +      if test -n "$lt_prog_compiler_pic"; then
8565 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8566 +      fi
8567 +      ;;
8568 +    esac
8569    else
8570      # PORTME Check for flag to pass linker flags through the system compiler.
8571      case $host_os in
# Line 8060 | Line 8607 | $as_echo_n "checking for $compiler optio
8607        lt_prog_compiler_static='-non_shared'
8608        ;;
8609  
8610 <    linux* | k*bsd*-gnu)
8610 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8611        case $cc_basename in
8612        # old Intel for x86_64 which still supported -KPIC.
8613        ecc*)
# Line 8081 | Line 8628 | $as_echo_n "checking for $compiler optio
8628          lt_prog_compiler_pic='--shared'
8629          lt_prog_compiler_static='--static'
8630          ;;
8631 <      pgcc* | pgf77* | pgf90* | pgf95*)
8631 >      nagfor*)
8632 >        # NAG Fortran compiler
8633 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8634 >        lt_prog_compiler_pic='-PIC'
8635 >        lt_prog_compiler_static='-Bstatic'
8636 >        ;;
8637 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8638          # Portland Group compilers (*not* the Pentium gcc compiler,
8639          # which looks to be a dead project)
8640          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8646 | $as_echo_n "checking for $compiler optio
8646          # All Alpha code is PIC.
8647          lt_prog_compiler_static='-non_shared'
8648          ;;
8649 <      xl*)
8650 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8649 >      xl* | bgxl* | bgf* | mpixl*)
8650 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8651          lt_prog_compiler_wl='-Wl,'
8652          lt_prog_compiler_pic='-qpic'
8653          lt_prog_compiler_static='-qstaticlink'
8654          ;;
8655        *)
8656          case `$CC -V 2>&1 | sed 5q` in
8657 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8658 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8659 +          lt_prog_compiler_pic='-KPIC'
8660 +          lt_prog_compiler_static='-Bstatic'
8661 +          lt_prog_compiler_wl=''
8662 +          ;;
8663 +        *Sun\ F* | *Sun*Fortran*)
8664 +          lt_prog_compiler_pic='-KPIC'
8665 +          lt_prog_compiler_static='-Bstatic'
8666 +          lt_prog_compiler_wl='-Qoption ld '
8667 +          ;;
8668          *Sun\ C*)
8669            # Sun C 5.9
8670            lt_prog_compiler_pic='-KPIC'
8671            lt_prog_compiler_static='-Bstatic'
8672            lt_prog_compiler_wl='-Wl,'
8673            ;;
8674 <        *Sun\ F*)
8675 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8676 <          lt_prog_compiler_pic='-KPIC'
8674 >        *Intel*\ [CF]*Compiler*)
8675 >          lt_prog_compiler_wl='-Wl,'
8676 >          lt_prog_compiler_pic='-fPIC'
8677 >          lt_prog_compiler_static='-static'
8678 >          ;;
8679 >        *Portland\ Group*)
8680 >          lt_prog_compiler_wl='-Wl,'
8681 >          lt_prog_compiler_pic='-fpic'
8682            lt_prog_compiler_static='-Bstatic'
8114          lt_prog_compiler_wl=''
8683            ;;
8684          esac
8685          ;;
# Line 8143 | Line 8711 | $as_echo_n "checking for $compiler optio
8711        lt_prog_compiler_pic='-KPIC'
8712        lt_prog_compiler_static='-Bstatic'
8713        case $cc_basename in
8714 <      f77* | f90* | f95*)
8714 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8715          lt_prog_compiler_wl='-Qoption ld ';;
8716        *)
8717          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 8768 | case $host_os in
8768      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8769      ;;
8770   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
8771  
8772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8773 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8774 + if ${lt_cv_prog_compiler_pic+:} false; then :
8775 +  $as_echo_n "(cached) " >&6
8776 + else
8777 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8778 + fi
8779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8780 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8781 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8782  
8783   #
8784   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 8786 | $as_echo "$lt_prog_compiler_pic" >&6; }
8786   if test -n "$lt_prog_compiler_pic"; then
8787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8788   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8789 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8789 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8790    $as_echo_n "(cached) " >&6
8791   else
8792    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 8802 | else
8802     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8803     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8804     -e 's:$: $lt_compiler_flag:'`
8805 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8805 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8806     (eval "$lt_compile" 2>conftest.err)
8807     ac_status=$?
8808     cat conftest.err >&5
8809 <   echo "$as_me:8237: \$? = $ac_status" >&5
8809 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810     if (exit $ac_status) && test -s "$ac_outfile"; then
8811       # The compiler can only warn and ignore the option if not recognized
8812       # So say no if there are warnings other than the usual output.
8813 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8813 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8814       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8815       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8816         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 8839 | fi
8839  
8840  
8841  
8842 +
8843 +
8844 +
8845 +
8846 +
8847   #
8848   # Check to make sure the static flag actually works.
8849   #
8850   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8852   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8853 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8853 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8854    $as_echo_n "(cached) " >&6
8855   else
8856    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 8863 | else
8863       if test -s conftest.err; then
8864         # Append any errors to the config.log.
8865         cat conftest.err 1>&5
8866 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8866 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8867         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8868         if diff conftest.exp conftest.er2 >/dev/null; then
8869           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 8893 | fi
8893  
8894    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8895   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8896 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8896 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8897    $as_echo_n "(cached) " >&6
8898   else
8899    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 8912 | else
8912     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8913     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8914     -e 's:$: $lt_compiler_flag:'`
8915 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8915 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8916     (eval "$lt_compile" 2>out/conftest.err)
8917     ac_status=$?
8918     cat out/conftest.err >&5
8919 <   echo "$as_me:8342: \$? = $ac_status" >&5
8919 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8921     then
8922       # The compiler can only warn and ignore the option if not recognized
8923       # So say no if there are warnings
8924 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8924 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8925       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8926       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8927         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 8948 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8948  
8949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8950   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8951 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8951 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8952    $as_echo_n "(cached) " >&6
8953   else
8954    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 8967 | else
8967     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969     -e 's:$: $lt_compiler_flag:'`
8970 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
8970 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971     (eval "$lt_compile" 2>out/conftest.err)
8972     ac_status=$?
8973     cat out/conftest.err >&5
8974 <   echo "$as_me:8397: \$? = $ac_status" >&5
8974 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8976     then
8977       # The compiler can only warn and ignore the option if not recognized
8978       # So say no if there are warnings
8979 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8979 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8980       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8981       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8982         lt_cv_prog_compiler_c_o=yes
# Line 8465 | Line 9042 | $as_echo_n "checking whether the $compil
9042    hardcode_direct=no
9043    hardcode_direct_absolute=no
9044    hardcode_libdir_flag_spec=
8468  hardcode_libdir_flag_spec_ld=
9045    hardcode_libdir_separator=
9046    hardcode_minus_L=no
9047    hardcode_shlibpath_var=unsupported
# Line 8512 | Line 9088 | $as_echo_n "checking whether the $compil
9088    esac
9089  
9090    ld_shlibs=yes
9091 +
9092 +  # On some targets, GNU ld is compatible enough with the native linker
9093 +  # that we're better off using the native interface for both.
9094 +  lt_use_gnu_ld_interface=no
9095    if test "$with_gnu_ld" = yes; then
9096 +    case $host_os in
9097 +      aix*)
9098 +        # The AIX port of GNU ld has always aspired to compatibility
9099 +        # with the native linker.  However, as the warning in the GNU ld
9100 +        # block says, versions before 2.19.5* couldn't really create working
9101 +        # shared libraries, regardless of the interface used.
9102 +        case `$LD -v 2>&1` in
9103 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9104 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9105 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9106 +          *)
9107 +            lt_use_gnu_ld_interface=yes
9108 +            ;;
9109 +        esac
9110 +        ;;
9111 +      *)
9112 +        lt_use_gnu_ld_interface=yes
9113 +        ;;
9114 +    esac
9115 +  fi
9116 +
9117 +  if test "$lt_use_gnu_ld_interface" = yes; then
9118      # If archive_cmds runs LD, not CC, wlarc should be empty
9119      wlarc='${wl}'
9120  
# Line 8530 | Line 9132 | $as_echo_n "checking whether the $compil
9132      fi
9133      supports_anon_versioning=no
9134      case `$LD -v 2>&1` in
9135 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9136        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9137        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9138        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9148 | $as_echo_n "checking whether the $compil
9148          ld_shlibs=no
9149          cat <<_LT_EOF 1>&2
9150  
9151 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9151 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9152   *** to be unable to reliably create shared libraries on AIX.
9153   *** Therefore, libtool is disabling shared libraries support.  If you
9154 < *** really care for shared libraries, you may want to modify your PATH
9155 < *** so that a non-GNU linker is found, and then restart.
9154 > *** really care for shared libraries, you may want to install binutils
9155 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9156 > *** You will then need to restart the configuration process.
9157  
9158   _LT_EOF
9159        fi
# Line 8585 | Line 9189 | _LT_EOF
9189        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9190        # as there is no search path for DLLs.
9191        hardcode_libdir_flag_spec='-L$libdir'
9192 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9193        allow_undefined_flag=unsupported
9194        always_export_symbols=no
9195        enable_shared_with_static_runtimes=yes
9196 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9196 >      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'
9197 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9198  
9199        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9200          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 9212 | _LT_EOF
9212        fi
9213        ;;
9214  
9215 +    haiku*)
9216 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 +      link_all_deplibs=yes
9218 +      ;;
9219 +
9220      interix[3-9]*)
9221        hardcode_direct=no
9222        hardcode_shlibpath_var=no
# Line 8621 | Line 9232 | _LT_EOF
9232        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'
9233        ;;
9234  
9235 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9235 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9236        tmp_diet=no
9237        if test "$host_os" = linux-dietlibc; then
9238          case $cc_basename in
# Line 8631 | Line 9242 | _LT_EOF
9242        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9243           && test "$tmp_diet" = no
9244        then
9245 <        tmp_addflag=
9245 >        tmp_addflag=' $pic_flag'
9246          tmp_sharedflag='-shared'
9247          case $cc_basename,$host_cpu in
9248          pgcc*)                          # Portland Group C compiler
9249 <          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'
9249 >          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'
9250            tmp_addflag=' $pic_flag'
9251            ;;
9252 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
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'
9252 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9253 >                                        # Portland Group f77 and f90 compilers
9254 >          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'
9255            tmp_addflag=' $pic_flag -Mnomain' ;;
9256          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9257            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9262 | _LT_EOF
9262          lf95*)                          # Lahey Fortran 8.1
9263            whole_archive_flag_spec=
9264            tmp_sharedflag='--shared' ;;
9265 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9265 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9266            tmp_sharedflag='-qmkshrobj'
9267            tmp_addflag= ;;
9268 +        nvcc*)  # Cuda Compiler Driver 2.2
9269 +          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'
9270 +          compiler_needs_object=yes
9271 +          ;;
9272          esac
9273          case `$CC -V 2>&1 | sed 5q` in
9274          *Sun\ C*)                       # Sun C 5.9
9275 <          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'
9275 >          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'
9276            compiler_needs_object=yes
9277            tmp_sharedflag='-G' ;;
9278          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9288 | _LT_EOF
9288          fi
9289  
9290          case $cc_basename in
9291 <        xlf*)
9291 >        xlf* | bgf* | bgxlf* | mpixlf*)
9292            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9293            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9294 <          hardcode_libdir_flag_spec=
9295 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8680 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9294 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9295 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9296            if test "x$supports_anon_versioning" = xyes; then
9297              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9298                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299                echo "local: *; };" >> $output_objdir/$libname.ver~
9300 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9300 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9301            fi
9302            ;;
9303          esac
# Line 8696 | Line 9311 | _LT_EOF
9311          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9312          wlarc=
9313        else
9314 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316        fi
9317        ;;
9318  
# Line 8715 | Line 9330 | _LT_EOF
9330  
9331   _LT_EOF
9332        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9333 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335        else
9336          ld_shlibs=no
9337        fi
# Line 8762 | Line 9377 | _LT_EOF
9377  
9378      *)
9379        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9382        else
9383          ld_shlibs=no
9384        fi
# Line 8803 | Line 9418 | _LT_EOF
9418        else
9419          # If we're using GNU nm, then we don't want the "-C" option.
9420          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9421 +        # Also, AIX nm treats weak defined symbols like other global
9422 +        # defined symbols, whereas GNU nm marks them as "W".
9423          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9424 <          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'
9424 >          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'
9425          else
9426            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'
9427          fi
# Line 8866 | Line 9483 | _LT_EOF
9483          if test "$aix_use_runtimelinking" = yes; then
9484            shared_flag="$shared_flag "'${wl}-G'
9485          fi
8869        link_all_deplibs=no
9486        else
9487          # not using gcc
9488          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9508 | _LT_EOF
9508          allow_undefined_flag='-berok'
9509          # Determine the default libpath from the value encoded in an
9510          # empty executable.
9511 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 >        if test "${lt_cv_aix_libpath+set}" = set; then
9512 >  aix_libpath=$lt_cv_aix_libpath
9513 > else
9514 >  if ${lt_cv_aix_libpath_+:} false; then :
9515 >  $as_echo_n "(cached) " >&6
9516 > else
9517 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518   /* end confdefs.h.  */
9519  
9520   int
# Line 8905 | Line 9527 | main ()
9527   _ACEOF
9528   if ac_fn_c_try_link "$LINENO"; then :
9529  
9530 < lt_aix_libpath_sed='
9531 <    /Import File Strings/,/^$/ {
9532 <        /^0/ {
9533 <            s/^0  *\(.*\)$/\1/
9534 <            p
9535 <        }
9536 <    }'
9537 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 < # Check for a 64-bit object if we didn't find anything.
9539 < if test -z "$aix_libpath"; then
9540 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 < fi
9530 >  lt_aix_libpath_sed='
9531 >      /Import File Strings/,/^$/ {
9532 >          /^0/ {
9533 >              s/^0  *\([^ ]*\) *$/\1/
9534 >              p
9535 >          }
9536 >      }'
9537 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 >  # Check for a 64-bit object if we didn't find anything.
9539 >  if test -z "$lt_cv_aix_libpath_"; then
9540 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 >  fi
9542   fi
9543   rm -f core conftest.err conftest.$ac_objext \
9544      conftest$ac_exeext conftest.$ac_ext
9545 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9545 >  if test -z "$lt_cv_aix_libpath_"; then
9546 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9547 >  fi
9548 >
9549 > fi
9550 >
9551 >  aix_libpath=$lt_cv_aix_libpath_
9552 > fi
9553  
9554          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 <        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"
9555 >        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"
9556        else
9557          if test "$host_cpu" = ia64; then
9558            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9561 | if test -z "$aix_libpath"; then aix_libp
9561          else
9562           # Determine the default libpath from the value encoded in an
9563           # empty executable.
9564 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 >         if test "${lt_cv_aix_libpath+set}" = set; then
9565 >  aix_libpath=$lt_cv_aix_libpath
9566 > else
9567 >  if ${lt_cv_aix_libpath_+:} false; then :
9568 >  $as_echo_n "(cached) " >&6
9569 > else
9570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571   /* end confdefs.h.  */
9572  
9573   int
# Line 8945 | Line 9580 | main ()
9580   _ACEOF
9581   if ac_fn_c_try_link "$LINENO"; then :
9582  
9583 < lt_aix_libpath_sed='
9584 <    /Import File Strings/,/^$/ {
9585 <        /^0/ {
9586 <            s/^0  *\(.*\)$/\1/
9587 <            p
9588 <        }
9589 <    }'
9590 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 < # Check for a 64-bit object if we didn't find anything.
9592 < if test -z "$aix_libpath"; then
9593 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 < fi
9583 >  lt_aix_libpath_sed='
9584 >      /Import File Strings/,/^$/ {
9585 >          /^0/ {
9586 >              s/^0  *\([^ ]*\) *$/\1/
9587 >              p
9588 >          }
9589 >      }'
9590 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 >  # Check for a 64-bit object if we didn't find anything.
9592 >  if test -z "$lt_cv_aix_libpath_"; then
9593 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 >  fi
9595   fi
9596   rm -f core conftest.err conftest.$ac_objext \
9597      conftest$ac_exeext conftest.$ac_ext
9598 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9598 >  if test -z "$lt_cv_aix_libpath_"; then
9599 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9600 >  fi
9601 >
9602 > fi
9603 >
9604 >  aix_libpath=$lt_cv_aix_libpath_
9605 > fi
9606  
9607           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608            # Warning - without using the other run time loading flags,
9609            # -berok will link without error, but may produce a broken library.
9610            no_undefined_flag=' ${wl}-bernotok'
9611            allow_undefined_flag=' ${wl}-berok'
9612 <          # Exported symbols can be pulled into shared objects from archives
9613 <          whole_archive_flag_spec='$convenience'
9612 >          if test "$with_gnu_ld" = yes; then
9613 >            # We only use this code for GNU lds that support --whole-archive.
9614 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9615 >          else
9616 >            # Exported symbols can be pulled into shared objects from archives
9617 >            whole_archive_flag_spec='$convenience'
9618 >          fi
9619            archive_cmds_need_lc=yes
9620            # This is similar to how AIX traditionally builds its shared libraries.
9621            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 9647 | if test -z "$aix_libpath"; then aix_libp
9647        # Microsoft Visual C++.
9648        # hardcode_libdir_flag_spec is actually meaningless, as there is
9649        # no search path for DLLs.
9650 <      hardcode_libdir_flag_spec=' '
9651 <      allow_undefined_flag=unsupported
9652 <      # Tell ltmain to make .lib files, not .a files.
9653 <      libext=lib
9654 <      # Tell ltmain to make .dll files, not .so files.
9655 <      shrext_cmds=".dll"
9656 <      # FIXME: Setting linknames here is a bad hack.
9657 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9658 <      # The linker will automatically build a .lib file if we build a DLL.
9659 <      old_archive_from_new_cmds='true'
9660 <      # FIXME: Should let the user specify the lib program.
9661 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9662 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9663 <      enable_shared_with_static_runtimes=yes
9650 >      case $cc_basename in
9651 >      cl*)
9652 >        # Native MSVC
9653 >        hardcode_libdir_flag_spec=' '
9654 >        allow_undefined_flag=unsupported
9655 >        always_export_symbols=yes
9656 >        file_list_spec='@'
9657 >        # Tell ltmain to make .lib files, not .a files.
9658 >        libext=lib
9659 >        # Tell ltmain to make .dll files, not .so files.
9660 >        shrext_cmds=".dll"
9661 >        # FIXME: Setting linknames here is a bad hack.
9662 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9663 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9664 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9665 >          else
9666 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9667 >          fi~
9668 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9669 >          linknames='
9670 >        # The linker will not automatically build a static lib if we build a DLL.
9671 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9672 >        enable_shared_with_static_runtimes=yes
9673 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9674 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9675 >        # Don't use ranlib
9676 >        old_postinstall_cmds='chmod 644 $oldlib'
9677 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9678 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9679 >          case $lt_outputfile in
9680 >            *.exe|*.EXE) ;;
9681 >            *)
9682 >              lt_outputfile="$lt_outputfile.exe"
9683 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9684 >              ;;
9685 >          esac~
9686 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9687 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9688 >            $RM "$lt_outputfile.manifest";
9689 >          fi'
9690 >        ;;
9691 >      *)
9692 >        # Assume MSVC wrapper
9693 >        hardcode_libdir_flag_spec=' '
9694 >        allow_undefined_flag=unsupported
9695 >        # Tell ltmain to make .lib files, not .a files.
9696 >        libext=lib
9697 >        # Tell ltmain to make .dll files, not .so files.
9698 >        shrext_cmds=".dll"
9699 >        # FIXME: Setting linknames here is a bad hack.
9700 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9701 >        # The linker will automatically build a .lib file if we build a DLL.
9702 >        old_archive_from_new_cmds='true'
9703 >        # FIXME: Should let the user specify the lib program.
9704 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705 >        enable_shared_with_static_runtimes=yes
9706 >        ;;
9707 >      esac
9708        ;;
9709  
9710      darwin* | rhapsody*)
# Line 9023 | Line 9714 | if test -z "$aix_libpath"; then aix_libp
9714    hardcode_direct=no
9715    hardcode_automatic=yes
9716    hardcode_shlibpath_var=unsupported
9717 <  whole_archive_flag_spec=''
9717 >  if test "$lt_cv_ld_force_load" = "yes"; then
9718 >    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\"`'
9719 >
9720 >  else
9721 >    whole_archive_flag_spec=''
9722 >  fi
9723    link_all_deplibs=yes
9724    allow_undefined_flag="$_lt_dar_allow_undefined"
9725    case $cc_basename in
# Line 9031 | Line 9727 | if test -z "$aix_libpath"; then aix_libp
9727       *) _lt_dar_can_shared=$GCC ;;
9728    esac
9729    if test "$_lt_dar_can_shared" = "yes"; then
9730 <    output_verbose_link_cmd=echo
9730 >    output_verbose_link_cmd=func_echo_all
9731      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9732      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9733      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 9745 | if test -z "$aix_libpath"; then aix_libp
9745        hardcode_shlibpath_var=no
9746        ;;
9747  
9052    freebsd1*)
9053      ld_shlibs=no
9054      ;;
9055
9748      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9749      # support.  Future versions do this automatically, but an explicit c++rt0.o
9750      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 9757 | if test -z "$aix_libpath"; then aix_libp
9757        ;;
9758  
9759      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9760 <    freebsd2*)
9760 >    freebsd2.*)
9761        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762        hardcode_direct=yes
9763        hardcode_minus_L=yes
# Line 9074 | Line 9766 | if test -z "$aix_libpath"; then aix_libp
9766  
9767      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9768      freebsd* | dragonfly*)
9769 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9769 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770        hardcode_libdir_flag_spec='-R$libdir'
9771        hardcode_direct=yes
9772        hardcode_shlibpath_var=no
# Line 9082 | Line 9774 | if test -z "$aix_libpath"; then aix_libp
9774  
9775      hpux9*)
9776        if test "$GCC" = yes; then
9777 <        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'
9777 >        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'
9778        else
9779          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'
9780        fi
# Line 9097 | Line 9789 | if test -z "$aix_libpath"; then aix_libp
9789        ;;
9790  
9791      hpux10*)
9792 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9793 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794        else
9795          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796        fi
9797        if test "$with_gnu_ld" = no; then
9798          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107        hardcode_libdir_flag_spec_ld='+b $libdir'
9799          hardcode_libdir_separator=:
9800          hardcode_direct=yes
9801          hardcode_direct_absolute=yes
# Line 9116 | Line 9807 | if test -z "$aix_libpath"; then aix_libp
9807        ;;
9808  
9809      hpux11*)
9810 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9810 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9811          case $host_cpu in
9812          hppa*64*)
9813            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814            ;;
9815          ia64*)
9816 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9817            ;;
9818          *)
9819 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820            ;;
9821          esac
9822        else
# Line 9137 | Line 9828 | if test -z "$aix_libpath"; then aix_libp
9828            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829            ;;
9830          *)
9831 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9831 >
9832 >          # Older versions of the 11.00 compiler do not understand -b yet
9833 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835 > $as_echo_n "checking if $CC understands -b... " >&6; }
9836 > if ${lt_cv_prog_compiler__b+:} false; then :
9837 >  $as_echo_n "(cached) " >&6
9838 > else
9839 >  lt_cv_prog_compiler__b=no
9840 >   save_LDFLAGS="$LDFLAGS"
9841 >   LDFLAGS="$LDFLAGS -b"
9842 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9843 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9844 >     # The linker can only warn and ignore the option if not recognized
9845 >     # So say no if there are warnings
9846 >     if test -s conftest.err; then
9847 >       # Append any errors to the config.log.
9848 >       cat conftest.err 1>&5
9849 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9850 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9851 >       if diff conftest.exp conftest.er2 >/dev/null; then
9852 >         lt_cv_prog_compiler__b=yes
9853 >       fi
9854 >     else
9855 >       lt_cv_prog_compiler__b=yes
9856 >     fi
9857 >   fi
9858 >   $RM -r conftest*
9859 >   LDFLAGS="$save_LDFLAGS"
9860 >
9861 > fi
9862 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9863 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9864 >
9865 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9866 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9867 > else
9868 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9869 > fi
9870 >
9871            ;;
9872          esac
9873        fi
# Line 9165 | Line 9895 | if test -z "$aix_libpath"; then aix_libp
9895  
9896      irix5* | irix6* | nonstopux*)
9897        if test "$GCC" = yes; then
9898 <        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'
9898 >        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'
9899          # Try to use the -exported_symbol ld option, if it does not
9900          # work, assume that -exports_file does not work either and
9901          # implicitly export all symbols.
9902 <        save_LDFLAGS="$LDFLAGS"
9903 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 >        # This should be the same for all languages, so no per-tag cache variable.
9903 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9904 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9905 > if ${lt_cv_irix_exported_symbol+:} false; then :
9906 >  $as_echo_n "(cached) " >&6
9907 > else
9908 >  save_LDFLAGS="$LDFLAGS"
9909 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9910 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911   /* end confdefs.h.  */
9912 < int foo(void) {}
9912 > int foo (void) { return 0; }
9913   _ACEOF
9914   if ac_fn_c_try_link "$LINENO"; then :
9915 <  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'
9916 <
9915 >  lt_cv_irix_exported_symbol=yes
9916 > else
9917 >  lt_cv_irix_exported_symbol=no
9918   fi
9919   rm -f core conftest.err conftest.$ac_objext \
9920      conftest$ac_exeext conftest.$ac_ext
9921 <        LDFLAGS="$save_LDFLAGS"
9921 >           LDFLAGS="$save_LDFLAGS"
9922 > fi
9923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9924 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9925 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9926 >          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'
9927 >        fi
9928        else
9929 <        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'
9930 <        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'
9929 >        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'
9930 >        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'
9931        fi
9932        archive_cmds_need_lc='no'
9933        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 9989 | rm -f core conftest.err conftest.$ac_obj
9989        hardcode_libdir_flag_spec='-L$libdir'
9990        hardcode_minus_L=yes
9991        allow_undefined_flag=unsupported
9992 <      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'
9992 >      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'
9993        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9994        ;;
9995  
9996      osf3*)
9997        if test "$GCC" = yes; then
9998          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999 <        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'
9999 >        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'
10000        else
10001          allow_undefined_flag=' -expect_unresolved \*'
10002 <        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'
10002 >        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'
10003        fi
10004        archive_cmds_need_lc='no'
10005        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 10009 | rm -f core conftest.err conftest.$ac_obj
10009      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10010        if test "$GCC" = yes; then
10011          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012 <        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'
10012 >        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'
10013          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014        else
10015          allow_undefined_flag=' -expect_unresolved \*'
10016 <        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'
10016 >        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'
10017          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~
10018 <        $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'
10018 >        $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'
10019  
10020          # Both c and cxx compiler support -rpath directly
10021          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 10028 | rm -f core conftest.err conftest.$ac_obj
10028        no_undefined_flag=' -z defs'
10029        if test "$GCC" = yes; then
10030          wlarc='${wl}'
10031 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10032          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10033 >          $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'
10034        else
10035          case `$CC -V 2>&1` in
10036          *"Compilers 5.0"*)
# Line 9475 | Line 10218 | x|xyes)
10218        # to ld, don't add -lc before -lgcc.
10219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10220   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10221 <      $RM conftest*
10222 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10221 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10222 >  $as_echo_n "(cached) " >&6
10223 > else
10224 >  $RM conftest*
10225 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10226  
10227 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10227 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10228    (eval $ac_compile) 2>&5
10229    ac_status=$?
10230    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231    test $ac_status = 0; } 2>conftest.err; then
10232 <        soname=conftest
10233 <        lib=conftest
10234 <        libobjs=conftest.$ac_objext
10235 <        deplibs=
10236 <        wl=$lt_prog_compiler_wl
10237 <        pic_flag=$lt_prog_compiler_pic
10238 <        compiler_flags=-v
10239 <        linker_flags=-v
10240 <        verstring=
10241 <        output_objdir=.
10242 <        libname=conftest
10243 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10244 <        allow_undefined_flag=
10245 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10232 >          soname=conftest
10233 >          lib=conftest
10234 >          libobjs=conftest.$ac_objext
10235 >          deplibs=
10236 >          wl=$lt_prog_compiler_wl
10237 >          pic_flag=$lt_prog_compiler_pic
10238 >          compiler_flags=-v
10239 >          linker_flags=-v
10240 >          verstring=
10241 >          output_objdir=.
10242 >          libname=conftest
10243 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10244 >          allow_undefined_flag=
10245 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10246    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10247    ac_status=$?
10248    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10249    test $ac_status = 0; }
10250 <        then
10251 <          archive_cmds_need_lc=no
10252 <        else
10253 <          archive_cmds_need_lc=yes
10254 <        fi
10255 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10256 <      else
10257 <        cat conftest.err 1>&5
10258 <      fi
10259 <      $RM conftest*
10260 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10261 < $as_echo "$archive_cmds_need_lc" >&6; }
10250 >          then
10251 >            lt_cv_archive_cmds_need_lc=no
10252 >          else
10253 >            lt_cv_archive_cmds_need_lc=yes
10254 >          fi
10255 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10256 >        else
10257 >          cat conftest.err 1>&5
10258 >        fi
10259 >        $RM conftest*
10260 >
10261 > fi
10262 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10263 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10264 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10265        ;;
10266      esac
10267    fi
# Line 9670 | Line 10419 | esac
10419  
10420  
10421  
9673
9674
9675
9676
9677
10422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10423   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10424  
# Line 9683 | Line 10427 | if test "$GCC" = yes; then
10427      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10428      *) lt_awk_arg="/^libraries:/" ;;
10429    esac
10430 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10431 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10430 >  case $host_os in
10431 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10432 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10433 >  esac
10434 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10435 >  case $lt_search_path_spec in
10436 >  *\;*)
10437      # if the path contains ";" then we assume it to be the separator
10438      # otherwise default to the standard path separator (i.e. ":") - it is
10439      # assumed that no part of a normal pathname contains ";" but that should
10440      # okay in the real world where ";" in dirpaths is itself problematic.
10441 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10442 <  else
10443 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10444 <  fi
10441 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10442 >    ;;
10443 >  *)
10444 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10445 >    ;;
10446 >  esac
10447    # Ok, now we have the path, separated by spaces, we can step through it
10448    # and add multilib dir if necessary.
10449    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10456 | if test "$GCC" = yes; then
10456          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10457      fi
10458    done
10459 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10459 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10460   BEGIN {RS=" "; FS="/|\n";} {
10461    lt_foo="";
10462    lt_count=0;
# Line 9725 | Line 10476 | BEGIN {RS=" "; FS="/|\n";} {
10476    if (lt_foo != "") { lt_freq[lt_foo]++; }
10477    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10478   }'`
10479 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10479 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10480 >  # for these hosts.
10481 >  case $host_os in
10482 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10483 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10484 >  esac
10485 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10486   else
10487    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10488   fi
# Line 9751 | Line 10508 | need_version=unknown
10508  
10509   case $host_os in
10510   aix3*)
10511 <  version_type=linux
10511 >  version_type=linux # correct to gnu/linux during the next big refactor
10512    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10513    shlibpath_var=LIBPATH
10514  
# Line 9760 | Line 10517 | aix3*)
10517    ;;
10518  
10519   aix[4-9]*)
10520 <  version_type=linux
10520 >  version_type=linux # correct to gnu/linux during the next big refactor
10521    need_lib_prefix=no
10522    need_version=no
10523    hardcode_into_libs=yes
# Line 9813 | Line 10570 | amigaos*)
10570    m68k)
10571      library_names_spec='$libname.ixlibrary $libname.a'
10572      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10573 <    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'
10573 >    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'
10574      ;;
10575    esac
10576    ;;
# Line 9825 | Line 10582 | beos*)
10582    ;;
10583  
10584   bsdi[45]*)
10585 <  version_type=linux
10585 >  version_type=linux # correct to gnu/linux during the next big refactor
10586    need_version=no
10587    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9844 | Line 10601 | cygwin* | mingw* | pw32* | cegcc*)
10601    need_version=no
10602    need_lib_prefix=no
10603  
10604 <  case $GCC,$host_os in
10605 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10604 >  case $GCC,$cc_basename in
10605 >  yes,*)
10606 >    # gcc
10607      library_names_spec='$libname.dll.a'
10608      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10609      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10624 | cygwin* | mingw* | pw32* | cegcc*)
10624      cygwin*)
10625        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10626        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10627 >
10628 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10629        ;;
10630      mingw* | cegcc*)
10631        # MinGW DLLs use traditional 'lib' prefix
10632        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
10633        ;;
10634      pw32*)
10635        # pw32 DLLs use 'pw' prefix rather than 'lib'
10636        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10637        ;;
10638      esac
10639 +    dynamic_linker='Win32 ld.exe'
10640 +    ;;
10641 +
10642 +  *,cl*)
10643 +    # Native MSVC
10644 +    libname_spec='$name'
10645 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646 +    library_names_spec='${libname}.dll.lib'
10647 +
10648 +    case $build_os in
10649 +    mingw*)
10650 +      sys_lib_search_path_spec=
10651 +      lt_save_ifs=$IFS
10652 +      IFS=';'
10653 +      for lt_path in $LIB
10654 +      do
10655 +        IFS=$lt_save_ifs
10656 +        # Let DOS variable expansion print the short 8.3 style file name.
10657 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10658 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10659 +      done
10660 +      IFS=$lt_save_ifs
10661 +      # Convert to MSYS style.
10662 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10663 +      ;;
10664 +    cygwin*)
10665 +      # Convert to unix form, then to dos form, then back to unix form
10666 +      # but this time dos style (no spaces!) so that the unix form looks
10667 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10668 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10669 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10670 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10671 +      ;;
10672 +    *)
10673 +      sys_lib_search_path_spec="$LIB"
10674 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10675 +        # It is most probably a Windows format PATH.
10676 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10677 +      else
10678 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10679 +      fi
10680 +      # FIXME: find the short name or the path components, as spaces are
10681 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10682 +      ;;
10683 +    esac
10684 +
10685 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10686 +    postinstall_cmds='base_file=`basename \${file}`~
10687 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10688 +      dldir=$destdir/`dirname \$dlpath`~
10689 +      test -d \$dldir || mkdir -p \$dldir~
10690 +      $install_prog $dir/$dlname \$dldir/$dlname'
10691 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10692 +      dlpath=$dir/\$dldll~
10693 +       $RM \$dlpath'
10694 +    shlibpath_overrides_runpath=yes
10695 +    dynamic_linker='Win32 link.exe'
10696      ;;
10697  
10698    *)
10699 +    # Assume MSVC wrapper
10700      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 +    dynamic_linker='Win32 ld.exe'
10702      ;;
10703    esac
9898  dynamic_linker='Win32 ld.exe'
10704    # FIXME: first we should search . and the directory the executable is in
10705    shlibpath_var=PATH
10706    ;;
# Line 9916 | Line 10721 | darwin* | rhapsody*)
10721    ;;
10722  
10723   dgux*)
10724 <  version_type=linux
10724 >  version_type=linux # correct to gnu/linux during the next big refactor
10725    need_lib_prefix=no
10726    need_version=no
10727    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9924 | Line 10729 | dgux*)
10729    shlibpath_var=LD_LIBRARY_PATH
10730    ;;
10731  
9927 freebsd1*)
9928  dynamic_linker=no
9929  ;;
9930
10732   freebsd* | dragonfly*)
10733    # DragonFly does not have aout.  When/if they implement a new
10734    # versioning mechanism, adjust this.
# Line 9935 | Line 10736 | freebsd* | dragonfly*)
10736      objformat=`/usr/bin/objformat`
10737    else
10738      case $host_os in
10739 <    freebsd[123]*) objformat=aout ;;
10739 >    freebsd[23].*) objformat=aout ;;
10740      *) objformat=elf ;;
10741      esac
10742    fi
# Line 9953 | Line 10754 | freebsd* | dragonfly*)
10754    esac
10755    shlibpath_var=LD_LIBRARY_PATH
10756    case $host_os in
10757 <  freebsd2*)
10757 >  freebsd2.*)
10758      shlibpath_overrides_runpath=yes
10759      ;;
10760    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9973 | Line 10774 | freebsd* | dragonfly*)
10774    ;;
10775  
10776   gnu*)
10777 <  version_type=linux
10777 >  version_type=linux # correct to gnu/linux during the next big refactor
10778    need_lib_prefix=no
10779    need_version=no
10780    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781    soname_spec='${libname}${release}${shared_ext}$major'
10782    shlibpath_var=LD_LIBRARY_PATH
10783 +  shlibpath_overrides_runpath=no
10784 +  hardcode_into_libs=yes
10785 +  ;;
10786 +
10787 + haiku*)
10788 +  version_type=linux # correct to gnu/linux during the next big refactor
10789 +  need_lib_prefix=no
10790 +  need_version=no
10791 +  dynamic_linker="$host_os runtime_loader"
10792 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 +  soname_spec='${libname}${release}${shared_ext}$major'
10794 +  shlibpath_var=LIBRARY_PATH
10795 +  shlibpath_overrides_runpath=yes
10796 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10797    hardcode_into_libs=yes
10798    ;;
10799  
# Line 10024 | Line 10839 | hpux9* | hpux10* | hpux11*)
10839      soname_spec='${libname}${release}${shared_ext}$major'
10840      ;;
10841    esac
10842 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10842 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843    postinstall_cmds='chmod 555 $lib'
10844 +  # or fails outright, so override atomically:
10845 +  install_override_mode=555
10846    ;;
10847  
10848   interix[3-9]*)
10849 <  version_type=linux
10849 >  version_type=linux # correct to gnu/linux during the next big refactor
10850    need_lib_prefix=no
10851    need_version=no
10852    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10045 | Line 10862 | irix5* | irix6* | nonstopux*)
10862      nonstopux*) version_type=nonstopux ;;
10863      *)
10864          if test "$lt_cv_prog_gnu_ld" = yes; then
10865 <                version_type=linux
10865 >                version_type=linux # correct to gnu/linux during the next big refactor
10866          else
10867                  version_type=irix
10868          fi ;;
# Line 10082 | Line 10899 | linux*oldld* | linux*aout* | linux*coff*
10899    dynamic_linker=no
10900    ;;
10901  
10902 < # This must be Linux ELF.
10903 < linux* | k*bsd*-gnu)
10904 <  version_type=linux
10902 > # This must be glibc/ELF.
10903 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 >  version_type=linux # correct to gnu/linux during the next big refactor
10905    need_lib_prefix=no
10906    need_version=no
10907    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10092 | Line 10909 | linux* | k*bsd*-gnu)
10909    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910    shlibpath_var=LD_LIBRARY_PATH
10911    shlibpath_overrides_runpath=no
10912 +
10913    # Some binutils ld are patched to set DT_RUNPATH
10914 <  save_LDFLAGS=$LDFLAGS
10915 <  save_libdir=$libdir
10916 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10917 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10918 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10915 >  $as_echo_n "(cached) " >&6
10916 > else
10917 >  lt_cv_shlibpath_overrides_runpath=no
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
10923   /* end confdefs.h.  */
10924  
10925   int
# Line 10110 | Line 10932 | main ()
10932   _ACEOF
10933   if ac_fn_c_try_link "$LINENO"; then :
10934    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10935 <  shlibpath_overrides_runpath=yes
10935 >  lt_cv_shlibpath_overrides_runpath=yes
10936   fi
10937   fi
10938   rm -f core conftest.err conftest.$ac_objext \
10939      conftest$ac_exeext conftest.$ac_ext
10940 <  LDFLAGS=$save_LDFLAGS
10941 <  libdir=$save_libdir
10940 >    LDFLAGS=$save_LDFLAGS
10941 >    libdir=$save_libdir
10942 >
10943 > fi
10944 >
10945 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10946  
10947    # This implies no fast_install, which is unacceptable.
10948    # Some rework will be needed to allow for fast_install
10949    # before this can be enabled.
10950    hardcode_into_libs=yes
10951  
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
10952    # Append ld.so.conf contents to the search path
10953    if test -f /etc/ld.so.conf; then
10954 <    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' ' '`
10955 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10954 >    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' ' '`
10955 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10956    fi
10957  
10958    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | Line 10983 | netbsd*)
10983    ;;
10984  
10985   newsos6)
10986 <  version_type=linux
10986 >  version_type=linux # correct to gnu/linux during the next big refactor
10987    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988    shlibpath_var=LD_LIBRARY_PATH
10989    shlibpath_overrides_runpath=yes
# Line 10248 | Line 11052 | rdos*)
11052    ;;
11053  
11054   solaris*)
11055 <  version_type=linux
11055 >  version_type=linux # correct to gnu/linux during the next big refactor
11056    need_lib_prefix=no
11057    need_version=no
11058    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10273 | Line 11077 | sunos4*)
11077    ;;
11078  
11079   sysv4 | sysv4.3*)
11080 <  version_type=linux
11080 >  version_type=linux # correct to gnu/linux during the next big refactor
11081    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082    soname_spec='${libname}${release}${shared_ext}$major'
11083    shlibpath_var=LD_LIBRARY_PATH
# Line 10297 | Line 11101 | sysv4 | sysv4.3*)
11101  
11102   sysv4*MP*)
11103    if test -d /usr/nec ;then
11104 <    version_type=linux
11104 >    version_type=linux # correct to gnu/linux during the next big refactor
11105      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11106      soname_spec='$libname${shared_ext}.$major'
11107      shlibpath_var=LD_LIBRARY_PATH
# Line 10328 | Line 11132 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11132  
11133   tpf*)
11134    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11135 <  version_type=linux
11135 >  version_type=linux # correct to gnu/linux during the next big refactor
11136    need_lib_prefix=no
11137    need_version=no
11138    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10338 | Line 11142 | tpf*)
11142    ;;
11143  
11144   uts4*)
11145 <  version_type=linux
11145 >  version_type=linux # correct to gnu/linux during the next big refactor
11146    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147    soname_spec='${libname}${release}${shared_ext}$major'
11148    shlibpath_var=LD_LIBRARY_PATH
# Line 10450 | Line 11254 | fi
11254  
11255  
11256  
11257 +
11258 +
11259 +
11260 +
11261 +
11262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11263   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11264   hardcode_action=
# Line 10522 | Line 11331 | else
11331    # if libdl is installed we need to link against it
11332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11333   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11334 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11334 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11335    $as_echo_n "(cached) " >&6
11336   else
11337    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11365 | LIBS=$ac_check_lib_save_LIBS
11365   fi
11366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11368 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11369    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370   else
11371  
# Line 10570 | Line 11379 | fi
11379  
11380    *)
11381      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11382 > if test "x$ac_cv_func_shl_load" = xyes; then :
11383    lt_cv_dlopen="shl_load"
11384   else
11385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11387 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11388    $as_echo_n "(cached) " >&6
11389   else
11390    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11418 | LIBS=$ac_check_lib_save_LIBS
11418   fi
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11420   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11421 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11422    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11423   else
11424    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11425 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 > if test "x$ac_cv_func_dlopen" = xyes; then :
11426    lt_cv_dlopen="dlopen"
11427   else
11428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11429   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11430 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11431    $as_echo_n "(cached) " >&6
11432   else
11433    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11461 | LIBS=$ac_check_lib_save_LIBS
11461   fi
11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11463   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11464 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11465    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11466   else
11467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11468   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11469 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11470    $as_echo_n "(cached) " >&6
11471   else
11472    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11500 | LIBS=$ac_check_lib_save_LIBS
11500   fi
11501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11502   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11503 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11503 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11504    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11505   else
11506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11507   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11508 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11508 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11509    $as_echo_n "(cached) " >&6
11510   else
11511    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11539 | LIBS=$ac_check_lib_save_LIBS
11539   fi
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11541   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11542 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11542 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11543    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11544   fi
11545  
# Line 10771 | Line 11580 | fi
11580  
11581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11582   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11583 < if test "${lt_cv_dlopen_self+set}" = set; then :
11583 > if ${lt_cv_dlopen_self+:} false; then :
11584    $as_echo_n "(cached) " >&6
11585   else
11586            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11589 | else
11589    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11590    lt_status=$lt_dlunknown
11591    cat > conftest.$ac_ext <<_LT_EOF
11592 < #line 10783 "configure"
11592 > #line $LINENO "configure"
11593   #include "confdefs.h"
11594  
11595   #if HAVE_DLFCN_H
# Line 10821 | Line 11630 | else
11630   #  endif
11631   #endif
11632  
11633 < void fnord() { int i=42;}
11633 > /* When -fvisbility=hidden is used, assume the code has been annotated
11634 >   correspondingly for the symbols needed.  */
11635 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636 > int fnord () __attribute__((visibility("default")));
11637 > #endif
11638 >
11639 > int fnord () { return 42; }
11640   int main ()
11641   {
11642    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11645 | int main ()
11645    if (self)
11646      {
11647        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11648 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11648 >      else
11649 >        {
11650 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11651 >          else puts (dlerror ());
11652 >        }
11653        /* dlclose (self); */
11654      }
11655    else
# Line 10867 | Line 11686 | $as_echo "$lt_cv_dlopen_self" >&6; }
11686        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11687        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11688   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11689 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11689 > if ${lt_cv_dlopen_self_static+:} false; then :
11690    $as_echo_n "(cached) " >&6
11691   else
11692            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 11695 | else
11695    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11696    lt_status=$lt_dlunknown
11697    cat > conftest.$ac_ext <<_LT_EOF
11698 < #line 10879 "configure"
11698 > #line $LINENO "configure"
11699   #include "confdefs.h"
11700  
11701   #if HAVE_DLFCN_H
# Line 10917 | Line 11736 | else
11736   #  endif
11737   #endif
11738  
11739 < void fnord() { int i=42;}
11739 > /* When -fvisbility=hidden is used, assume the code has been annotated
11740 >   correspondingly for the symbols needed.  */
11741 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 > int fnord () __attribute__((visibility("default")));
11743 > #endif
11744 >
11745 > int fnord () { return 42; }
11746   int main ()
11747   {
11748    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 11751 | int main ()
11751    if (self)
11752      {
11753        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11754 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11754 >      else
11755 >        {
11756 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11757 >          else puts (dlerror ());
11758 >        }
11759        /* dlclose (self); */
11760      }
11761    else
# Line 11095 | Line 11924 | CC="$lt_save_CC"
11924  
11925  
11926  
11927 +
11928 +
11929          ac_config_commands="$ac_config_commands libtool"
11930  
11931  
# Line 11105 | Line 11936 | CC="$lt_save_CC"
11936  
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11938   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11939 < if test "${libltdl_cv_shlibext+set}" = set; then :
11939 > if ${libltdl_cv_shlibext+:} false; then :
11940    $as_echo_n "(cached) " >&6
11941   else
11942  
11943   module=yes
11944   eval libltdl_cv_shlibext=$shrext_cmds
11945 + module=no
11946 + eval libltdl_cv_shrext=$shrext_cmds
11947  
11948   fi
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 11955 | cat >>confdefs.h <<_ACEOF
11955   _ACEOF
11956  
11957   fi
11958 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11959 +
11960 + cat >>confdefs.h <<_ACEOF
11961 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11962 + _ACEOF
11963 +
11964 + fi
11965  
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11967   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11968 < if test "${lt_cv_module_path_var+set}" = set; then :
11968 > if ${lt_cv_module_path_var+:} false; then :
11969    $as_echo_n "(cached) " >&6
11970   else
11971    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 11982 | fi
11982  
11983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11984   $as_echo_n "checking for the default library search path... " >&6; }
11985 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11985 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11986    $as_echo_n "(cached) " >&6
11987   else
11988    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 12019 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12019   LIBADD_DLOPEN=
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12021   $as_echo_n "checking for library containing dlopen... " >&6; }
12022 < if test "${ac_cv_search_dlopen+set}" = set; then :
12022 > if ${ac_cv_search_dlopen+:} false; then :
12023    $as_echo_n "(cached) " >&6
12024   else
12025    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12053 | for ac_lib in '' dl; do
12053   fi
12054   rm -f core conftest.err conftest.$ac_objext \
12055      conftest$ac_exeext
12056 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12056 >  if ${ac_cv_search_dlopen+:} false; then :
12057    break
12058   fi
12059   done
12060 < if test "${ac_cv_search_dlopen+set}" = set; then :
12060 > if ${ac_cv_search_dlopen+:} false; then :
12061  
12062   else
12063    ac_cv_search_dlopen=no
# Line 11262 | Line 12102 | $as_echo "#define HAVE_LIBDL 1" >>confde
12102   else
12103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12104   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12105 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12105 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12106    $as_echo_n "(cached) " >&6
12107   else
12108    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12136 | LIBS=$ac_check_lib_save_LIBS
12136   fi
12137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12138   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12139 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12139 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12140  
12141   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12142  
# Line 11316 | Line 12156 | then
12156    for ac_func in dlerror
12157   do :
12158    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12159 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12159 > if test "x$ac_cv_func_dlerror" = xyes; then :
12160    cat >>confdefs.h <<_ACEOF
12161   #define HAVE_DLERROR 1
12162   _ACEOF
# Line 11330 | Line 12170 | fi
12170  
12171   LIBADD_SHL_LOAD=
12172   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12173 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12173 > if test "x$ac_cv_func_shl_load" = xyes; then :
12174  
12175   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12176  
# Line 11338 | Line 12178 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12178   else
12179    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12180   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12181 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12182    $as_echo_n "(cached) " >&6
12183   else
12184    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12212 | LIBS=$ac_check_lib_save_LIBS
12212   fi
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12214   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12215 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12215 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12216  
12217   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12218  
# Line 11388 | Line 12228 | case $host_os in
12228   darwin[1567].*)
12229   # We only want this for pre-Mac OS X 10.4.
12230    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12231 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12231 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12232  
12233   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12234  
# Line 11402 | Line 12242 | beos*)
12242   cygwin* | mingw* | os2* | pw32*)
12243    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12244   "
12245 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12245 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12246    ac_have_decl=1
12247   else
12248    ac_have_decl=0
# Line 11418 | Line 12258 | esac
12258  
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12260   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12261 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12261 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12262    $as_echo_n "(cached) " >&6
12263   else
12264    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12292 | LIBS=$ac_check_lib_save_LIBS
12292   fi
12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12294   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12295 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12295 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12296  
12297   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12298  
# Line 11486 | Line 12326 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12326  
12327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12328   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12329 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12329 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12330    $as_echo_n "(cached) " >&6
12331   else
12332    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12376 | if test x"$lt_cv_sys_symbol_underscore"
12376       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12377          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12378   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12379 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12379 > if ${libltdl_cv_need_uscore+:} false; then :
12380    $as_echo_n "(cached) " >&6
12381   else
12382    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12388 | else
12388    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12389    lt_status=$lt_dlunknown
12390    cat > conftest.$ac_ext <<_LT_EOF
12391 < #line 11551 "configure"
12391 > #line $LINENO "configure"
12392   #include "confdefs.h"
12393  
12394   #if HAVE_DLFCN_H
# Line 11589 | Line 12429 | else
12429   #  endif
12430   #endif
12431  
12432 < void fnord() { int i=42;}
12432 > /* When -fvisbility=hidden is used, assume the code has been annotated
12433 >   correspondingly for the symbols needed.  */
12434 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12435 > int fnord () __attribute__((visibility("default")));
12436 > #endif
12437 >
12438 > int fnord () { return 42; }
12439   int main ()
12440   {
12441    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12444 | int main ()
12444    if (self)
12445      {
12446        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12447 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12447 >      else
12448 >        {
12449 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12450 >          else puts (dlerror ());
12451 >        }
12452        /* dlclose (self); */
12453      }
12454    else
# Line 11642 | Line 12492 | fi
12492  
12493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12494   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12495 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12495 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12496    $as_echo_n "(cached) " >&6
12497   else
12498    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12524 | else
12524    freebsd* | dragonfly*)
12525      lt_cv_sys_dlopen_deplibs=yes
12526      ;;
12527 <  gnu* | linux* | k*bsd*-gnu)
12527 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12528      # GNU and its variants, using gnu ld.so (Glibc)
12529      lt_cv_sys_dlopen_deplibs=yes
12530      ;;
# Line 11748 | Line 12598 | for ac_header in argz.h
12598   do :
12599    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12600   "
12601 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12601 > if test "x$ac_cv_header_argz_h" = xyes; then :
12602    cat >>confdefs.h <<_ACEOF
12603   #define HAVE_ARGZ_H 1
12604   _ACEOF
# Line 11762 | Line 12612 | ac_fn_c_check_type "$LINENO" "error_t" "
12612   #  include <argz.h>
12613   #endif
12614   "
12615 < if test "x$ac_cv_type_error_t" = x""yes; then :
12615 > if test "x$ac_cv_type_error_t" = xyes; then :
12616  
12617   cat >>confdefs.h <<_ACEOF
12618   #define HAVE_ERROR_T 1
# Line 11785 | Line 12635 | for ac_func in argz_add argz_append argz
12635   do :
12636    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12637   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12638 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12638 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12639    cat >>confdefs.h <<_ACEOF
12640   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12641   _ACEOF
# Line 11803 | Line 12652 | done
12652   if test -z "$ARGZ_H"; then :
12653    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12654   $as_echo_n "checking if argz actually works... " >&6; }
12655 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12655 > if ${lt_cv_sys_argz_works+:} false; then :
12656    $as_echo_n "(cached) " >&6
12657   else
12658    case $host_os in #(
# Line 11834 | Line 12683 | else
12683   fi
12684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12685   $as_echo "$lt_cv_sys_argz_works" >&6; }
12686 <     if test $lt_cv_sys_argz_works = yes; then :
12686 >     if test "$lt_cv_sys_argz_works" = yes; then :
12687  
12688   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12689  
# Line 11851 | Line 12700 | fi
12700  
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12702   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12703 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12703 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12704    $as_echo_n "(cached) " >&6
12705   else
12706    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 12718 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12718  
12719   fi
12720  
11872
11873
12721   # Set options
12722  
12723  
# Line 11883 | Line 12730 | fi
12730  
12731  
12732  
11886
12733   # Check whether --with-included_ltdl was given.
12734   if test "${with_included_ltdl+set}" = set; then :
12735    withval=$with_included_ltdl;
# Line 11896 | Line 12742 | if test "x$with_included_ltdl" != xyes;
12742    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12743  
12744   "
12745 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12745 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12746    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12747              #include <ltdl.h>
12748   "
12749 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12749 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12751   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12752 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12752 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12753    $as_echo_n "(cached) " >&6
12754   else
12755    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 12783 | LIBS=$ac_check_lib_save_LIBS
12783   fi
12784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12785   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12786 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12786 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12787    with_included_ltdl=no
12788   else
12789    with_included_ltdl=yes
# Line 11957 | Line 12803 | fi
12803  
12804  
12805  
11960
11961
11962
11963
11964
12806   # Check whether --with-ltdl_include was given.
12807   if test "${with_ltdl_include+set}" = set; then :
12808    withval=$with_ltdl_include;
# Line 11971 | Line 12812 | fi
12812   if test -n "$with_ltdl_include"; then
12813    if test -f "$with_ltdl_include/ltdl.h"; then :
12814    else
12815 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12815 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12816    fi
12817   else
12818    with_ltdl_include=no
# Line 11987 | Line 12828 | fi
12828   if test -n "$with_ltdl_lib"; then
12829    if test -f "$with_ltdl_lib/libltdl.la"; then :
12830    else
12831 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12831 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12832    fi
12833   else
12834    with_ltdl_lib=no
# Line 11996 | Line 12837 | fi
12837   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12838    ,yes,no,no,)
12839          case $enable_ltdl_convenience in
12840 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12840 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12841    "") enable_ltdl_convenience=yes
12842        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12843   esac
# Line 12024 | Line 12865 | $as_echo "#define HAVE_LTDL 1" >>confdef
12865          LTDLINCL=
12866          ;;
12867    ,no*,no,*)
12868 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12868 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12869          ;;
12870    *)    with_included_ltdl=no
12871          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 12916 | fi
12916  
12917  
12918  
12078    subdirs="$subdirs libltdl"
12079
12080
12919  
12920  
12921  
# Line 12094 | Line 12932 | do :
12932    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12933   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12934   "
12935 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
12935 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936    cat >>confdefs.h <<_ACEOF
12937   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938   _ACEOF
# Line 12109 | Line 12946 | for ac_func in closedir opendir readdir
12946   do :
12947    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12948   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12949 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
12949 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12950    cat >>confdefs.h <<_ACEOF
12951   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12952   _ACEOF
# Line 12127 | Line 12963 | for ac_func in strlcat strlcpy
12963   do :
12964    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12965   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12966 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
12966 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12967    cat >>confdefs.h <<_ACEOF
12968   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12969   _ACEOF
# Line 12148 | Line 12983 | cat >>confdefs.h <<_ACEOF
12983   _ACEOF
12984  
12985  
12986 + name=
12987 + eval "lt_libprefix=\"$libname_spec\""
12988 +
12989 + cat >>confdefs.h <<_ACEOF
12990 + #define LT_LIBPREFIX "$lt_libprefix"
12991 + _ACEOF
12992 +
12993 +
12994   name=ltdl
12995 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12995 > eval "LTDLOPEN=\"$libname_spec\""
12996  
12997  
12998  
# Line 12161 | Line 13004 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13004   # Only expand once:
13005  
13006  
13007 + LIBTOOL="$LIBTOOL --silent"
13008  
13009   # Checks for libraries.
13010  
13011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13012   $as_echo_n "checking for library containing socket... " >&6; }
13013 < if test "${ac_cv_search_socket+set}" = set; then :
13013 > if ${ac_cv_search_socket+:} false; then :
13014    $as_echo_n "(cached) " >&6
13015   else
13016    ac_func_search_save_LIBS=$LIBS
# Line 12200 | Line 13044 | for ac_lib in '' socket; do
13044   fi
13045   rm -f core conftest.err conftest.$ac_objext \
13046      conftest$ac_exeext
13047 <  if test "${ac_cv_search_socket+set}" = set; then :
13047 >  if ${ac_cv_search_socket+:} false; then :
13048    break
13049   fi
13050   done
13051 < if test "${ac_cv_search_socket+set}" = set; then :
13051 > if ${ac_cv_search_socket+:} false; then :
13052  
13053   else
13054    ac_cv_search_socket=no
# Line 12219 | Line 13063 | if test "$ac_res" != no; then :
13063    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13064  
13065   else
13066 <  as_fn_error "socket library not found" "$LINENO" 5
13066 >  as_fn_error $? "socket library not found" "$LINENO" 5
13067 > fi
13068 >
13069 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13070 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13071 > if ${ac_cv_search_inet_ntoa+:} false; then :
13072 >  $as_echo_n "(cached) " >&6
13073 > else
13074 >  ac_func_search_save_LIBS=$LIBS
13075 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 > /* end confdefs.h.  */
13077 >
13078 > /* Override any GCC internal prototype to avoid an error.
13079 >   Use char because int might match the return type of a GCC
13080 >   builtin and then its argument prototype would still apply.  */
13081 > #ifdef __cplusplus
13082 > extern "C"
13083 > #endif
13084 > char inet_ntoa ();
13085 > int
13086 > main ()
13087 > {
13088 > return inet_ntoa ();
13089 >  ;
13090 >  return 0;
13091 > }
13092 > _ACEOF
13093 > for ac_lib in '' nsl; do
13094 >  if test -z "$ac_lib"; then
13095 >    ac_res="none required"
13096 >  else
13097 >    ac_res=-l$ac_lib
13098 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13099 >  fi
13100 >  if ac_fn_c_try_link "$LINENO"; then :
13101 >  ac_cv_search_inet_ntoa=$ac_res
13102 > fi
13103 > rm -f core conftest.err conftest.$ac_objext \
13104 >    conftest$ac_exeext
13105 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13106 >  break
13107 > fi
13108 > done
13109 > if ${ac_cv_search_inet_ntoa+:} false; then :
13110 >
13111 > else
13112 >  ac_cv_search_inet_ntoa=no
13113 > fi
13114 > rm conftest.$ac_ext
13115 > LIBS=$ac_func_search_save_LIBS
13116 > fi
13117 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13118 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13119 > ac_res=$ac_cv_search_inet_ntoa
13120 > if test "$ac_res" != no; then :
13121 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13122 >
13123 > fi
13124 >
13125 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13126 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13127 > if ${ac_cv_search_inet_aton+:} false; then :
13128 >  $as_echo_n "(cached) " >&6
13129 > else
13130 >  ac_func_search_save_LIBS=$LIBS
13131 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 > /* end confdefs.h.  */
13133 >
13134 > /* Override any GCC internal prototype to avoid an error.
13135 >   Use char because int might match the return type of a GCC
13136 >   builtin and then its argument prototype would still apply.  */
13137 > #ifdef __cplusplus
13138 > extern "C"
13139 > #endif
13140 > char inet_aton ();
13141 > int
13142 > main ()
13143 > {
13144 > return inet_aton ();
13145 >  ;
13146 >  return 0;
13147 > }
13148 > _ACEOF
13149 > for ac_lib in '' resolv; do
13150 >  if test -z "$ac_lib"; then
13151 >    ac_res="none required"
13152 >  else
13153 >    ac_res=-l$ac_lib
13154 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13155 >  fi
13156 >  if ac_fn_c_try_link "$LINENO"; then :
13157 >  ac_cv_search_inet_aton=$ac_res
13158 > fi
13159 > rm -f core conftest.err conftest.$ac_objext \
13160 >    conftest$ac_exeext
13161 >  if ${ac_cv_search_inet_aton+:} false; then :
13162 >  break
13163 > fi
13164 > done
13165 > if ${ac_cv_search_inet_aton+:} false; then :
13166 >
13167 > else
13168 >  ac_cv_search_inet_aton=no
13169 > fi
13170 > rm conftest.$ac_ext
13171 > LIBS=$ac_func_search_save_LIBS
13172 > fi
13173 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13174 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13175 > ac_res=$ac_cv_search_inet_aton
13176 > if test "$ac_res" != no; then :
13177 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13178 >
13179   fi
13180  
13181    for ac_func in inet_aton inet_ntop inet_pton
13182   do :
13183    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13184   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13185 < eval as_val=\$$as_ac_var
12230 <   if test "x$as_val" = x""yes; then :
13185 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13186    cat >>confdefs.h <<_ACEOF
13187   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13188   _ACEOF
# Line 12240 | Line 13195 | done
13195     #include <netdb.h>
13196  
13197   "
13198 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13198 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13199  
13200   cat >>confdefs.h <<_ACEOF
13201   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12253 | Line 13208 | ac_fn_c_check_type "$LINENO" "struct soc
13208     #include <netdb.h>
13209  
13210   "
13211 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13211 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13212  
13213   cat >>confdefs.h <<_ACEOF
13214   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12266 | Line 13221 | ac_fn_c_check_type "$LINENO" "struct add
13221     #include <netdb.h>
13222  
13223   "
13224 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13224 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13225  
13226   cat >>confdefs.h <<_ACEOF
13227   #define HAVE_STRUCT_ADDRINFO 1
# Line 12278 | Line 13233 | fi
13233    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13234    <sys/socket.h>
13235   "
13236 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13236 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13237  
13238   cat >>confdefs.h <<_ACEOF
13239   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12289 | Line 13244 | fi
13244  
13245  
13246  
13247 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13248 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13249 <
12295 < cat >>confdefs.h <<_ACEOF
12296 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12297 < _ACEOF
12298 <
12299 <
12300 < else
13247 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13248 > "
13249 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13250  
13251   $as_echo "#define IPV6 1" >>confdefs.h
13252  
# Line 12308 | Line 13257 | fi
13257   # Checks for typedefs, structures, and compiler characteristics.
13258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13259   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13260 < if test "${ac_cv_c_bigendian+set}" = set; then :
13260 > if ${ac_cv_c_bigendian+:} false; then :
13261    $as_echo_n "(cached) " >&6
13262   else
13263    ac_cv_c_bigendian=unknown
# Line 12526 | Line 13475 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13475  
13476       ;; #(
13477     *)
13478 <     as_fn_error "unknown endianness
13478 >     as_fn_error $? "unknown endianness
13479   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13480   esac
13481  
# Line 12539 | Line 13488 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13488   do :
13489    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13490   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13491 < eval as_val=\$$as_ac_var
12543 <   if test "x$as_val" = x""yes; then :
13491 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13492    cat >>confdefs.h <<_ACEOF
13493   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13494   _ACEOF
# Line 12560 | Line 13508 | done
13508  
13509  
13510  
13511 +
13512 +
13513   # Checks for header files.
13514  
13515  
# Line 12569 | Line 13519 | do :
13519    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13520   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13521   "
13522 < eval as_val=\$$as_ac_Header
12573 <   if test "x$as_val" = x""yes; then :
13522 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13523    cat >>confdefs.h <<_ACEOF
13524   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13525   _ACEOF
# Line 12627 | Line 13576 | fi
13576  
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13578   $as_echo_n "checking for library containing crypt... " >&6; }
13579 < if test "${ac_cv_search_crypt+set}" = set; then :
13579 > if ${ac_cv_search_crypt+:} false; then :
13580    $as_echo_n "(cached) " >&6
13581   else
13582    ac_func_search_save_LIBS=$LIBS
# Line 12661 | Line 13610 | for ac_lib in '' crypt; do
13610   fi
13611   rm -f core conftest.err conftest.$ac_objext \
13612      conftest$ac_exeext
13613 <  if test "${ac_cv_search_crypt+set}" = set; then :
13613 >  if ${ac_cv_search_crypt+:} false; then :
13614    break
13615   fi
13616   done
13617 < if test "${ac_cv_search_crypt+set}" = set; then :
13617 > if ${ac_cv_search_crypt+:} false; then :
13618  
13619   else
13620    ac_cv_search_crypt=no
# Line 12684 | Line 13633 | fi
13633  
13634  
13635  
12687 # Check whether --with-zlib-path was given.
12688 if test "${with_zlib_path+set}" = set; then :
12689  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12690 fi
12691
12692
12693 # Check whether --enable-zlib was given.
12694 if test "${enable_zlib+set}" = set; then :
12695  enableval=$enable_zlib; zlib=$enableval
12696 else
12697  zlib=yes
12698 fi
12699
12700
12701 if test "$zlib" = "yes"; then :
12702
12703  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12704 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12706 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12707 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12708  $as_echo_n "(cached) " >&6
12709 else
12710  ac_check_lib_save_LIBS=$LIBS
12711 LIBS="-lz  $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h.  */
12714
12715 /* Override any GCC internal prototype to avoid an error.
12716   Use char because int might match the return type of a GCC
12717   builtin and then its argument prototype would still apply.  */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char zlibVersion ();
12722 int
12723 main ()
12724 {
12725 return zlibVersion ();
12726  ;
12727  return 0;
12728 }
12729 _ACEOF
12730 if ac_fn_c_try_link "$LINENO"; then :
12731  ac_cv_lib_z_zlibVersion=yes
12732 else
12733  ac_cv_lib_z_zlibVersion=no
12734 fi
12735 rm -f core conftest.err conftest.$ac_objext \
12736    conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_lib_save_LIBS
12738 fi
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12740 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12741 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12742
12743      LIBS="-lz $LIBS"
12744
12745 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12746
12747
12748 else
12749  zlib=no
12750 fi
12751
12752
12753 else
12754  zlib=no
12755 fi
12756
12757
12758
12759 fi
12760
12761
13636   # Check whether --with-libpcre-path was given.
13637   if test "${with_libpcre_path+set}" = set; then :
13638    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 12776 | Line 13650 | fi
13650   if test "$libpcre" = "yes"; then :
13651  
13652    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13653 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13653 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13654    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13655   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13656 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13656 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13657    $as_echo_n "(cached) " >&6
13658   else
13659    ac_check_lib_save_LIBS=$LIBS
# Line 12813 | Line 13687 | LIBS=$ac_check_lib_save_LIBS
13687   fi
13688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13689   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13690 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13690 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13691  
13692        LIBS="-lpcre $LIBS"
13693  
# Line 12881 | Line 13755 | if test "$cf_enable_openssl" != "no"; th
13755    fi
13756  
13757        if test ! -z "$cf_openssl_basedir"; then
12884    LIBS="-lcrypto -lssl $LIBS"
13758      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13759   $as_echo "$cf_openssl_basedir" >&6; }
13760      cf_enable_openssl="yes"
12888
12889 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12890
13761    else
13762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13763   $as_echo "not found. Please check your path." >&6; }
# Line 12900 | Line 13770 | $as_echo "disabled" >&6; }
13770   fi
13771  
13772   if test "$cf_enable_openssl" != "no"; then :
13773 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13774 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13773 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13774 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13775    if test "$cross_compiling" = yes; then :
13776    cf_openssl_version_ok=no
13777   else
13778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779   /* end confdefs.h.  */
13780  
13781 +
13782      #include <openssl/opensslv.h>
13783      #include <stdlib.h>
13784   int
13785   main ()
13786   {
13787 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13787 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13788    ;
13789    return 0;
13790   }
# Line 12932 | Line 13803 | fi
13803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13804   $as_echo "found" >&6; }
13805  
13806 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13806 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13807 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13808 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13809 >  $as_echo_n "(cached) " >&6
13810 > else
13811 >  ac_check_lib_save_LIBS=$LIBS
13812 > LIBS="-lssl  $LIBS"
13813 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 > /* end confdefs.h.  */
13815 >
13816 > /* Override any GCC internal prototype to avoid an error.
13817 >   Use char because int might match the return type of a GCC
13818 >   builtin and then its argument prototype would still apply.  */
13819 > #ifdef __cplusplus
13820 > extern "C"
13821 > #endif
13822 > char SSL_connect ();
13823 > int
13824 > main ()
13825 > {
13826 > return SSL_connect ();
13827 >  ;
13828 >  return 0;
13829 > }
13830 > _ACEOF
13831 > if ac_fn_c_try_link "$LINENO"; then :
13832 >  ac_cv_lib_ssl_SSL_connect=yes
13833 > else
13834 >  ac_cv_lib_ssl_SSL_connect=no
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext \
13837 >    conftest$ac_exeext conftest.$ac_ext
13838 > LIBS=$ac_check_lib_save_LIBS
13839 > fi
13840 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13841 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13842 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13843 >  cat >>confdefs.h <<_ACEOF
13844 > #define HAVE_LIBSSL 1
13845 > _ACEOF
13846 >
13847 >  LIBS="-lssl $LIBS"
13848 >
13849 > fi
13850 >
13851 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13852 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13853   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13854 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13854 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13855    $as_echo_n "(cached) " >&6
13856   else
13857    ac_check_lib_save_LIBS=$LIBS
# Line 12968 | Line 13885 | LIBS=$ac_check_lib_save_LIBS
13885   fi
13886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13887   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13888 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13888 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13889    cat >>confdefs.h <<_ACEOF
13890   #define HAVE_LIBCRYPTO 1
13891   _ACEOF
# Line 12977 | Line 13894 | _ACEOF
13894  
13895   fi
13896  
12980    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12981  for ac_func in EVP_bf_cfb           \
12982                      EVP_cast5_cfb        \
12983                      EVP_idea_cfb         \
12984                      EVP_rc5_32_12_16_cfb \
12985                      EVP_des_ede3_cfb     \
12986                      EVP_des_cfb
12987 do :
12988  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12990 eval as_val=\$$as_ac_var
12991   if test "x$as_val" = x""yes; then :
12992  cat >>confdefs.h <<_ACEOF
12993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12994 _ACEOF
12995
12996 fi
12997 done
12998
13897   fi
13898  
13899   else
# Line 13005 | Line 13903 | $as_echo "no - OpenSSL support disabled"
13903   fi
13904   fi
13905  
13906 < if test "$cf_enable_openssl" = yes; then
13906 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13907    ENABLE_SSL_TRUE=
13908    ENABLE_SSL_FALSE='#'
13909   else
# Line 13210 | Line 14108 | _ACEOF
14108    if test "$cross_compiling" = yes; then :
14109    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14110   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14111 < as_fn_error "cannot run test program while cross compiling
14112 < See \`config.log' for more details." "$LINENO" 5; }
14111 > as_fn_error $? "cannot run test program while cross compiling
14112 > See \`config.log' for more details" "$LINENO" 5; }
14113   else
14114    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115   /* end confdefs.h.  */
# Line 13244 | Line 14142 | else
14142   #endif
14143   _syscall1(int, epoll_create, int, size)
14144   #endif
13247 main() { return epoll_create(256) == -1 ? 1 : 0; }
14145  
14146 + int
14147 + main ()
14148 + {
14149 + return epoll_create(256) == -1 ? 1 : 0
14150 +  ;
14151 +  return 0;
14152 + }
14153   _ACEOF
14154   if ac_fn_c_try_run "$LINENO"; then :
14155    is_epoll_mechanism_available="yes"
# Line 13315 | Line 14219 | _ACEOF
14219    if test "$cross_compiling" = yes; then :
14220    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14221   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14222 < as_fn_error "cannot run test program while cross compiling
14223 < See \`config.log' for more details." "$LINENO" 5; }
14222 > as_fn_error $? "cannot run test program while cross compiling
14223 > See \`config.log' for more details" "$LINENO" 5; }
14224   else
14225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226   /* end confdefs.h.  */
14227  
14228 + #define _GNU_SOURCE
14229   #include <fcntl.h>
14230 < #ifdef F_SETSIG
13326 < main () { return 0; } /* F_SETSIG defined */
13327 < #else
13328 < main () { return 1; } /* F_SETSIG not defined */
13329 < #endif
14230 > static unsigned int have_f_setsig = 0;
14231  
14232   int
14233   main ()
14234   {
14235  
14236 + #ifdef F_SETSIG
14237 +  have_f_setsig = 1;
14238 + #endif
14239 +  return have_f_setsig == 0;
14240 +
14241    ;
14242    return 0;
14243   }
# Line 13465 | Line 14371 | rm -f core conftest.err conftest.$ac_obj
14371      if test "$optimal_iopoll_mechanism" = "none" ; then
14372        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14373   $as_echo "none" >&6; }
14374 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14374 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14375      else
14376        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14377        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13480 | Line 14386 | $as_echo "$selected_iopoll_mechanism" >&
14386      else
14387        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14388   $as_echo "none" >&6; }
14389 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14389 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14390      fi
14391    fi
14392        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13521 | Line 14427 | _ACEOF
14427  
14428  
14429  
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
14430    # Check whether --enable-efnet was given.
14431   if test "${enable_efnet+set}" = set; then :
14432    enableval=$enable_efnet; efnet="$enableval"
# Line 13548 | Line 14439 | fi
14439  
14440   $as_echo "#define EFNET 1" >>confdefs.h
14441  
13551
13552 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13553
14442          else
14443                  use_efnet="no"
14444    fi
# Line 13609 | Line 14497 | fi
14497    fi
14498  
14499  
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
14500  
14501    prefix_NONE=
14502    exec_prefix_NONE=
# Line 13735 | Line 14583 | _ACEOF
14583    test "$exec_prefix_NONE" && exec_prefix=NONE
14584  
14585  
14586 < 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"
14586 > ac_config_files="$ac_config_files Makefile etc/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"
14587  
14588  
14589   cat >confcache <<\_ACEOF
# Line 13802 | Line 14650 | $as_echo "$as_me: WARNING: cache variabl
14650       :end' >>confcache
14651   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14652    if test -w "$cache_file"; then
14653 <    test "x$cache_file" != "x/dev/null" &&
14653 >    if test "x$cache_file" != "x/dev/null"; then
14654        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14655   $as_echo "$as_me: updating cache $cache_file" >&6;}
14656 <    cat confcache >$cache_file
14656 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14657 >        cat confcache >"$cache_file"
14658 >      else
14659 >        case $cache_file in #(
14660 >        */* | ?:*)
14661 >          mv -f confcache "$cache_file"$$ &&
14662 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14663 >        *)
14664 >          mv -f confcache "$cache_file" ;;
14665 >        esac
14666 >      fi
14667 >    fi
14668    else
14669      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14670   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13821 | Line 14680 | DEFS=-DHAVE_CONFIG_H
14680  
14681   ac_libobjs=
14682   ac_ltlibobjs=
14683 + U=
14684   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14685    # 1. Remove the extension, and $U if already installed.
14686    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13844 | Line 14704 | else
14704   fi
14705  
14706   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14707 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14707 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14708   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14709   fi
14710   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14711 <  as_fn_error "conditional \"AMDEP\" was never defined.
14711 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14712   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14713   fi
14714   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14715 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14715 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14716   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14717   fi
14718   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14719 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14719 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14720   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14721   fi
14722   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14723 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14723 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14724   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14725   fi
14726   LT_CONFIG_H=config.h
# Line 13882 | Line 14742 | LT_CONFIG_H=config.h
14742  
14743  
14744   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14745 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14745 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14746   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14747   fi
14748   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14749 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14749 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14750   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14751   fi
14752   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14753 <  as_fn_error "conditional \"EFNET\" was never defined.
14753 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14754   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14755   fi
14756  
14757 < : ${CONFIG_STATUS=./config.status}
14757 > : "${CONFIG_STATUS=./config.status}"
14758   ac_write_fail=0
14759   ac_clean_files_save=$ac_clean_files
14760   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13995 | Line 14855 | fi
14855   IFS=" ""        $as_nl"
14856  
14857   # Find who we are.  Look in the path if we contain no directory separator.
14858 + as_myself=
14859   case $0 in #((
14860    *[\\/]* ) as_myself=$0 ;;
14861    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14040 | Line 14901 | export LANGUAGE
14901   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14902  
14903  
14904 < # as_fn_error ERROR [LINENO LOG_FD]
14905 < # ---------------------------------
14904 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14905 > # ----------------------------------------
14906   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14907   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14908 < # script with status $?, using 1 if that was 0.
14908 > # script with STATUS, using 1 if that was 0.
14909   as_fn_error ()
14910   {
14911 <  as_status=$?; test $as_status -eq 0 && as_status=1
14912 <  if test "$3"; then
14913 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14914 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14911 >  as_status=$1; test $as_status -eq 0 && as_status=1
14912 >  if test "$4"; then
14913 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14914 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14915    fi
14916 <  $as_echo "$as_me: error: $1" >&2
14916 >  $as_echo "$as_me: error: $2" >&2
14917    as_fn_exit $as_status
14918   } # as_fn_error
14919  
# Line 14248 | Line 15109 | $as_echo X"$as_dir" |
15109        test -d "$as_dir" && break
15110      done
15111      test -z "$as_dirs" || eval "mkdir $as_dirs"
15112 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15112 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15113  
15114  
15115   } # as_fn_mkdir_p
# Line 14301 | Line 15162 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15162   # report actual input values of CONFIG_FILES etc. instead of their
15163   # values after options handling.
15164   ac_log="
15165 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15166 < generated by GNU Autoconf 2.65.  Invocation command line was
15165 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15166 > generated by GNU Autoconf 2.68.  Invocation command line was
15167  
15168    CONFIG_FILES    = $CONFIG_FILES
15169    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14367 | Line 15228 | _ACEOF
15228   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15229   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15230   ac_cs_version="\\
15231 < ircd-hybrid config.status 7.3-rc1
15232 < configured by $0, generated by GNU Autoconf 2.65,
15231 > ircd-hybrid config.status 8beta1
15232 > configured by $0, generated by GNU Autoconf 2.68,
15233    with options \\"\$ac_cs_config\\"
15234  
15235 < Copyright (C) 2009 Free Software Foundation, Inc.
15235 > Copyright (C) 2010 Free Software Foundation, Inc.
15236   This config.status script is free software; the Free Software Foundation
15237   gives unlimited permission to copy, distribute and modify it."
15238  
# Line 14389 | Line 15250 | ac_need_defaults=:
15250   while test $# != 0
15251   do
15252    case $1 in
15253 <  --*=*)
15253 >  --*=?*)
15254      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15256      ac_shift=:
15257      ;;
15258 +  --*=)
15259 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15260 +    ac_optarg=
15261 +    ac_shift=:
15262 +    ;;
15263    *)
15264      ac_option=$1
15265      ac_optarg=$2
# Line 14415 | Line 15281 | do
15281      $ac_shift
15282      case $ac_optarg in
15283      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15284 +    '') as_fn_error $? "missing file argument" ;;
15285      esac
15286      as_fn_append CONFIG_FILES " '$ac_optarg'"
15287      ac_need_defaults=false;;
# Line 14427 | Line 15294 | do
15294      ac_need_defaults=false;;
15295    --he | --h)
15296      # Conflict between --help and --header
15297 <    as_fn_error "ambiguous option: \`$1'
15297 >    as_fn_error $? "ambiguous option: \`$1'
15298   Try \`$0 --help' for more information.";;
15299    --help | --hel | -h )
15300      $as_echo "$ac_cs_usage"; exit ;;
# Line 14436 | Line 15303 | Try \`$0 --help' for more information.";
15303      ac_cs_silent=: ;;
15304  
15305    # This is an error.
15306 <  -*) as_fn_error "unrecognized option: \`$1'
15306 >  -*) as_fn_error $? "unrecognized option: \`$1'
15307   Try \`$0 --help' for more information." ;;
15308  
15309    *) as_fn_append ac_config_targets " $1"
# Line 14490 | Line 15357 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15357   sed_quote_subst='$sed_quote_subst'
15358   double_quote_subst='$double_quote_subst'
15359   delay_variable_subst='$delay_variable_subst'
15360 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15361 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15362 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15363 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15364 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15365 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15366 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15367 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15368 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15369 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15370 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15371 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15372 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15373 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15374 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15375 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15376 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15377 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15378 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15379 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15380 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15381 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15382 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15383 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15384 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15385 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15386 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15387 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15388 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15389 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15390 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15391 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15392 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15393 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15394 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15395 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15396 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15397 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15398 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15399 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15400 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15401 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15402 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15403 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15404 < 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"`'
15405 < 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"`'
15406 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15407 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15408 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15409 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15410 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15411 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15412 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15413 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15414 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15415 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15416 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15417 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15418 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15419 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15420 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15421 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15422 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15423 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15424 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15425 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15426 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15427 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15428 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15429 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15430 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15431 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15432 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15433 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15434 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15435 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15436 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15437 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15438 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15439 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15440 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15441 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15442 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15443 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15444 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15445 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15446 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15447 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15448 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15449 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15450 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15451 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15452 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15453 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15454 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15455 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15456 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15457 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15458 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15459 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15460 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15461 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15462 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15463 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15464 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15465 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15466 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15467 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15468 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15469 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15470 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15471 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15472 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15473 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15474 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15475 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15476 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15477 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15360 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15361 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15362 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15363 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15364 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15365 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15366 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15367 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15368 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15369 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15370 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15371 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15372 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15373 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15374 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15375 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15376 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15377 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15378 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15379 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15380 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15381 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15382 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15383 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15384 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15385 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15386 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15387 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15388 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15389 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15390 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15391 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15392 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15393 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15394 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15395 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15396 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15397 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15398 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15399 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15400 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15401 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15402 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15403 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15404 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15405 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15406 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15407 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15408 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15409 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15410 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15411 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15412 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15413 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15414 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15415 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15416 > 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"`'
15417 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15418 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15419 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15420 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15421 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15422 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15423 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15424 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15425 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15426 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15427 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15428 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15429 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15430 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15431 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15432 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15433 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15434 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15435 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15436 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15437 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15438 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15439 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15440 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15441 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15442 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15443 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15444 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15445 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15446 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15447 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15448 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15449 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15450 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15451 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15452 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15453 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15454 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15455 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15456 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15457 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15458 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15459 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15460 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15461 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15462 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15463 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15464 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15465 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15466 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15467 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15468 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15469 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15470 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15471 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15472 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15473 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15474 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15475 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15476 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15477 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15478 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15479 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15480 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15481 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15482 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15483 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15484 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15485 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15486 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15487 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15488 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15489 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15490  
15491   LTCC='$LTCC'
15492   LTCFLAGS='$LTCFLAGS'
15493   compiler='$compiler_DEFAULT'
15494  
15495 + # A function that is used when there is no print builtin or printf.
15496 + func_fallback_echo ()
15497 + {
15498 +  eval 'cat <<_LTECHO_EOF
15499 + \$1
15500 + _LTECHO_EOF'
15501 + }
15502 +
15503   # Quote evaled strings.
15504 < for var in SED \
15504 > for var in SHELL \
15505 > ECHO \
15506 > PATH_SEPARATOR \
15507 > SED \
15508   GREP \
15509   EGREP \
15510   FGREP \
# Line 14627 | Line 15517 | reload_flag \
15517   OBJDUMP \
15518   deplibs_check_method \
15519   file_magic_cmd \
15520 + file_magic_glob \
15521 + want_nocaseglob \
15522 + DLLTOOL \
15523 + sharedlib_from_linklib_cmd \
15524   AR \
15525   AR_FLAGS \
15526 + archiver_list_spec \
15527   STRIP \
15528   RANLIB \
15529   CC \
# Line 14638 | Line 15533 | lt_cv_sys_global_symbol_pipe \
15533   lt_cv_sys_global_symbol_to_cdecl \
15534   lt_cv_sys_global_symbol_to_c_name_address \
15535   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15536 < SHELL \
14642 < ECHO \
15536 > nm_file_list_spec \
15537   lt_prog_compiler_no_builtin_flag \
14644 lt_prog_compiler_wl \
15538   lt_prog_compiler_pic \
15539 + lt_prog_compiler_wl \
15540   lt_prog_compiler_static \
15541   lt_cv_prog_compiler_c_o \
15542   need_locks \
15543 + MANIFEST_TOOL \
15544   DSYMUTIL \
15545   NMEDIT \
15546   LIPO \
# Line 14659 | Line 15554 | with_gnu_ld \
15554   allow_undefined_flag \
15555   no_undefined_flag \
15556   hardcode_libdir_flag_spec \
14662 hardcode_libdir_flag_spec_ld \
15557   hardcode_libdir_separator \
14664 fix_srcfile_path \
15558   exclude_expsyms \
15559   include_expsyms \
15560   file_list_spec \
# Line 14669 | Line 15562 | variables_saved_for_relink \
15562   libname_spec \
15563   library_names_spec \
15564   soname_spec \
15565 + install_override_mode \
15566   finish_eval \
15567   old_striplib \
15568   striplib; do
15569 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15569 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15570      *[\\\\\\\`\\"\\\$]*)
15571 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15571 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15572        ;;
15573      *)
15574        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14696 | Line 15590 | module_cmds \
15590   module_expsym_cmds \
15591   export_symbols_cmds \
15592   prelink_cmds \
15593 + postlink_cmds \
15594   postinstall_cmds \
15595   postuninstall_cmds \
15596   finish_cmds \
15597   sys_lib_search_path_spec \
15598   sys_lib_dlsearch_path_spec; do
15599 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15599 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15600      *[\\\\\\\`\\"\\\$]*)
15601 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15601 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15602        ;;
15603      *)
15604        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14711 | Line 15606 | sys_lib_dlsearch_path_spec; do
15606      esac
15607   done
15608  
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
15609   ac_aux_dir='$ac_aux_dir'
15610   xsi_shell='$xsi_shell'
15611   lt_shell_append='$lt_shell_append'
# Line 14750 | Line 15639 | do
15639      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15640      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15641      "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" ;;
14756    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15642      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15643      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15644      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15645 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15646      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15647      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15648      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14766 | Line 15652 | do
15652      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15653      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15654  
15655 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15655 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15656    esac
15657   done
15658  
# Line 14789 | Line 15675 | fi
15675   # after its creation but before its name has been assigned to `$tmp'.
15676   $debug ||
15677   {
15678 <  tmp=
15678 >  tmp= ac_tmp=
15679    trap 'exit_status=$?
15680 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15680 >  : "${ac_tmp:=$tmp}"
15681 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15682   ' 0
15683    trap 'as_fn_exit 1' 1 2 13 15
15684   }
# Line 14799 | Line 15686 | $debug ||
15686  
15687   {
15688    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15689 <  test -n "$tmp" && test -d "$tmp"
15689 >  test -d "$tmp"
15690   }  ||
15691   {
15692    tmp=./conf$$-$RANDOM
15693    (umask 077 && mkdir "$tmp")
15694 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15694 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15695 > ac_tmp=$tmp
15696  
15697   # Set up the scripts for CONFIG_FILES section.
15698   # No need to generate them if there are no CONFIG_FILES.
# Line 14821 | Line 15709 | if test "x$ac_cr" = x; then
15709   fi
15710   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15711   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15712 <  ac_cs_awk_cr='\r'
15712 >  ac_cs_awk_cr='\\r'
15713   else
15714    ac_cs_awk_cr=$ac_cr
15715   fi
15716  
15717 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15717 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15718   _ACEOF
15719  
15720  
# Line 14835 | Line 15723 | _ACEOF
15723    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15724    echo "_ACEOF"
15725   } >conf$$subs.sh ||
15726 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15727 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15726 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15727 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15728   ac_delim='%!_!# '
15729   for ac_last_try in false false false false false :; do
15730    . ./conf$$subs.sh ||
15731 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15731 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15732  
15733    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15734    if test $ac_delim_n = $ac_delim_num; then
15735      break
15736    elif $ac_last_try; then
15737 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15737 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15738    else
15739      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15740    fi
# Line 14854 | Line 15742 | done
15742   rm -f conf$$subs.sh
15743  
15744   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15745 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15745 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15746   _ACEOF
15747   sed -n '
15748   h
# Line 14902 | Line 15790 | t delim
15790   rm -f conf$$subs.awk
15791   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15792   _ACAWK
15793 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15793 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15794    for (key in S) S_is_set[key] = 1
15795    FS = ""
15796  
# Line 14934 | Line 15822 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15822    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15823   else
15824    cat
15825 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15826 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15825 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15826 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15827   _ACEOF
15828  
15829 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15830 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15829 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15830 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15831   # trailing colons and then remove the whole line if VPATH becomes empty
15832   # (actually we leave an empty line to preserve line numbers).
15833   if test "x$srcdir" = x.; then
15834 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15835 < s/:*\$(srcdir):*/:/
15836 < s/:*\${srcdir}:*/:/
15837 < s/:*@srcdir@:*/:/
15838 < s/^\([^=]*=[     ]*\):*/\1/
15834 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15835 > h
15836 > s///
15837 > s/^/:/
15838 > s/[      ]*$/:/
15839 > s/:\$(srcdir):/:/g
15840 > s/:\${srcdir}:/:/g
15841 > s/:@srcdir@:/:/g
15842 > s/^:*//
15843   s/:*$//
15844 + x
15845 + s/\(=[   ]*\).*/\1/
15846 + G
15847 + s/\n//
15848   s/^[^=]*=[       ]*$//
15849   }'
15850   fi
# Line 14960 | Line 15856 | fi # test -n "$CONFIG_FILES"
15856   # No need to generate them if there are no CONFIG_HEADERS.
15857   # This happens for instance with `./config.status Makefile'.
15858   if test -n "$CONFIG_HEADERS"; then
15859 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15859 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15860   BEGIN {
15861   _ACEOF
15862  
# Line 14972 | Line 15868 | _ACEOF
15868   # handling of long lines.
15869   ac_delim='%!_!# '
15870   for ac_last_try in false false :; do
15871 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15872 <  if test -z "$ac_t"; then
15871 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15872 >  if test -z "$ac_tt"; then
15873      break
15874    elif $ac_last_try; then
15875 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15875 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15876    else
15877      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15878    fi
# Line 15061 | Line 15957 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15957   _ACAWK
15958   _ACEOF
15959   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15960 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15960 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15961   fi # test -n "$CONFIG_HEADERS"
15962  
15963  
# Line 15074 | Line 15970 | do
15970    esac
15971    case $ac_mode$ac_tag in
15972    :[FHL]*:*);;
15973 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15973 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15974    :[FH]-) ac_tag=-:-;;
15975    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15976    esac
# Line 15093 | Line 15989 | do
15989      for ac_f
15990      do
15991        case $ac_f in
15992 <      -) ac_f="$tmp/stdin";;
15992 >      -) ac_f="$ac_tmp/stdin";;
15993        *) # Look for the file first in the build tree, then in the source tree
15994           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15995           # because $ac_f cannot contain `:'.
# Line 15102 | Line 15998 | do
15998             [\\/$]*) false;;
15999             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16000             esac ||
16001 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16001 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16002        esac
16003        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16004        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15128 | Line 16024 | $as_echo "$as_me: creating $ac_file" >&6
16024      esac
16025  
16026      case $ac_tag in
16027 <    *:-:* | *:-) cat >"$tmp/stdin" \
16028 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16027 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16028 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16029      esac
16030      ;;
16031    esac
# Line 15265 | Line 16161 | s&@INSTALL@&$ac_INSTALL&;t t
16161   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16162   $ac_datarootdir_hack
16163   "
16164 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16165 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16164 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16165 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16166  
16167   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16168 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16169 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16168 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16169 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16170 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16171    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16172 < which seems to be undefined.  Please make sure it is defined." >&5
16172 > which seems to be undefined.  Please make sure it is defined" >&5
16173   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16174 < which seems to be undefined.  Please make sure it is defined." >&2;}
16174 > which seems to be undefined.  Please make sure it is defined" >&2;}
16175  
16176 <  rm -f "$tmp/stdin"
16176 >  rm -f "$ac_tmp/stdin"
16177    case $ac_file in
16178 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16179 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16178 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16179 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16180    esac \
16181 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16181 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16182   ;;
16183    :H)
16184    #
# Line 15290 | Line 16187 | which seems to be undefined.  Please mak
16187    if test x"$ac_file" != x-; then
16188      {
16189        $as_echo "/* $configure_input  */" \
16190 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16191 <    } >"$tmp/config.h" \
16192 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16193 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16190 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16191 >    } >"$ac_tmp/config.h" \
16192 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16193 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16194        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16195   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16196      else
16197        rm -f "$ac_file"
16198 <      mv "$tmp/config.h" "$ac_file" \
16199 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16198 >      mv "$ac_tmp/config.h" "$ac_file" \
16199 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16200      fi
16201    else
16202      $as_echo "/* $configure_input  */" \
16203 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16204 <      || as_fn_error "could not create -" "$LINENO" 5
16203 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16204 >      || as_fn_error $? "could not create -" "$LINENO" 5
16205    fi
16206   # Compute "$ac_file"'s index in $config_headers.
16207   _am_arg="$ac_file"
# Line 15465 | Line 16362 | $as_echo X"$file" |
16362   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16363   #
16364   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16365 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16365 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16366 > #                 Foundation, Inc.
16367   #   Written by Gordon Matzigkeit, 1996
16368   #
16369   #   This file is part of GNU Libtool.
# Line 15513 | Line 16411 | pic_mode=$pic_mode
16411   # Whether or not to optimize for fast installation.
16412   fast_install=$enable_fast_install
16413  
16414 + # Shell to use when invoking shell scripts.
16415 + SHELL=$lt_SHELL
16416 +
16417 + # An echo program that protects backslashes.
16418 + ECHO=$lt_ECHO
16419 +
16420 + # The PATH separator for the build system.
16421 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16422 +
16423   # The host system.
16424   host_alias=$host_alias
16425   host=$host
# Line 15562 | Line 16469 | SP2NL=$lt_lt_SP2NL
16469   # turn newlines into spaces.
16470   NL2SP=$lt_lt_NL2SP
16471  
16472 < # How to create reloadable object files.
16473 < reload_flag=$lt_reload_flag
16474 < reload_cmds=$lt_reload_cmds
16472 > # convert \$build file names to \$host format.
16473 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16474 >
16475 > # convert \$build files to toolchain format.
16476 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16477  
16478   # An object symbol dumper.
16479   OBJDUMP=$lt_OBJDUMP
# Line 15572 | Line 16481 | OBJDUMP=$lt_OBJDUMP
16481   # Method to check whether dependent libraries are shared objects.
16482   deplibs_check_method=$lt_deplibs_check_method
16483  
16484 < # Command to use when deplibs_check_method == "file_magic".
16484 > # Command to use when deplibs_check_method = "file_magic".
16485   file_magic_cmd=$lt_file_magic_cmd
16486  
16487 + # How to find potential files when deplibs_check_method = "file_magic".
16488 + file_magic_glob=$lt_file_magic_glob
16489 +
16490 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16491 + want_nocaseglob=$lt_want_nocaseglob
16492 +
16493 + # DLL creation program.
16494 + DLLTOOL=$lt_DLLTOOL
16495 +
16496 + # Command to associate shared and link libraries.
16497 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16498 +
16499   # The archiver.
16500   AR=$lt_AR
16501 +
16502 + # Flags to create an archive.
16503   AR_FLAGS=$lt_AR_FLAGS
16504  
16505 + # How to feed a file listing to the archiver.
16506 + archiver_list_spec=$lt_archiver_list_spec
16507 +
16508   # A symbol stripping program.
16509   STRIP=$lt_STRIP
16510  
# Line 15587 | Line 16513 | RANLIB=$lt_RANLIB
16513   old_postinstall_cmds=$lt_old_postinstall_cmds
16514   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16515  
16516 + # Whether to use a lock for old archive extraction.
16517 + lock_old_archive_extraction=$lock_old_archive_extraction
16518 +
16519   # A C compiler.
16520   LTCC=$lt_CC
16521  
# Line 15605 | Line 16534 | global_symbol_to_c_name_address=$lt_lt_c
16534   # Transform the output of nm in a C name address pair when lib prefix is needed.
16535   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16536  
16537 < # The name of the directory that contains temporary libtool files.
16538 < objdir=$objdir
16537 > # Specify filename containing input files for \$NM.
16538 > nm_file_list_spec=$lt_nm_file_list_spec
16539  
16540 < # Shell to use when invoking shell scripts.
16541 < SHELL=$lt_SHELL
16540 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16541 > lt_sysroot=$lt_sysroot
16542  
16543 < # An echo program that does not interpret backslashes.
16544 < ECHO=$lt_ECHO
16543 > # The name of the directory that contains temporary libtool files.
16544 > objdir=$objdir
16545  
16546   # Used to examine libraries when file_magic_cmd begins with "file".
16547   MAGIC_CMD=$MAGIC_CMD
# Line 15620 | Line 16549 | MAGIC_CMD=$MAGIC_CMD
16549   # Must we lock files when doing compilation?
16550   need_locks=$lt_need_locks
16551  
16552 + # Manifest tool.
16553 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16554 +
16555   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16556   DSYMUTIL=$lt_DSYMUTIL
16557  
# Line 15676 | Line 16608 | library_names_spec=$lt_library_names_spe
16608   # The coded name of the library, if different from the real name.
16609   soname_spec=$lt_soname_spec
16610  
16611 + # Permission mode override for installation of shared libraries.
16612 + install_override_mode=$lt_install_override_mode
16613 +
16614   # Command to use after installation of a shared archive.
16615   postinstall_cmds=$lt_postinstall_cmds
16616  
# Line 15715 | Line 16650 | striplib=$lt_striplib
16650   # The linker used to build libraries.
16651   LD=$lt_LD
16652  
16653 + # How to create reloadable object files.
16654 + reload_flag=$lt_reload_flag
16655 + reload_cmds=$lt_reload_cmds
16656 +
16657   # Commands used to build an old-style archive.
16658   old_archive_cmds=$lt_old_archive_cmds
16659  
# Line 15727 | Line 16666 | with_gcc=$GCC
16666   # Compiler flag to turn off builtin functions.
16667   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16668  
15730 # How to pass a linker flag through the compiler.
15731 wl=$lt_lt_prog_compiler_wl
15732
16669   # Additional compiler flags for building library objects.
16670   pic_flag=$lt_lt_prog_compiler_pic
16671  
16672 + # How to pass a linker flag through the compiler.
16673 + wl=$lt_lt_prog_compiler_wl
16674 +
16675   # Compiler flag to prevent dynamic linking.
16676   link_static_flag=$lt_lt_prog_compiler_static
16677  
# Line 15782 | Line 16721 | no_undefined_flag=$lt_no_undefined_flag
16721   # This must work even if \$libdir does not exist
16722   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16723  
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
16724   # Whether we need a single "-rpath" flag with a separated argument.
16725   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16726  
# Line 15819 | Line 16754 | inherit_rpath=$inherit_rpath
16754   # Whether libtool must link a program against all its dependency libraries.
16755   link_all_deplibs=$link_all_deplibs
16756  
15822 # Fix the shell variable \$srcfile for the compiler.
15823 fix_srcfile_path=$lt_fix_srcfile_path
15824
16757   # Set to "yes" if exported symbols are required.
16758   always_export_symbols=$always_export_symbols
16759  
# Line 15837 | Line 16769 | include_expsyms=$lt_include_expsyms
16769   # Commands necessary for linking programs (against libraries) with templates.
16770   prelink_cmds=$lt_prelink_cmds
16771  
16772 + # Commands necessary for finishing linking programs.
16773 + postlink_cmds=$lt_postlink_cmds
16774 +
16775   # Specify filename containing input files.
16776   file_list_spec=$lt_file_list_spec
16777  
# Line 15869 | Line 16804 | ltmain="$ac_aux_dir/ltmain.sh"
16804    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16805    # text mode, it properly converts lines to CR/LF.  This bash problem
16806    # is reportedly fixed, but why not run on old versions too?
16807 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16808 <    || (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
16807 >  sed '$q' "$ltmain" >> "$cfgfile" \
16808 >     || (rm -f "$cfgfile"; exit 1)
16809  
16810 +  if test x"$xsi_shell" = xyes; then
16811 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16812 + func_dirname ()\
16813 + {\
16814 + \    case ${1} in\
16815 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16816 + \      *  ) func_dirname_result="${3}" ;;\
16817 + \    esac\
16818 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16819 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16820 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16821 + test 0 -eq $? || _lt_function_replace_fail=:
16822 +
16823 +
16824 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16825 + func_basename ()\
16826 + {\
16827 + \    func_basename_result="${1##*/}"\
16828 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16829 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16830 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16831 + test 0 -eq $? || _lt_function_replace_fail=:
16832 +
16833 +
16834 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16835 + func_dirname_and_basename ()\
16836 + {\
16837 + \    case ${1} in\
16838 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16839 + \      *  ) func_dirname_result="${3}" ;;\
16840 + \    esac\
16841 + \    func_basename_result="${1##*/}"\
16842 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16843 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16844 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16845 + test 0 -eq $? || _lt_function_replace_fail=:
16846 +
16847 +
16848 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16849 + func_stripname ()\
16850 + {\
16851 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16852 + \    # positional parameters, so assign one to ordinary parameter first.\
16853 + \    func_stripname_result=${3}\
16854 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16855 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16856 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16857 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16858 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16859 + test 0 -eq $? || _lt_function_replace_fail=:
16860 +
16861 +
16862 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16863 + func_split_long_opt ()\
16864 + {\
16865 + \    func_split_long_opt_name=${1%%=*}\
16866 + \    func_split_long_opt_arg=${1#*=}\
16867 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16868 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16869 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16870 + test 0 -eq $? || _lt_function_replace_fail=:
16871 +
16872 +
16873 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16874 + func_split_short_opt ()\
16875 + {\
16876 + \    func_split_short_opt_arg=${1#??}\
16877 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16878 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16879 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16880 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16881 + test 0 -eq $? || _lt_function_replace_fail=:
16882 +
16883 +
16884 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16885 + func_lo2o ()\
16886 + {\
16887 + \    case ${1} in\
16888 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16889 + \      *)    func_lo2o_result=${1} ;;\
16890 + \    esac\
16891 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16892 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16893 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16894 + test 0 -eq $? || _lt_function_replace_fail=:
16895 +
16896 +
16897 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16898 + func_xform ()\
16899 + {\
16900 +    func_xform_result=${1%.*}.lo\
16901 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16902 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16903 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16904 + test 0 -eq $? || _lt_function_replace_fail=:
16905 +
16906 +
16907 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16908 + func_arith ()\
16909 + {\
16910 +    func_arith_result=$(( $* ))\
16911 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16912 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16913 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16914 + test 0 -eq $? || _lt_function_replace_fail=:
16915 +
16916 +
16917 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16918 + func_len ()\
16919 + {\
16920 +    func_len_result=${#1}\
16921 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16922 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16923 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16924 + test 0 -eq $? || _lt_function_replace_fail=:
16925 +
16926 + fi
16927 +
16928 + if test x"$lt_shell_append" = xyes; then
16929 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16930 + func_append ()\
16931 + {\
16932 +    eval "${1}+=\\${2}"\
16933 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16934 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16935 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16936 + test 0 -eq $? || _lt_function_replace_fail=:
16937 +
16938 +
16939 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16940 + func_append_quoted ()\
16941 + {\
16942 + \    func_quote_for_eval "${2}"\
16943 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16944 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16945 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16946 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16947 + test 0 -eq $? || _lt_function_replace_fail=:
16948 +
16949 +
16950 +  # Save a `func_append' function call where possible by direct use of '+='
16951 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16952 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16953 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16954 +  test 0 -eq $? || _lt_function_replace_fail=:
16955 + else
16956 +  # Save a `func_append' function call even when '+=' is not available
16957 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 + fi
16962 +
16963 + if test x"$_lt_function_replace_fail" = x":"; then
16964 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16965 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16966 + fi
16967  
16074  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16075    || (rm -f "$cfgfile"; exit 1)
16968  
16969 <  mv -f "$cfgfile" "$ofile" ||
16969 >   mv -f "$cfgfile" "$ofile" ||
16970      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16971    chmod +x "$ofile"
16972  
# Line 16089 | Line 16981 | _ACEOF
16981   ac_clean_files=$ac_clean_files_save
16982  
16983   test $ac_write_fail = 0 ||
16984 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16984 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16985  
16986  
16987   # configure is writing to config.log, and then calls config.status.
# Line 16110 | Line 17002 | if test "$no_create" != yes; then
17002    exec 5>>config.log
17003    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17004    # would make configure fail if this is the last instruction.
17005 <  $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
17005 >  $ac_cs_success || as_fn_exit 1
17006   fi
17007   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17008    { $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)