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

Comparing ircd-hybrid-7.3/configure (file contents):
Revision 1072 by michael, Wed Feb 17 22:58:23 2010 UTC vs.
Revision 1107 by michael, Tue Nov 2 15:19:41 2010 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 1106 2010-11-02 15:10:53Z 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 7.3-rc1.
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 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 910 | Line 777 | enable_shared
777   with_pic
778   enable_fast_install
779   with_gnu_ld
780 + with_sysroot
781   enable_libtool_lock
782   with_included_ltdl
783   with_ltdl_include
# Line 948 | Line 816 | CPPFLAGS
816   YACC
817   YFLAGS
818   CPP'
819 < ac_subdirs_all='libltdl'
819 >
820  
821   # Initialize some variables set by options.
822   ac_init_help=
# Line 1010 | Line 878 | do
878    fi
879  
880    case $ac_option in
881 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 <  *)    ac_optarg=yes ;;
881 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 >  *=)   ac_optarg= ;;
883 >  *)    ac_optarg=yes ;;
884    esac
885  
886    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 925 | do
925      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926      # Reject names that are not valid shell variable names.
927      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 <      as_fn_error "invalid feature name: $ac_useropt"
928 >      as_fn_error $? "invalid feature name: $ac_useropt"
929      ac_useropt_orig=$ac_useropt
930      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931      case $ac_user_opts in
# Line 1082 | Line 951 | do
951      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952      # Reject names that are not valid shell variable names.
953      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 <      as_fn_error "invalid feature name: $ac_useropt"
954 >      as_fn_error $? "invalid feature name: $ac_useropt"
955      ac_useropt_orig=$ac_useropt
956      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957      case $ac_user_opts in
# Line 1286 | Line 1155 | do
1155      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156      # Reject names that are not valid shell variable names.
1157      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158 <      as_fn_error "invalid package name: $ac_useropt"
1158 >      as_fn_error $? "invalid package name: $ac_useropt"
1159      ac_useropt_orig=$ac_useropt
1160      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161      case $ac_user_opts in
# Line 1302 | Line 1171 | do
1171      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172      # Reject names that are not valid shell variable names.
1173      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 <      as_fn_error "invalid package name: $ac_useropt"
1174 >      as_fn_error $? "invalid package name: $ac_useropt"
1175      ac_useropt_orig=$ac_useropt
1176      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177      case $ac_user_opts in
# Line 1332 | Line 1201 | do
1201    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1202      x_libraries=$ac_optarg ;;
1203  
1204 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1205 < Try \`$0 --help' for more information."
1204 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1205 > Try \`$0 --help' for more information"
1206      ;;
1207  
1208    *=*)
# Line 1341 | Line 1210 | Try \`$0 --help' for more information."
1210      # Reject names that are not valid shell variable names.
1211      case $ac_envvar in #(
1212        '' | [0-9]* | *[!_$as_cr_alnum]* )
1213 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1213 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1214      esac
1215      eval $ac_envvar=\$ac_optarg
1216      export $ac_envvar ;;
# Line 1351 | Line 1220 | Try \`$0 --help' for more information."
1220      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1223 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224      ;;
1225  
1226    esac
# Line 1359 | Line 1228 | done
1228  
1229   if test -n "$ac_prev"; then
1230    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1231 <  as_fn_error "missing argument to $ac_option"
1231 >  as_fn_error $? "missing argument to $ac_option"
1232   fi
1233  
1234   if test -n "$ac_unrecognized_opts"; then
1235    case $enable_option_checking in
1236      no) ;;
1237 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1237 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1238      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239    esac
1240   fi
# Line 1388 | Line 1257 | do
1257      [\\/$]* | ?:[\\/]* )  continue;;
1258      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259    esac
1260 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1260 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1261   done
1262  
1263   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1271 | target=$target_alias
1271   if test "x$host_alias" != x; then
1272    if test "x$build_alias" = x; then
1273      cross_compiling=maybe
1274 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1275 <    If a cross compiler is detected then cross compile mode will be used." >&2
1274 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1275 >    If a cross compiler is detected then cross compile mode will be used" >&2
1276    elif test "x$build_alias" != "x$host_alias"; then
1277      cross_compiling=yes
1278    fi
# Line 1418 | Line 1287 | test "$silent" = yes && exec 6>/dev/null
1287   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288   ac_ls_di=`ls -di .` &&
1289   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290 <  as_fn_error "working directory cannot be determined"
1290 >  as_fn_error $? "working directory cannot be determined"
1291   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 <  as_fn_error "pwd does not report name of working directory"
1292 >  as_fn_error $? "pwd does not report name of working directory"
1293  
1294  
1295   # Find the source files, if location was not specified.
# Line 1459 | Line 1328 | else
1328   fi
1329   if test ! -r "$srcdir/$ac_unique_file"; then
1330    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1331 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332   fi
1333   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334   ac_abs_confdir=`(
1335 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1335 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336          pwd)`
1337   # When building in place, set srcdir=.
1338   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1503 | Line 1372 | Configuration:
1372        --help=short        display options specific to this package
1373        --help=recursive    display the short help of all the included packages
1374    -V, --version           display version information and exit
1375 <  -q, --quiet, --silent   do not print \`checking...' messages
1375 >  -q, --quiet, --silent   do not print \`checking ...' messages
1376        --cache-file=FILE   cache test results in FILE [disabled]
1377    -C, --config-cache      alias for \`--cache-file=config.cache'
1378    -n, --no-create         do not create output files
# Line 1603 | Line 1472 | Optional Packages:
1472    --with-pic              try to use only PIC/non-PIC objects [default=use
1473                            both]
1474    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1475 +  --with-sysroot=DIR Search for dependent libraries within DIR
1476 +                        (or the compiler's sysroot if not specified).
1477    --with-included-ltdl    use the GNU ltdl sources included here
1478    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1479    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1622 | Line 1493 | Some influential environment variables:
1493    LIBS        libraries to pass to the linker, e.g. -l<library>
1494    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1495                you have headers in a nonstandard directory <include dir>
1496 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1497 <              the first program found out of: `bison -y', `byacc', `yacc'.
1496 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1497 >              Defaults to the first program found out of: `bison -y', `byacc',
1498 >              `yacc'.
1499    YFLAGS      The list of arguments that will be passed by default to $YACC.
1500                This script will default YFLAGS to the empty string to avoid a
1501                default value of `-d' given by some make applications.
# Line 1696 | Line 1568 | test -n "$ac_init_help" && exit $ac_stat
1568   if $ac_init_version; then
1569    cat <<\_ACEOF
1570   ircd-hybrid configure 7.3-rc1
1571 < generated by GNU Autoconf 2.65
1571 > generated by GNU Autoconf 2.68
1572  
1573 < Copyright (C) 2009 Free Software Foundation, Inc.
1573 > Copyright (C) 2010 Free Software Foundation, Inc.
1574   This configure script is free software; the Free Software Foundation
1575   gives unlimited permission to copy, distribute and modify it.
1576   _ACEOF
# Line 1742 | Line 1614 | sed 's/^/| /' conftest.$ac_ext >&5
1614  
1615          ac_retval=1
1616   fi
1617 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618    as_fn_set_status $ac_retval
1619  
1620   } # ac_fn_c_try_compile
# Line 1788 | Line 1660 | fi
1660    # interfere with the next link command; also delete a directory that is
1661    # left behind by Apple's compiler.  We do this before executing the actions.
1662    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1663 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664    as_fn_set_status $ac_retval
1665  
1666   } # ac_fn_c_try_link
# Line 1802 | Line 1674 | ac_fn_c_check_header_compile ()
1674    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676   $as_echo_n "checking for $2... " >&6; }
1677 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 > if eval \${$3+:} false; then :
1678    $as_echo_n "(cached) " >&6
1679   else
1680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1692 | fi
1692   eval ac_res=\$$3
1693                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694   $as_echo "$ac_res" >&6; }
1695 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  
1697   } # ac_fn_c_check_header_compile
1698  
# Line 1845 | Line 1717 | $as_echo "$ac_try_echo"; } >&5
1717      mv -f conftest.er1 conftest.err
1718    fi
1719    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 <  test $ac_status = 0; } >/dev/null && {
1720 >  test $ac_status = 0; } > conftest.i && {
1721           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722           test ! -s conftest.err
1723         }; then :
# Line 1856 | Line 1728 | sed 's/^/| /' conftest.$ac_ext >&5
1728  
1729      ac_retval=1
1730   fi
1731 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732    as_fn_set_status $ac_retval
1733  
1734   } # ac_fn_c_try_cpp
# Line 1898 | Line 1770 | sed 's/^/| /' conftest.$ac_ext >&5
1770         ac_retval=$ac_status
1771   fi
1772    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774    as_fn_set_status $ac_retval
1775  
1776   } # ac_fn_c_try_run
# Line 1911 | Line 1783 | ac_fn_c_check_func ()
1783    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785   $as_echo_n "checking for $2... " >&6; }
1786 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 > if eval \${$3+:} false; then :
1787    $as_echo_n "(cached) " >&6
1788   else
1789    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1838 | fi
1838   eval ac_res=\$$3
1839                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840   $as_echo "$ac_res" >&6; }
1841 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842  
1843   } # ac_fn_c_check_func
1844  
1845 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1846 < # ------------------------------------
1847 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1845 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1846 > # ---------------------------------------------
1847 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1848 > # accordingly.
1849   ac_fn_c_check_decl ()
1850   {
1851    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1853 < $as_echo_n "checking whether $2 is declared... " >&6; }
1854 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1852 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1853 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1854 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1855 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1856 > if eval \${$3+:} false; then :
1857    $as_echo_n "(cached) " >&6
1858   else
1859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1862 | $4
1862   int
1863   main ()
1864   {
1865 < #ifndef $2
1866 <  (void) $2;
1865 > #ifndef $as_decl_name
1866 > #ifdef __cplusplus
1867 >  (void) $as_decl_use;
1868 > #else
1869 >  (void) $as_decl_name;
1870 > #endif
1871   #endif
1872  
1873    ;
# Line 2005 | Line 1884 | fi
1884   eval ac_res=\$$3
1885                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886   $as_echo "$ac_res" >&6; }
1887 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888  
1889   } # ac_fn_c_check_decl
1890  
# Line 2018 | Line 1897 | ac_fn_c_check_type ()
1897    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899   $as_echo_n "checking for $2... " >&6; }
1900 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 > if eval \${$3+:} false; then :
1901    $as_echo_n "(cached) " >&6
1902   else
1903    eval "$3=no"
# Line 2059 | Line 1938 | fi
1938   eval ac_res=\$$3
1939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940   $as_echo "$ac_res" >&6; }
1941 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942  
1943   } # ac_fn_c_check_type
1944  
# Line 2072 | Line 1951 | ac_fn_c_check_member ()
1951    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1953   $as_echo_n "checking for $2.$3... " >&6; }
1954 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 > if eval \${$4+:} false; then :
1955    $as_echo_n "(cached) " >&6
1956   else
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1995 | fi
1995   eval ac_res=\$$4
1996                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997   $as_echo "$ac_res" >&6; }
1998 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999  
2000   } # ac_fn_c_check_member
2001  
# Line 2128 | Line 2007 | $as_echo "$ac_res" >&6; }
2007   ac_fn_c_check_header_mongrel ()
2008   {
2009    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 >  if eval \${$3+:} false; then :
2011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012   $as_echo_n "checking for $2... " >&6; }
2013 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2013 > if eval \${$3+:} false; then :
2014    $as_echo_n "(cached) " >&6
2015   fi
2016   eval ac_res=\$$3
# Line 2167 | Line 2046 | if ac_fn_c_try_cpp "$LINENO"; then :
2046   else
2047    ac_header_preproc=no
2048   fi
2049 < rm -f conftest.err conftest.$ac_ext
2049 > rm -f conftest.err conftest.i conftest.$ac_ext
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2051   $as_echo "$ac_header_preproc" >&6; }
2052  
# Line 2190 | Line 2069 | $as_echo "$as_me: WARNING: $2: see the A
2069   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2070      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2071   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2072 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2072 > ( $as_echo "## ----------------------------------- ##
2073   ## Report this to bugs@ircd-hybrid.org ##
2074 < ## ----------------------------------- ##
2197 < _ASBOX
2074 > ## ----------------------------------- ##"
2075       ) | sed "s/^/$as_me: WARNING:     /" >&2
2076      ;;
2077   esac
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079   $as_echo_n "checking for $2... " >&6; }
2080 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 > if eval \${$3+:} false; then :
2081    $as_echo_n "(cached) " >&6
2082   else
2083    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2086 | eval ac_res=\$$3
2086                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087   $as_echo "$ac_res" >&6; }
2088   fi
2089 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090  
2091   } # ac_fn_c_check_header_mongrel
2092   cat >config.log <<_ACEOF
# Line 2217 | Line 2094 | This file contains any messages produced
2094   running configure, to aid debugging if configure makes a mistake.
2095  
2096   It was created by ircd-hybrid $as_me 7.3-rc1, which was
2097 < generated by GNU Autoconf 2.65.  Invocation command line was
2097 > generated by GNU Autoconf 2.68.  Invocation command line was
2098  
2099    $ $0 $@
2100  
# Line 2327 | Line 2204 | trap 'exit_status=$?
2204    {
2205      echo
2206  
2207 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2207 >    $as_echo "## ---------------- ##
2208   ## Cache variables. ##
2209 < ## ---------------- ##
2334 < _ASBOX
2209 > ## ---------------- ##"
2210      echo
2211      # The following way of writing the cache mishandles newlines in values,
2212   (
# Line 2365 | Line 2240 | $as_echo "$as_me: WARNING: cache variabl
2240   )
2241      echo
2242  
2243 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2243 >    $as_echo "## ----------------- ##
2244   ## Output variables. ##
2245 < ## ----------------- ##
2372 < _ASBOX
2245 > ## ----------------- ##"
2246      echo
2247      for ac_var in $ac_subst_vars
2248      do
# Line 2382 | Line 2255 | _ASBOX
2255      echo
2256  
2257      if test -n "$ac_subst_files"; then
2258 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2258 >      $as_echo "## ------------------- ##
2259   ## File substitutions. ##
2260 < ## ------------------- ##
2389 < _ASBOX
2260 > ## ------------------- ##"
2261        echo
2262        for ac_var in $ac_subst_files
2263        do
# Line 2400 | Line 2271 | _ASBOX
2271      fi
2272  
2273      if test -s confdefs.h; then
2274 <      cat <<\_ASBOX
2404 < ## ----------- ##
2274 >      $as_echo "## ----------- ##
2275   ## confdefs.h. ##
2276 < ## ----------- ##
2407 < _ASBOX
2276 > ## ----------- ##"
2277        echo
2278        cat confdefs.h
2279        echo
# Line 2459 | Line 2328 | _ACEOF
2328   ac_site_file1=NONE
2329   ac_site_file2=NONE
2330   if test -n "$CONFIG_SITE"; then
2331 <  ac_site_file1=$CONFIG_SITE
2331 >  # We do not want a PATH search for config.site.
2332 >  case $CONFIG_SITE in #((
2333 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2334 >    */*) ac_site_file1=$CONFIG_SITE;;
2335 >    *)   ac_site_file1=./$CONFIG_SITE;;
2336 >  esac
2337   elif test "x$prefix" != xNONE; then
2338    ac_site_file1=$prefix/share/config.site
2339    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2348 | do
2348      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2350      sed 's/^/| /' "$ac_site_file" >&5
2351 <    . "$ac_site_file"
2351 >    . "$ac_site_file" \
2352 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354 > as_fn_error $? "failed to load site script $ac_site_file
2355 > See \`config.log' for more details" "$LINENO" 5; }
2356    fi
2357   done
2358  
# Line 2567 | Line 2445 | if $ac_cache_corrupted; then
2445   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2446    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2447   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2448 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449   fi
2450   ## -------------------- ##
2451   ## Main body of script. ##
# Line 2584 | Line 2462 | am__api_version='1.11'
2462  
2463   ac_aux_dir=
2464   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2465 <  for ac_t in install-sh install.sh shtool; do
2466 <    if test -f "$ac_dir/$ac_t"; then
2467 <      ac_aux_dir=$ac_dir
2468 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2469 <      break 2
2470 <    fi
2471 <  done
2465 >  if test -f "$ac_dir/install-sh"; then
2466 >    ac_aux_dir=$ac_dir
2467 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2468 >    break
2469 >  elif test -f "$ac_dir/install.sh"; then
2470 >    ac_aux_dir=$ac_dir
2471 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2472 >    break
2473 >  elif test -f "$ac_dir/shtool"; then
2474 >    ac_aux_dir=$ac_dir
2475 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2476 >    break
2477 >  fi
2478   done
2479   if test -z "$ac_aux_dir"; then
2480 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2480 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481   fi
2482  
2483   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2506 | ac_configure="$SHELL $ac_aux_dir/configu
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2507   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2508   if test -z "$INSTALL"; then
2509 < if test "${ac_cv_path_install+set}" = set; then :
2509 > if ${ac_cv_path_install+:} false; then :
2510    $as_echo_n "(cached) " >&6
2511   else
2512    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2709 | Line 2593 | am_lf='
2593   '
2594   case `pwd` in
2595    *[\\\"\#\$\&\'\`$am_lf]*)
2596 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2596 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2597   esac
2598   case $srcdir in
2599    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2600 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2600 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2601   esac
2602  
2603   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2735 | Line 2619 | if (
2619        # if, for instance, CONFIG_SHELL is bash and it inherits a
2620        # broken ls alias from the environment.  This has actually
2621        # happened.  Such a system could not be considered "sane".
2622 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2622 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2623   alias in your environment" "$LINENO" 5
2624     fi
2625  
# Line 2745 | Line 2629 | then
2629     # Ok.
2630     :
2631   else
2632 <   as_fn_error "newly created file is older than distributed files!
2632 >   as_fn_error $? "newly created file is older than distributed files!
2633   Check your system clock" "$LINENO" 5
2634   fi
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2799 | Line 2683 | if test "$cross_compiling" != no; then
2683   set dummy ${ac_tool_prefix}strip; ac_word=$2
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685   $as_echo_n "checking for $ac_word... " >&6; }
2686 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2686 > if ${ac_cv_prog_STRIP+:} false; then :
2687    $as_echo_n "(cached) " >&6
2688   else
2689    if test -n "$STRIP"; then
# Line 2839 | Line 2723 | if test -z "$ac_cv_prog_STRIP"; then
2723   set dummy strip; ac_word=$2
2724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725   $as_echo_n "checking for $ac_word... " >&6; }
2726 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2726 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2727    $as_echo_n "(cached) " >&6
2728   else
2729    if test -n "$ac_ct_STRIP"; then
# Line 2892 | Line 2776 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2777   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2778   if test -z "$MKDIR_P"; then
2779 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2779 >  if ${ac_cv_path_mkdir+:} false; then :
2780    $as_echo_n "(cached) " >&6
2781   else
2782    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2943 | Line 2827 | do
2827   set dummy $ac_prog; ac_word=$2
2828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829   $as_echo_n "checking for $ac_word... " >&6; }
2830 < if test "${ac_cv_prog_AWK+set}" = set; then :
2830 > if ${ac_cv_prog_AWK+:} false; then :
2831    $as_echo_n "(cached) " >&6
2832   else
2833    if test -n "$AWK"; then
# Line 2983 | Line 2867 | done
2867   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868   set x ${MAKE-make}
2869   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2870 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2871    $as_echo_n "(cached) " >&6
2872   else
2873    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2875 | SHELL = /bin/sh
2875   all:
2876          @echo '@@@%%%=$(MAKE)=@@@%%%'
2877   _ACEOF
2878 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2878 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880    *@@@%%%=?*=@@@%%%*)
2881      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2909 | if test "`cd $srcdir && pwd`" != "`pwd`"
2909    am__isrc=' -I$(srcdir)'
2910    # test to see if srcdir already configured
2911    if test -f $srcdir/config.status; then
2912 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2913    fi
2914   fi
2915  
# Line 3181 | Line 3065 | if test -n "$ac_tool_prefix"; then
3065   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067   $as_echo_n "checking for $ac_word... " >&6; }
3068 < if test "${ac_cv_prog_CC+set}" = set; then :
3068 > if ${ac_cv_prog_CC+:} false; then :
3069    $as_echo_n "(cached) " >&6
3070   else
3071    if test -n "$CC"; then
# Line 3221 | Line 3105 | if test -z "$ac_cv_prog_CC"; then
3105   set dummy gcc; ac_word=$2
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107   $as_echo_n "checking for $ac_word... " >&6; }
3108 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3108 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3109    $as_echo_n "(cached) " >&6
3110   else
3111    if test -n "$ac_ct_CC"; then
# Line 3274 | Line 3158 | if test -z "$CC"; then
3158   set dummy ${ac_tool_prefix}cc; ac_word=$2
3159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160   $as_echo_n "checking for $ac_word... " >&6; }
3161 < if test "${ac_cv_prog_CC+set}" = set; then :
3161 > if ${ac_cv_prog_CC+:} false; then :
3162    $as_echo_n "(cached) " >&6
3163   else
3164    if test -n "$CC"; then
# Line 3314 | Line 3198 | if test -z "$CC"; then
3198   set dummy cc; ac_word=$2
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200   $as_echo_n "checking for $ac_word... " >&6; }
3201 < if test "${ac_cv_prog_CC+set}" = set; then :
3201 > if ${ac_cv_prog_CC+:} false; then :
3202    $as_echo_n "(cached) " >&6
3203   else
3204    if test -n "$CC"; then
# Line 3373 | Line 3257 | if test -z "$CC"; then
3257   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259   $as_echo_n "checking for $ac_word... " >&6; }
3260 < if test "${ac_cv_prog_CC+set}" = set; then :
3260 > if ${ac_cv_prog_CC+:} false; then :
3261    $as_echo_n "(cached) " >&6
3262   else
3263    if test -n "$CC"; then
# Line 3417 | Line 3301 | do
3301   set dummy $ac_prog; ac_word=$2
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303   $as_echo_n "checking for $ac_word... " >&6; }
3304 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3304 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3305    $as_echo_n "(cached) " >&6
3306   else
3307    if test -n "$ac_ct_CC"; then
# Line 3471 | Line 3355 | fi
3355  
3356   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 < as_fn_error "no acceptable C compiler found in \$PATH
3359 < See \`config.log' for more details." "$LINENO" 5; }
3358 > as_fn_error $? "no acceptable C compiler found in \$PATH
3359 > See \`config.log' for more details" "$LINENO" 5; }
3360  
3361   # Provide some information about the compiler.
3362   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3470 | sed 's/^/| /' conftest.$ac_ext >&5
3470  
3471   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 < { as_fn_set_status 77
3474 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3473 > as_fn_error 77 "C compiler cannot create executables
3474 > See \`config.log' for more details" "$LINENO" 5; }
3475   else
3476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3477   $as_echo "yes" >&6; }
# Line 3630 | Line 3513 | done
3513   else
3514    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3517 < See \`config.log' for more details." "$LINENO" 5; }
3516 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3517 > See \`config.log' for more details" "$LINENO" 5; }
3518   fi
3519   rm -f conftest conftest$ac_cv_exeext
3520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3571 | $as_echo "$ac_try_echo"; } >&5
3571      else
3572          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574 < as_fn_error "cannot run C compiled programs.
3574 > as_fn_error $? "cannot run C compiled programs.
3575   If you meant to cross compile, use \`--host'.
3576 < See \`config.log' for more details." "$LINENO" 5; }
3576 > See \`config.log' for more details" "$LINENO" 5; }
3577      fi
3578    fi
3579   fi
# Line 3701 | Line 3584 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3584   ac_clean_files=$ac_clean_files_save
3585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3586   $as_echo_n "checking for suffix of object files... " >&6; }
3587 < if test "${ac_cv_objext+set}" = set; then :
3587 > if ${ac_cv_objext+:} false; then :
3588    $as_echo_n "(cached) " >&6
3589   else
3590    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3624 | sed 's/^/| /' conftest.$ac_ext >&5
3624  
3625   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 < as_fn_error "cannot compute suffix of object files: cannot compile
3628 < See \`config.log' for more details." "$LINENO" 5; }
3627 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3628 > See \`config.log' for more details" "$LINENO" 5; }
3629   fi
3630   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3631   fi
# Line 3752 | Line 3635 | OBJEXT=$ac_cv_objext
3635   ac_objext=$OBJEXT
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3637   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3638 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3638 > if ${ac_cv_c_compiler_gnu+:} false; then :
3639    $as_echo_n "(cached) " >&6
3640   else
3641    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3672 | ac_test_CFLAGS=${CFLAGS+set}
3672   ac_save_CFLAGS=$CFLAGS
3673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3674   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3675 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3675 > if ${ac_cv_prog_cc_g+:} false; then :
3676    $as_echo_n "(cached) " >&6
3677   else
3678    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3750 | else
3750   fi
3751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3752   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3753 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3753 > if ${ac_cv_prog_cc_c89+:} false; then :
3754    $as_echo_n "(cached) " >&6
3755   else
3756    ac_cv_prog_cc_c89=no
# Line 3966 | Line 3849 | depcc="$CC"   am_compiler_list=
3849  
3850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3851   $as_echo_n "checking dependency style of $depcc... " >&6; }
3852 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3852 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3853    $as_echo_n "(cached) " >&6
3854   else
3855    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 4091 | Line 3974 | fi
3974  
3975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3976   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3977 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3977 > if ${ac_cv_prog_cc_c99+:} false; then :
3978    $as_echo_n "(cached) " >&6
3979   else
3980    ac_cv_prog_cc_c99=no
# Line 4267 | Line 4150 | fi
4150  
4151  
4152   if test "$ac_cv_prog_cc_c99" = "no"; then :
4153 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4153 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4154   fi
4155   for ac_prog in 'bison -y' byacc
4156   do
# Line 4275 | Line 4158 | do
4158   set dummy $ac_prog; ac_word=$2
4159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160   $as_echo_n "checking for $ac_word... " >&6; }
4161 < if test "${ac_cv_prog_YACC+set}" = set; then :
4161 > if ${ac_cv_prog_YACC+:} false; then :
4162    $as_echo_n "(cached) " >&6
4163   else
4164    if test -n "$YACC"; then
# Line 4319 | Line 4202 | do
4202   set dummy $ac_prog; ac_word=$2
4203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204   $as_echo_n "checking for $ac_word... " >&6; }
4205 < if test "${ac_cv_prog_LEX+set}" = set; then :
4205 > if ${ac_cv_prog_LEX+:} false; then :
4206    $as_echo_n "(cached) " >&6
4207   else
4208    if test -n "$LEX"; then
# Line 4389 | Line 4272 | $as_echo "$ac_try_echo"; } >&5
4272    test $ac_status = 0; }
4273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4274   $as_echo_n "checking lex output file root... " >&6; }
4275 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4275 > if ${ac_cv_prog_lex_root+:} false; then :
4276    $as_echo_n "(cached) " >&6
4277   else
4278  
# Line 4398 | Line 4281 | if test -f lex.yy.c; then
4281   elif test -f lexyy.c; then
4282    ac_cv_prog_lex_root=lexyy
4283   else
4284 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4284 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4285   fi
4286   fi
4287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4291 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4291   if test -z "${LEXLIB+set}"; then
4292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4293   $as_echo_n "checking lex library... " >&6; }
4294 < if test "${ac_cv_lib_lex+set}" = set; then :
4294 > if ${ac_cv_lib_lex+:} false; then :
4295    $as_echo_n "(cached) " >&6
4296   else
4297  
# Line 4438 | Line 4321 | fi
4321  
4322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4323   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4324 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4324 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4325    $as_echo_n "(cached) " >&6
4326   else
4327    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4332 | ac_save_LIBS=$LIBS
4332   LIBS="$LEXLIB $ac_save_LIBS"
4333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334   /* end confdefs.h.  */
4335 < #define YYTEXT_POINTER 1
4335 >
4336 >  #define YYTEXT_POINTER 1
4337   `cat $LEX_OUTPUT_ROOT.c`
4338   _ACEOF
4339   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4360 | fi
4360  
4361  
4362   # Initializing libtool.
4363 +
4364 +
4365 +
4366 +
4367 +
4368 +
4369 +
4370   case `pwd` in
4371    *\ * | *\     *)
4372      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4375 | esac
4375  
4376  
4377  
4378 < macro_version='2.2.6'
4379 < macro_revision='1.3012'
4378 > macro_version='2.4'
4379 > macro_revision='1.3293'
4380  
4381  
4382  
# Line 4503 | Line 4394 | ltmain="$ac_aux_dir/ltmain.sh"
4394  
4395   # Make sure we can run config.sub.
4396   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4397 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4397 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4398  
4399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4400   $as_echo_n "checking build system type... " >&6; }
4401 < if test "${ac_cv_build+set}" = set; then :
4401 > if ${ac_cv_build+:} false; then :
4402    $as_echo_n "(cached) " >&6
4403   else
4404    ac_build_alias=$build_alias
4405   test "x$ac_build_alias" = x &&
4406    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4407   test "x$ac_build_alias" = x &&
4408 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4408 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4409   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4410 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4410 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4411  
4412   fi
4413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4414   $as_echo "$ac_cv_build" >&6; }
4415   case $ac_cv_build in
4416   *-*-*) ;;
4417 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4417 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4418   esac
4419   build=$ac_cv_build
4420   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4432 | case $build_os in *\ *) build_os=`echo "
4432  
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4434   $as_echo_n "checking host system type... " >&6; }
4435 < if test "${ac_cv_host+set}" = set; then :
4435 > if ${ac_cv_host+:} false; then :
4436    $as_echo_n "(cached) " >&6
4437   else
4438    if test "x$host_alias" = x; then
4439    ac_cv_host=$ac_cv_build
4440   else
4441    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4442 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4442 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4443   fi
4444  
4445   fi
# Line 4556 | Line 4447 | fi
4447   $as_echo "$ac_cv_host" >&6; }
4448   case $ac_cv_host in
4449   *-*-*) ;;
4450 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4450 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4451   esac
4452   host=$ac_cv_host
4453   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4463 | IFS=$ac_save_IFS
4463   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4464  
4465  
4466 + # Backslashify metacharacters that are still active within
4467 + # double-quoted strings.
4468 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4469 +
4470 + # Same as above, but do not quote variable references.
4471 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4472 +
4473 + # Sed substitution to delay expansion of an escaped shell variable in a
4474 + # double_quote_subst'ed string.
4475 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4476 +
4477 + # Sed substitution to delay expansion of an escaped single quote.
4478 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4479 +
4480 + # Sed substitution to avoid accidental globbing in evaled expressions
4481 + no_glob_subst='s/\*/\\\*/g'
4482 +
4483 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4484 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4485 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4486 +
4487 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4488 + $as_echo_n "checking how to print strings... " >&6; }
4489 + # Test print first, because it will be a builtin if present.
4490 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4491 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4492 +  ECHO='print -r --'
4493 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4494 +  ECHO='printf %s\n'
4495 + else
4496 +  # Use this function as a fallback that always works.
4497 +  func_fallback_echo ()
4498 +  {
4499 +    eval 'cat <<_LTECHO_EOF
4500 + $1
4501 + _LTECHO_EOF'
4502 +  }
4503 +  ECHO='func_fallback_echo'
4504 + fi
4505 +
4506 + # func_echo_all arg...
4507 + # Invoke $ECHO with all args, space-separated.
4508 + func_echo_all ()
4509 + {
4510 +    $ECHO ""
4511 + }
4512 +
4513 + case "$ECHO" in
4514 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4515 + $as_echo "printf" >&6; } ;;
4516 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4517 + $as_echo "print -r" >&6; } ;;
4518 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4519 + $as_echo "cat" >&6; } ;;
4520 + esac
4521 +
4522 +
4523 +
4524 +
4525 +
4526 +
4527 +
4528 +
4529 +
4530 +
4531 +
4532 +
4533 +
4534 +
4535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4536   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4537 < if test "${ac_cv_path_SED+set}" = set; then :
4537 > if ${ac_cv_path_SED+:} false; then :
4538    $as_echo_n "(cached) " >&6
4539   else
4540              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4629 | Line 4589 | esac
4589    done
4590   IFS=$as_save_IFS
4591    if test -z "$ac_cv_path_SED"; then
4592 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4592 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4593    fi
4594   else
4595    ac_cv_path_SED=$SED
# Line 4656 | Line 4616 | Xsed="$SED -e 1s/^X//"
4616  
4617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4618   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4619 < if test "${ac_cv_path_GREP+set}" = set; then :
4619 > if ${ac_cv_path_GREP+:} false; then :
4620    $as_echo_n "(cached) " >&6
4621   else
4622    if test -z "$GREP"; then
# Line 4705 | Line 4665 | esac
4665    done
4666   IFS=$as_save_IFS
4667    if test -z "$ac_cv_path_GREP"; then
4668 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4668 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4669    fi
4670   else
4671    ac_cv_path_GREP=$GREP
# Line 4719 | Line 4679 | $as_echo "$ac_cv_path_GREP" >&6; }
4679  
4680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4681   $as_echo_n "checking for egrep... " >&6; }
4682 < if test "${ac_cv_path_EGREP+set}" = set; then :
4682 > if ${ac_cv_path_EGREP+:} false; then :
4683    $as_echo_n "(cached) " >&6
4684   else
4685    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4771 | Line 4731 | esac
4731    done
4732   IFS=$as_save_IFS
4733    if test -z "$ac_cv_path_EGREP"; then
4734 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735    fi
4736   else
4737    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 4746 | $as_echo "$ac_cv_path_EGREP" >&6; }
4746  
4747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4748   $as_echo_n "checking for fgrep... " >&6; }
4749 < if test "${ac_cv_path_FGREP+set}" = set; then :
4749 > if ${ac_cv_path_FGREP+:} false; then :
4750    $as_echo_n "(cached) " >&6
4751   else
4752    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4838 | Line 4798 | esac
4798    done
4799   IFS=$as_save_IFS
4800    if test -z "$ac_cv_path_FGREP"; then
4801 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4801 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4802    fi
4803   else
4804    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 4877 | else
4877    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4878   $as_echo_n "checking for non-GNU ld... " >&6; }
4879   fi
4880 < if test "${lt_cv_path_LD+set}" = set; then :
4880 > if ${lt_cv_path_LD+:} false; then :
4881    $as_echo_n "(cached) " >&6
4882   else
4883    if test -z "$LD"; then
# Line 4954 | Line 4914 | else
4914    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915   $as_echo "no" >&6; }
4916   fi
4917 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4917 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4919   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4920 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4920 > if ${lt_cv_prog_gnu_ld+:} false; then :
4921    $as_echo_n "(cached) " >&6
4922   else
4923    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 4944 | with_gnu_ld=$lt_cv_prog_gnu_ld
4944  
4945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4946   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4947 < if test "${lt_cv_path_NM+set}" = set; then :
4947 > if ${lt_cv_path_NM+:} false; then :
4948    $as_echo_n "(cached) " >&6
4949   else
4950    if test -n "$NM"; then
# Line 5037 | Line 4997 | if test "$lt_cv_path_NM" != "no"; then
4997    NM="$lt_cv_path_NM"
4998   else
4999    # Didn't find any BSD compatible name lister, look for dumpbin.
5000 <  if test -n "$ac_tool_prefix"; then
5001 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5000 >  if test -n "$DUMPBIN"; then :
5001 >    # Let the user override the test.
5002 >  else
5003 >    if test -n "$ac_tool_prefix"; then
5004 >  for ac_prog in dumpbin "link -dump"
5005    do
5006      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5007   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009   $as_echo_n "checking for $ac_word... " >&6; }
5010 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5010 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5011    $as_echo_n "(cached) " >&6
5012   else
5013    if test -n "$DUMPBIN"; then
# Line 5082 | Line 5045 | fi
5045   fi
5046   if test -z "$DUMPBIN"; then
5047    ac_ct_DUMPBIN=$DUMPBIN
5048 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5048 >  for ac_prog in dumpbin "link -dump"
5049   do
5050    # Extract the first word of "$ac_prog", so it can be a program name with args.
5051   set dummy $ac_prog; ac_word=$2
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053   $as_echo_n "checking for $ac_word... " >&6; }
5054 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5054 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5055    $as_echo_n "(cached) " >&6
5056   else
5057    if test -n "$ac_ct_DUMPBIN"; then
# Line 5137 | Line 5100 | esac
5100    fi
5101   fi
5102  
5103 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5104 +    *COFF*)
5105 +      DUMPBIN="$DUMPBIN -symbols"
5106 +      ;;
5107 +    *)
5108 +      DUMPBIN=:
5109 +      ;;
5110 +    esac
5111 +  fi
5112  
5113    if test "$DUMPBIN" != ":"; then
5114      NM="$DUMPBIN"
# Line 5151 | Line 5123 | test -z "$NM" && NM=nm
5123  
5124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5125   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5126 < if test "${lt_cv_nm_interface+set}" = set; then :
5126 > if ${lt_cv_nm_interface+:} false; then :
5127    $as_echo_n "(cached) " >&6
5128   else
5129    lt_cv_nm_interface="BSD nm"
5130    echo "int some_variable = 0;" > conftest.$ac_ext
5131 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5131 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5132    (eval "$ac_compile" 2>conftest.err)
5133    cat conftest.err >&5
5134 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5134 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5135    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5136    cat conftest.err >&5
5137 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5137 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5138    cat conftest.out >&5
5139    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5140      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5158 | fi
5158   # find the maximum length of command line arguments
5159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5160   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5161 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5161 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5162    $as_echo_n "(cached) " >&6
5163   else
5164      i=0
# Line 5219 | Line 5191 | else
5191      lt_cv_sys_max_cmd_len=8192;
5192      ;;
5193  
5194 +  mint*)
5195 +    # On MiNT this can take a long time and run out of memory.
5196 +    lt_cv_sys_max_cmd_len=8192;
5197 +    ;;
5198 +
5199    amigaos*)
5200      # On AmigaOS with pdksh, this test takes hours, literally.
5201      # So we just punt and use a minimum line length of 8192.
# Line 5283 | Line 5260 | else
5260        # If test is not a shell built-in, we'll probably end up computing a
5261        # maximum length that is only half of the actual maximum length, but
5262        # we can't tell.
5263 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5264 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5263 >      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5264 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5265                test $i != 17 # 1/2 MB should be enough
5266        do
5267          i=`expr $i + 1`
# Line 5326 | Line 5303 | $as_echo_n "checking whether the shell u
5303   # Try some XSI features
5304   xsi_shell=no
5305   ( _lt_dummy="a/b/c"
5306 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5307 <      = c,a/b,, \
5306 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5307 >      = c,a/b,b/c, \
5308      && eval 'test $(( 1 + 1 )) -eq 2 \
5309      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5310    && xsi_shell=yes
# Line 5376 | Line 5353 | esac
5353  
5354  
5355  
5356 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5357 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5358 + if ${lt_cv_to_host_file_cmd+:} false; then :
5359 +  $as_echo_n "(cached) " >&6
5360 + else
5361 +  case $host in
5362 +  *-*-mingw* )
5363 +    case $build in
5364 +      *-*-mingw* ) # actually msys
5365 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5366 +        ;;
5367 +      *-*-cygwin* )
5368 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5369 +        ;;
5370 +      * ) # otherwise, assume *nix
5371 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5372 +        ;;
5373 +    esac
5374 +    ;;
5375 +  *-*-cygwin* )
5376 +    case $build in
5377 +      *-*-mingw* ) # actually msys
5378 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5379 +        ;;
5380 +      *-*-cygwin* )
5381 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5382 +        ;;
5383 +      * ) # otherwise, assume *nix
5384 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5385 +        ;;
5386 +    esac
5387 +    ;;
5388 +  * ) # unhandled hosts (and "normal" native builds)
5389 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5390 +    ;;
5391 + esac
5392 +
5393 + fi
5394 +
5395 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5396 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5397 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5398 +
5399 +
5400 +
5401 +
5402 +
5403 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5404 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5405 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5406 +  $as_echo_n "(cached) " >&6
5407 + else
5408 +  #assume ordinary cross tools, or native build.
5409 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5410 + case $host in
5411 +  *-*-mingw* )
5412 +    case $build in
5413 +      *-*-mingw* ) # actually msys
5414 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5415 +        ;;
5416 +    esac
5417 +    ;;
5418 + esac
5419 +
5420 + fi
5421 +
5422 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5423 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5424 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5425 +
5426 +
5427 +
5428 +
5429 +
5430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5431   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5432 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5432 > if ${lt_cv_ld_reload_flag+:} false; then :
5433    $as_echo_n "(cached) " >&6
5434   else
5435    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5443 | case $reload_flag in
5443   esac
5444   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5445   case $host_os in
5446 +  cygwin* | mingw* | pw32* | cegcc*)
5447 +    if test "$GCC" != yes; then
5448 +      reload_cmds=false
5449 +    fi
5450 +    ;;
5451    darwin*)
5452      if test "$GCC" = yes; then
5453        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5470 | if test -n "$ac_tool_prefix"; then
5470   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472   $as_echo_n "checking for $ac_word... " >&6; }
5473 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5473 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5474    $as_echo_n "(cached) " >&6
5475   else
5476    if test -n "$OBJDUMP"; then
# Line 5454 | Line 5510 | if test -z "$ac_cv_prog_OBJDUMP"; then
5510   set dummy objdump; ac_word=$2
5511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512   $as_echo_n "checking for $ac_word... " >&6; }
5513 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5513 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5514    $as_echo_n "(cached) " >&6
5515   else
5516    if test -n "$ac_ct_OBJDUMP"; then
# Line 5513 | Line 5569 | test -z "$OBJDUMP" && OBJDUMP=objdump
5569  
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5571   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5572 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5572 > if ${lt_cv_deplibs_check_method+:} false; then :
5573    $as_echo_n "(cached) " >&6
5574   else
5575    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5611 | mingw* | pw32*)
5611    # Base MSYS/MinGW do not provide the 'file' command needed by
5612    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5613    # unless we find 'file', for example because we are cross-compiling.
5614 <  if ( file / ) >/dev/null 2>&1; then
5614 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5615 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5616      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5617      lt_cv_file_magic_cmd='func_win32_libid'
5618    else
5619 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5619 >    # Keep this pattern in sync with the one in func_win32_libid.
5620 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5621      lt_cv_file_magic_cmd='$OBJDUMP -f'
5622    fi
5623    ;;
5624  
5625 < cegcc)
5625 > cegcc*)
5626    # use the weaker test based on 'objdump'. See mingw*.
5627    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5628    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5652 | gnu*)
5652    lt_cv_deplibs_check_method=pass_all
5653    ;;
5654  
5655 + haiku*)
5656 +  lt_cv_deplibs_check_method=pass_all
5657 +  ;;
5658 +
5659   hpux10.20* | hpux11*)
5660    lt_cv_file_magic_cmd=/usr/bin/file
5661    case $host_cpu in
# Line 5602 | Line 5664 | hpux10.20* | hpux11*)
5664      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5665      ;;
5666    hppa*64*)
5667 <    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]'
5667 >    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]'
5668      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5669      ;;
5670    *)
5671 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5671 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5672      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5673      ;;
5674    esac
# Line 5628 | Line 5690 | irix5* | irix6* | nonstopux*)
5690    ;;
5691  
5692   # This must be Linux ELF.
5693 < linux* | k*bsd*-gnu)
5693 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5694    lt_cv_deplibs_check_method=pass_all
5695    ;;
5696  
# Line 5709 | Line 5771 | esac
5771   fi
5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5773   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5774 +
5775 + file_magic_glob=
5776 + want_nocaseglob=no
5777 + if test "$build" = "$host"; then
5778 +  case $host_os in
5779 +  mingw* | pw32*)
5780 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5781 +      want_nocaseglob=yes
5782 +    else
5783 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5784 +    fi
5785 +    ;;
5786 +  esac
5787 + fi
5788 +
5789   file_magic_cmd=$lt_cv_file_magic_cmd
5790   deplibs_check_method=$lt_cv_deplibs_check_method
5791   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5801 | test -z "$deplibs_check_method" && depli
5801  
5802  
5803  
5804 +
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 +
5812 +
5813 +
5814 + if test -n "$ac_tool_prefix"; then
5815 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5816 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5817 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 + $as_echo_n "checking for $ac_word... " >&6; }
5819 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5820 +  $as_echo_n "(cached) " >&6
5821 + else
5822 +  if test -n "$DLLTOOL"; then
5823 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5824 + else
5825 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 + for as_dir in $PATH
5827 + do
5828 +  IFS=$as_save_IFS
5829 +  test -z "$as_dir" && as_dir=.
5830 +    for ac_exec_ext in '' $ac_executable_extensions; do
5831 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5833 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 +    break 2
5835 +  fi
5836 + done
5837 +  done
5838 + IFS=$as_save_IFS
5839 +
5840 + fi
5841 + fi
5842 + DLLTOOL=$ac_cv_prog_DLLTOOL
5843 + if test -n "$DLLTOOL"; then
5844 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5845 + $as_echo "$DLLTOOL" >&6; }
5846 + else
5847 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 + $as_echo "no" >&6; }
5849 + fi
5850 +
5851 +
5852 + fi
5853 + if test -z "$ac_cv_prog_DLLTOOL"; then
5854 +  ac_ct_DLLTOOL=$DLLTOOL
5855 +  # Extract the first word of "dlltool", so it can be a program name with args.
5856 + set dummy dlltool; ac_word=$2
5857 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 + $as_echo_n "checking for $ac_word... " >&6; }
5859 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5860 +  $as_echo_n "(cached) " >&6
5861 + else
5862 +  if test -n "$ac_ct_DLLTOOL"; then
5863 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5864 + else
5865 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 + for as_dir in $PATH
5867 + do
5868 +  IFS=$as_save_IFS
5869 +  test -z "$as_dir" && as_dir=.
5870 +    for ac_exec_ext in '' $ac_executable_extensions; do
5871 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5873 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 +    break 2
5875 +  fi
5876 + done
5877 +  done
5878 + IFS=$as_save_IFS
5879 +
5880 + fi
5881 + fi
5882 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5883 + if test -n "$ac_ct_DLLTOOL"; then
5884 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5885 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5886 + else
5887 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 + $as_echo "no" >&6; }
5889 + fi
5890 +
5891 +  if test "x$ac_ct_DLLTOOL" = x; then
5892 +    DLLTOOL="false"
5893 +  else
5894 +    case $cross_compiling:$ac_tool_warned in
5895 + yes:)
5896 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 + ac_tool_warned=yes ;;
5899 + esac
5900 +    DLLTOOL=$ac_ct_DLLTOOL
5901 +  fi
5902 + else
5903 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5904 + fi
5905 +
5906 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915 +
5916 +
5917 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5918 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5919 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5920 +  $as_echo_n "(cached) " >&6
5921 + else
5922 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5923 +
5924 + case $host_os in
5925 + cygwin* | mingw* | pw32* | cegcc*)
5926 +  # two different shell functions defined in ltmain.sh
5927 +  # decide which to use based on capabilities of $DLLTOOL
5928 +  case `$DLLTOOL --help 2>&1` in
5929 +  *--identify-strict*)
5930 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5931 +    ;;
5932 +  *)
5933 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5934 +    ;;
5935 +  esac
5936 +  ;;
5937 + *)
5938 +  # fallback: assume linklib IS sharedlib
5939 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5940 +  ;;
5941 + esac
5942 +
5943 + fi
5944 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5945 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5946 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5947 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5948 +
5949 +
5950 +
5951 +
5952 +
5953 +
5954 +
5955   if test -n "$ac_tool_prefix"; then
5956 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5957 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5956 >  for ac_prog in ar
5957 >  do
5958 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5959 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961   $as_echo_n "checking for $ac_word... " >&6; }
5962 < if test "${ac_cv_prog_AR+set}" = set; then :
5962 > if ${ac_cv_prog_AR+:} false; then :
5963    $as_echo_n "(cached) " >&6
5964   else
5965    if test -n "$AR"; then
# Line 5742 | Line 5972 | do
5972    test -z "$as_dir" && as_dir=.
5973      for ac_exec_ext in '' $ac_executable_extensions; do
5974    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5975 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5976      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977      break 2
5978    fi
# Line 5762 | Line 5992 | $as_echo "no" >&6; }
5992   fi
5993  
5994  
5995 +    test -n "$AR" && break
5996 +  done
5997   fi
5998 < if test -z "$ac_cv_prog_AR"; then
5998 > if test -z "$AR"; then
5999    ac_ct_AR=$AR
6000 <  # Extract the first word of "ar", so it can be a program name with args.
6001 < set dummy ar; ac_word=$2
6000 >  for ac_prog in ar
6001 > do
6002 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 > set dummy $ac_prog; ac_word=$2
6004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005   $as_echo_n "checking for $ac_word... " >&6; }
6006 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6006 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6007    $as_echo_n "(cached) " >&6
6008   else
6009    if test -n "$ac_ct_AR"; then
# Line 5782 | Line 6016 | do
6016    test -z "$as_dir" && as_dir=.
6017      for ac_exec_ext in '' $ac_executable_extensions; do
6018    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 <    ac_cv_prog_ac_ct_AR="ar"
6019 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6020      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021      break 2
6022    fi
# Line 5801 | Line 6035 | else
6035   $as_echo "no" >&6; }
6036   fi
6037  
6038 +
6039 +  test -n "$ac_ct_AR" && break
6040 + done
6041 +
6042    if test "x$ac_ct_AR" = x; then
6043      AR="false"
6044    else
# Line 5812 | Line 6050 | ac_tool_warned=yes ;;
6050   esac
6051      AR=$ac_ct_AR
6052    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6053   fi
6054  
6055 < test -z "$AR" && AR=ar
6056 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6055 > : ${AR=ar}
6056 > : ${AR_FLAGS=cru}
6057  
6058  
6059  
# Line 5829 | Line 6065 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6065  
6066  
6067  
6068 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6069 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6070 + if ${lt_cv_ar_at_file+:} false; then :
6071 +  $as_echo_n "(cached) " >&6
6072 + else
6073 +  lt_cv_ar_at_file=no
6074 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 + /* end confdefs.h.  */
6076 +
6077 + int
6078 + main ()
6079 + {
6080 +
6081 +  ;
6082 +  return 0;
6083 + }
6084 + _ACEOF
6085 + if ac_fn_c_try_compile "$LINENO"; then :
6086 +  echo conftest.$ac_objext > conftest.lst
6087 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6088 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6089 +  (eval $lt_ar_try) 2>&5
6090 +  ac_status=$?
6091 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6092 +  test $ac_status = 0; }
6093 +      if test "$ac_status" -eq 0; then
6094 +        # Ensure the archiver fails upon bogus file names.
6095 +        rm -f conftest.$ac_objext libconftest.a
6096 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6097 +  (eval $lt_ar_try) 2>&5
6098 +  ac_status=$?
6099 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6100 +  test $ac_status = 0; }
6101 +        if test "$ac_status" -ne 0; then
6102 +          lt_cv_ar_at_file=@
6103 +        fi
6104 +      fi
6105 +      rm -f conftest.* libconftest.a
6106 +
6107 + fi
6108 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6109 +
6110 + fi
6111 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6112 + $as_echo "$lt_cv_ar_at_file" >&6; }
6113 +
6114 + if test "x$lt_cv_ar_at_file" = xno; then
6115 +  archiver_list_spec=
6116 + else
6117 +  archiver_list_spec=$lt_cv_ar_at_file
6118 + fi
6119 +
6120 +
6121 +
6122 +
6123 +
6124 +
6125 +
6126   if test -n "$ac_tool_prefix"; then
6127    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6128   set dummy ${ac_tool_prefix}strip; ac_word=$2
6129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130   $as_echo_n "checking for $ac_word... " >&6; }
6131 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6131 > if ${ac_cv_prog_STRIP+:} false; then :
6132    $as_echo_n "(cached) " >&6
6133   else
6134    if test -n "$STRIP"; then
# Line 5874 | Line 6168 | if test -z "$ac_cv_prog_STRIP"; then
6168   set dummy strip; ac_word=$2
6169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170   $as_echo_n "checking for $ac_word... " >&6; }
6171 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6171 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6172    $as_echo_n "(cached) " >&6
6173   else
6174    if test -n "$ac_ct_STRIP"; then
# Line 5933 | Line 6227 | if test -n "$ac_tool_prefix"; then
6227   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229   $as_echo_n "checking for $ac_word... " >&6; }
6230 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6230 > if ${ac_cv_prog_RANLIB+:} false; then :
6231    $as_echo_n "(cached) " >&6
6232   else
6233    if test -n "$RANLIB"; then
# Line 5973 | Line 6267 | if test -z "$ac_cv_prog_RANLIB"; then
6267   set dummy ranlib; ac_word=$2
6268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269   $as_echo_n "checking for $ac_word... " >&6; }
6270 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6270 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6271    $as_echo_n "(cached) " >&6
6272   else
6273    if test -n "$ac_ct_RANLIB"; then
# Line 6044 | Line 6338 | if test -n "$RANLIB"; then
6338    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6339   fi
6340  
6341 + case $host_os in
6342 +  darwin*)
6343 +    lock_old_archive_extraction=yes ;;
6344 +  *)
6345 +    lock_old_archive_extraction=no ;;
6346 + esac
6347 +
6348 +
6349 +
6350 +
6351 +
6352 +
6353  
6354  
6355  
# Line 6090 | Line 6396 | compiler=$CC
6396   # Check for command to grab the raw symbol name followed by C symbol from nm.
6397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6398   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6399 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6399 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6400    $as_echo_n "(cached) " >&6
6401   else
6402  
# Line 6151 | Line 6457 | esac
6457   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6458  
6459   # Transform an extracted symbol line into symbol name and symbol address
6460 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6461 < 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'"
6460 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6461 > 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'"
6462  
6463   # Handle CRLF in mingw tool chain
6464   opt_cr=
# Line 6188 | Line 6494 | for ac_symprfx in "" "_"; do
6494    else
6495      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6496    fi
6497 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6498  
6499    # Check to see that the pipe works correctly.
6500    pipe_works=no
# Line 6213 | Line 6520 | _LT_EOF
6520    test $ac_status = 0; }; then
6521      # Now try to grab the symbols.
6522      nlist=conftest.nm
6523 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6524 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6523 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6524 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6525    ac_status=$?
6526    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6536 | _LT_EOF
6536        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6537          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6538            cat <<_LT_EOF > conftest.$ac_ext
6539 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6540 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6541 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6542 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6543 + # define LT_DLSYM_CONST
6544 + #elif defined(__osf__)
6545 + /* This system does not cope well with relocations in const data.  */
6546 + # define LT_DLSYM_CONST
6547 + #else
6548 + # define LT_DLSYM_CONST const
6549 + #endif
6550 +
6551   #ifdef __cplusplus
6552   extern "C" {
6553   #endif
# Line 6240 | Line 6559 | _LT_EOF
6559            cat <<_LT_EOF >> conftest.$ac_ext
6560  
6561   /* The mapping between symbol names and symbols.  */
6562 < const struct {
6562 > LT_DLSYM_CONST struct {
6563    const char *name;
6564    void       *address;
6565   }
# Line 6266 | Line 6585 | static const void *lt_preloaded_setup()
6585   _LT_EOF
6586            # Now try linking the two files.
6587            mv conftest.$ac_objext conftstm.$ac_objext
6588 <          lt_save_LIBS="$LIBS"
6589 <          lt_save_CFLAGS="$CFLAGS"
6588 >          lt_globsym_save_LIBS=$LIBS
6589 >          lt_globsym_save_CFLAGS=$CFLAGS
6590            LIBS="conftstm.$ac_objext"
6591            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6592            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6596 | _LT_EOF
6596    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6597              pipe_works=yes
6598            fi
6599 <          LIBS="$lt_save_LIBS"
6600 <          CFLAGS="$lt_save_CFLAGS"
6599 >          LIBS=$lt_globsym_save_LIBS
6600 >          CFLAGS=$lt_globsym_save_CFLAGS
6601          else
6602            echo "cannot find nm_test_func in $nlist" >&5
6603          fi
# Line 6315 | Line 6634 | else
6634   $as_echo "ok" >&6; }
6635   fi
6636  
6637 + # Response file support.
6638 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6639 +  nm_file_list_spec='@'
6640 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6641 +  nm_file_list_spec='@'
6642 + fi
6643 +
6644 +
6645 +
6646 +
6647 +
6648 +
6649 +
6650 +
6651 +
6652 +
6653 +
6654 +
6655 +
6656 +
6657  
6658  
6659  
# Line 6328 | Line 6667 | fi
6667  
6668  
6669  
6670 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6671 + $as_echo_n "checking for sysroot... " >&6; }
6672  
6673 + # Check whether --with-sysroot was given.
6674 + if test "${with_sysroot+set}" = set; then :
6675 +  withval=$with_sysroot;
6676 + else
6677 +  with_sysroot=no
6678 + fi
6679  
6680  
6681 + lt_sysroot=
6682 + case ${with_sysroot} in #(
6683 + yes)
6684 +   if test "$GCC" = yes; then
6685 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6686 +   fi
6687 +   ;; #(
6688 + /*)
6689 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6690 +   ;; #(
6691 + no|'')
6692 +   ;; #(
6693 + *)
6694 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6695 + $as_echo "${with_sysroot}" >&6; }
6696 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6697 +   ;;
6698 + esac
6699 +
6700 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6701 + $as_echo "${lt_sysroot:-no}" >&6; }
6702  
6703  
6704  
# Line 6367 | Line 6735 | ia64-*-hpux*)
6735    ;;
6736   *-*-irix6*)
6737    # Find out which ABI we are using.
6738 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6738 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6739    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6740    (eval $ac_compile) 2>&5
6741    ac_status=$?
# Line 6461 | Line 6829 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6829    CFLAGS="$CFLAGS -belf"
6830    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6831   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6832 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6832 > if ${lt_cv_cc_needs_belf+:} false; then :
6833    $as_echo_n "(cached) " >&6
6834   else
6835    ac_ext=c
# Line 6529 | Line 6897 | esac
6897  
6898   need_locks="$enable_libtool_lock"
6899  
6900 + if test -n "$ac_tool_prefix"; then
6901 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6902 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6903 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 + $as_echo_n "checking for $ac_word... " >&6; }
6905 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6906 +  $as_echo_n "(cached) " >&6
6907 + else
6908 +  if test -n "$MANIFEST_TOOL"; then
6909 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6910 + else
6911 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 + for as_dir in $PATH
6913 + do
6914 +  IFS=$as_save_IFS
6915 +  test -z "$as_dir" && as_dir=.
6916 +    for ac_exec_ext in '' $ac_executable_extensions; do
6917 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6918 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6919 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920 +    break 2
6921 +  fi
6922 + done
6923 +  done
6924 + IFS=$as_save_IFS
6925 +
6926 + fi
6927 + fi
6928 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6929 + if test -n "$MANIFEST_TOOL"; then
6930 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6931 + $as_echo "$MANIFEST_TOOL" >&6; }
6932 + else
6933 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 + $as_echo "no" >&6; }
6935 + fi
6936 +
6937 +
6938 + fi
6939 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6940 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6941 +  # Extract the first word of "mt", so it can be a program name with args.
6942 + set dummy mt; ac_word=$2
6943 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 + $as_echo_n "checking for $ac_word... " >&6; }
6945 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6946 +  $as_echo_n "(cached) " >&6
6947 + else
6948 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6949 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6950 + else
6951 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 + for as_dir in $PATH
6953 + do
6954 +  IFS=$as_save_IFS
6955 +  test -z "$as_dir" && as_dir=.
6956 +    for ac_exec_ext in '' $ac_executable_extensions; do
6957 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6959 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 +    break 2
6961 +  fi
6962 + done
6963 +  done
6964 + IFS=$as_save_IFS
6965 +
6966 + fi
6967 + fi
6968 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6969 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6970 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6971 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6972 + else
6973 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 + $as_echo "no" >&6; }
6975 + fi
6976 +
6977 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6978 +    MANIFEST_TOOL=":"
6979 +  else
6980 +    case $cross_compiling:$ac_tool_warned in
6981 + yes:)
6982 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6983 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6984 + ac_tool_warned=yes ;;
6985 + esac
6986 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6987 +  fi
6988 + else
6989 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6990 + fi
6991 +
6992 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6993 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6994 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6995 + if ${lt_cv_path_mainfest_tool+:} false; then :
6996 +  $as_echo_n "(cached) " >&6
6997 + else
6998 +  lt_cv_path_mainfest_tool=no
6999 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7000 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7001 +  cat conftest.err >&5
7002 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7003 +    lt_cv_path_mainfest_tool=yes
7004 +  fi
7005 +  rm -f conftest*
7006 + fi
7007 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7008 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7009 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7010 +  MANIFEST_TOOL=:
7011 + fi
7012 +
7013 +
7014 +
7015 +
7016 +
7017  
7018    case $host_os in
7019      rhapsody* | darwin*)
# Line 6537 | Line 7022 | need_locks="$enable_libtool_lock"
7022   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024   $as_echo_n "checking for $ac_word... " >&6; }
7025 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7025 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7026    $as_echo_n "(cached) " >&6
7027   else
7028    if test -n "$DSYMUTIL"; then
# Line 6577 | Line 7062 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7062   set dummy dsymutil; ac_word=$2
7063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064   $as_echo_n "checking for $ac_word... " >&6; }
7065 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7065 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7066    $as_echo_n "(cached) " >&6
7067   else
7068    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6629 | Line 7114 | fi
7114   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116   $as_echo_n "checking for $ac_word... " >&6; }
7117 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7117 > if ${ac_cv_prog_NMEDIT+:} false; then :
7118    $as_echo_n "(cached) " >&6
7119   else
7120    if test -n "$NMEDIT"; then
# Line 6669 | Line 7154 | if test -z "$ac_cv_prog_NMEDIT"; then
7154   set dummy nmedit; ac_word=$2
7155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156   $as_echo_n "checking for $ac_word... " >&6; }
7157 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7157 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7158    $as_echo_n "(cached) " >&6
7159   else
7160    if test -n "$ac_ct_NMEDIT"; then
# Line 6721 | Line 7206 | fi
7206   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208   $as_echo_n "checking for $ac_word... " >&6; }
7209 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7209 > if ${ac_cv_prog_LIPO+:} false; then :
7210    $as_echo_n "(cached) " >&6
7211   else
7212    if test -n "$LIPO"; then
# Line 6761 | Line 7246 | if test -z "$ac_cv_prog_LIPO"; then
7246   set dummy lipo; ac_word=$2
7247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248   $as_echo_n "checking for $ac_word... " >&6; }
7249 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7249 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7250    $as_echo_n "(cached) " >&6
7251   else
7252    if test -n "$ac_ct_LIPO"; then
# Line 6813 | Line 7298 | fi
7298   set dummy ${ac_tool_prefix}otool; ac_word=$2
7299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300   $as_echo_n "checking for $ac_word... " >&6; }
7301 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7301 > if ${ac_cv_prog_OTOOL+:} false; then :
7302    $as_echo_n "(cached) " >&6
7303   else
7304    if test -n "$OTOOL"; then
# Line 6853 | Line 7338 | if test -z "$ac_cv_prog_OTOOL"; then
7338   set dummy otool; ac_word=$2
7339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340   $as_echo_n "checking for $ac_word... " >&6; }
7341 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7341 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7342    $as_echo_n "(cached) " >&6
7343   else
7344    if test -n "$ac_ct_OTOOL"; then
# Line 6905 | Line 7390 | fi
7390   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392   $as_echo_n "checking for $ac_word... " >&6; }
7393 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7393 > if ${ac_cv_prog_OTOOL64+:} false; then :
7394    $as_echo_n "(cached) " >&6
7395   else
7396    if test -n "$OTOOL64"; then
# Line 6945 | Line 7430 | if test -z "$ac_cv_prog_OTOOL64"; then
7430   set dummy otool64; ac_word=$2
7431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432   $as_echo_n "checking for $ac_word... " >&6; }
7433 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7433 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7434    $as_echo_n "(cached) " >&6
7435   else
7436    if test -n "$ac_ct_OTOOL64"; then
# Line 7020 | Line 7505 | fi
7505  
7506      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7507   $as_echo_n "checking for -single_module linker flag... " >&6; }
7508 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7508 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7509    $as_echo_n "(cached) " >&6
7510   else
7511    lt_cv_apple_cc_single_mod=no
# Line 7049 | Line 7534 | fi
7534   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7535      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7536   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7537 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7537 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7538    $as_echo_n "(cached) " >&6
7539   else
7540    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7564 | rm -f core conftest.err conftest.$ac_obj
7564   fi
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7566   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7567 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7568 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7569 + if ${lt_cv_ld_force_load+:} false; then :
7570 +  $as_echo_n "(cached) " >&6
7571 + else
7572 +  lt_cv_ld_force_load=no
7573 +      cat > conftest.c << _LT_EOF
7574 + int forced_loaded() { return 2;}
7575 + _LT_EOF
7576 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7577 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7578 +      echo "$AR cru libconftest.a conftest.o" >&5
7579 +      $AR cru libconftest.a conftest.o 2>&5
7580 +      echo "$RANLIB libconftest.a" >&5
7581 +      $RANLIB libconftest.a 2>&5
7582 +      cat > conftest.c << _LT_EOF
7583 + int main() { return 0;}
7584 + _LT_EOF
7585 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7586 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7587 +      _lt_result=$?
7588 +      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7589 +        lt_cv_ld_force_load=yes
7590 +      else
7591 +        cat conftest.err >&5
7592 +      fi
7593 +        rm -f conftest.err libconftest.a conftest conftest.c
7594 +        rm -rf conftest.dSYM
7595 +
7596 + fi
7597 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7598 + $as_echo "$lt_cv_ld_force_load" >&6; }
7599      case $host_os in
7600      rhapsody* | darwin1.[012])
7601        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7623 | $as_echo "$lt_cv_ld_exported_symbols_lis
7623      else
7624        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7625      fi
7626 <    if test "$DSYMUTIL" != ":"; then
7626 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7627        _lt_dsymutil='~$DSYMUTIL $lib || :'
7628      else
7629        _lt_dsymutil=
# Line 7126 | Line 7643 | if test -n "$CPP" && test -d "$CPP"; the
7643    CPP=
7644   fi
7645   if test -z "$CPP"; then
7646 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7646 >  if ${ac_cv_prog_CPP+:} false; then :
7647    $as_echo_n "(cached) " >&6
7648   else
7649        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7673 | else
7673    # Broken: fails on valid input.
7674   continue
7675   fi
7676 < rm -f conftest.err conftest.$ac_ext
7676 > rm -f conftest.err conftest.i conftest.$ac_ext
7677  
7678    # OK, works on sane cases.  Now check whether nonexistent headers
7679    # can be detected and how.
# Line 7172 | Line 7689 | else
7689   ac_preproc_ok=:
7690   break
7691   fi
7692 < rm -f conftest.err conftest.$ac_ext
7692 > rm -f conftest.err conftest.i conftest.$ac_ext
7693  
7694   done
7695   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7696 < rm -f conftest.err conftest.$ac_ext
7696 > rm -f conftest.i conftest.err conftest.$ac_ext
7697   if $ac_preproc_ok; then :
7698    break
7699   fi
# Line 7215 | Line 7732 | else
7732    # Broken: fails on valid input.
7733   continue
7734   fi
7735 < rm -f conftest.err conftest.$ac_ext
7735 > rm -f conftest.err conftest.i conftest.$ac_ext
7736  
7737    # OK, works on sane cases.  Now check whether nonexistent headers
7738    # can be detected and how.
# Line 7231 | Line 7748 | else
7748   ac_preproc_ok=:
7749   break
7750   fi
7751 < rm -f conftest.err conftest.$ac_ext
7751 > rm -f conftest.err conftest.i conftest.$ac_ext
7752  
7753   done
7754   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7755 < rm -f conftest.err conftest.$ac_ext
7755 > rm -f conftest.i conftest.err conftest.$ac_ext
7756   if $ac_preproc_ok; then :
7757  
7758   else
7759    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7760   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7761 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7762 < See \`config.log' for more details." "$LINENO" 5; }
7761 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7762 > See \`config.log' for more details" "$LINENO" 5; }
7763   fi
7764  
7765   ac_ext=c
# Line 7254 | Line 7771 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7771  
7772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7773   $as_echo_n "checking for ANSI C header files... " >&6; }
7774 < if test "${ac_cv_header_stdc+set}" = set; then :
7774 > if ${ac_cv_header_stdc+:} false; then :
7775    $as_echo_n "(cached) " >&6
7776   else
7777    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 7888 | do :
7888    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7889   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7890   "
7891 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
7891 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7892    cat >>confdefs.h <<_ACEOF
7893   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7894   _ACEOF
# Line 7386 | Line 7902 | for ac_header in dlfcn.h
7902   do :
7903    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7904   "
7905 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7905 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7906    cat >>confdefs.h <<_ACEOF
7907   #define HAVE_DLFCN_H 1
7908   _ACEOF
# Line 7397 | Line 7913 | done
7913  
7914  
7915  
7916 +
7917 +
7918   # Set options
7919   enable_dlopen=yes
7920   # Check whether --enable-static was given.
# Line 7547 | Line 8065 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8065  
8066  
8067  
8068 +
8069   test -z "$LN_S" && LN_S="ln -s"
8070  
8071  
# Line 7568 | Line 8087 | fi
8087  
8088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8089   $as_echo_n "checking for objdir... " >&6; }
8090 < if test "${lt_cv_objdir+set}" = set; then :
8090 > if ${lt_cv_objdir+:} false; then :
8091    $as_echo_n "(cached) " >&6
8092   else
8093    rm -f .libs 2>/dev/null
# Line 7596 | Line 8115 | _ACEOF
8115  
8116  
8117  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8118   case $host_os in
8119   aix3*)
8120    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8127 | aix3*)
8127    ;;
8128   esac
8129  
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
8130   # Global variables:
8131   ofile=libtool
8132   can_build_shared=yes
# Line 7666 | Line 8155 | for cc_temp in $compiler""; do
8155      *) break;;
8156    esac
8157   done
8158 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8158 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8159  
8160  
8161   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8165 | file_magic*)
8165    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8166      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8167   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8168 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8168 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8169    $as_echo_n "(cached) " >&6
8170   else
8171    case $MAGIC_CMD in
# Line 7742 | Line 8231 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8231    if test -n "$ac_tool_prefix"; then
8232      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8233   $as_echo_n "checking for file... " >&6; }
8234 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8234 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8235    $as_echo_n "(cached) " >&6
8236   else
8237    case $MAGIC_CMD in
# Line 7871 | Line 8360 | if test -n "$compiler"; then
8360   lt_prog_compiler_no_builtin_flag=
8361  
8362   if test "$GCC" = yes; then
8363 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8363 >  case $cc_basename in
8364 >  nvcc*)
8365 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8366 >  *)
8367 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8368 >  esac
8369  
8370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8371   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8372 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8372 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8373    $as_echo_n "(cached) " >&6
8374   else
8375    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8385 | else
8385     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8386     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8387     -e 's:$: $lt_compiler_flag:'`
8388 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8388 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8389     (eval "$lt_compile" 2>conftest.err)
8390     ac_status=$?
8391     cat conftest.err >&5
8392 <   echo "$as_me:7898: \$? = $ac_status" >&5
8392 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393     if (exit $ac_status) && test -s "$ac_outfile"; then
8394       # The compiler can only warn and ignore the option if not recognized
8395       # So say no if there are warnings other than the usual output.
8396 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8396 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8397       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8398       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8399         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8422 | fi
8422   lt_prog_compiler_pic=
8423   lt_prog_compiler_static=
8424  
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; }
8425  
8426    if test "$GCC" = yes; then
8427      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8469 | $as_echo_n "checking for $compiler optio
8469        lt_prog_compiler_pic='-fno-common'
8470        ;;
8471  
8472 +    haiku*)
8473 +      # PIC is the default for Haiku.
8474 +      # The "-static" flag exists, but is broken.
8475 +      lt_prog_compiler_static=
8476 +      ;;
8477 +
8478      hpux*)
8479        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8480        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8517 | $as_echo_n "checking for $compiler optio
8517        lt_prog_compiler_pic='-fPIC'
8518        ;;
8519      esac
8520 +
8521 +    case $cc_basename in
8522 +    nvcc*) # Cuda Compiler Driver 2.2
8523 +      lt_prog_compiler_wl='-Xlinker '
8524 +      lt_prog_compiler_pic='-Xcompiler -fPIC'
8525 +      ;;
8526 +    esac
8527    else
8528      # PORTME Check for flag to pass linker flags through the system compiler.
8529      case $host_os in
# Line 8060 | Line 8565 | $as_echo_n "checking for $compiler optio
8565        lt_prog_compiler_static='-non_shared'
8566        ;;
8567  
8568 <    linux* | k*bsd*-gnu)
8568 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8569        case $cc_basename in
8570        # old Intel for x86_64 which still supported -KPIC.
8571        ecc*)
# Line 8081 | Line 8586 | $as_echo_n "checking for $compiler optio
8586          lt_prog_compiler_pic='--shared'
8587          lt_prog_compiler_static='--static'
8588          ;;
8589 <      pgcc* | pgf77* | pgf90* | pgf95*)
8589 >      nagfor*)
8590 >        # NAG Fortran compiler
8591 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8592 >        lt_prog_compiler_pic='-PIC'
8593 >        lt_prog_compiler_static='-Bstatic'
8594 >        ;;
8595 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8596          # Portland Group compilers (*not* the Pentium gcc compiler,
8597          # which looks to be a dead project)
8598          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8604 | $as_echo_n "checking for $compiler optio
8604          # All Alpha code is PIC.
8605          lt_prog_compiler_static='-non_shared'
8606          ;;
8607 <      xl*)
8608 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8607 >      xl* | bgxl* | bgf* | mpixl*)
8608 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8609          lt_prog_compiler_wl='-Wl,'
8610          lt_prog_compiler_pic='-qpic'
8611          lt_prog_compiler_static='-qstaticlink'
8612          ;;
8613        *)
8614          case `$CC -V 2>&1 | sed 5q` in
8615 <        *Sun\ C*)
8616 <          # Sun C 5.9
8615 >        *Sun\ F* | *Sun*Fortran*)
8616 >          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8617            lt_prog_compiler_pic='-KPIC'
8618            lt_prog_compiler_static='-Bstatic'
8619 <          lt_prog_compiler_wl='-Wl,'
8619 >          lt_prog_compiler_wl=''
8620            ;;
8621 <        *Sun\ F*)
8622 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8621 >        *Sun\ C*)
8622 >          # Sun C 5.9
8623            lt_prog_compiler_pic='-KPIC'
8624            lt_prog_compiler_static='-Bstatic'
8625 <          lt_prog_compiler_wl=''
8625 >          lt_prog_compiler_wl='-Wl,'
8626            ;;
8627          esac
8628          ;;
# Line 8143 | Line 8654 | $as_echo_n "checking for $compiler optio
8654        lt_prog_compiler_pic='-KPIC'
8655        lt_prog_compiler_static='-Bstatic'
8656        case $cc_basename in
8657 <      f77* | f90* | f95*)
8657 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8658          lt_prog_compiler_wl='-Qoption ld ';;
8659        *)
8660          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 8711 | case $host_os in
8711      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8712      ;;
8713   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
8714  
8715 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8716 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8717 + if ${lt_cv_prog_compiler_pic+:} false; then :
8718 +  $as_echo_n "(cached) " >&6
8719 + else
8720 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8721 + fi
8722 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8723 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8724 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8725  
8726   #
8727   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 8729 | $as_echo "$lt_prog_compiler_pic" >&6; }
8729   if test -n "$lt_prog_compiler_pic"; then
8730    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8731   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8732 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8732 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8733    $as_echo_n "(cached) " >&6
8734   else
8735    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 8745 | else
8745     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8746     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8747     -e 's:$: $lt_compiler_flag:'`
8748 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8748 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8749     (eval "$lt_compile" 2>conftest.err)
8750     ac_status=$?
8751     cat conftest.err >&5
8752 <   echo "$as_me:8237: \$? = $ac_status" >&5
8752 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753     if (exit $ac_status) && test -s "$ac_outfile"; then
8754       # The compiler can only warn and ignore the option if not recognized
8755       # So say no if there are warnings other than the usual output.
8756 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8756 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8757       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8758       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8759         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 8782 | fi
8782  
8783  
8784  
8785 +
8786 +
8787 +
8788 +
8789 +
8790   #
8791   # Check to make sure the static flag actually works.
8792   #
8793   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8795   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8796 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8796 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8797    $as_echo_n "(cached) " >&6
8798   else
8799    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 8806 | else
8806       if test -s conftest.err; then
8807         # Append any errors to the config.log.
8808         cat conftest.err 1>&5
8809 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8809 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8810         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8811         if diff conftest.exp conftest.er2 >/dev/null; then
8812           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 8836 | fi
8836  
8837    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8838   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8839 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8839 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8840    $as_echo_n "(cached) " >&6
8841   else
8842    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 8855 | else
8855     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8856     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8857     -e 's:$: $lt_compiler_flag:'`
8858 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8858 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8859     (eval "$lt_compile" 2>out/conftest.err)
8860     ac_status=$?
8861     cat out/conftest.err >&5
8862 <   echo "$as_me:8342: \$? = $ac_status" >&5
8862 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8864     then
8865       # The compiler can only warn and ignore the option if not recognized
8866       # So say no if there are warnings
8867 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8867 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8868       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8869       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8870         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 8891 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8891  
8892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8893   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8894 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8894 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8895    $as_echo_n "(cached) " >&6
8896   else
8897    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 8910 | else
8910     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8911     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8912     -e 's:$: $lt_compiler_flag:'`
8913 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
8913 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8914     (eval "$lt_compile" 2>out/conftest.err)
8915     ac_status=$?
8916     cat out/conftest.err >&5
8917 <   echo "$as_me:8397: \$? = $ac_status" >&5
8917 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8919     then
8920       # The compiler can only warn and ignore the option if not recognized
8921       # So say no if there are warnings
8922 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8922 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8923       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8924       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8925         lt_cv_prog_compiler_c_o=yes
# Line 8512 | Line 9032 | $as_echo_n "checking whether the $compil
9032    esac
9033  
9034    ld_shlibs=yes
9035 +
9036 +  # On some targets, GNU ld is compatible enough with the native linker
9037 +  # that we're better off using the native interface for both.
9038 +  lt_use_gnu_ld_interface=no
9039    if test "$with_gnu_ld" = yes; then
9040 +    case $host_os in
9041 +      aix*)
9042 +        # The AIX port of GNU ld has always aspired to compatibility
9043 +        # with the native linker.  However, as the warning in the GNU ld
9044 +        # block says, versions before 2.19.5* couldn't really create working
9045 +        # shared libraries, regardless of the interface used.
9046 +        case `$LD -v 2>&1` in
9047 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9048 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9049 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9050 +          *)
9051 +            lt_use_gnu_ld_interface=yes
9052 +            ;;
9053 +        esac
9054 +        ;;
9055 +      *)
9056 +        lt_use_gnu_ld_interface=yes
9057 +        ;;
9058 +    esac
9059 +  fi
9060 +
9061 +  if test "$lt_use_gnu_ld_interface" = yes; then
9062      # If archive_cmds runs LD, not CC, wlarc should be empty
9063      wlarc='${wl}'
9064  
# Line 8530 | Line 9076 | $as_echo_n "checking whether the $compil
9076      fi
9077      supports_anon_versioning=no
9078      case `$LD -v 2>&1` in
9079 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9080        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9081        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9082        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9092 | $as_echo_n "checking whether the $compil
9092          ld_shlibs=no
9093          cat <<_LT_EOF 1>&2
9094  
9095 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9095 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9096   *** to be unable to reliably create shared libraries on AIX.
9097   *** Therefore, libtool is disabling shared libraries support.  If you
9098 < *** really care for shared libraries, you may want to modify your PATH
9099 < *** so that a non-GNU linker is found, and then restart.
9098 > *** really care for shared libraries, you may want to install binutils
9099 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9100 > *** You will then need to restart the configuration process.
9101  
9102   _LT_EOF
9103        fi
# Line 8585 | Line 9133 | _LT_EOF
9133        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9134        # as there is no search path for DLLs.
9135        hardcode_libdir_flag_spec='-L$libdir'
9136 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9137        allow_undefined_flag=unsupported
9138        always_export_symbols=no
9139        enable_shared_with_static_runtimes=yes
9140 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9140 >      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'
9141 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9142  
9143        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9144          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 9156 | _LT_EOF
9156        fi
9157        ;;
9158  
9159 +    haiku*)
9160 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161 +      link_all_deplibs=yes
9162 +      ;;
9163 +
9164      interix[3-9]*)
9165        hardcode_direct=no
9166        hardcode_shlibpath_var=no
# Line 8621 | Line 9176 | _LT_EOF
9176        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'
9177        ;;
9178  
9179 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9179 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9180        tmp_diet=no
9181        if test "$host_os" = linux-dietlibc; then
9182          case $cc_basename in
# Line 8631 | Line 9186 | _LT_EOF
9186        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9187           && test "$tmp_diet" = no
9188        then
9189 <        tmp_addflag=
9189 >        tmp_addflag=' $pic_flag'
9190          tmp_sharedflag='-shared'
9191          case $cc_basename,$host_cpu in
9192          pgcc*)                          # Portland Group C compiler
9193 <          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'
9193 >          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'
9194            tmp_addflag=' $pic_flag'
9195            ;;
9196 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9197 <          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'
9196 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9197 >                                        # Portland Group f77 and f90 compilers
9198 >          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'
9199            tmp_addflag=' $pic_flag -Mnomain' ;;
9200          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9201            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9206 | _LT_EOF
9206          lf95*)                          # Lahey Fortran 8.1
9207            whole_archive_flag_spec=
9208            tmp_sharedflag='--shared' ;;
9209 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9209 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9210            tmp_sharedflag='-qmkshrobj'
9211            tmp_addflag= ;;
9212 +        nvcc*)  # Cuda Compiler Driver 2.2
9213 +          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'
9214 +          compiler_needs_object=yes
9215 +          ;;
9216          esac
9217          case `$CC -V 2>&1 | sed 5q` in
9218          *Sun\ C*)                       # Sun C 5.9
9219 <          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'
9219 >          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'
9220            compiler_needs_object=yes
9221            tmp_sharedflag='-G' ;;
9222          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9232 | _LT_EOF
9232          fi
9233  
9234          case $cc_basename in
9235 <        xlf*)
9235 >        xlf* | bgf* | bgxlf* | mpixlf*)
9236            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9237            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9238            hardcode_libdir_flag_spec=
9239            hardcode_libdir_flag_spec_ld='-rpath $libdir'
9240 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9240 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9241            if test "x$supports_anon_versioning" = xyes; then
9242              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9243                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9244                echo "local: *; };" >> $output_objdir/$libname.ver~
9245 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9245 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9246            fi
9247            ;;
9248          esac
# Line 8696 | Line 9256 | _LT_EOF
9256          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9257          wlarc=
9258        else
9259 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9260 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9259 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9260 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9261        fi
9262        ;;
9263  
# Line 8715 | Line 9275 | _LT_EOF
9275  
9276   _LT_EOF
9277        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9278 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9278 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9280        else
9281          ld_shlibs=no
9282        fi
# Line 8762 | Line 9322 | _LT_EOF
9322  
9323      *)
9324        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9325 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9325 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9327        else
9328          ld_shlibs=no
9329        fi
# Line 8803 | Line 9363 | _LT_EOF
9363        else
9364          # If we're using GNU nm, then we don't want the "-C" option.
9365          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9366 +        # Also, AIX nm treats weak defined symbols like other global
9367 +        # defined symbols, whereas GNU nm marks them as "W".
9368          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9369 <          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'
9369 >          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'
9370          else
9371            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'
9372          fi
# Line 8866 | Line 9428 | _LT_EOF
9428          if test "$aix_use_runtimelinking" = yes; then
9429            shared_flag="$shared_flag "'${wl}-G'
9430          fi
8869        link_all_deplibs=no
9431        else
9432          # not using gcc
9433          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9453 | _LT_EOF
9453          allow_undefined_flag='-berok'
9454          # Determine the default libpath from the value encoded in an
9455          # empty executable.
9456 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 >        if test "${lt_cv_aix_libpath+set}" = set; then
9457 >  aix_libpath=$lt_cv_aix_libpath
9458 > else
9459 >  if ${lt_cv_aix_libpath_+:} false; then :
9460 >  $as_echo_n "(cached) " >&6
9461 > else
9462 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463   /* end confdefs.h.  */
9464  
9465   int
# Line 8905 | Line 9472 | main ()
9472   _ACEOF
9473   if ac_fn_c_try_link "$LINENO"; then :
9474  
9475 < lt_aix_libpath_sed='
9476 <    /Import File Strings/,/^$/ {
9477 <        /^0/ {
9478 <            s/^0  *\(.*\)$/\1/
9479 <            p
9480 <        }
9481 <    }'
9482 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9483 < # Check for a 64-bit object if we didn't find anything.
9484 < if test -z "$aix_libpath"; then
9485 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9486 < fi
9475 >  lt_aix_libpath_sed='
9476 >      /Import File Strings/,/^$/ {
9477 >          /^0/ {
9478 >              s/^0  *\([^ ]*\) *$/\1/
9479 >              p
9480 >          }
9481 >      }'
9482 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9483 >  # Check for a 64-bit object if we didn't find anything.
9484 >  if test -z "$lt_cv_aix_libpath_"; then
9485 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9486 >  fi
9487   fi
9488   rm -f core conftest.err conftest.$ac_objext \
9489      conftest$ac_exeext conftest.$ac_ext
9490 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9490 >  if test -z "$lt_cv_aix_libpath_"; then
9491 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9492 >  fi
9493 >
9494 > fi
9495 >
9496 >  aix_libpath=$lt_cv_aix_libpath_
9497 > fi
9498  
9499          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9500 <        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"
9500 >        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"
9501        else
9502          if test "$host_cpu" = ia64; then
9503            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9506 | if test -z "$aix_libpath"; then aix_libp
9506          else
9507           # Determine the default libpath from the value encoded in an
9508           # empty executable.
9509 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 >         if test "${lt_cv_aix_libpath+set}" = set; then
9510 >  aix_libpath=$lt_cv_aix_libpath
9511 > else
9512 >  if ${lt_cv_aix_libpath_+:} false; then :
9513 >  $as_echo_n "(cached) " >&6
9514 > else
9515 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516   /* end confdefs.h.  */
9517  
9518   int
# Line 8945 | Line 9525 | main ()
9525   _ACEOF
9526   if ac_fn_c_try_link "$LINENO"; then :
9527  
9528 < lt_aix_libpath_sed='
9529 <    /Import File Strings/,/^$/ {
9530 <        /^0/ {
9531 <            s/^0  *\(.*\)$/\1/
9532 <            p
9533 <        }
9534 <    }'
9535 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 < # Check for a 64-bit object if we didn't find anything.
9537 < if test -z "$aix_libpath"; then
9538 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 < fi
9528 >  lt_aix_libpath_sed='
9529 >      /Import File Strings/,/^$/ {
9530 >          /^0/ {
9531 >              s/^0  *\([^ ]*\) *$/\1/
9532 >              p
9533 >          }
9534 >      }'
9535 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 >  # Check for a 64-bit object if we didn't find anything.
9537 >  if test -z "$lt_cv_aix_libpath_"; then
9538 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 >  fi
9540   fi
9541   rm -f core conftest.err conftest.$ac_objext \
9542      conftest$ac_exeext conftest.$ac_ext
9543 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9543 >  if test -z "$lt_cv_aix_libpath_"; then
9544 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9545 >  fi
9546 >
9547 > fi
9548 >
9549 >  aix_libpath=$lt_cv_aix_libpath_
9550 > fi
9551  
9552           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9553            # Warning - without using the other run time loading flags,
9554            # -berok will link without error, but may produce a broken library.
9555            no_undefined_flag=' ${wl}-bernotok'
9556            allow_undefined_flag=' ${wl}-berok'
9557 <          # Exported symbols can be pulled into shared objects from archives
9558 <          whole_archive_flag_spec='$convenience'
9557 >          if test "$with_gnu_ld" = yes; then
9558 >            # We only use this code for GNU lds that support --whole-archive.
9559 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9560 >          else
9561 >            # Exported symbols can be pulled into shared objects from archives
9562 >            whole_archive_flag_spec='$convenience'
9563 >          fi
9564            archive_cmds_need_lc=yes
9565            # This is similar to how AIX traditionally builds its shared libraries.
9566            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 9592 | if test -z "$aix_libpath"; then aix_libp
9592        # Microsoft Visual C++.
9593        # hardcode_libdir_flag_spec is actually meaningless, as there is
9594        # no search path for DLLs.
9595 <      hardcode_libdir_flag_spec=' '
9596 <      allow_undefined_flag=unsupported
9597 <      # Tell ltmain to make .lib files, not .a files.
9598 <      libext=lib
9599 <      # Tell ltmain to make .dll files, not .so files.
9600 <      shrext_cmds=".dll"
9601 <      # FIXME: Setting linknames here is a bad hack.
9602 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9603 <      # The linker will automatically build a .lib file if we build a DLL.
9604 <      old_archive_from_new_cmds='true'
9605 <      # FIXME: Should let the user specify the lib program.
9606 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9607 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9608 <      enable_shared_with_static_runtimes=yes
9595 >      case $cc_basename in
9596 >      cl*)
9597 >        # Native MSVC
9598 >        hardcode_libdir_flag_spec=' '
9599 >        allow_undefined_flag=unsupported
9600 >        always_export_symbols=yes
9601 >        file_list_spec='@'
9602 >        # Tell ltmain to make .lib files, not .a files.
9603 >        libext=lib
9604 >        # Tell ltmain to make .dll files, not .so files.
9605 >        shrext_cmds=".dll"
9606 >        # FIXME: Setting linknames here is a bad hack.
9607 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9608 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9609 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9610 >          else
9611 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9612 >          fi~
9613 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9614 >          linknames='
9615 >        # The linker will not automatically build a static lib if we build a DLL.
9616 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9617 >        enable_shared_with_static_runtimes=yes
9618 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9619 >        # Don't use ranlib
9620 >        old_postinstall_cmds='chmod 644 $oldlib'
9621 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9622 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9623 >          case $lt_outputfile in
9624 >            *.exe|*.EXE) ;;
9625 >            *)
9626 >              lt_outputfile="$lt_outputfile.exe"
9627 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9628 >              ;;
9629 >          esac~
9630 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9631 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9632 >            $RM "$lt_outputfile.manifest";
9633 >          fi'
9634 >        ;;
9635 >      *)
9636 >        # Assume MSVC wrapper
9637 >        hardcode_libdir_flag_spec=' '
9638 >        allow_undefined_flag=unsupported
9639 >        # Tell ltmain to make .lib files, not .a files.
9640 >        libext=lib
9641 >        # Tell ltmain to make .dll files, not .so files.
9642 >        shrext_cmds=".dll"
9643 >        # FIXME: Setting linknames here is a bad hack.
9644 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9645 >        # The linker will automatically build a .lib file if we build a DLL.
9646 >        old_archive_from_new_cmds='true'
9647 >        # FIXME: Should let the user specify the lib program.
9648 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9649 >        enable_shared_with_static_runtimes=yes
9650 >        ;;
9651 >      esac
9652        ;;
9653  
9654      darwin* | rhapsody*)
# Line 9023 | Line 9658 | if test -z "$aix_libpath"; then aix_libp
9658    hardcode_direct=no
9659    hardcode_automatic=yes
9660    hardcode_shlibpath_var=unsupported
9661 <  whole_archive_flag_spec=''
9661 >  if test "$lt_cv_ld_force_load" = "yes"; then
9662 >    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\"`'
9663 >  else
9664 >    whole_archive_flag_spec=''
9665 >  fi
9666    link_all_deplibs=yes
9667    allow_undefined_flag="$_lt_dar_allow_undefined"
9668    case $cc_basename in
# Line 9031 | Line 9670 | if test -z "$aix_libpath"; then aix_libp
9670       *) _lt_dar_can_shared=$GCC ;;
9671    esac
9672    if test "$_lt_dar_can_shared" = "yes"; then
9673 <    output_verbose_link_cmd=echo
9673 >    output_verbose_link_cmd=func_echo_all
9674      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9675      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9676      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 9074 | Line 9713 | if test -z "$aix_libpath"; then aix_libp
9713  
9714      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9715      freebsd* | dragonfly*)
9716 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9716 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9717        hardcode_libdir_flag_spec='-R$libdir'
9718        hardcode_direct=yes
9719        hardcode_shlibpath_var=no
# Line 9082 | Line 9721 | if test -z "$aix_libpath"; then aix_libp
9721  
9722      hpux9*)
9723        if test "$GCC" = yes; then
9724 <        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'
9724 >        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'
9725        else
9726          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'
9727        fi
# Line 9097 | Line 9736 | if test -z "$aix_libpath"; then aix_libp
9736        ;;
9737  
9738      hpux10*)
9739 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9740 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9740 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741        else
9742          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9743        fi
# Line 9116 | Line 9755 | if test -z "$aix_libpath"; then aix_libp
9755        ;;
9756  
9757      hpux11*)
9758 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9758 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9759          case $host_cpu in
9760          hppa*64*)
9761            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9762            ;;
9763          ia64*)
9764 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9764 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765            ;;
9766          *)
9767 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768            ;;
9769          esac
9770        else
# Line 9137 | Line 9776 | if test -z "$aix_libpath"; then aix_libp
9776            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9777            ;;
9778          *)
9779 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9779 >
9780 >          # Older versions of the 11.00 compiler do not understand -b yet
9781 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9782 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9783 > $as_echo_n "checking if $CC understands -b... " >&6; }
9784 > if ${lt_cv_prog_compiler__b+:} false; then :
9785 >  $as_echo_n "(cached) " >&6
9786 > else
9787 >  lt_cv_prog_compiler__b=no
9788 >   save_LDFLAGS="$LDFLAGS"
9789 >   LDFLAGS="$LDFLAGS -b"
9790 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9791 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9792 >     # The linker can only warn and ignore the option if not recognized
9793 >     # So say no if there are warnings
9794 >     if test -s conftest.err; then
9795 >       # Append any errors to the config.log.
9796 >       cat conftest.err 1>&5
9797 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9798 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9799 >       if diff conftest.exp conftest.er2 >/dev/null; then
9800 >         lt_cv_prog_compiler__b=yes
9801 >       fi
9802 >     else
9803 >       lt_cv_prog_compiler__b=yes
9804 >     fi
9805 >   fi
9806 >   $RM -r conftest*
9807 >   LDFLAGS="$save_LDFLAGS"
9808 >
9809 > fi
9810 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9811 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9812 >
9813 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9814 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9815 > else
9816 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9817 > fi
9818 >
9819            ;;
9820          esac
9821        fi
# Line 9165 | Line 9843 | if test -z "$aix_libpath"; then aix_libp
9843  
9844      irix5* | irix6* | nonstopux*)
9845        if test "$GCC" = yes; then
9846 <        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'
9846 >        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'
9847          # Try to use the -exported_symbol ld option, if it does not
9848          # work, assume that -exports_file does not work either and
9849          # implicitly export all symbols.
9850 <        save_LDFLAGS="$LDFLAGS"
9851 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9852 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 >        # This should be the same for all languages, so no per-tag cache variable.
9851 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9852 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9853 > if ${lt_cv_irix_exported_symbol+:} false; then :
9854 >  $as_echo_n "(cached) " >&6
9855 > else
9856 >  save_LDFLAGS="$LDFLAGS"
9857 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9858 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859   /* end confdefs.h.  */
9860 < int foo(void) {}
9860 > int foo (void) { return 0; }
9861   _ACEOF
9862   if ac_fn_c_try_link "$LINENO"; then :
9863 <  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'
9864 <
9863 >  lt_cv_irix_exported_symbol=yes
9864 > else
9865 >  lt_cv_irix_exported_symbol=no
9866   fi
9867   rm -f core conftest.err conftest.$ac_objext \
9868      conftest$ac_exeext conftest.$ac_ext
9869 <        LDFLAGS="$save_LDFLAGS"
9869 >           LDFLAGS="$save_LDFLAGS"
9870 > fi
9871 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9872 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9873 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9874 >          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'
9875 >        fi
9876        else
9877 <        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'
9878 <        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'
9877 >        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'
9878 >        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'
9879        fi
9880        archive_cmds_need_lc='no'
9881        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 9937 | rm -f core conftest.err conftest.$ac_obj
9937        hardcode_libdir_flag_spec='-L$libdir'
9938        hardcode_minus_L=yes
9939        allow_undefined_flag=unsupported
9940 <      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'
9940 >      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'
9941        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9942        ;;
9943  
9944      osf3*)
9945        if test "$GCC" = yes; then
9946          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9947 <        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'
9947 >        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'
9948        else
9949          allow_undefined_flag=' -expect_unresolved \*'
9950 <        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'
9950 >        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'
9951        fi
9952        archive_cmds_need_lc='no'
9953        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 9957 | rm -f core conftest.err conftest.$ac_obj
9957      osf4* | osf5*)      # as osf3* with the addition of -msym flag
9958        if test "$GCC" = yes; then
9959          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 <        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'
9960 >        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'
9961          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9962        else
9963          allow_undefined_flag=' -expect_unresolved \*'
9964 <        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'
9964 >        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'
9965          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~
9966 <        $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'
9966 >        $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'
9967  
9968          # Both c and cxx compiler support -rpath directly
9969          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 9976 | rm -f core conftest.err conftest.$ac_obj
9976        no_undefined_flag=' -z defs'
9977        if test "$GCC" = yes; then
9978          wlarc='${wl}'
9979 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9980          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9981 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981 >          $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'
9982        else
9983          case `$CC -V 2>&1` in
9984          *"Compilers 5.0"*)
# Line 9475 | Line 10166 | x|xyes)
10166        # to ld, don't add -lc before -lgcc.
10167        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10168   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10169 <      $RM conftest*
10170 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10169 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10170 >  $as_echo_n "(cached) " >&6
10171 > else
10172 >  $RM conftest*
10173 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10174  
10175 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10175 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10176    (eval $ac_compile) 2>&5
10177    ac_status=$?
10178    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10179    test $ac_status = 0; } 2>conftest.err; then
10180 <        soname=conftest
10181 <        lib=conftest
10182 <        libobjs=conftest.$ac_objext
10183 <        deplibs=
10184 <        wl=$lt_prog_compiler_wl
10185 <        pic_flag=$lt_prog_compiler_pic
10186 <        compiler_flags=-v
10187 <        linker_flags=-v
10188 <        verstring=
10189 <        output_objdir=.
10190 <        libname=conftest
10191 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10192 <        allow_undefined_flag=
10193 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180 >          soname=conftest
10181 >          lib=conftest
10182 >          libobjs=conftest.$ac_objext
10183 >          deplibs=
10184 >          wl=$lt_prog_compiler_wl
10185 >          pic_flag=$lt_prog_compiler_pic
10186 >          compiler_flags=-v
10187 >          linker_flags=-v
10188 >          verstring=
10189 >          output_objdir=.
10190 >          libname=conftest
10191 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10192 >          allow_undefined_flag=
10193 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10194    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10195    ac_status=$?
10196    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10197    test $ac_status = 0; }
10198 <        then
10199 <          archive_cmds_need_lc=no
10200 <        else
10201 <          archive_cmds_need_lc=yes
10202 <        fi
10203 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10204 <      else
10205 <        cat conftest.err 1>&5
10206 <      fi
10207 <      $RM conftest*
10208 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10209 < $as_echo "$archive_cmds_need_lc" >&6; }
10198 >          then
10199 >            lt_cv_archive_cmds_need_lc=no
10200 >          else
10201 >            lt_cv_archive_cmds_need_lc=yes
10202 >          fi
10203 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10204 >        else
10205 >          cat conftest.err 1>&5
10206 >        fi
10207 >        $RM conftest*
10208 >
10209 > fi
10210 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10211 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10212 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10213        ;;
10214      esac
10215    fi
# Line 9683 | Line 10380 | if test "$GCC" = yes; then
10380      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10381      *) lt_awk_arg="/^libraries:/" ;;
10382    esac
10383 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10384 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10383 >  case $host_os in
10384 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10385 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10386 >  esac
10387 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10388 >  case $lt_search_path_spec in
10389 >  *\;*)
10390      # if the path contains ";" then we assume it to be the separator
10391      # otherwise default to the standard path separator (i.e. ":") - it is
10392      # assumed that no part of a normal pathname contains ";" but that should
10393      # okay in the real world where ";" in dirpaths is itself problematic.
10394 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10395 <  else
10396 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10397 <  fi
10394 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10395 >    ;;
10396 >  *)
10397 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10398 >    ;;
10399 >  esac
10400    # Ok, now we have the path, separated by spaces, we can step through it
10401    # and add multilib dir if necessary.
10402    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10409 | if test "$GCC" = yes; then
10409          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10410      fi
10411    done
10412 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10412 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10413   BEGIN {RS=" "; FS="/|\n";} {
10414    lt_foo="";
10415    lt_count=0;
# Line 9725 | Line 10429 | BEGIN {RS=" "; FS="/|\n";} {
10429    if (lt_foo != "") { lt_freq[lt_foo]++; }
10430    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10431   }'`
10432 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10432 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10433 >  # for these hosts.
10434 >  case $host_os in
10435 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10436 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10437 >  esac
10438 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10439   else
10440    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10441   fi
# Line 9813 | Line 10523 | amigaos*)
10523    m68k)
10524      library_names_spec='$libname.ixlibrary $libname.a'
10525      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10526 <    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'
10526 >    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'
10527      ;;
10528    esac
10529    ;;
# Line 9844 | Line 10554 | cygwin* | mingw* | pw32* | cegcc*)
10554    need_version=no
10555    need_lib_prefix=no
10556  
10557 <  case $GCC,$host_os in
10558 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10557 >  case $GCC,$cc_basename in
10558 >  yes,*)
10559 >    # gcc
10560      library_names_spec='$libname.dll.a'
10561      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10562      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10577 | cygwin* | mingw* | pw32* | cegcc*)
10577      cygwin*)
10578        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10579        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10580 >
10581 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10582        ;;
10583      mingw* | cegcc*)
10584        # MinGW DLLs use traditional 'lib' prefix
10585        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
10586        ;;
10587      pw32*)
10588        # pw32 DLLs use 'pw' prefix rather than 'lib'
10589        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10590        ;;
10591      esac
10592 +    dynamic_linker='Win32 ld.exe'
10593 +    ;;
10594 +
10595 +  *,cl*)
10596 +    # Native MSVC
10597 +    libname_spec='$name'
10598 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 +    library_names_spec='${libname}.dll.lib'
10600 +
10601 +    case $build_os in
10602 +    mingw*)
10603 +      sys_lib_search_path_spec=
10604 +      lt_save_ifs=$IFS
10605 +      IFS=';'
10606 +      for lt_path in $LIB
10607 +      do
10608 +        IFS=$lt_save_ifs
10609 +        # Let DOS variable expansion print the short 8.3 style file name.
10610 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10611 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10612 +      done
10613 +      IFS=$lt_save_ifs
10614 +      # Convert to MSYS style.
10615 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10616 +      ;;
10617 +    cygwin*)
10618 +      # Convert to unix form, then to dos form, then back to unix form
10619 +      # but this time dos style (no spaces!) so that the unix form looks
10620 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10621 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10622 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10623 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10624 +      ;;
10625 +    *)
10626 +      sys_lib_search_path_spec="$LIB"
10627 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10628 +        # It is most probably a Windows format PATH.
10629 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10630 +      else
10631 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10632 +      fi
10633 +      # FIXME: find the short name or the path components, as spaces are
10634 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10635 +      ;;
10636 +    esac
10637 +
10638 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10639 +    postinstall_cmds='base_file=`basename \${file}`~
10640 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10641 +      dldir=$destdir/`dirname \$dlpath`~
10642 +      test -d \$dldir || mkdir -p \$dldir~
10643 +      $install_prog $dir/$dlname \$dldir/$dlname'
10644 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10645 +      dlpath=$dir/\$dldll~
10646 +       $RM \$dlpath'
10647 +    shlibpath_overrides_runpath=yes
10648 +    dynamic_linker='Win32 link.exe'
10649      ;;
10650  
10651    *)
10652 +    # Assume MSVC wrapper
10653      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10654 +    dynamic_linker='Win32 ld.exe'
10655      ;;
10656    esac
9898  dynamic_linker='Win32 ld.exe'
10657    # FIXME: first we should search . and the directory the executable is in
10658    shlibpath_var=PATH
10659    ;;
# Line 9982 | Line 10740 | gnu*)
10740    hardcode_into_libs=yes
10741    ;;
10742  
10743 + haiku*)
10744 +  version_type=linux
10745 +  need_lib_prefix=no
10746 +  need_version=no
10747 +  dynamic_linker="$host_os runtime_loader"
10748 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10749 +  soname_spec='${libname}${release}${shared_ext}$major'
10750 +  shlibpath_var=LIBRARY_PATH
10751 +  shlibpath_overrides_runpath=yes
10752 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10753 +  hardcode_into_libs=yes
10754 +  ;;
10755 +
10756   hpux9* | hpux10* | hpux11*)
10757    # Give a soname corresponding to the major version so that dld.sl refuses to
10758    # link against other versions.
# Line 10024 | Line 10795 | hpux9* | hpux10* | hpux11*)
10795      soname_spec='${libname}${release}${shared_ext}$major'
10796      ;;
10797    esac
10798 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10798 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10799    postinstall_cmds='chmod 555 $lib'
10800 +  # or fails outright, so override atomically:
10801 +  install_override_mode=555
10802    ;;
10803  
10804   interix[3-9]*)
# Line 10083 | Line 10856 | linux*oldld* | linux*aout* | linux*coff*
10856    ;;
10857  
10858   # This must be Linux ELF.
10859 < linux* | k*bsd*-gnu)
10859 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10860    version_type=linux
10861    need_lib_prefix=no
10862    need_version=no
# Line 10092 | Line 10865 | linux* | k*bsd*-gnu)
10865    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10866    shlibpath_var=LD_LIBRARY_PATH
10867    shlibpath_overrides_runpath=no
10868 +
10869    # Some binutils ld are patched to set DT_RUNPATH
10870 <  save_LDFLAGS=$LDFLAGS
10871 <  save_libdir=$libdir
10872 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10873 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10874 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10871 >  $as_echo_n "(cached) " >&6
10872 > else
10873 >  lt_cv_shlibpath_overrides_runpath=no
10874 >    save_LDFLAGS=$LDFLAGS
10875 >    save_libdir=$libdir
10876 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10877 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10878 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879   /* end confdefs.h.  */
10880  
10881   int
# Line 10110 | Line 10888 | main ()
10888   _ACEOF
10889   if ac_fn_c_try_link "$LINENO"; then :
10890    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10891 <  shlibpath_overrides_runpath=yes
10891 >  lt_cv_shlibpath_overrides_runpath=yes
10892   fi
10893   fi
10894   rm -f core conftest.err conftest.$ac_objext \
10895      conftest$ac_exeext conftest.$ac_ext
10896 <  LDFLAGS=$save_LDFLAGS
10897 <  libdir=$save_libdir
10896 >    LDFLAGS=$save_LDFLAGS
10897 >    libdir=$save_libdir
10898 >
10899 > fi
10900 >
10901 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10902  
10903    # This implies no fast_install, which is unacceptable.
10904    # Some rework will be needed to allow for fast_install
10905    # before this can be enabled.
10906    hardcode_into_libs=yes
10907  
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
10908    # Append ld.so.conf contents to the search path
10909    if test -f /etc/ld.so.conf; then
10910 <    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' ' '`
10911 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10910 >    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' ' '`
10911 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10912    fi
10913  
10914    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10450 | Line 11210 | fi
11210  
11211  
11212  
11213 +
11214 +
11215 +
11216 +
11217 +
11218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11219   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11220   hardcode_action=
# Line 10522 | Line 11287 | else
11287    # if libdl is installed we need to link against it
11288      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11289   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11290 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11290 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11291    $as_echo_n "(cached) " >&6
11292   else
11293    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11321 | LIBS=$ac_check_lib_save_LIBS
11321   fi
11322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11323   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11324 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11324 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11325    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11326   else
11327  
# Line 10570 | Line 11335 | fi
11335  
11336    *)
11337      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11338 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11338 > if test "x$ac_cv_func_shl_load" = xyes; then :
11339    lt_cv_dlopen="shl_load"
11340   else
11341    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11342   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11343 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11343 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11344    $as_echo_n "(cached) " >&6
11345   else
11346    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11374 | LIBS=$ac_check_lib_save_LIBS
11374   fi
11375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11376   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11377 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11377 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11378    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11379   else
11380    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11381 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11381 > if test "x$ac_cv_func_dlopen" = xyes; then :
11382    lt_cv_dlopen="dlopen"
11383   else
11384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11385   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11386 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11386 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11387    $as_echo_n "(cached) " >&6
11388   else
11389    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11417 | LIBS=$ac_check_lib_save_LIBS
11417   fi
11418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11419   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11420 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11421    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11422   else
11423    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11424   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11425 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11425 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11426    $as_echo_n "(cached) " >&6
11427   else
11428    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11456 | LIBS=$ac_check_lib_save_LIBS
11456   fi
11457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11458   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11459 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11459 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11460    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11461   else
11462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11463   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11464 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11464 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11465    $as_echo_n "(cached) " >&6
11466   else
11467    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11495 | LIBS=$ac_check_lib_save_LIBS
11495   fi
11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11497   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11498 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11498 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11499    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11500   fi
11501  
# Line 10771 | Line 11536 | fi
11536  
11537      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11538   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11539 < if test "${lt_cv_dlopen_self+set}" = set; then :
11539 > if ${lt_cv_dlopen_self+:} false; then :
11540    $as_echo_n "(cached) " >&6
11541   else
11542            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11545 | else
11545    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11546    lt_status=$lt_dlunknown
11547    cat > conftest.$ac_ext <<_LT_EOF
11548 < #line 10783 "configure"
11548 > #line $LINENO "configure"
11549   #include "confdefs.h"
11550  
11551   #if HAVE_DLFCN_H
# Line 10821 | Line 11586 | else
11586   #  endif
11587   #endif
11588  
11589 < void fnord() { int i=42;}
11589 > /* When -fvisbility=hidden is used, assume the code has been annotated
11590 >   correspondingly for the symbols needed.  */
11591 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11592 > int fnord () __attribute__((visibility("default")));
11593 > #endif
11594 >
11595 > int fnord () { return 42; }
11596   int main ()
11597   {
11598    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11601 | int main ()
11601    if (self)
11602      {
11603        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11604 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11604 >      else
11605 >        {
11606 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11607 >          else puts (dlerror ());
11608 >        }
11609        /* dlclose (self); */
11610      }
11611    else
# Line 10867 | Line 11642 | $as_echo "$lt_cv_dlopen_self" >&6; }
11642        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11643        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11644   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11645 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11645 > if ${lt_cv_dlopen_self_static+:} false; then :
11646    $as_echo_n "(cached) " >&6
11647   else
11648            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 11651 | else
11651    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11652    lt_status=$lt_dlunknown
11653    cat > conftest.$ac_ext <<_LT_EOF
11654 < #line 10879 "configure"
11654 > #line $LINENO "configure"
11655   #include "confdefs.h"
11656  
11657   #if HAVE_DLFCN_H
# Line 10917 | Line 11692 | else
11692   #  endif
11693   #endif
11694  
11695 < void fnord() { int i=42;}
11695 > /* When -fvisbility=hidden is used, assume the code has been annotated
11696 >   correspondingly for the symbols needed.  */
11697 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11698 > int fnord () __attribute__((visibility("default")));
11699 > #endif
11700 >
11701 > int fnord () { return 42; }
11702   int main ()
11703   {
11704    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 11707 | int main ()
11707    if (self)
11708      {
11709        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11710 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11710 >      else
11711 >        {
11712 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11713 >          else puts (dlerror ());
11714 >        }
11715        /* dlclose (self); */
11716      }
11717    else
# Line 11105 | Line 11890 | CC="$lt_save_CC"
11890  
11891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11892   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11893 < if test "${libltdl_cv_shlibext+set}" = set; then :
11893 > if ${libltdl_cv_shlibext+:} false; then :
11894    $as_echo_n "(cached) " >&6
11895   else
11896  
# Line 11125 | Line 11910 | fi
11910  
11911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11912   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11913 < if test "${lt_cv_module_path_var+set}" = set; then :
11913 > if ${lt_cv_module_path_var+:} false; then :
11914    $as_echo_n "(cached) " >&6
11915   else
11916    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 11927 | fi
11927  
11928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11929   $as_echo_n "checking for the default library search path... " >&6; }
11930 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11930 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11931    $as_echo_n "(cached) " >&6
11932   else
11933    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 11964 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11964   LIBADD_DLOPEN=
11965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11966   $as_echo_n "checking for library containing dlopen... " >&6; }
11967 < if test "${ac_cv_search_dlopen+set}" = set; then :
11967 > if ${ac_cv_search_dlopen+:} false; then :
11968    $as_echo_n "(cached) " >&6
11969   else
11970    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 11998 | for ac_lib in '' dl; do
11998   fi
11999   rm -f core conftest.err conftest.$ac_objext \
12000      conftest$ac_exeext
12001 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12001 >  if ${ac_cv_search_dlopen+:} false; then :
12002    break
12003   fi
12004   done
12005 < if test "${ac_cv_search_dlopen+set}" = set; then :
12005 > if ${ac_cv_search_dlopen+:} false; then :
12006  
12007   else
12008    ac_cv_search_dlopen=no
# Line 11262 | Line 12047 | $as_echo "#define HAVE_LIBDL 1" >>confde
12047   else
12048    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12049   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12050 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12050 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12051    $as_echo_n "(cached) " >&6
12052   else
12053    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12081 | LIBS=$ac_check_lib_save_LIBS
12081   fi
12082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12083   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12084 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12084 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12085  
12086   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12087  
# Line 11316 | Line 12101 | then
12101    for ac_func in dlerror
12102   do :
12103    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12104 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12104 > if test "x$ac_cv_func_dlerror" = xyes; then :
12105    cat >>confdefs.h <<_ACEOF
12106   #define HAVE_DLERROR 1
12107   _ACEOF
# Line 11330 | Line 12115 | fi
12115  
12116   LIBADD_SHL_LOAD=
12117   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12118 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12118 > if test "x$ac_cv_func_shl_load" = xyes; then :
12119  
12120   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12121  
# Line 11338 | Line 12123 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12123   else
12124    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12125   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12126 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12126 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12127    $as_echo_n "(cached) " >&6
12128   else
12129    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12157 | LIBS=$ac_check_lib_save_LIBS
12157   fi
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12159   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12160 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12160 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12161  
12162   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12163  
# Line 11388 | Line 12173 | case $host_os in
12173   darwin[1567].*)
12174   # We only want this for pre-Mac OS X 10.4.
12175    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12176 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12176 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12177  
12178   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12179  
# Line 11402 | Line 12187 | beos*)
12187   cygwin* | mingw* | os2* | pw32*)
12188    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12189   "
12190 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12190 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12191    ac_have_decl=1
12192   else
12193    ac_have_decl=0
# Line 11418 | Line 12203 | esac
12203  
12204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12205   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12206 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12206 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12207    $as_echo_n "(cached) " >&6
12208   else
12209    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12237 | LIBS=$ac_check_lib_save_LIBS
12237   fi
12238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12239   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12240 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12240 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12241  
12242   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12243  
# Line 11486 | Line 12271 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12271  
12272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12273   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12274 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12274 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12275    $as_echo_n "(cached) " >&6
12276   else
12277    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12321 | if test x"$lt_cv_sys_symbol_underscore"
12321       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12322          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12323   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12324 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12324 > if ${libltdl_cv_need_uscore+:} false; then :
12325    $as_echo_n "(cached) " >&6
12326   else
12327    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12333 | else
12333    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12334    lt_status=$lt_dlunknown
12335    cat > conftest.$ac_ext <<_LT_EOF
12336 < #line 11551 "configure"
12336 > #line $LINENO "configure"
12337   #include "confdefs.h"
12338  
12339   #if HAVE_DLFCN_H
# Line 11589 | Line 12374 | else
12374   #  endif
12375   #endif
12376  
12377 < void fnord() { int i=42;}
12377 > /* When -fvisbility=hidden is used, assume the code has been annotated
12378 >   correspondingly for the symbols needed.  */
12379 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12380 > int fnord () __attribute__((visibility("default")));
12381 > #endif
12382 >
12383 > int fnord () { return 42; }
12384   int main ()
12385   {
12386    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12389 | int main ()
12389    if (self)
12390      {
12391        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12392 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12392 >      else
12393 >        {
12394 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12395 >          else puts (dlerror ());
12396 >        }
12397        /* dlclose (self); */
12398      }
12399    else
# Line 11642 | Line 12437 | fi
12437  
12438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12439   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12440 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12440 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12441    $as_echo_n "(cached) " >&6
12442   else
12443    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12469 | else
12469    freebsd* | dragonfly*)
12470      lt_cv_sys_dlopen_deplibs=yes
12471      ;;
12472 <  gnu* | linux* | k*bsd*-gnu)
12472 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12473      # GNU and its variants, using gnu ld.so (Glibc)
12474      lt_cv_sys_dlopen_deplibs=yes
12475      ;;
# Line 11748 | Line 12543 | for ac_header in argz.h
12543   do :
12544    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12545   "
12546 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12546 > if test "x$ac_cv_header_argz_h" = xyes; then :
12547    cat >>confdefs.h <<_ACEOF
12548   #define HAVE_ARGZ_H 1
12549   _ACEOF
# Line 11762 | Line 12557 | ac_fn_c_check_type "$LINENO" "error_t" "
12557   #  include <argz.h>
12558   #endif
12559   "
12560 < if test "x$ac_cv_type_error_t" = x""yes; then :
12560 > if test "x$ac_cv_type_error_t" = xyes; then :
12561  
12562   cat >>confdefs.h <<_ACEOF
12563   #define HAVE_ERROR_T 1
# Line 11785 | Line 12580 | for ac_func in argz_add argz_append argz
12580   do :
12581    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12582   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12583 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12583 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12584    cat >>confdefs.h <<_ACEOF
12585   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12586   _ACEOF
# Line 11803 | Line 12597 | done
12597   if test -z "$ARGZ_H"; then :
12598    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12599   $as_echo_n "checking if argz actually works... " >&6; }
12600 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12600 > if ${lt_cv_sys_argz_works+:} false; then :
12601    $as_echo_n "(cached) " >&6
12602   else
12603    case $host_os in #(
# Line 11834 | Line 12628 | else
12628   fi
12629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12630   $as_echo "$lt_cv_sys_argz_works" >&6; }
12631 <     if test $lt_cv_sys_argz_works = yes; then :
12631 >     if test "$lt_cv_sys_argz_works" = yes; then :
12632  
12633   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12634  
# Line 11851 | Line 12645 | fi
12645  
12646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12647   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12648 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12648 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12649    $as_echo_n "(cached) " >&6
12650   else
12651    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 12663 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12663  
12664   fi
12665  
11872
11873
12666   # Set options
12667  
12668  
# Line 11883 | Line 12675 | fi
12675  
12676  
12677  
11886
12678   # Check whether --with-included_ltdl was given.
12679   if test "${with_included_ltdl+set}" = set; then :
12680    withval=$with_included_ltdl;
# Line 11896 | Line 12687 | if test "x$with_included_ltdl" != xyes;
12687    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12688  
12689   "
12690 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12690 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12691    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12692              #include <ltdl.h>
12693   "
12694 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12694 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12695    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12696   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12697 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12697 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12698    $as_echo_n "(cached) " >&6
12699   else
12700    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 12728 | LIBS=$ac_check_lib_save_LIBS
12728   fi
12729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12730   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12731 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12731 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12732    with_included_ltdl=no
12733   else
12734    with_included_ltdl=yes
# Line 11957 | Line 12748 | fi
12748  
12749  
12750  
11960
11961
11962
11963
11964
12751   # Check whether --with-ltdl_include was given.
12752   if test "${with_ltdl_include+set}" = set; then :
12753    withval=$with_ltdl_include;
# Line 11971 | Line 12757 | fi
12757   if test -n "$with_ltdl_include"; then
12758    if test -f "$with_ltdl_include/ltdl.h"; then :
12759    else
12760 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12760 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12761    fi
12762   else
12763    with_ltdl_include=no
# Line 11987 | Line 12773 | fi
12773   if test -n "$with_ltdl_lib"; then
12774    if test -f "$with_ltdl_lib/libltdl.la"; then :
12775    else
12776 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12776 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12777    fi
12778   else
12779    with_ltdl_lib=no
# Line 11996 | Line 12782 | fi
12782   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12783    ,yes,no,no,)
12784          case $enable_ltdl_convenience in
12785 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12785 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12786    "") enable_ltdl_convenience=yes
12787        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12788   esac
# Line 12024 | Line 12810 | $as_echo "#define HAVE_LTDL 1" >>confdef
12810          LTDLINCL=
12811          ;;
12812    ,no*,no,*)
12813 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12813 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12814          ;;
12815    *)    with_included_ltdl=no
12816          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 12861 | fi
12861  
12862  
12863  
12078    subdirs="$subdirs libltdl"
12079
12080
12864  
12865  
12866  
# Line 12094 | Line 12877 | do :
12877    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12878   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12879   "
12880 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
12880 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12881    cat >>confdefs.h <<_ACEOF
12882   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12883   _ACEOF
# Line 12109 | Line 12891 | for ac_func in closedir opendir readdir
12891   do :
12892    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12893   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12894 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
12894 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12895    cat >>confdefs.h <<_ACEOF
12896   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12897   _ACEOF
# Line 12127 | Line 12908 | for ac_func in strlcat strlcpy
12908   do :
12909    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12910   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12911 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
12911 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12912    cat >>confdefs.h <<_ACEOF
12913   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12914   _ACEOF
# Line 12148 | Line 12928 | cat >>confdefs.h <<_ACEOF
12928   _ACEOF
12929  
12930  
12931 + name=
12932 + eval "lt_libprefix=\"$libname_spec\""
12933 +
12934 + cat >>confdefs.h <<_ACEOF
12935 + #define LT_LIBPREFIX "$lt_libprefix"
12936 + _ACEOF
12937 +
12938 +
12939   name=ltdl
12940 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12940 > eval "LTDLOPEN=\"$libname_spec\""
12941  
12942  
12943  
# Line 12167 | Line 12955 | LIBTOOL="$LIBTOOL --silent"
12955  
12956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12957   $as_echo_n "checking for library containing socket... " >&6; }
12958 < if test "${ac_cv_search_socket+set}" = set; then :
12958 > if ${ac_cv_search_socket+:} false; then :
12959    $as_echo_n "(cached) " >&6
12960   else
12961    ac_func_search_save_LIBS=$LIBS
# Line 12201 | Line 12989 | for ac_lib in '' socket; do
12989   fi
12990   rm -f core conftest.err conftest.$ac_objext \
12991      conftest$ac_exeext
12992 <  if test "${ac_cv_search_socket+set}" = set; then :
12992 >  if ${ac_cv_search_socket+:} false; then :
12993    break
12994   fi
12995   done
12996 < if test "${ac_cv_search_socket+set}" = set; then :
12996 > if ${ac_cv_search_socket+:} false; then :
12997  
12998   else
12999    ac_cv_search_socket=no
# Line 12220 | Line 13008 | if test "$ac_res" != no; then :
13008    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13009  
13010   else
13011 <  as_fn_error "socket library not found" "$LINENO" 5
13011 >  as_fn_error $? "socket library not found" "$LINENO" 5
13012 > fi
13013 >
13014 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13015 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13016 > if ${ac_cv_search_inet_ntoa+:} false; then :
13017 >  $as_echo_n "(cached) " >&6
13018 > else
13019 >  ac_func_search_save_LIBS=$LIBS
13020 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 > /* end confdefs.h.  */
13022 >
13023 > /* Override any GCC internal prototype to avoid an error.
13024 >   Use char because int might match the return type of a GCC
13025 >   builtin and then its argument prototype would still apply.  */
13026 > #ifdef __cplusplus
13027 > extern "C"
13028 > #endif
13029 > char inet_ntoa ();
13030 > int
13031 > main ()
13032 > {
13033 > return inet_ntoa ();
13034 >  ;
13035 >  return 0;
13036 > }
13037 > _ACEOF
13038 > for ac_lib in '' nsl; do
13039 >  if test -z "$ac_lib"; then
13040 >    ac_res="none required"
13041 >  else
13042 >    ac_res=-l$ac_lib
13043 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13044 >  fi
13045 >  if ac_fn_c_try_link "$LINENO"; then :
13046 >  ac_cv_search_inet_ntoa=$ac_res
13047 > fi
13048 > rm -f core conftest.err conftest.$ac_objext \
13049 >    conftest$ac_exeext
13050 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13051 >  break
13052 > fi
13053 > done
13054 > if ${ac_cv_search_inet_ntoa+:} false; then :
13055 >
13056 > else
13057 >  ac_cv_search_inet_ntoa=no
13058 > fi
13059 > rm conftest.$ac_ext
13060 > LIBS=$ac_func_search_save_LIBS
13061 > fi
13062 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13063 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13064 > ac_res=$ac_cv_search_inet_ntoa
13065 > if test "$ac_res" != no; then :
13066 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13067 >
13068 > fi
13069 >
13070 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13071 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13072 > if ${ac_cv_search_inet_aton+:} false; then :
13073 >  $as_echo_n "(cached) " >&6
13074 > else
13075 >  ac_func_search_save_LIBS=$LIBS
13076 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077 > /* end confdefs.h.  */
13078 >
13079 > /* Override any GCC internal prototype to avoid an error.
13080 >   Use char because int might match the return type of a GCC
13081 >   builtin and then its argument prototype would still apply.  */
13082 > #ifdef __cplusplus
13083 > extern "C"
13084 > #endif
13085 > char inet_aton ();
13086 > int
13087 > main ()
13088 > {
13089 > return inet_aton ();
13090 >  ;
13091 >  return 0;
13092 > }
13093 > _ACEOF
13094 > for ac_lib in '' resolv; do
13095 >  if test -z "$ac_lib"; then
13096 >    ac_res="none required"
13097 >  else
13098 >    ac_res=-l$ac_lib
13099 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13100 >  fi
13101 >  if ac_fn_c_try_link "$LINENO"; then :
13102 >  ac_cv_search_inet_aton=$ac_res
13103 > fi
13104 > rm -f core conftest.err conftest.$ac_objext \
13105 >    conftest$ac_exeext
13106 >  if ${ac_cv_search_inet_aton+:} false; then :
13107 >  break
13108 > fi
13109 > done
13110 > if ${ac_cv_search_inet_aton+:} false; then :
13111 >
13112 > else
13113 >  ac_cv_search_inet_aton=no
13114 > fi
13115 > rm conftest.$ac_ext
13116 > LIBS=$ac_func_search_save_LIBS
13117 > fi
13118 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13119 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13120 > ac_res=$ac_cv_search_inet_aton
13121 > if test "$ac_res" != no; then :
13122 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13123 >
13124   fi
13125  
13126    for ac_func in inet_aton inet_ntop inet_pton
13127   do :
13128    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13129   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13130 < eval as_val=\$$as_ac_var
12231 <   if test "x$as_val" = x""yes; then :
13130 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13131    cat >>confdefs.h <<_ACEOF
13132   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13133   _ACEOF
# Line 12241 | Line 13140 | done
13140     #include <netdb.h>
13141  
13142   "
13143 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13143 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13144  
13145   cat >>confdefs.h <<_ACEOF
13146   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12254 | Line 13153 | ac_fn_c_check_type "$LINENO" "struct soc
13153     #include <netdb.h>
13154  
13155   "
13156 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13156 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13157  
13158   cat >>confdefs.h <<_ACEOF
13159   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12267 | Line 13166 | ac_fn_c_check_type "$LINENO" "struct add
13166     #include <netdb.h>
13167  
13168   "
13169 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13169 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13170  
13171   cat >>confdefs.h <<_ACEOF
13172   #define HAVE_STRUCT_ADDRINFO 1
# Line 12279 | Line 13178 | fi
13178    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13179    <sys/socket.h>
13180   "
13181 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13181 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13182  
13183   cat >>confdefs.h <<_ACEOF
13184   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12291 | Line 13190 | fi
13190  
13191  
13192    ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13193 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13193 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13194  
13195   cat >>confdefs.h <<_ACEOF
13196   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 12309 | Line 13208 | fi
13208   # Checks for typedefs, structures, and compiler characteristics.
13209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13210   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13211 < if test "${ac_cv_c_bigendian+set}" = set; then :
13211 > if ${ac_cv_c_bigendian+:} false; then :
13212    $as_echo_n "(cached) " >&6
13213   else
13214    ac_cv_c_bigendian=unknown
# Line 12527 | Line 13426 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13426  
13427       ;; #(
13428     *)
13429 <     as_fn_error "unknown endianness
13429 >     as_fn_error $? "unknown endianness
13430   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13431   esac
13432  
# Line 12540 | Line 13439 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13439   do :
13440    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13441   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13442 < eval as_val=\$$as_ac_var
12544 <   if test "x$as_val" = x""yes; then :
13442 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13443    cat >>confdefs.h <<_ACEOF
13444   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13445   _ACEOF
# Line 12570 | Line 13468 | do :
13468    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13469   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13470   "
13471 < eval as_val=\$$as_ac_Header
12574 <   if test "x$as_val" = x""yes; then :
13471 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13472    cat >>confdefs.h <<_ACEOF
13473   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13474   _ACEOF
# Line 12628 | Line 13525 | fi
13525  
13526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13527   $as_echo_n "checking for library containing crypt... " >&6; }
13528 < if test "${ac_cv_search_crypt+set}" = set; then :
13528 > if ${ac_cv_search_crypt+:} false; then :
13529    $as_echo_n "(cached) " >&6
13530   else
13531    ac_func_search_save_LIBS=$LIBS
# Line 12662 | Line 13559 | for ac_lib in '' crypt; do
13559   fi
13560   rm -f core conftest.err conftest.$ac_objext \
13561      conftest$ac_exeext
13562 <  if test "${ac_cv_search_crypt+set}" = set; then :
13562 >  if ${ac_cv_search_crypt+:} false; then :
13563    break
13564   fi
13565   done
13566 < if test "${ac_cv_search_crypt+set}" = set; then :
13566 > if ${ac_cv_search_crypt+:} false; then :
13567  
13568   else
13569    ac_cv_search_crypt=no
# Line 12702 | Line 13599 | fi
13599   if test "$zlib" = "yes"; then :
13600  
13601    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13602 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13602 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13603    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13604   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13605 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13605 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13606    $as_echo_n "(cached) " >&6
13607   else
13608    ac_check_lib_save_LIBS=$LIBS
# Line 12739 | Line 13636 | LIBS=$ac_check_lib_save_LIBS
13636   fi
13637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13638   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13639 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13639 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13640  
13641        LIBS="-lz $LIBS"
13642  
# Line 12777 | Line 13674 | fi
13674   if test "$libpcre" = "yes"; then :
13675  
13676    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13677 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13677 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13679   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13680 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13680 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13681    $as_echo_n "(cached) " >&6
13682   else
13683    ac_check_lib_save_LIBS=$LIBS
# Line 12814 | Line 13711 | LIBS=$ac_check_lib_save_LIBS
13711   fi
13712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13713   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13714 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13714 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13715  
13716        LIBS="-lpcre $LIBS"
13717  
# Line 12909 | Line 13806 | else
13806    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807   /* end confdefs.h.  */
13808  
13809 +
13810      #include <openssl/opensslv.h>
13811      #include <stdlib.h>
13812   int
13813   main ()
13814   {
13815 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13815 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13816    ;
13817    return 0;
13818   }
# Line 12935 | Line 13833 | $as_echo "found" >&6; }
13833  
13834      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13835   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13836 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13836 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13837    $as_echo_n "(cached) " >&6
13838   else
13839    ac_check_lib_save_LIBS=$LIBS
# Line 12969 | Line 13867 | LIBS=$ac_check_lib_save_LIBS
13867   fi
13868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13869   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13870 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13870 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13871    cat >>confdefs.h <<_ACEOF
13872   #define HAVE_LIBCRYPTO 1
13873   _ACEOF
# Line 12988 | Line 13886 | fi
13886   do :
13887    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13888   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13889 < eval as_val=\$$as_ac_var
12992 <   if test "x$as_val" = x""yes; then :
13889 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13890    cat >>confdefs.h <<_ACEOF
13891   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13892   _ACEOF
# Line 13211 | 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 13245 | Line 14142 | else
14142   #endif
14143   _syscall1(int, epoll_create, int, size)
14144   #endif
13248 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 13316 | 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
13327 < main () { return 0; } /* F_SETSIG defined */
13328 < #else
13329 < main () { return 1; } /* F_SETSIG not defined */
13330 < #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 13466 | 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 13481 | 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 13614 | Line 14519 | fi
14519   do :
14520    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14521   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14522 < eval as_val=\$$as_ac_Header
13618 <   if test "x$as_val" = x""yes; then :
14522 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14523    cat >>confdefs.h <<_ACEOF
14524   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14525   _ACEOF
# Line 13641 | Line 14545 | $as_echo "#define SYSLOG_USERS 1" >>conf
14545   $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14546   ;;
14547          yes) : ;;
14548 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14548 >        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14549        esac
14550      done
14551  
# Line 13736 | Line 14640 | _ACEOF
14640    test "$exec_prefix_NONE" && exec_prefix=NONE
14641  
14642  
14643 < ac_config_files="$ac_config_files Makefile etc/Makefile 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"
14643 > ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14644  
14645  
14646   cat >confcache <<\_ACEOF
# Line 13803 | Line 14707 | $as_echo "$as_me: WARNING: cache variabl
14707       :end' >>confcache
14708   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14709    if test -w "$cache_file"; then
14710 <    test "x$cache_file" != "x/dev/null" &&
14710 >    if test "x$cache_file" != "x/dev/null"; then
14711        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14712   $as_echo "$as_me: updating cache $cache_file" >&6;}
14713 <    cat confcache >$cache_file
14713 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14714 >        cat confcache >"$cache_file"
14715 >      else
14716 >        case $cache_file in #(
14717 >        */* | ?:*)
14718 >          mv -f confcache "$cache_file"$$ &&
14719 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14720 >        *)
14721 >          mv -f confcache "$cache_file" ;;
14722 >        esac
14723 >      fi
14724 >    fi
14725    else
14726      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14727   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13822 | Line 14737 | DEFS=-DHAVE_CONFIG_H
14737  
14738   ac_libobjs=
14739   ac_ltlibobjs=
14740 + U=
14741   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14742    # 1. Remove the extension, and $U if already installed.
14743    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13845 | Line 14761 | else
14761   fi
14762  
14763   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14764 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14764 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14765   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14766   fi
14767   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14768 <  as_fn_error "conditional \"AMDEP\" was never defined.
14768 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14769   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14770   fi
14771   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14772 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14772 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14773   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14774   fi
14775   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14776 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14776 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14777   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14778   fi
14779   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14780 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14780 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14781   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14782   fi
14783   LT_CONFIG_H=config.h
# Line 13883 | Line 14799 | LT_CONFIG_H=config.h
14799  
14800  
14801   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14802 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14802 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14803   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14804   fi
14805   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14806 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14806 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14807   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14808   fi
14809   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14810 <  as_fn_error "conditional \"EFNET\" was never defined.
14810 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14811   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14812   fi
14813  
14814 < : ${CONFIG_STATUS=./config.status}
14814 > : "${CONFIG_STATUS=./config.status}"
14815   ac_write_fail=0
14816   ac_clean_files_save=$ac_clean_files
14817   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13996 | Line 14912 | fi
14912   IFS=" ""        $as_nl"
14913  
14914   # Find who we are.  Look in the path if we contain no directory separator.
14915 + as_myself=
14916   case $0 in #((
14917    *[\\/]* ) as_myself=$0 ;;
14918    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14041 | Line 14958 | export LANGUAGE
14958   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14959  
14960  
14961 < # as_fn_error ERROR [LINENO LOG_FD]
14962 < # ---------------------------------
14961 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14962 > # ----------------------------------------
14963   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14964   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14965 < # script with status $?, using 1 if that was 0.
14965 > # script with STATUS, using 1 if that was 0.
14966   as_fn_error ()
14967   {
14968 <  as_status=$?; test $as_status -eq 0 && as_status=1
14969 <  if test "$3"; then
14970 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14971 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14968 >  as_status=$1; test $as_status -eq 0 && as_status=1
14969 >  if test "$4"; then
14970 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14971 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14972    fi
14973 <  $as_echo "$as_me: error: $1" >&2
14973 >  $as_echo "$as_me: error: $2" >&2
14974    as_fn_exit $as_status
14975   } # as_fn_error
14976  
# Line 14249 | Line 15166 | $as_echo X"$as_dir" |
15166        test -d "$as_dir" && break
15167      done
15168      test -z "$as_dirs" || eval "mkdir $as_dirs"
15169 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15169 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15170  
15171  
15172   } # as_fn_mkdir_p
# Line 14303 | Line 15220 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15220   # values after options handling.
15221   ac_log="
15222   This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15223 < generated by GNU Autoconf 2.65.  Invocation command line was
15223 > generated by GNU Autoconf 2.68.  Invocation command line was
15224  
15225    CONFIG_FILES    = $CONFIG_FILES
15226    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14369 | Line 15286 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15286   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15287   ac_cs_version="\\
15288   ircd-hybrid config.status 7.3-rc1
15289 < configured by $0, generated by GNU Autoconf 2.65,
15289 > configured by $0, generated by GNU Autoconf 2.68,
15290    with options \\"\$ac_cs_config\\"
15291  
15292 < Copyright (C) 2009 Free Software Foundation, Inc.
15292 > Copyright (C) 2010 Free Software Foundation, Inc.
15293   This config.status script is free software; the Free Software Foundation
15294   gives unlimited permission to copy, distribute and modify it."
15295  
# Line 14390 | Line 15307 | ac_need_defaults=:
15307   while test $# != 0
15308   do
15309    case $1 in
15310 <  --*=*)
15310 >  --*=?*)
15311      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15312      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15313      ac_shift=:
15314      ;;
15315 +  --*=)
15316 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15317 +    ac_optarg=
15318 +    ac_shift=:
15319 +    ;;
15320    *)
15321      ac_option=$1
15322      ac_optarg=$2
# Line 14416 | Line 15338 | do
15338      $ac_shift
15339      case $ac_optarg in
15340      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15341 +    '') as_fn_error $? "missing file argument" ;;
15342      esac
15343      as_fn_append CONFIG_FILES " '$ac_optarg'"
15344      ac_need_defaults=false;;
# Line 14428 | Line 15351 | do
15351      ac_need_defaults=false;;
15352    --he | --h)
15353      # Conflict between --help and --header
15354 <    as_fn_error "ambiguous option: \`$1'
15354 >    as_fn_error $? "ambiguous option: \`$1'
15355   Try \`$0 --help' for more information.";;
15356    --help | --hel | -h )
15357      $as_echo "$ac_cs_usage"; exit ;;
# Line 14437 | Line 15360 | Try \`$0 --help' for more information.";
15360      ac_cs_silent=: ;;
15361  
15362    # This is an error.
15363 <  -*) as_fn_error "unrecognized option: \`$1'
15363 >  -*) as_fn_error $? "unrecognized option: \`$1'
15364   Try \`$0 --help' for more information." ;;
15365  
15366    *) as_fn_append ac_config_targets " $1"
# Line 14491 | Line 15414 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15414   sed_quote_subst='$sed_quote_subst'
15415   double_quote_subst='$double_quote_subst'
15416   delay_variable_subst='$delay_variable_subst'
15417 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15418 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15419 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15420 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15421 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15422 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15423 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15424 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15425 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15426 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15427 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15428 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15429 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15430 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15431 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15432 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15433 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15434 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15435 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15436 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15437 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15438 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15439 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15440 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15441 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15442 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15443 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15444 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15445 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15446 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15447 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15448 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15449 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15450 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15451 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15452 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15453 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15454 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15455 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15456 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15457 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15458 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15459 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15460 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15461 < 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"`'
15462 < 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"`'
15463 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15464 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15465 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15466 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15467 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15468 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15469 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15470 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15471 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15472 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15473 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15474 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15475 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15476 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15477 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15478 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15479 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15480 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15481 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15482 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15483 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15484 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15485 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15486 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15487 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15488 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15489 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15490 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15491 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15492 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15493 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15494 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15495 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15496 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15497 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15498 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15499 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15500 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15501 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15502 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15503 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15504 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15505 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15506 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15507 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15508 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15509 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15510 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15511 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15512 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15513 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15514 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15515 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15516 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15517 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15518 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15519 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15520 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15521 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15522 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15523 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15524 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15525 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15526 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15527 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15528 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15529 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15530 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15531 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15532 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15533 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15534 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15417 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15418 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15419 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15420 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15421 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15422 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15423 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15424 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15425 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15426 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15427 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15428 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15429 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15430 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15431 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15432 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15433 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15434 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15435 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15436 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15437 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15438 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15439 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15440 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15441 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15442 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15443 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15444 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15445 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15446 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15447 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15448 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15449 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15450 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15451 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15452 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15453 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15454 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15455 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15456 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15457 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15458 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15459 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15460 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15461 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15462 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15463 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15464 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15465 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15466 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15467 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15468 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15469 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15470 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15471 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15472 > 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"`'
15473 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15474 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15475 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15476 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15477 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15478 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15479 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15480 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15481 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15482 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15483 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15484 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15485 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15486 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15487 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15488 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15489 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15490 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15491 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15492 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15493 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15494 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15495 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15496 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15497 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15498 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15499 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15500 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15501 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15502 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15503 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15504 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15505 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15506 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15507 > hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15508 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15509 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15510 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15511 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15512 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15513 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15514 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15515 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15516 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15517 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15518 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15519 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15520 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15521 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15522 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15523 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15524 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15525 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15526 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15527 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15528 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15529 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15530 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15531 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15532 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15533 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15534 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15535 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15536 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15537 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15538 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15539 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15540 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15541 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15542 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15543 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15544 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15545 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15546 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15547  
15548   LTCC='$LTCC'
15549   LTCFLAGS='$LTCFLAGS'
15550   compiler='$compiler_DEFAULT'
15551  
15552 + # A function that is used when there is no print builtin or printf.
15553 + func_fallback_echo ()
15554 + {
15555 +  eval 'cat <<_LTECHO_EOF
15556 + \$1
15557 + _LTECHO_EOF'
15558 + }
15559 +
15560   # Quote evaled strings.
15561 < for var in SED \
15561 > for var in SHELL \
15562 > ECHO \
15563 > SED \
15564   GREP \
15565   EGREP \
15566   FGREP \
# Line 14628 | Line 15573 | reload_flag \
15573   OBJDUMP \
15574   deplibs_check_method \
15575   file_magic_cmd \
15576 + file_magic_glob \
15577 + want_nocaseglob \
15578 + DLLTOOL \
15579 + sharedlib_from_linklib_cmd \
15580   AR \
15581   AR_FLAGS \
15582 + archiver_list_spec \
15583   STRIP \
15584   RANLIB \
15585   CC \
# Line 14639 | Line 15589 | lt_cv_sys_global_symbol_pipe \
15589   lt_cv_sys_global_symbol_to_cdecl \
15590   lt_cv_sys_global_symbol_to_c_name_address \
15591   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15592 < SHELL \
14643 < ECHO \
15592 > nm_file_list_spec \
15593   lt_prog_compiler_no_builtin_flag \
14645 lt_prog_compiler_wl \
15594   lt_prog_compiler_pic \
15595 + lt_prog_compiler_wl \
15596   lt_prog_compiler_static \
15597   lt_cv_prog_compiler_c_o \
15598   need_locks \
15599 + MANIFEST_TOOL \
15600   DSYMUTIL \
15601   NMEDIT \
15602   LIPO \
# Line 14662 | Line 15612 | no_undefined_flag \
15612   hardcode_libdir_flag_spec \
15613   hardcode_libdir_flag_spec_ld \
15614   hardcode_libdir_separator \
14665 fix_srcfile_path \
15615   exclude_expsyms \
15616   include_expsyms \
15617   file_list_spec \
# Line 14670 | Line 15619 | variables_saved_for_relink \
15619   libname_spec \
15620   library_names_spec \
15621   soname_spec \
15622 + install_override_mode \
15623   finish_eval \
15624   old_striplib \
15625   striplib; do
15626 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15626 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15627      *[\\\\\\\`\\"\\\$]*)
15628 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15628 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15629        ;;
15630      *)
15631        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 15647 | module_cmds \
15647   module_expsym_cmds \
15648   export_symbols_cmds \
15649   prelink_cmds \
15650 + postlink_cmds \
15651   postinstall_cmds \
15652   postuninstall_cmds \
15653   finish_cmds \
15654   sys_lib_search_path_spec \
15655   sys_lib_dlsearch_path_spec; do
15656 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15656 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15657      *[\\\\\\\`\\"\\\$]*)
15658 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15658 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15659        ;;
15660      *)
15661        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14712 | Line 15663 | sys_lib_dlsearch_path_spec; do
15663      esac
15664   done
15665  
14715 # Fix-up fallback echo if it was mangled by the above quoting rules.
14716 case \$lt_ECHO in
14717 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14718  ;;
14719 esac
14720
15666   ac_aux_dir='$ac_aux_dir'
15667   xsi_shell='$xsi_shell'
15668   lt_shell_append='$lt_shell_append'
# Line 14755 | Line 15700 | do
15700      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15701      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15702      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15703 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15704      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15705      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15706      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14764 | Line 15710 | do
15710      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15711      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15712  
15713 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15713 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15714    esac
15715   done
15716  
# Line 14787 | Line 15733 | fi
15733   # after its creation but before its name has been assigned to `$tmp'.
15734   $debug ||
15735   {
15736 <  tmp=
15736 >  tmp= ac_tmp=
15737    trap 'exit_status=$?
15738 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15738 >  : "${ac_tmp:=$tmp}"
15739 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15740   ' 0
15741    trap 'as_fn_exit 1' 1 2 13 15
15742   }
# Line 14797 | Line 15744 | $debug ||
15744  
15745   {
15746    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15747 <  test -n "$tmp" && test -d "$tmp"
15747 >  test -d "$tmp"
15748   }  ||
15749   {
15750    tmp=./conf$$-$RANDOM
15751    (umask 077 && mkdir "$tmp")
15752 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15752 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15753 > ac_tmp=$tmp
15754  
15755   # Set up the scripts for CONFIG_FILES section.
15756   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 15767 | if test "x$ac_cr" = x; then
15767   fi
15768   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15769   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15770 <  ac_cs_awk_cr='\r'
15770 >  ac_cs_awk_cr='\\r'
15771   else
15772    ac_cs_awk_cr=$ac_cr
15773   fi
15774  
15775 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15775 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15776   _ACEOF
15777  
15778  
# Line 14833 | Line 15781 | _ACEOF
15781    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15782    echo "_ACEOF"
15783   } >conf$$subs.sh ||
15784 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15785 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15784 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15785 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15786   ac_delim='%!_!# '
15787   for ac_last_try in false false false false false :; do
15788    . ./conf$$subs.sh ||
15789 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15789 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15790  
15791    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15792    if test $ac_delim_n = $ac_delim_num; then
15793      break
15794    elif $ac_last_try; then
15795 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15795 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15796    else
15797      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15798    fi
# Line 14852 | Line 15800 | done
15800   rm -f conf$$subs.sh
15801  
15802   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15803 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15803 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15804   _ACEOF
15805   sed -n '
15806   h
# Line 14900 | Line 15848 | t delim
15848   rm -f conf$$subs.awk
15849   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15850   _ACAWK
15851 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15851 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15852    for (key in S) S_is_set[key] = 1
15853    FS = ""
15854  
# Line 14932 | Line 15880 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15880    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15881   else
15882    cat
15883 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15884 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15883 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15884 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15885   _ACEOF
15886  
15887 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15888 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15887 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15888 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15889   # trailing colons and then remove the whole line if VPATH becomes empty
15890   # (actually we leave an empty line to preserve line numbers).
15891   if test "x$srcdir" = x.; then
15892 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15893 < s/:*\$(srcdir):*/:/
15894 < s/:*\${srcdir}:*/:/
15895 < s/:*@srcdir@:*/:/
15896 < s/^\([^=]*=[     ]*\):*/\1/
15892 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15893 > h
15894 > s///
15895 > s/^/:/
15896 > s/[      ]*$/:/
15897 > s/:\$(srcdir):/:/g
15898 > s/:\${srcdir}:/:/g
15899 > s/:@srcdir@:/:/g
15900 > s/^:*//
15901   s/:*$//
15902 + x
15903 + s/\(=[   ]*\).*/\1/
15904 + G
15905 + s/\n//
15906   s/^[^=]*=[       ]*$//
15907   }'
15908   fi
# Line 14958 | Line 15914 | fi # test -n "$CONFIG_FILES"
15914   # No need to generate them if there are no CONFIG_HEADERS.
15915   # This happens for instance with `./config.status Makefile'.
15916   if test -n "$CONFIG_HEADERS"; then
15917 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15917 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15918   BEGIN {
15919   _ACEOF
15920  
# Line 14970 | Line 15926 | _ACEOF
15926   # handling of long lines.
15927   ac_delim='%!_!# '
15928   for ac_last_try in false false :; do
15929 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15930 <  if test -z "$ac_t"; then
15929 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15930 >  if test -z "$ac_tt"; then
15931      break
15932    elif $ac_last_try; then
15933 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15933 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15934    else
15935      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15936    fi
# Line 15059 | Line 16015 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16015   _ACAWK
16016   _ACEOF
16017   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16018 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16018 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16019   fi # test -n "$CONFIG_HEADERS"
16020  
16021  
# Line 15072 | Line 16028 | do
16028    esac
16029    case $ac_mode$ac_tag in
16030    :[FHL]*:*);;
16031 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16031 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16032    :[FH]-) ac_tag=-:-;;
16033    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16034    esac
# Line 15091 | Line 16047 | do
16047      for ac_f
16048      do
16049        case $ac_f in
16050 <      -) ac_f="$tmp/stdin";;
16050 >      -) ac_f="$ac_tmp/stdin";;
16051        *) # Look for the file first in the build tree, then in the source tree
16052           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16053           # because $ac_f cannot contain `:'.
# Line 15100 | Line 16056 | do
16056             [\\/$]*) false;;
16057             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16058             esac ||
16059 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16059 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16060        esac
16061        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16062        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 16082 | $as_echo "$as_me: creating $ac_file" >&6
16082      esac
16083  
16084      case $ac_tag in
16085 <    *:-:* | *:-) cat >"$tmp/stdin" \
16086 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16085 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16086 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16087      esac
16088      ;;
16089    esac
# Line 15263 | Line 16219 | s&@INSTALL@&$ac_INSTALL&;t t
16219   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16220   $ac_datarootdir_hack
16221   "
16222 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16223 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16222 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16223 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16224  
16225   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16226 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16227 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16226 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16227 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16228 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16229    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16230 < which seems to be undefined.  Please make sure it is defined." >&5
16230 > which seems to be undefined.  Please make sure it is defined" >&5
16231   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16232 < which seems to be undefined.  Please make sure it is defined." >&2;}
16232 > which seems to be undefined.  Please make sure it is defined" >&2;}
16233  
16234 <  rm -f "$tmp/stdin"
16234 >  rm -f "$ac_tmp/stdin"
16235    case $ac_file in
16236 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16237 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16236 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16237 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16238    esac \
16239 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16239 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16240   ;;
16241    :H)
16242    #
# Line 15288 | Line 16245 | which seems to be undefined.  Please mak
16245    if test x"$ac_file" != x-; then
16246      {
16247        $as_echo "/* $configure_input  */" \
16248 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16249 <    } >"$tmp/config.h" \
16250 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16251 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16248 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16249 >    } >"$ac_tmp/config.h" \
16250 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16251 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16252        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16253   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16254      else
16255        rm -f "$ac_file"
16256 <      mv "$tmp/config.h" "$ac_file" \
16257 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16256 >      mv "$ac_tmp/config.h" "$ac_file" \
16257 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16258      fi
16259    else
16260      $as_echo "/* $configure_input  */" \
16261 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16262 <      || as_fn_error "could not create -" "$LINENO" 5
16261 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16262 >      || as_fn_error $? "could not create -" "$LINENO" 5
16263    fi
16264   # Compute "$ac_file"'s index in $config_headers.
16265   _am_arg="$ac_file"
# Line 15463 | Line 16420 | $as_echo X"$file" |
16420   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16421   #
16422   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16423 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16423 > #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16424 > #                 Inc.
16425   #   Written by Gordon Matzigkeit, 1996
16426   #
16427   #   This file is part of GNU Libtool.
# Line 15511 | Line 16469 | pic_mode=$pic_mode
16469   # Whether or not to optimize for fast installation.
16470   fast_install=$enable_fast_install
16471  
16472 + # Shell to use when invoking shell scripts.
16473 + SHELL=$lt_SHELL
16474 +
16475 + # An echo program that protects backslashes.
16476 + ECHO=$lt_ECHO
16477 +
16478   # The host system.
16479   host_alias=$host_alias
16480   host=$host
# Line 15560 | Line 16524 | SP2NL=$lt_lt_SP2NL
16524   # turn newlines into spaces.
16525   NL2SP=$lt_lt_NL2SP
16526  
16527 < # How to create reloadable object files.
16528 < reload_flag=$lt_reload_flag
16529 < reload_cmds=$lt_reload_cmds
16527 > # convert \$build file names to \$host format.
16528 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16529 >
16530 > # convert \$build files to toolchain format.
16531 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16532  
16533   # An object symbol dumper.
16534   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 16536 | OBJDUMP=$lt_OBJDUMP
16536   # Method to check whether dependent libraries are shared objects.
16537   deplibs_check_method=$lt_deplibs_check_method
16538  
16539 < # Command to use when deplibs_check_method == "file_magic".
16539 > # Command to use when deplibs_check_method = "file_magic".
16540   file_magic_cmd=$lt_file_magic_cmd
16541  
16542 + # How to find potential files when deplibs_check_method = "file_magic".
16543 + file_magic_glob=$lt_file_magic_glob
16544 +
16545 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16546 + want_nocaseglob=$lt_want_nocaseglob
16547 +
16548 + # DLL creation program.
16549 + DLLTOOL=$lt_DLLTOOL
16550 +
16551 + # Command to associate shared and link libraries.
16552 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16553 +
16554   # The archiver.
16555   AR=$lt_AR
16556 +
16557 + # Flags to create an archive.
16558   AR_FLAGS=$lt_AR_FLAGS
16559  
16560 + # How to feed a file listing to the archiver.
16561 + archiver_list_spec=$lt_archiver_list_spec
16562 +
16563   # A symbol stripping program.
16564   STRIP=$lt_STRIP
16565  
# Line 15585 | Line 16568 | RANLIB=$lt_RANLIB
16568   old_postinstall_cmds=$lt_old_postinstall_cmds
16569   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16570  
16571 + # Whether to use a lock for old archive extraction.
16572 + lock_old_archive_extraction=$lock_old_archive_extraction
16573 +
16574   # A C compiler.
16575   LTCC=$lt_CC
16576  
# Line 15603 | Line 16589 | global_symbol_to_c_name_address=$lt_lt_c
16589   # Transform the output of nm in a C name address pair when lib prefix is needed.
16590   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16591  
16592 < # The name of the directory that contains temporary libtool files.
16593 < objdir=$objdir
16592 > # Specify filename containing input files for \$NM.
16593 > nm_file_list_spec=$lt_nm_file_list_spec
16594  
16595 < # Shell to use when invoking shell scripts.
16596 < SHELL=$lt_SHELL
16595 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16596 > lt_sysroot=$lt_sysroot
16597  
16598 < # An echo program that does not interpret backslashes.
16599 < ECHO=$lt_ECHO
16598 > # The name of the directory that contains temporary libtool files.
16599 > objdir=$objdir
16600  
16601   # Used to examine libraries when file_magic_cmd begins with "file".
16602   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 16604 | MAGIC_CMD=$MAGIC_CMD
16604   # Must we lock files when doing compilation?
16605   need_locks=$lt_need_locks
16606  
16607 + # Manifest tool.
16608 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16609 +
16610   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16611   DSYMUTIL=$lt_DSYMUTIL
16612  
# Line 15674 | Line 16663 | library_names_spec=$lt_library_names_spe
16663   # The coded name of the library, if different from the real name.
16664   soname_spec=$lt_soname_spec
16665  
16666 + # Permission mode override for installation of shared libraries.
16667 + install_override_mode=$lt_install_override_mode
16668 +
16669   # Command to use after installation of a shared archive.
16670   postinstall_cmds=$lt_postinstall_cmds
16671  
# Line 15713 | Line 16705 | striplib=$lt_striplib
16705   # The linker used to build libraries.
16706   LD=$lt_LD
16707  
16708 + # How to create reloadable object files.
16709 + reload_flag=$lt_reload_flag
16710 + reload_cmds=$lt_reload_cmds
16711 +
16712   # Commands used to build an old-style archive.
16713   old_archive_cmds=$lt_old_archive_cmds
16714  
# Line 15725 | Line 16721 | with_gcc=$GCC
16721   # Compiler flag to turn off builtin functions.
16722   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16723  
15728 # How to pass a linker flag through the compiler.
15729 wl=$lt_lt_prog_compiler_wl
15730
16724   # Additional compiler flags for building library objects.
16725   pic_flag=$lt_lt_prog_compiler_pic
16726  
16727 + # How to pass a linker flag through the compiler.
16728 + wl=$lt_lt_prog_compiler_wl
16729 +
16730   # Compiler flag to prevent dynamic linking.
16731   link_static_flag=$lt_lt_prog_compiler_static
16732  
# Line 15817 | Line 16813 | inherit_rpath=$inherit_rpath
16813   # Whether libtool must link a program against all its dependency libraries.
16814   link_all_deplibs=$link_all_deplibs
16815  
15820 # Fix the shell variable \$srcfile for the compiler.
15821 fix_srcfile_path=$lt_fix_srcfile_path
15822
16816   # Set to "yes" if exported symbols are required.
16817   always_export_symbols=$always_export_symbols
16818  
# Line 15835 | Line 16828 | include_expsyms=$lt_include_expsyms
16828   # Commands necessary for linking programs (against libraries) with templates.
16829   prelink_cmds=$lt_prelink_cmds
16830  
16831 + # Commands necessary for finishing linking programs.
16832 + postlink_cmds=$lt_postlink_cmds
16833 +
16834   # Specify filename containing input files.
16835   file_list_spec=$lt_file_list_spec
16836  
# Line 15867 | Line 16863 | ltmain="$ac_aux_dir/ltmain.sh"
16863    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16864    # text mode, it properly converts lines to CR/LF.  This bash problem
16865    # is reportedly fixed, but why not run on old versions too?
16866 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16867 <    || (rm -f "$cfgfile"; exit 1)
15872 <
15873 <  case $xsi_shell in
15874 <  yes)
15875 <    cat << \_LT_EOF >> "$cfgfile"
15876 <
15877 < # func_dirname file append nondir_replacement
15878 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15879 < # otherwise set result to NONDIR_REPLACEMENT.
15880 < func_dirname ()
15881 < {
15882 <  case ${1} in
15883 <    */*) func_dirname_result="${1%/*}${2}" ;;
15884 <    *  ) func_dirname_result="${3}" ;;
15885 <  esac
15886 < }
15887 <
15888 < # func_basename file
15889 < func_basename ()
15890 < {
15891 <  func_basename_result="${1##*/}"
15892 < }
15893 <
15894 < # func_dirname_and_basename file append nondir_replacement
15895 < # perform func_basename and func_dirname in a single function
15896 < # call:
15897 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15898 < #             add APPEND to the result, otherwise set result
15899 < #             to NONDIR_REPLACEMENT.
15900 < #             value returned in "$func_dirname_result"
15901 < #   basename: Compute filename of FILE.
15902 < #             value retuned in "$func_basename_result"
15903 < # Implementation must be kept synchronized with func_dirname
15904 < # and func_basename. For efficiency, we do not delegate to
15905 < # those functions but instead duplicate the functionality here.
15906 < func_dirname_and_basename ()
15907 < {
15908 <  case ${1} in
15909 <    */*) func_dirname_result="${1%/*}${2}" ;;
15910 <    *  ) func_dirname_result="${3}" ;;
15911 <  esac
15912 <  func_basename_result="${1##*/}"
15913 < }
15914 <
15915 < # func_stripname prefix suffix name
15916 < # strip PREFIX and SUFFIX off of NAME.
15917 < # PREFIX and SUFFIX must not contain globbing or regex special
15918 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15919 < # dot (in which case that matches only a dot).
15920 < func_stripname ()
15921 < {
15922 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15923 <  # positional parameters, so assign one to ordinary parameter first.
15924 <  func_stripname_result=${3}
15925 <  func_stripname_result=${func_stripname_result#"${1}"}
15926 <  func_stripname_result=${func_stripname_result%"${2}"}
15927 < }
15928 <
15929 < # func_opt_split
15930 < func_opt_split ()
15931 < {
15932 <  func_opt_split_opt=${1%%=*}
15933 <  func_opt_split_arg=${1#*=}
15934 < }
15935 <
15936 < # func_lo2o object
15937 < func_lo2o ()
15938 < {
15939 <  case ${1} in
15940 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15941 <    *)    func_lo2o_result=${1} ;;
15942 <  esac
15943 < }
15944 <
15945 < # func_xform libobj-or-source
15946 < func_xform ()
15947 < {
15948 <  func_xform_result=${1%.*}.lo
15949 < }
15950 <
15951 < # func_arith arithmetic-term...
15952 < func_arith ()
15953 < {
15954 <  func_arith_result=$(( $* ))
15955 < }
15956 <
15957 < # func_len string
15958 < # STRING may not start with a hyphen.
15959 < func_len ()
15960 < {
15961 <  func_len_result=${#1}
15962 < }
15963 <
15964 < _LT_EOF
15965 <    ;;
15966 <  *) # Bourne compatible functions.
15967 <    cat << \_LT_EOF >> "$cfgfile"
15968 <
15969 < # func_dirname file append nondir_replacement
15970 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15971 < # otherwise set result to NONDIR_REPLACEMENT.
15972 < func_dirname ()
15973 < {
15974 <  # Extract subdirectory from the argument.
15975 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15976 <  if test "X$func_dirname_result" = "X${1}"; then
15977 <    func_dirname_result="${3}"
15978 <  else
15979 <    func_dirname_result="$func_dirname_result${2}"
15980 <  fi
15981 < }
15982 <
15983 < # func_basename file
15984 < func_basename ()
15985 < {
15986 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15987 < }
15988 <
15989 <
15990 < # func_stripname prefix suffix name
15991 < # strip PREFIX and SUFFIX off of NAME.
15992 < # PREFIX and SUFFIX must not contain globbing or regex special
15993 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15994 < # dot (in which case that matches only a dot).
15995 < # func_strip_suffix prefix name
15996 < func_stripname ()
15997 < {
15998 <  case ${2} in
15999 <    .*) func_stripname_result=`$ECHO "X${3}" \
16000 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16001 <    *)  func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16003 <  esac
16004 < }
16005 <
16006 < # sed scripts:
16007 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16008 < my_sed_long_arg='1s/^-[^=]*=//'
16009 <
16010 < # func_opt_split
16011 < func_opt_split ()
16012 < {
16013 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16014 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16015 < }
16016 <
16017 < # func_lo2o object
16018 < func_lo2o ()
16019 < {
16020 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16021 < }
16022 <
16023 < # func_xform libobj-or-source
16024 < func_xform ()
16025 < {
16026 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16027 < }
16028 <
16029 < # func_arith arithmetic-term...
16030 < func_arith ()
16031 < {
16032 <  func_arith_result=`expr "$@"`
16033 < }
16034 <
16035 < # func_len string
16036 < # STRING may not start with a hyphen.
16037 < func_len ()
16038 < {
16039 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16040 < }
16041 <
16042 < _LT_EOF
16043 < esac
16044 <
16045 < case $lt_shell_append in
16046 <  yes)
16047 <    cat << \_LT_EOF >> "$cfgfile"
16048 <
16049 < # func_append var value
16050 < # Append VALUE to the end of shell variable VAR.
16051 < func_append ()
16052 < {
16053 <  eval "$1+=\$2"
16054 < }
16055 < _LT_EOF
16056 <    ;;
16057 <  *)
16058 <    cat << \_LT_EOF >> "$cfgfile"
16059 <
16060 < # func_append var value
16061 < # Append VALUE to the end of shell variable VAR.
16062 < func_append ()
16063 < {
16064 <  eval "$1=\$$1\$2"
16065 < }
16066 <
16067 < _LT_EOF
16068 <    ;;
16069 <  esac
16866 >  sed '$q' "$ltmain" >> "$cfgfile" \
16867 >     || (rm -f "$cfgfile"; exit 1)
16868  
16869 +  if test x"$xsi_shell" = xyes; then
16870 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16871 + func_dirname ()\
16872 + {\
16873 + \    case ${1} in\
16874 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16875 + \      *  ) func_dirname_result="${3}" ;;\
16876 + \    esac\
16877 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16878 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16879 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16880 + test 0 -eq $? || _lt_function_replace_fail=:
16881 +
16882 +
16883 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16884 + func_basename ()\
16885 + {\
16886 + \    func_basename_result="${1##*/}"\
16887 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16888 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16889 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16890 + test 0 -eq $? || _lt_function_replace_fail=:
16891 +
16892 +
16893 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16894 + func_dirname_and_basename ()\
16895 + {\
16896 + \    case ${1} in\
16897 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16898 + \      *  ) func_dirname_result="${3}" ;;\
16899 + \    esac\
16900 + \    func_basename_result="${1##*/}"\
16901 + } # Extended-shell func_dirname_and_basename 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_stripname ()$/,/^} # func_stripname /c\
16908 + func_stripname ()\
16909 + {\
16910 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16911 + \    # positional parameters, so assign one to ordinary parameter first.\
16912 + \    func_stripname_result=${3}\
16913 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16914 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16915 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16916 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16917 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16918 + test 0 -eq $? || _lt_function_replace_fail=:
16919 +
16920 +
16921 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16922 + func_split_long_opt ()\
16923 + {\
16924 + \    func_split_long_opt_name=${1%%=*}\
16925 + \    func_split_long_opt_arg=${1#*=}\
16926 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16927 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16928 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16929 + test 0 -eq $? || _lt_function_replace_fail=:
16930 +
16931 +
16932 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16933 + func_split_short_opt ()\
16934 + {\
16935 + \    func_split_short_opt_arg=${1#??}\
16936 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16937 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16938 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16939 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16940 + test 0 -eq $? || _lt_function_replace_fail=:
16941 +
16942 +
16943 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16944 + func_lo2o ()\
16945 + {\
16946 + \    case ${1} in\
16947 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16948 + \      *)    func_lo2o_result=${1} ;;\
16949 + \    esac\
16950 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16951 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16952 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16953 + test 0 -eq $? || _lt_function_replace_fail=:
16954 +
16955 +
16956 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16957 + func_xform ()\
16958 + {\
16959 +    func_xform_result=${1%.*}.lo\
16960 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16961 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16962 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16963 + test 0 -eq $? || _lt_function_replace_fail=:
16964 +
16965 +
16966 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16967 + func_arith ()\
16968 + {\
16969 +    func_arith_result=$(( $* ))\
16970 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16971 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16972 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16973 + test 0 -eq $? || _lt_function_replace_fail=:
16974 +
16975 +
16976 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16977 + func_len ()\
16978 + {\
16979 +    func_len_result=${#1}\
16980 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16981 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16982 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16983 + test 0 -eq $? || _lt_function_replace_fail=:
16984 +
16985 + fi
16986 +
16987 + if test x"$lt_shell_append" = xyes; then
16988 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16989 + func_append ()\
16990 + {\
16991 +    eval "${1}+=\\${2}"\
16992 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16993 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16994 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 + test 0 -eq $? || _lt_function_replace_fail=:
16996 +
16997 +
16998 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16999 + func_append_quoted ()\
17000 + {\
17001 + \    func_quote_for_eval "${2}"\
17002 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17003 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17004 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17005 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17006 + test 0 -eq $? || _lt_function_replace_fail=:
17007 +
17008 +
17009 +  # Save a `func_append' function call where possible by direct use of '+='
17010 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17011 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17012 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17013 +  test 0 -eq $? || _lt_function_replace_fail=:
17014 + else
17015 +  # Save a `func_append' function call even when '+=' is not available
17016 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17017 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17018 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17019 +  test 0 -eq $? || _lt_function_replace_fail=:
17020 + fi
17021 +
17022 + if test x"$_lt_function_replace_fail" = x":"; then
17023 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17024 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17025 + fi
17026  
16072  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073    || (rm -f "$cfgfile"; exit 1)
17027  
17028 <  mv -f "$cfgfile" "$ofile" ||
17028 >   mv -f "$cfgfile" "$ofile" ||
17029      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17030    chmod +x "$ofile"
17031  
# Line 16087 | Line 17040 | _ACEOF
17040   ac_clean_files=$ac_clean_files_save
17041  
17042   test $ac_write_fail = 0 ||
17043 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17043 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17044  
17045  
17046   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 17061 | if test "$no_create" != yes; then
17061    exec 5>>config.log
17062    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17063    # would make configure fail if this is the last instruction.
17064 <  $ac_cs_success || as_fn_exit $?
16112 < fi
16113 <
16114 < #
16115 < # CONFIG_SUBDIRS section.
16116 < #
16117 < if test "$no_recursion" != yes; then
16118 <
16119 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120 <  # so they do not pile up.
16121 <  ac_sub_configure_args=
16122 <  ac_prev=
16123 <  eval "set x $ac_configure_args"
16124 <  shift
16125 <  for ac_arg
16126 <  do
16127 <    if test -n "$ac_prev"; then
16128 <      ac_prev=
16129 <      continue
16130 <    fi
16131 <    case $ac_arg in
16132 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134 <      ac_prev=cache_file ;;
16135 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137 <    | --c=*)
16138 <      ;;
16139 <    --config-cache | -C)
16140 <      ;;
16141 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142 <      ac_prev=srcdir ;;
16143 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144 <      ;;
16145 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146 <      ac_prev=prefix ;;
16147 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148 <      ;;
16149 <    --disable-option-checking)
16150 <      ;;
16151 <    *)
16152 <      case $ac_arg in
16153 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 <      esac
16155 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156 <    esac
16157 <  done
16158 <
16159 <  # Always prepend --prefix to ensure using the same prefix
16160 <  # in subdir configurations.
16161 <  ac_arg="--prefix=$prefix"
16162 <  case $ac_arg in
16163 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164 <  esac
16165 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166 <
16167 <  # Pass --silent
16168 <  if test "$silent" = yes; then
16169 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170 <  fi
16171 <
16172 <  # Always prepend --disable-option-checking to silence warnings, since
16173 <  # different subdirs can have different --enable and --with options.
16174 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175 <
16176 <  ac_popdir=`pwd`
16177 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178 <
16179 <    # Do not complain, so a configure script can configure whichever
16180 <    # parts of a large source tree are present.
16181 <    test -d "$srcdir/$ac_dir" || continue
16182 <
16183 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185 <    $as_echo "$ac_msg" >&6
16186 <    as_dir="$ac_dir"; as_fn_mkdir_p
16187 <    ac_builddir=.
16188 <
16189 < case "$ac_dir" in
16190 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 < *)
16192 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193 <  # A ".." for each directory in $ac_dir_suffix.
16194 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195 <  case $ac_top_builddir_sub in
16196 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198 <  esac ;;
16199 < esac
16200 < ac_abs_top_builddir=$ac_pwd
16201 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 < # for backward compatibility:
16203 < ac_top_builddir=$ac_top_build_prefix
16204 <
16205 < case $srcdir in
16206 <  .)  # We are building in place.
16207 <    ac_srcdir=.
16208 <    ac_top_srcdir=$ac_top_builddir_sub
16209 <    ac_abs_top_srcdir=$ac_pwd ;;
16210 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16211 <    ac_srcdir=$srcdir$ac_dir_suffix;
16212 <    ac_top_srcdir=$srcdir
16213 <    ac_abs_top_srcdir=$srcdir ;;
16214 <  *) # Relative name.
16215 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 < esac
16219 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220 <
16221 <
16222 <    cd "$ac_dir"
16223 <
16224 <    # Check for guested configure; otherwise get Cygnus style configure.
16225 <    if test -f "$ac_srcdir/configure.gnu"; then
16226 <      ac_sub_configure=$ac_srcdir/configure.gnu
16227 <    elif test -f "$ac_srcdir/configure"; then
16228 <      ac_sub_configure=$ac_srcdir/configure
16229 <    elif test -f "$ac_srcdir/configure.in"; then
16230 <      # This should be Cygnus configure.
16231 <      ac_sub_configure=$ac_aux_dir/configure
16232 <    else
16233 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235 <      ac_sub_configure=
16236 <    fi
16237 <
16238 <    # The recursion is here.
16239 <    if test -n "$ac_sub_configure"; then
16240 <      # Make the cache file name correct relative to the subdirectory.
16241 <      case $cache_file in
16242 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243 <      *) # Relative name.
16244 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245 <      esac
16246 <
16247 <      { $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
16248 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249 <      # The eval makes quoting arguments work.
16250 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253 <    fi
16254 <
16255 <    cd "$ac_popdir"
16256 <  done
17064 >  $ac_cs_success || as_fn_exit 1
17065   fi
17066   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17067    { $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)