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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1072 by michael, Wed Feb 17 22:58:23 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1257 by michael, Sun Jan 15 06:28:46 2012 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 1245 2011-09-30 14:58:29Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 > # Foundation, Inc.
12   #
13   #
14   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 92 | fi
92   IFS=" ""        $as_nl"
93  
94   # Find who we are.  Look in the path if we contain no directory separator.
95 + as_myself=
96   case $0 in #((
97    *[\\/]* ) as_myself=$0 ;;
98    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 174 | Line 175 | test x\$exitcode = x0 || exit 1"
175    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 +
179 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 +    PATH=/empty FPATH=/empty; export PATH FPATH
184 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
186   test \$(( 1 + 1 )) = 2 || exit 1"
187    if (eval "$as_required") 2>/dev/null; then :
188    as_have_required=yes
# Line 217 | Line 226 | IFS=$as_save_IFS
226    # We cannot yet assume a decent shell, so we have to provide a
227          # neutralization value for shells without unset; and this also
228          # works around shells that cannot unset nonexistent variables.
229 +        # Preserve -v and -x to the replacement shell.
230          BASH_ENV=/dev/null
231          ENV=/dev/null
232          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233          export CONFIG_SHELL
234 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 >        case $- in # ((((
235 >          *v*x* | *x*v* ) as_opts=-vx ;;
236 >          *v* ) as_opts=-v ;;
237 >          *x* ) as_opts=-x ;;
238 >          * ) as_opts= ;;
239 >        esac
240 >        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
241   fi
242  
243      if test x$as_have_required = xno; then :
# Line 320 | Line 336 | $as_echo X"$as_dir" |
336        test -d "$as_dir" && break
337      done
338      test -z "$as_dirs" || eval "mkdir $as_dirs"
339 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
339 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340  
341  
342   } # as_fn_mkdir_p
# Line 360 | Line 376 | else
376   fi # as_fn_arith
377  
378  
379 < # as_fn_error ERROR [LINENO LOG_FD]
380 < # ---------------------------------
379 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 > # ----------------------------------------
381   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 < # script with status $?, using 1 if that was 0.
383 > # script with STATUS, using 1 if that was 0.
384   as_fn_error ()
385   {
386 <  as_status=$?; test $as_status -eq 0 && as_status=1
387 <  if test "$3"; then
388 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
386 >  as_status=$1; test $as_status -eq 0 && as_status=1
387 >  if test "$4"; then
388 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390    fi
391 <  $as_echo "$as_me: error: $1" >&2
391 >  $as_echo "$as_me: error: $2" >&2
392    as_fn_exit $as_status
393   } # as_fn_error
394  
# Line 529 | Line 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
545   # Sed expression to map a string onto a valid variable name.
546   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547  
548 + lt_ltdl_dir='libltdl'
549  
533
534 # Check that we are running under the correct shell.
550   SHELL=${CONFIG_SHELL-/bin/sh}
551  
537 case X$lt_ECHO in
538 X*--fallback-echo)
539  # Remove one level of quotation (which was required for Make).
540  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541  ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546  # Discard the --no-reexec flag, and continue.
547  shift
548 elif test "X$1" = X--fallback-echo; then
549  # Avoid inline document here, it may be left over
550  :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552  # Yippee, $ECHO works!
553  :
554 else
555  # Restart under the correct shell.
556  exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560  # used as fallback echo
561  shift
562  cat <<_LT_EOF
563 $*
564 _LT_EOF
565  exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573  if test "X${echo_test_string+set}" != Xset; then
574    # find a string as large as possible, as long as the shell can cope with it
575    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579      then
580        break
581      fi
582    done
583  fi
584
585  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587     test "X$echo_testing_string" = "X$echo_test_string"; then
588    :
589  else
590    # The Solaris, AIX, and Digital Unix default echo programs unquote
591    # backslashes.  This makes it impossible to quote backslashes using
592    #   echo "$something" | sed 's/\\/\\\\/g'
593    #
594    # So, first we look for a working echo in the user's PATH.
595
596    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597    for dir in $PATH /usr/ucb; do
598      IFS="$lt_save_ifs"
599      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602         test "X$echo_testing_string" = "X$echo_test_string"; then
603        ECHO="$dir/echo"
604        break
605      fi
606    done
607    IFS="$lt_save_ifs"
608
609    if test "X$ECHO" = Xecho; then
610      # We didn't find a better echo, so look for alternatives.
611      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613         test "X$echo_testing_string" = "X$echo_test_string"; then
614        # This shell has a builtin print -r that does the trick.
615        ECHO='print -r'
616      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617           test "X$CONFIG_SHELL" != X/bin/ksh; then
618        # If we have ksh, try running configure again with it.
619        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620        export ORIGINAL_CONFIG_SHELL
621        CONFIG_SHELL=/bin/ksh
622        export CONFIG_SHELL
623        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624      else
625        # Try using printf.
626        ECHO='printf %s\n'
627        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629           test "X$echo_testing_string" = "X$echo_test_string"; then
630          # Cool, printf works
631          :
632        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633             test "X$echo_testing_string" = 'X\t' &&
634             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635             test "X$echo_testing_string" = "X$echo_test_string"; then
636          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637          export CONFIG_SHELL
638          SHELL="$CONFIG_SHELL"
639          export SHELL
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642             test "X$echo_testing_string" = 'X\t' &&
643             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644             test "X$echo_testing_string" = "X$echo_test_string"; then
645          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646        else
647          # maybe with a smaller string...
648          prev=:
649
650          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652            then
653              break
654            fi
655            prev="$cmd"
656          done
657
658          if test "$prev" != 'sed 50q "$0"'; then
659            echo_test_string=`eval $prev`
660            export echo_test_string
661            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662          else
663            # Oops.  We lost completely, so just stick with echo.
664            ECHO=echo
665          fi
666        fi
667      fi
668    fi
669  fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 lt_ltdl_dir='libltdl'
683
684 lt_dlopen_dir="$lt_ltdl_dir"
552  
553   test -n "$DJDIR" || exec 7<&0 </dev/null
554   exec 6>&1
555  
556   # Name of the host.
557 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558   # so uname gets run too.
559   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560  
# Line 706 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.3-rc1'
577 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
# Line 748 | Line 615 | ac_includes_default="\
615   # include <unistd.h>
616   #endif"
617  
751 enable_option_checking=no
618   ac_func_list=
619   ac_header_list=
620   ac_subst_vars='ltdl_LTLIBOBJS
# Line 770 | Line 636 | ENABLE_PCRE_FALSE
636   ENABLE_PCRE_TRUE
637   LTDLOPEN
638   LT_CONFIG_H
773 subdirs
639   CONVENIENCE_LTDL_FALSE
640   CONVENIENCE_LTDL_TRUE
641   INSTALL_LTDL_FALSE
# Line 793 | Line 658 | OTOOL
658   LIPO
659   NMEDIT
660   DSYMUTIL
661 < lt_ECHO
661 > MANIFEST_TOOL
662   RANLIB
663 + ac_ct_AR
664   AR
665 + DLLTOOL
666   OBJDUMP
667   LN_S
668   NM
# Line 823 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 910 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
# Line 948 | Line 817 | CPPFLAGS
817   YACC
818   YFLAGS
819   CPP'
820 < ac_subdirs_all='libltdl'
820 >
821  
822   # Initialize some variables set by options.
823   ac_init_help=
# Line 1010 | Line 879 | do
879    fi
880  
881    case $ac_option in
882 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 <  *)    ac_optarg=yes ;;
882 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 >  *=)   ac_optarg= ;;
884 >  *)    ac_optarg=yes ;;
885    esac
886  
887    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 926 | do
926      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
927      # Reject names that are not valid shell variable names.
928      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929 <      as_fn_error "invalid feature name: $ac_useropt"
929 >      as_fn_error $? "invalid feature name: $ac_useropt"
930      ac_useropt_orig=$ac_useropt
931      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932      case $ac_user_opts in
# Line 1082 | Line 952 | do
952      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953      # Reject names that are not valid shell variable names.
954      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 <      as_fn_error "invalid feature name: $ac_useropt"
955 >      as_fn_error $? "invalid feature name: $ac_useropt"
956      ac_useropt_orig=$ac_useropt
957      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958      case $ac_user_opts in
# Line 1286 | Line 1156 | do
1156      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157      # Reject names that are not valid shell variable names.
1158      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 <      as_fn_error "invalid package name: $ac_useropt"
1159 >      as_fn_error $? "invalid package name: $ac_useropt"
1160      ac_useropt_orig=$ac_useropt
1161      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162      case $ac_user_opts in
# Line 1302 | Line 1172 | do
1172      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173      # Reject names that are not valid shell variable names.
1174      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175 <      as_fn_error "invalid package name: $ac_useropt"
1175 >      as_fn_error $? "invalid package name: $ac_useropt"
1176      ac_useropt_orig=$ac_useropt
1177      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178      case $ac_user_opts in
# Line 1332 | Line 1202 | do
1202    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1203      x_libraries=$ac_optarg ;;
1204  
1205 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1206 < Try \`$0 --help' for more information."
1205 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1206 > Try \`$0 --help' for more information"
1207      ;;
1208  
1209    *=*)
# Line 1341 | Line 1211 | Try \`$0 --help' for more information."
1211      # Reject names that are not valid shell variable names.
1212      case $ac_envvar in #(
1213        '' | [0-9]* | *[!_$as_cr_alnum]* )
1214 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1214 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1215      esac
1216      eval $ac_envvar=\$ac_optarg
1217      export $ac_envvar ;;
# Line 1351 | Line 1221 | Try \`$0 --help' for more information."
1221      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1222      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1223        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1224 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1225      ;;
1226  
1227    esac
# Line 1359 | Line 1229 | done
1229  
1230   if test -n "$ac_prev"; then
1231    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1232 <  as_fn_error "missing argument to $ac_option"
1232 >  as_fn_error $? "missing argument to $ac_option"
1233   fi
1234  
1235   if test -n "$ac_unrecognized_opts"; then
1236    case $enable_option_checking in
1237      no) ;;
1238 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1238 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1239      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240    esac
1241   fi
# Line 1388 | Line 1258 | do
1258      [\\/$]* | ?:[\\/]* )  continue;;
1259      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1260    esac
1261 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1261 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1262   done
1263  
1264   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1272 | target=$target_alias
1272   if test "x$host_alias" != x; then
1273    if test "x$build_alias" = x; then
1274      cross_compiling=maybe
1275 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1276 <    If a cross compiler is detected then cross compile mode will be used." >&2
1275 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1276 >    If a cross compiler is detected then cross compile mode will be used" >&2
1277    elif test "x$build_alias" != "x$host_alias"; then
1278      cross_compiling=yes
1279    fi
# Line 1418 | Line 1288 | test "$silent" = yes && exec 6>/dev/null
1288   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1289   ac_ls_di=`ls -di .` &&
1290   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1291 <  as_fn_error "working directory cannot be determined"
1291 >  as_fn_error $? "working directory cannot be determined"
1292   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1293 <  as_fn_error "pwd does not report name of working directory"
1293 >  as_fn_error $? "pwd does not report name of working directory"
1294  
1295  
1296   # Find the source files, if location was not specified.
# Line 1459 | Line 1329 | else
1329   fi
1330   if test ! -r "$srcdir/$ac_unique_file"; then
1331    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1332 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1332 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1333   fi
1334   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1335   ac_abs_confdir=`(
1336 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1336 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1337          pwd)`
1338   # When building in place, set srcdir=.
1339   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1359 | if test "$ac_init_help" = "long"; then
1359    # Omit some internal or obsolete options to make the list less imposing.
1360    # This message is too long to be a string in the A/UX 3.1 sh.
1361    cat <<_ACEOF
1362 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1362 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1363  
1364   Usage: $0 [OPTION]... [VAR=VALUE]...
1365  
# Line 1503 | Line 1373 | Configuration:
1373        --help=short        display options specific to this package
1374        --help=recursive    display the short help of all the included packages
1375    -V, --version           display version information and exit
1376 <  -q, --quiet, --silent   do not print \`checking...' messages
1376 >  -q, --quiet, --silent   do not print \`checking ...' messages
1377        --cache-file=FILE   cache test results in FILE [disabled]
1378    -C, --config-cache      alias for \`--cache-file=config.cache'
1379    -n, --no-create         do not create output files
# Line 1559 | Line 1429 | fi
1429  
1430   if test -n "$ac_init_help"; then
1431    case $ac_init_help in
1432 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1432 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1433     esac
1434    cat <<\_ACEOF
1435  
# Line 1600 | Line 1470 | Optional Features:
1470   Optional Packages:
1471    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1472    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1473 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1473 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1474                            both]
1475    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1476 +  --with-sysroot=DIR Search for dependent libraries within DIR
1477 +                        (or the compiler's sysroot if not specified).
1478    --with-included-ltdl    use the GNU ltdl sources included here
1479    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1480    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1622 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1695 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.3-rc1
1572 < generated by GNU Autoconf 2.65
1571 > ircd-hybrid configure 8beta1
1572 > generated by GNU Autoconf 2.68
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2010 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1742 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619    as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
# Line 1788 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665    as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
# Line 1802 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1845 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1856 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733    as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
# Line 1898 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775    as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
# Line 1911 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 2005 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 2018 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 2059 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
# Line 2072 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
# Line 2128 | Line 2008 | $as_echo "$ac_res" >&6; }
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2167 | Line 2047 | if ac_fn_c_try_cpp "$LINENO"; then :
2047   else
2048    ac_header_preproc=no
2049   fi
2050 < rm -f conftest.err conftest.$ac_ext
2050 > rm -f conftest.err conftest.i conftest.$ac_ext
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052   $as_echo "$ac_header_preproc" >&6; }
2053  
# Line 2190 | Line 2070 | $as_echo "$as_me: WARNING: $2: see the A
2070   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2073 > ( $as_echo "## ----------------------------------- ##
2074   ## Report this to bugs@ircd-hybrid.org ##
2075 < ## ----------------------------------- ##
2197 < _ASBOX
2075 > ## ----------------------------------- ##"
2076       ) | sed "s/^/$as_me: WARNING:     /" >&2
2077      ;;
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2098 < generated by GNU Autoconf 2.65.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8beta1, which was
2098 > generated by GNU Autoconf 2.68.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2327 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2334 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2365 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2372 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2382 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2389 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2400 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2404 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2407 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2459 | Line 2329 | _ACEOF
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2349 | do
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
# Line 2500 | Line 2379 | as_fn_append ac_func_list " strtok_r"
2379   as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2382 + as_fn_append ac_func_list " socketpair"
2383   as_fn_append ac_header_list " crypt.h"
2384   as_fn_append ac_header_list " inttypes.h"
2385   as_fn_append ac_header_list " stdint.h"
# Line 2567 | Line 2447 | if $ac_cache_corrupted; then
2447   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2451   fi
2452   ## -------------------- ##
2453   ## Main body of script. ##
# Line 2584 | Line 2464 | am__api_version='1.11'
2464  
2465   ac_aux_dir=
2466   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2467 <  for ac_t in install-sh install.sh shtool; do
2468 <    if test -f "$ac_dir/$ac_t"; then
2469 <      ac_aux_dir=$ac_dir
2470 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2471 <      break 2
2472 <    fi
2473 <  done
2467 >  if test -f "$ac_dir/install-sh"; then
2468 >    ac_aux_dir=$ac_dir
2469 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2470 >    break
2471 >  elif test -f "$ac_dir/install.sh"; then
2472 >    ac_aux_dir=$ac_dir
2473 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2474 >    break
2475 >  elif test -f "$ac_dir/shtool"; then
2476 >    ac_aux_dir=$ac_dir
2477 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2478 >    break
2479 >  fi
2480   done
2481   if test -z "$ac_aux_dir"; then
2482 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2483   fi
2484  
2485   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2508 | ac_configure="$SHELL $ac_aux_dir/configu
2508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2510   if test -z "$INSTALL"; then
2511 < if test "${ac_cv_path_install+set}" = set; then :
2511 > if ${ac_cv_path_install+:} false; then :
2512    $as_echo_n "(cached) " >&6
2513   else
2514    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2709 | Line 2595 | am_lf='
2595   '
2596   case `pwd` in
2597    *[\\\"\#\$\&\'\`$am_lf]*)
2598 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2598 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2599   esac
2600   case $srcdir in
2601    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2602 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2602 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2603   esac
2604  
2605   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2735 | Line 2621 | if (
2621        # if, for instance, CONFIG_SHELL is bash and it inherits a
2622        # broken ls alias from the environment.  This has actually
2623        # happened.  Such a system could not be considered "sane".
2624 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2624 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2625   alias in your environment" "$LINENO" 5
2626     fi
2627  
# Line 2745 | Line 2631 | then
2631     # Ok.
2632     :
2633   else
2634 <   as_fn_error "newly created file is older than distributed files!
2634 >   as_fn_error $? "newly created file is older than distributed files!
2635   Check your system clock" "$LINENO" 5
2636   fi
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2799 | Line 2685 | if test "$cross_compiling" != no; then
2685   set dummy ${ac_tool_prefix}strip; ac_word=$2
2686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687   $as_echo_n "checking for $ac_word... " >&6; }
2688 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2688 > if ${ac_cv_prog_STRIP+:} false; then :
2689    $as_echo_n "(cached) " >&6
2690   else
2691    if test -n "$STRIP"; then
# Line 2839 | Line 2725 | if test -z "$ac_cv_prog_STRIP"; then
2725   set dummy strip; ac_word=$2
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727   $as_echo_n "checking for $ac_word... " >&6; }
2728 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2728 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2729    $as_echo_n "(cached) " >&6
2730   else
2731    if test -n "$ac_ct_STRIP"; then
# Line 2892 | Line 2778 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2779   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2780   if test -z "$MKDIR_P"; then
2781 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2781 >  if ${ac_cv_path_mkdir+:} false; then :
2782    $as_echo_n "(cached) " >&6
2783   else
2784    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2943 | Line 2829 | do
2829   set dummy $ac_prog; ac_word=$2
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831   $as_echo_n "checking for $ac_word... " >&6; }
2832 < if test "${ac_cv_prog_AWK+set}" = set; then :
2832 > if ${ac_cv_prog_AWK+:} false; then :
2833    $as_echo_n "(cached) " >&6
2834   else
2835    if test -n "$AWK"; then
# Line 2983 | Line 2869 | done
2869   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870   set x ${MAKE-make}
2871   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2872 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873    $as_echo_n "(cached) " >&6
2874   else
2875    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2877 | SHELL = /bin/sh
2877   all:
2878          @echo '@@@%%%=$(MAKE)=@@@%%%'
2879   _ACEOF
2880 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2881   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2882    *@@@%%%=?*=@@@%%%*)
2883      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2911 | if test "`cd $srcdir && pwd`" != "`pwd`"
2911    am__isrc=' -I$(srcdir)'
2912    # test to see if srcdir already configured
2913    if test -f $srcdir/config.status; then
2914 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2914 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2915    fi
2916   fi
2917  
# Line 3041 | Line 2927 | fi
2927  
2928   # Define the identity of the package.
2929   PACKAGE='ircd-hybrid'
2930 < VERSION='7.3-rc1'
2930 > VERSION='8beta1'
2931  
2932  
2933   cat >>confdefs.h <<_ACEOF
# Line 3161 | Line 3047 | fi
3047   if test "x$enable_dependency_tracking" != xno; then
3048    am_depcomp="$ac_aux_dir/depcomp"
3049    AMDEPBACKSLASH='\'
3050 +  am__nodep='_no'
3051   fi
3052   if test "x$enable_dependency_tracking" != xno; then
3053    AMDEP_TRUE=
# Line 3181 | Line 3068 | if test -n "$ac_tool_prefix"; then
3068   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070   $as_echo_n "checking for $ac_word... " >&6; }
3071 < if test "${ac_cv_prog_CC+set}" = set; then :
3071 > if ${ac_cv_prog_CC+:} false; then :
3072    $as_echo_n "(cached) " >&6
3073   else
3074    if test -n "$CC"; then
# Line 3221 | Line 3108 | if test -z "$ac_cv_prog_CC"; then
3108   set dummy gcc; ac_word=$2
3109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110   $as_echo_n "checking for $ac_word... " >&6; }
3111 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3111 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3112    $as_echo_n "(cached) " >&6
3113   else
3114    if test -n "$ac_ct_CC"; then
# Line 3274 | Line 3161 | if test -z "$CC"; then
3161   set dummy ${ac_tool_prefix}cc; ac_word=$2
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163   $as_echo_n "checking for $ac_word... " >&6; }
3164 < if test "${ac_cv_prog_CC+set}" = set; then :
3164 > if ${ac_cv_prog_CC+:} false; then :
3165    $as_echo_n "(cached) " >&6
3166   else
3167    if test -n "$CC"; then
# Line 3314 | Line 3201 | if test -z "$CC"; then
3201   set dummy cc; ac_word=$2
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203   $as_echo_n "checking for $ac_word... " >&6; }
3204 < if test "${ac_cv_prog_CC+set}" = set; then :
3204 > if ${ac_cv_prog_CC+:} false; then :
3205    $as_echo_n "(cached) " >&6
3206   else
3207    if test -n "$CC"; then
# Line 3373 | Line 3260 | if test -z "$CC"; then
3260   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262   $as_echo_n "checking for $ac_word... " >&6; }
3263 < if test "${ac_cv_prog_CC+set}" = set; then :
3263 > if ${ac_cv_prog_CC+:} false; then :
3264    $as_echo_n "(cached) " >&6
3265   else
3266    if test -n "$CC"; then
# Line 3417 | Line 3304 | do
3304   set dummy $ac_prog; ac_word=$2
3305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306   $as_echo_n "checking for $ac_word... " >&6; }
3307 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3307 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3308    $as_echo_n "(cached) " >&6
3309   else
3310    if test -n "$ac_ct_CC"; then
# Line 3471 | Line 3358 | fi
3358  
3359   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 < as_fn_error "no acceptable C compiler found in \$PATH
3362 < See \`config.log' for more details." "$LINENO" 5; }
3361 > as_fn_error $? "no acceptable C compiler found in \$PATH
3362 > See \`config.log' for more details" "$LINENO" 5; }
3363  
3364   # Provide some information about the compiler.
3365   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3473 | sed 's/^/| /' conftest.$ac_ext >&5
3473  
3474   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 < { as_fn_set_status 77
3477 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3476 > as_fn_error 77 "C compiler cannot create executables
3477 > See \`config.log' for more details" "$LINENO" 5; }
3478   else
3479    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480   $as_echo "yes" >&6; }
# Line 3630 | Line 3516 | done
3516   else
3517    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3518   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3519 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3520 < See \`config.log' for more details." "$LINENO" 5; }
3519 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3520 > See \`config.log' for more details" "$LINENO" 5; }
3521   fi
3522   rm -f conftest conftest$ac_cv_exeext
3523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3574 | $as_echo "$ac_try_echo"; } >&5
3574      else
3575          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 < as_fn_error "cannot run C compiled programs.
3577 > as_fn_error $? "cannot run C compiled programs.
3578   If you meant to cross compile, use \`--host'.
3579 < See \`config.log' for more details." "$LINENO" 5; }
3579 > See \`config.log' for more details" "$LINENO" 5; }
3580      fi
3581    fi
3582   fi
# Line 3701 | Line 3587 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3587   ac_clean_files=$ac_clean_files_save
3588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3589   $as_echo_n "checking for suffix of object files... " >&6; }
3590 < if test "${ac_cv_objext+set}" = set; then :
3590 > if ${ac_cv_objext+:} false; then :
3591    $as_echo_n "(cached) " >&6
3592   else
3593    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3627 | sed 's/^/| /' conftest.$ac_ext >&5
3627  
3628   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 < as_fn_error "cannot compute suffix of object files: cannot compile
3631 < See \`config.log' for more details." "$LINENO" 5; }
3630 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3631 > See \`config.log' for more details" "$LINENO" 5; }
3632   fi
3633   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3634   fi
# Line 3752 | Line 3638 | OBJEXT=$ac_cv_objext
3638   ac_objext=$OBJEXT
3639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3640   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3641 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3641 > if ${ac_cv_c_compiler_gnu+:} false; then :
3642    $as_echo_n "(cached) " >&6
3643   else
3644    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3675 | ac_test_CFLAGS=${CFLAGS+set}
3675   ac_save_CFLAGS=$CFLAGS
3676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3677   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3678 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3678 > if ${ac_cv_prog_cc_g+:} false; then :
3679    $as_echo_n "(cached) " >&6
3680   else
3681    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3753 | else
3753   fi
3754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3755   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3756 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3756 > if ${ac_cv_prog_cc_c89+:} false; then :
3757    $as_echo_n "(cached) " >&6
3758   else
3759    ac_cv_prog_cc_c89=no
# Line 3966 | Line 3852 | depcc="$CC"   am_compiler_list=
3852  
3853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3854   $as_echo_n "checking dependency style of $depcc... " >&6; }
3855 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3855 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3856    $as_echo_n "(cached) " >&6
3857   else
3858    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3975 | Line 3861 | else
3861    # instance it was reported that on HP-UX the gcc test will end up
3862    # making a dummy file named `D' -- because `-MD' means `put the output
3863    # in D'.
3864 +  rm -rf conftest.dir
3865    mkdir conftest.dir
3866    # Copy depcomp to subdir because otherwise we won't find it if we're
3867    # using a relative directory.
# Line 4034 | Line 3921 | else
3921          break
3922        fi
3923        ;;
3924 <    msvisualcpp | msvcmsys)
3924 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3925        # This compiler won't grok `-c -o', but also, the minuso test has
3926        # not run yet.  These depmodes are late enough in the game, and
3927        # so weak that their functioning should not be impacted.
# Line 4091 | Line 3978 | fi
3978  
3979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3980   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3981 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3981 > if ${ac_cv_prog_cc_c99+:} false; then :
3982    $as_echo_n "(cached) " >&6
3983   else
3984    ac_cv_prog_cc_c99=no
# Line 4267 | Line 4154 | fi
4154  
4155  
4156   if test "$ac_cv_prog_cc_c99" = "no"; then :
4157 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4157 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4158   fi
4159   for ac_prog in 'bison -y' byacc
4160   do
# Line 4275 | Line 4162 | do
4162   set dummy $ac_prog; ac_word=$2
4163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164   $as_echo_n "checking for $ac_word... " >&6; }
4165 < if test "${ac_cv_prog_YACC+set}" = set; then :
4165 > if ${ac_cv_prog_YACC+:} false; then :
4166    $as_echo_n "(cached) " >&6
4167   else
4168    if test -n "$YACC"; then
# Line 4319 | Line 4206 | do
4206   set dummy $ac_prog; ac_word=$2
4207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208   $as_echo_n "checking for $ac_word... " >&6; }
4209 < if test "${ac_cv_prog_LEX+set}" = set; then :
4209 > if ${ac_cv_prog_LEX+:} false; then :
4210    $as_echo_n "(cached) " >&6
4211   else
4212    if test -n "$LEX"; then
# Line 4389 | Line 4276 | $as_echo "$ac_try_echo"; } >&5
4276    test $ac_status = 0; }
4277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4278   $as_echo_n "checking lex output file root... " >&6; }
4279 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4279 > if ${ac_cv_prog_lex_root+:} false; then :
4280    $as_echo_n "(cached) " >&6
4281   else
4282  
# Line 4398 | Line 4285 | if test -f lex.yy.c; then
4285   elif test -f lexyy.c; then
4286    ac_cv_prog_lex_root=lexyy
4287   else
4288 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4288 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4289   fi
4290   fi
4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4295 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4295   if test -z "${LEXLIB+set}"; then
4296    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4297   $as_echo_n "checking lex library... " >&6; }
4298 < if test "${ac_cv_lib_lex+set}" = set; then :
4298 > if ${ac_cv_lib_lex+:} false; then :
4299    $as_echo_n "(cached) " >&6
4300   else
4301  
# Line 4438 | Line 4325 | fi
4325  
4326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4327   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4328 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4328 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4329    $as_echo_n "(cached) " >&6
4330   else
4331    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4336 | ac_save_LIBS=$LIBS
4336   LIBS="$LEXLIB $ac_save_LIBS"
4337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338   /* end confdefs.h.  */
4339 < #define YYTEXT_POINTER 1
4339 >
4340 >  #define YYTEXT_POINTER 1
4341   `cat $LEX_OUTPUT_ROOT.c`
4342   _ACEOF
4343   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4364 | fi
4364  
4365  
4366   # Initializing libtool.
4367 +
4368 +
4369 +
4370 +
4371 +
4372 +
4373 +
4374   case `pwd` in
4375    *\ * | *\     *)
4376      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4379 | esac
4379  
4380  
4381  
4382 < macro_version='2.2.6'
4383 < macro_revision='1.3012'
4382 > macro_version='2.4.2'
4383 > macro_revision='1.3337'
4384  
4385  
4386  
# Line 4503 | Line 4398 | ltmain="$ac_aux_dir/ltmain.sh"
4398  
4399   # Make sure we can run config.sub.
4400   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4401 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4401 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4402  
4403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4404   $as_echo_n "checking build system type... " >&6; }
4405 < if test "${ac_cv_build+set}" = set; then :
4405 > if ${ac_cv_build+:} false; then :
4406    $as_echo_n "(cached) " >&6
4407   else
4408    ac_build_alias=$build_alias
4409   test "x$ac_build_alias" = x &&
4410    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4411   test "x$ac_build_alias" = x &&
4412 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4412 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4413   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4414 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4414 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4415  
4416   fi
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4418   $as_echo "$ac_cv_build" >&6; }
4419   case $ac_cv_build in
4420   *-*-*) ;;
4421 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4421 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4422   esac
4423   build=$ac_cv_build
4424   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4436 | case $build_os in *\ *) build_os=`echo "
4436  
4437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4438   $as_echo_n "checking host system type... " >&6; }
4439 < if test "${ac_cv_host+set}" = set; then :
4439 > if ${ac_cv_host+:} false; then :
4440    $as_echo_n "(cached) " >&6
4441   else
4442    if test "x$host_alias" = x; then
4443    ac_cv_host=$ac_cv_build
4444   else
4445    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4446 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4446 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4447   fi
4448  
4449   fi
# Line 4556 | Line 4451 | fi
4451   $as_echo "$ac_cv_host" >&6; }
4452   case $ac_cv_host in
4453   *-*-*) ;;
4454 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4454 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4455   esac
4456   host=$ac_cv_host
4457   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4467 | IFS=$ac_save_IFS
4467   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4468  
4469  
4470 + # Backslashify metacharacters that are still active within
4471 + # double-quoted strings.
4472 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4473 +
4474 + # Same as above, but do not quote variable references.
4475 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4476 +
4477 + # Sed substitution to delay expansion of an escaped shell variable in a
4478 + # double_quote_subst'ed string.
4479 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4480 +
4481 + # Sed substitution to delay expansion of an escaped single quote.
4482 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4483 +
4484 + # Sed substitution to avoid accidental globbing in evaled expressions
4485 + no_glob_subst='s/\*/\\\*/g'
4486 +
4487 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4488 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4489 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4490 +
4491 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4492 + $as_echo_n "checking how to print strings... " >&6; }
4493 + # Test print first, because it will be a builtin if present.
4494 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4495 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4496 +  ECHO='print -r --'
4497 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4498 +  ECHO='printf %s\n'
4499 + else
4500 +  # Use this function as a fallback that always works.
4501 +  func_fallback_echo ()
4502 +  {
4503 +    eval 'cat <<_LTECHO_EOF
4504 + $1
4505 + _LTECHO_EOF'
4506 +  }
4507 +  ECHO='func_fallback_echo'
4508 + fi
4509 +
4510 + # func_echo_all arg...
4511 + # Invoke $ECHO with all args, space-separated.
4512 + func_echo_all ()
4513 + {
4514 +    $ECHO ""
4515 + }
4516 +
4517 + case "$ECHO" in
4518 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4519 + $as_echo "printf" >&6; } ;;
4520 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4521 + $as_echo "print -r" >&6; } ;;
4522 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4523 + $as_echo "cat" >&6; } ;;
4524 + esac
4525 +
4526 +
4527 +
4528 +
4529 +
4530 +
4531 +
4532 +
4533 +
4534 +
4535 +
4536 +
4537 +
4538 +
4539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4540   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4541 < if test "${ac_cv_path_SED+set}" = set; then :
4541 > if ${ac_cv_path_SED+:} false; then :
4542    $as_echo_n "(cached) " >&6
4543   else
4544              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4629 | Line 4593 | esac
4593    done
4594   IFS=$as_save_IFS
4595    if test -z "$ac_cv_path_SED"; then
4596 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4596 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4597    fi
4598   else
4599    ac_cv_path_SED=$SED
# Line 4656 | Line 4620 | Xsed="$SED -e 1s/^X//"
4620  
4621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4622   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4623 < if test "${ac_cv_path_GREP+set}" = set; then :
4623 > if ${ac_cv_path_GREP+:} false; then :
4624    $as_echo_n "(cached) " >&6
4625   else
4626    if test -z "$GREP"; then
# Line 4705 | Line 4669 | esac
4669    done
4670   IFS=$as_save_IFS
4671    if test -z "$ac_cv_path_GREP"; then
4672 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4672 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4673    fi
4674   else
4675    ac_cv_path_GREP=$GREP
# Line 4719 | Line 4683 | $as_echo "$ac_cv_path_GREP" >&6; }
4683  
4684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4685   $as_echo_n "checking for egrep... " >&6; }
4686 < if test "${ac_cv_path_EGREP+set}" = set; then :
4686 > if ${ac_cv_path_EGREP+:} false; then :
4687    $as_echo_n "(cached) " >&6
4688   else
4689    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4771 | Line 4735 | esac
4735    done
4736   IFS=$as_save_IFS
4737    if test -z "$ac_cv_path_EGREP"; then
4738 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4738 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4739    fi
4740   else
4741    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 4750 | $as_echo "$ac_cv_path_EGREP" >&6; }
4750  
4751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4752   $as_echo_n "checking for fgrep... " >&6; }
4753 < if test "${ac_cv_path_FGREP+set}" = set; then :
4753 > if ${ac_cv_path_FGREP+:} false; then :
4754    $as_echo_n "(cached) " >&6
4755   else
4756    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4838 | Line 4802 | esac
4802    done
4803   IFS=$as_save_IFS
4804    if test -z "$ac_cv_path_FGREP"; then
4805 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806    fi
4807   else
4808    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 4881 | else
4881    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4882   $as_echo_n "checking for non-GNU ld... " >&6; }
4883   fi
4884 < if test "${lt_cv_path_LD+set}" = set; then :
4884 > if ${lt_cv_path_LD+:} false; then :
4885    $as_echo_n "(cached) " >&6
4886   else
4887    if test -z "$LD"; then
# Line 4954 | Line 4918 | else
4918    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919   $as_echo "no" >&6; }
4920   fi
4921 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4921 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4923   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4924 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4924 > if ${lt_cv_prog_gnu_ld+:} false; then :
4925    $as_echo_n "(cached) " >&6
4926   else
4927    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 4948 | with_gnu_ld=$lt_cv_prog_gnu_ld
4948  
4949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4950   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4951 < if test "${lt_cv_path_NM+set}" = set; then :
4951 > if ${lt_cv_path_NM+:} false; then :
4952    $as_echo_n "(cached) " >&6
4953   else
4954    if test -n "$NM"; then
# Line 5037 | Line 5001 | if test "$lt_cv_path_NM" != "no"; then
5001    NM="$lt_cv_path_NM"
5002   else
5003    # Didn't find any BSD compatible name lister, look for dumpbin.
5004 <  if test -n "$ac_tool_prefix"; then
5005 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5004 >  if test -n "$DUMPBIN"; then :
5005 >    # Let the user override the test.
5006 >  else
5007 >    if test -n "$ac_tool_prefix"; then
5008 >  for ac_prog in dumpbin "link -dump"
5009    do
5010      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013   $as_echo_n "checking for $ac_word... " >&6; }
5014 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5014 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5015    $as_echo_n "(cached) " >&6
5016   else
5017    if test -n "$DUMPBIN"; then
# Line 5082 | Line 5049 | fi
5049   fi
5050   if test -z "$DUMPBIN"; then
5051    ac_ct_DUMPBIN=$DUMPBIN
5052 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5052 >  for ac_prog in dumpbin "link -dump"
5053   do
5054    # Extract the first word of "$ac_prog", so it can be a program name with args.
5055   set dummy $ac_prog; ac_word=$2
5056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057   $as_echo_n "checking for $ac_word... " >&6; }
5058 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5058 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5059    $as_echo_n "(cached) " >&6
5060   else
5061    if test -n "$ac_ct_DUMPBIN"; then
# Line 5137 | Line 5104 | esac
5104    fi
5105   fi
5106  
5107 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5108 +    *COFF*)
5109 +      DUMPBIN="$DUMPBIN -symbols"
5110 +      ;;
5111 +    *)
5112 +      DUMPBIN=:
5113 +      ;;
5114 +    esac
5115 +  fi
5116  
5117    if test "$DUMPBIN" != ":"; then
5118      NM="$DUMPBIN"
# Line 5151 | Line 5127 | test -z "$NM" && NM=nm
5127  
5128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5129   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5130 < if test "${lt_cv_nm_interface+set}" = set; then :
5130 > if ${lt_cv_nm_interface+:} false; then :
5131    $as_echo_n "(cached) " >&6
5132   else
5133    lt_cv_nm_interface="BSD nm"
5134    echo "int some_variable = 0;" > conftest.$ac_ext
5135 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5135 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5136    (eval "$ac_compile" 2>conftest.err)
5137    cat conftest.err >&5
5138 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5138 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5139    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5140    cat conftest.err >&5
5141 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5141 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5142    cat conftest.out >&5
5143    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5144      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5162 | fi
5162   # find the maximum length of command line arguments
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5164   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5165 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5165 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5166    $as_echo_n "(cached) " >&6
5167   else
5168      i=0
# Line 5219 | Line 5195 | else
5195      lt_cv_sys_max_cmd_len=8192;
5196      ;;
5197  
5198 +  mint*)
5199 +    # On MiNT this can take a long time and run out of memory.
5200 +    lt_cv_sys_max_cmd_len=8192;
5201 +    ;;
5202 +
5203    amigaos*)
5204      # On AmigaOS with pdksh, this test takes hours, literally.
5205      # So we just punt and use a minimum line length of 8192.
# Line 5244 | Line 5225 | else
5225      lt_cv_sys_max_cmd_len=196608
5226      ;;
5227  
5228 +  os2*)
5229 +    # The test takes a long time on OS/2.
5230 +    lt_cv_sys_max_cmd_len=8192
5231 +    ;;
5232 +
5233    osf*)
5234      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5235      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5283 | Line 5269 | else
5269        # If test is not a shell built-in, we'll probably end up computing a
5270        # maximum length that is only half of the actual maximum length, but
5271        # we can't tell.
5272 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5273 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5272 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5273 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5274                test $i != 17 # 1/2 MB should be enough
5275        do
5276          i=`expr $i + 1`
# Line 5326 | Line 5312 | $as_echo_n "checking whether the shell u
5312   # Try some XSI features
5313   xsi_shell=no
5314   ( _lt_dummy="a/b/c"
5315 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5316 <      = c,a/b,, \
5315 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5316 >      = c,a/b,b/c, \
5317      && eval 'test $(( 1 + 1 )) -eq 2 \
5318      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5319    && xsi_shell=yes
# Line 5376 | Line 5362 | esac
5362  
5363  
5364  
5365 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5366 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5367 + if ${lt_cv_to_host_file_cmd+:} false; then :
5368 +  $as_echo_n "(cached) " >&6
5369 + else
5370 +  case $host in
5371 +  *-*-mingw* )
5372 +    case $build in
5373 +      *-*-mingw* ) # actually msys
5374 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5375 +        ;;
5376 +      *-*-cygwin* )
5377 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5378 +        ;;
5379 +      * ) # otherwise, assume *nix
5380 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5381 +        ;;
5382 +    esac
5383 +    ;;
5384 +  *-*-cygwin* )
5385 +    case $build in
5386 +      *-*-mingw* ) # actually msys
5387 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5388 +        ;;
5389 +      *-*-cygwin* )
5390 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5391 +        ;;
5392 +      * ) # otherwise, assume *nix
5393 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5394 +        ;;
5395 +    esac
5396 +    ;;
5397 +  * ) # unhandled hosts (and "normal" native builds)
5398 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5399 +    ;;
5400 + esac
5401 +
5402 + fi
5403 +
5404 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5405 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5406 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5407 +
5408 +
5409 +
5410 +
5411 +
5412 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5413 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5414 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5415 +  $as_echo_n "(cached) " >&6
5416 + else
5417 +  #assume ordinary cross tools, or native build.
5418 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5419 + case $host in
5420 +  *-*-mingw* )
5421 +    case $build in
5422 +      *-*-mingw* ) # actually msys
5423 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5424 +        ;;
5425 +    esac
5426 +    ;;
5427 + esac
5428 +
5429 + fi
5430 +
5431 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5432 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5433 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5434 +
5435 +
5436 +
5437 +
5438 +
5439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5440   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5441 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5441 > if ${lt_cv_ld_reload_flag+:} false; then :
5442    $as_echo_n "(cached) " >&6
5443   else
5444    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5452 | case $reload_flag in
5452   esac
5453   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5454   case $host_os in
5455 +  cygwin* | mingw* | pw32* | cegcc*)
5456 +    if test "$GCC" != yes; then
5457 +      reload_cmds=false
5458 +    fi
5459 +    ;;
5460    darwin*)
5461      if test "$GCC" = yes; then
5462        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5479 | if test -n "$ac_tool_prefix"; then
5479   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481   $as_echo_n "checking for $ac_word... " >&6; }
5482 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5482 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5483    $as_echo_n "(cached) " >&6
5484   else
5485    if test -n "$OBJDUMP"; then
# Line 5454 | Line 5519 | if test -z "$ac_cv_prog_OBJDUMP"; then
5519   set dummy objdump; ac_word=$2
5520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521   $as_echo_n "checking for $ac_word... " >&6; }
5522 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5522 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5523    $as_echo_n "(cached) " >&6
5524   else
5525    if test -n "$ac_ct_OBJDUMP"; then
# Line 5513 | Line 5578 | test -z "$OBJDUMP" && OBJDUMP=objdump
5578  
5579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5580   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5581 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5581 > if ${lt_cv_deplibs_check_method+:} false; then :
5582    $as_echo_n "(cached) " >&6
5583   else
5584    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5620 | mingw* | pw32*)
5620    # Base MSYS/MinGW do not provide the 'file' command needed by
5621    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5622    # unless we find 'file', for example because we are cross-compiling.
5623 <  if ( file / ) >/dev/null 2>&1; then
5623 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5624 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5625      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5626      lt_cv_file_magic_cmd='func_win32_libid'
5627    else
5628 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5628 >    # Keep this pattern in sync with the one in func_win32_libid.
5629 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5630      lt_cv_file_magic_cmd='$OBJDUMP -f'
5631    fi
5632    ;;
5633  
5634 < cegcc)
5634 > cegcc*)
5635    # use the weaker test based on 'objdump'. See mingw*.
5636    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5637    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5661 | gnu*)
5661    lt_cv_deplibs_check_method=pass_all
5662    ;;
5663  
5664 + haiku*)
5665 +  lt_cv_deplibs_check_method=pass_all
5666 +  ;;
5667 +
5668   hpux10.20* | hpux11*)
5669    lt_cv_file_magic_cmd=/usr/bin/file
5670    case $host_cpu in
# Line 5602 | Line 5673 | hpux10.20* | hpux11*)
5673      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5674      ;;
5675    hppa*64*)
5676 <    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]'
5676 >    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]'
5677      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5678      ;;
5679    *)
5680 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5680 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5681      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5682      ;;
5683    esac
# Line 5627 | Line 5698 | irix5* | irix6* | nonstopux*)
5698    lt_cv_deplibs_check_method=pass_all
5699    ;;
5700  
5701 < # This must be Linux ELF.
5702 < linux* | k*bsd*-gnu)
5701 > # This must be glibc/ELF.
5702 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5703    lt_cv_deplibs_check_method=pass_all
5704    ;;
5705  
# Line 5709 | Line 5780 | esac
5780   fi
5781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5782   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5783 +
5784 + file_magic_glob=
5785 + want_nocaseglob=no
5786 + if test "$build" = "$host"; then
5787 +  case $host_os in
5788 +  mingw* | pw32*)
5789 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5790 +      want_nocaseglob=yes
5791 +    else
5792 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5793 +    fi
5794 +    ;;
5795 +  esac
5796 + fi
5797 +
5798   file_magic_cmd=$lt_cv_file_magic_cmd
5799   deplibs_check_method=$lt_cv_deplibs_check_method
5800   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5810 | test -z "$deplibs_check_method" && depli
5810  
5811  
5812  
5813 +
5814 +
5815 +
5816 +
5817 +
5818 +
5819 +
5820 +
5821 +
5822 +
5823   if test -n "$ac_tool_prefix"; then
5824 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5825 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5824 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5825 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5826 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 > $as_echo_n "checking for $ac_word... " >&6; }
5828 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5829 >  $as_echo_n "(cached) " >&6
5830 > else
5831 >  if test -n "$DLLTOOL"; then
5832 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5833 > else
5834 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 > for as_dir in $PATH
5836 > do
5837 >  IFS=$as_save_IFS
5838 >  test -z "$as_dir" && as_dir=.
5839 >    for ac_exec_ext in '' $ac_executable_extensions; do
5840 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5841 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5842 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 >    break 2
5844 >  fi
5845 > done
5846 >  done
5847 > IFS=$as_save_IFS
5848 >
5849 > fi
5850 > fi
5851 > DLLTOOL=$ac_cv_prog_DLLTOOL
5852 > if test -n "$DLLTOOL"; then
5853 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5854 > $as_echo "$DLLTOOL" >&6; }
5855 > else
5856 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 > $as_echo "no" >&6; }
5858 > fi
5859 >
5860 >
5861 > fi
5862 > if test -z "$ac_cv_prog_DLLTOOL"; then
5863 >  ac_ct_DLLTOOL=$DLLTOOL
5864 >  # Extract the first word of "dlltool", so it can be a program name with args.
5865 > set dummy dlltool; ac_word=$2
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867   $as_echo_n "checking for $ac_word... " >&6; }
5868 < if test "${ac_cv_prog_AR+set}" = set; then :
5868 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5869 >  $as_echo_n "(cached) " >&6
5870 > else
5871 >  if test -n "$ac_ct_DLLTOOL"; then
5872 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5873 > else
5874 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 > for as_dir in $PATH
5876 > do
5877 >  IFS=$as_save_IFS
5878 >  test -z "$as_dir" && as_dir=.
5879 >    for ac_exec_ext in '' $ac_executable_extensions; do
5880 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5882 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 >    break 2
5884 >  fi
5885 > done
5886 >  done
5887 > IFS=$as_save_IFS
5888 >
5889 > fi
5890 > fi
5891 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5892 > if test -n "$ac_ct_DLLTOOL"; then
5893 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5894 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5895 > else
5896 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 > $as_echo "no" >&6; }
5898 > fi
5899 >
5900 >  if test "x$ac_ct_DLLTOOL" = x; then
5901 >    DLLTOOL="false"
5902 >  else
5903 >    case $cross_compiling:$ac_tool_warned in
5904 > yes:)
5905 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5906 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5907 > ac_tool_warned=yes ;;
5908 > esac
5909 >    DLLTOOL=$ac_ct_DLLTOOL
5910 >  fi
5911 > else
5912 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5913 > fi
5914 >
5915 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5916 >
5917 >
5918 >
5919 >
5920 >
5921 >
5922 >
5923 >
5924 >
5925 >
5926 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5927 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5928 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5929 >  $as_echo_n "(cached) " >&6
5930 > else
5931 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5932 >
5933 > case $host_os in
5934 > cygwin* | mingw* | pw32* | cegcc*)
5935 >  # two different shell functions defined in ltmain.sh
5936 >  # decide which to use based on capabilities of $DLLTOOL
5937 >  case `$DLLTOOL --help 2>&1` in
5938 >  *--identify-strict*)
5939 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5940 >    ;;
5941 >  *)
5942 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5943 >    ;;
5944 >  esac
5945 >  ;;
5946 > *)
5947 >  # fallback: assume linklib IS sharedlib
5948 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5949 >  ;;
5950 > esac
5951 >
5952 > fi
5953 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5954 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5955 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5956 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5957 >
5958 >
5959 >
5960 >
5961 >
5962 >
5963 >
5964 > if test -n "$ac_tool_prefix"; then
5965 >  for ac_prog in ar
5966 >  do
5967 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5968 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5969 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 > $as_echo_n "checking for $ac_word... " >&6; }
5971 > if ${ac_cv_prog_AR+:} false; then :
5972    $as_echo_n "(cached) " >&6
5973   else
5974    if test -n "$AR"; then
# Line 5742 | Line 5981 | do
5981    test -z "$as_dir" && as_dir=.
5982      for ac_exec_ext in '' $ac_executable_extensions; do
5983    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5984 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5985      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986      break 2
5987    fi
# Line 5762 | Line 6001 | $as_echo "no" >&6; }
6001   fi
6002  
6003  
6004 +    test -n "$AR" && break
6005 +  done
6006   fi
6007 < if test -z "$ac_cv_prog_AR"; then
6007 > if test -z "$AR"; then
6008    ac_ct_AR=$AR
6009 <  # Extract the first word of "ar", so it can be a program name with args.
6010 < set dummy ar; ac_word=$2
6009 >  for ac_prog in ar
6010 > do
6011 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6012 > set dummy $ac_prog; ac_word=$2
6013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014   $as_echo_n "checking for $ac_word... " >&6; }
6015 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6015 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6016    $as_echo_n "(cached) " >&6
6017   else
6018    if test -n "$ac_ct_AR"; then
# Line 5782 | Line 6025 | do
6025    test -z "$as_dir" && as_dir=.
6026      for ac_exec_ext in '' $ac_executable_extensions; do
6027    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 <    ac_cv_prog_ac_ct_AR="ar"
6028 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6029      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030      break 2
6031    fi
# Line 5801 | Line 6044 | else
6044   $as_echo "no" >&6; }
6045   fi
6046  
6047 +
6048 +  test -n "$ac_ct_AR" && break
6049 + done
6050 +
6051    if test "x$ac_ct_AR" = x; then
6052      AR="false"
6053    else
# Line 5812 | Line 6059 | ac_tool_warned=yes ;;
6059   esac
6060      AR=$ac_ct_AR
6061    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6062   fi
6063  
6064 < test -z "$AR" && AR=ar
6065 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6064 > : ${AR=ar}
6065 > : ${AR_FLAGS=cru}
6066 >
6067 >
6068 >
6069 >
6070 >
6071 >
6072 >
6073 >
6074 >
6075 >
6076 >
6077 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6078 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6079 > if ${lt_cv_ar_at_file+:} false; then :
6080 >  $as_echo_n "(cached) " >&6
6081 > else
6082 >  lt_cv_ar_at_file=no
6083 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084 > /* end confdefs.h.  */
6085 >
6086 > int
6087 > main ()
6088 > {
6089  
6090 +  ;
6091 +  return 0;
6092 + }
6093 + _ACEOF
6094 + if ac_fn_c_try_compile "$LINENO"; then :
6095 +  echo conftest.$ac_objext > conftest.lst
6096 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6097 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6098 +  (eval $lt_ar_try) 2>&5
6099 +  ac_status=$?
6100 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 +  test $ac_status = 0; }
6102 +      if test "$ac_status" -eq 0; then
6103 +        # Ensure the archiver fails upon bogus file names.
6104 +        rm -f conftest.$ac_objext libconftest.a
6105 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6106 +  (eval $lt_ar_try) 2>&5
6107 +  ac_status=$?
6108 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109 +  test $ac_status = 0; }
6110 +        if test "$ac_status" -ne 0; then
6111 +          lt_cv_ar_at_file=@
6112 +        fi
6113 +      fi
6114 +      rm -f conftest.* libconftest.a
6115  
6116 + fi
6117 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6118  
6119 + fi
6120 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6121 + $as_echo "$lt_cv_ar_at_file" >&6; }
6122  
6123 + if test "x$lt_cv_ar_at_file" = xno; then
6124 +  archiver_list_spec=
6125 + else
6126 +  archiver_list_spec=$lt_cv_ar_at_file
6127 + fi
6128  
6129  
6130  
# Line 5834 | Line 6137 | if test -n "$ac_tool_prefix"; then
6137   set dummy ${ac_tool_prefix}strip; ac_word=$2
6138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139   $as_echo_n "checking for $ac_word... " >&6; }
6140 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6140 > if ${ac_cv_prog_STRIP+:} false; then :
6141    $as_echo_n "(cached) " >&6
6142   else
6143    if test -n "$STRIP"; then
# Line 5874 | Line 6177 | if test -z "$ac_cv_prog_STRIP"; then
6177   set dummy strip; ac_word=$2
6178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179   $as_echo_n "checking for $ac_word... " >&6; }
6180 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6180 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6181    $as_echo_n "(cached) " >&6
6182   else
6183    if test -n "$ac_ct_STRIP"; then
# Line 5933 | Line 6236 | if test -n "$ac_tool_prefix"; then
6236   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238   $as_echo_n "checking for $ac_word... " >&6; }
6239 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6239 > if ${ac_cv_prog_RANLIB+:} false; then :
6240    $as_echo_n "(cached) " >&6
6241   else
6242    if test -n "$RANLIB"; then
# Line 5973 | Line 6276 | if test -z "$ac_cv_prog_RANLIB"; then
6276   set dummy ranlib; ac_word=$2
6277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278   $as_echo_n "checking for $ac_word... " >&6; }
6279 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6279 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6280    $as_echo_n "(cached) " >&6
6281   else
6282    if test -n "$ac_ct_RANLIB"; then
# Line 6035 | Line 6338 | old_postuninstall_cmds=
6338   if test -n "$RANLIB"; then
6339    case $host_os in
6340    openbsd*)
6341 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6341 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6342      ;;
6343    *)
6344 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6344 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6345      ;;
6346    esac
6347 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6347 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6348   fi
6349  
6350 + case $host_os in
6351 +  darwin*)
6352 +    lock_old_archive_extraction=yes ;;
6353 +  *)
6354 +    lock_old_archive_extraction=no ;;
6355 + esac
6356 +
6357 +
6358 +
6359 +
6360 +
6361 +
6362  
6363  
6364  
# Line 6090 | Line 6405 | compiler=$CC
6405   # Check for command to grab the raw symbol name followed by C symbol from nm.
6406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6407   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6408 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6408 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6409    $as_echo_n "(cached) " >&6
6410   else
6411  
# Line 6151 | Line 6466 | esac
6466   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6467  
6468   # Transform an extracted symbol line into symbol name and symbol address
6469 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6470 < 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'"
6469 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6470 > 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'"
6471  
6472   # Handle CRLF in mingw tool chain
6473   opt_cr=
# Line 6176 | Line 6491 | for ac_symprfx in "" "_"; do
6491      # which start with @ or ?.
6492      lt_cv_sys_global_symbol_pipe="$AWK '"\
6493   "     {last_section=section; section=\$ 3};"\
6494 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6495   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6496   "     \$ 0!~/External *\|/{next};"\
6497   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6188 | Line 6504 | for ac_symprfx in "" "_"; do
6504    else
6505      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6506    fi
6507 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6508  
6509    # Check to see that the pipe works correctly.
6510    pipe_works=no
# Line 6213 | Line 6530 | _LT_EOF
6530    test $ac_status = 0; }; then
6531      # Now try to grab the symbols.
6532      nlist=conftest.nm
6533 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6534 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6533 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6534 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6535    ac_status=$?
6536    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6546 | _LT_EOF
6546        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6547          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6548            cat <<_LT_EOF > conftest.$ac_ext
6549 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6550 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6551 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6552 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6553 + # define LT_DLSYM_CONST
6554 + #elif defined(__osf__)
6555 + /* This system does not cope well with relocations in const data.  */
6556 + # define LT_DLSYM_CONST
6557 + #else
6558 + # define LT_DLSYM_CONST const
6559 + #endif
6560 +
6561   #ifdef __cplusplus
6562   extern "C" {
6563   #endif
# Line 6240 | Line 6569 | _LT_EOF
6569            cat <<_LT_EOF >> conftest.$ac_ext
6570  
6571   /* The mapping between symbol names and symbols.  */
6572 < const struct {
6572 > LT_DLSYM_CONST struct {
6573    const char *name;
6574    void       *address;
6575   }
# Line 6266 | Line 6595 | static const void *lt_preloaded_setup()
6595   _LT_EOF
6596            # Now try linking the two files.
6597            mv conftest.$ac_objext conftstm.$ac_objext
6598 <          lt_save_LIBS="$LIBS"
6599 <          lt_save_CFLAGS="$CFLAGS"
6598 >          lt_globsym_save_LIBS=$LIBS
6599 >          lt_globsym_save_CFLAGS=$CFLAGS
6600            LIBS="conftstm.$ac_objext"
6601            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6602            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6606 | _LT_EOF
6606    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6607              pipe_works=yes
6608            fi
6609 <          LIBS="$lt_save_LIBS"
6610 <          CFLAGS="$lt_save_CFLAGS"
6609 >          LIBS=$lt_globsym_save_LIBS
6610 >          CFLAGS=$lt_globsym_save_CFLAGS
6611          else
6612            echo "cannot find nm_test_func in $nlist" >&5
6613          fi
# Line 6315 | Line 6644 | else
6644   $as_echo "ok" >&6; }
6645   fi
6646  
6647 + # Response file support.
6648 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6649 +  nm_file_list_spec='@'
6650 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6651 +  nm_file_list_spec='@'
6652 + fi
6653 +
6654 +
6655 +
6656 +
6657 +
6658 +
6659 +
6660  
6661  
6662  
# Line 6335 | Line 6677 | fi
6677  
6678  
6679  
6680 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6681 + $as_echo_n "checking for sysroot... " >&6; }
6682 +
6683 + # Check whether --with-sysroot was given.
6684 + if test "${with_sysroot+set}" = set; then :
6685 +  withval=$with_sysroot;
6686 + else
6687 +  with_sysroot=no
6688 + fi
6689 +
6690 +
6691 + lt_sysroot=
6692 + case ${with_sysroot} in #(
6693 + yes)
6694 +   if test "$GCC" = yes; then
6695 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6696 +   fi
6697 +   ;; #(
6698 + /*)
6699 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6700 +   ;; #(
6701 + no|'')
6702 +   ;; #(
6703 + *)
6704 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6705 + $as_echo "${with_sysroot}" >&6; }
6706 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6707 +   ;;
6708 + esac
6709 +
6710 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6711 + $as_echo "${lt_sysroot:-no}" >&6; }
6712 +
6713 +
6714 +
6715 +
6716  
6717   # Check whether --enable-libtool-lock was given.
6718   if test "${enable_libtool_lock+set}" = set; then :
# Line 6367 | Line 6745 | ia64-*-hpux*)
6745    ;;
6746   *-*-irix6*)
6747    # Find out which ABI we are using.
6748 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6748 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6749    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6750    (eval $ac_compile) 2>&5
6751    ac_status=$?
# Line 6461 | Line 6839 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6839    CFLAGS="$CFLAGS -belf"
6840    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6841   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6842 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6842 > if ${lt_cv_cc_needs_belf+:} false; then :
6843    $as_echo_n "(cached) " >&6
6844   else
6845    ac_ext=c
# Line 6502 | Line 6880 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6880      CFLAGS="$SAVE_CFLAGS"
6881    fi
6882    ;;
6883 < sparc*-*solaris*)
6883 > *-*solaris*)
6884    # Find out which ABI we are using.
6885    echo 'int i;' > conftest.$ac_ext
6886    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6513 | Line 6891 | sparc*-*solaris*)
6891      case `/usr/bin/file conftest.o` in
6892      *64-bit*)
6893        case $lt_cv_prog_gnu_ld in
6894 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6894 >      yes*)
6895 >        case $host in
6896 >        i?86-*-solaris*)
6897 >          LD="${LD-ld} -m elf_x86_64"
6898 >          ;;
6899 >        sparc*-*-solaris*)
6900 >          LD="${LD-ld} -m elf64_sparc"
6901 >          ;;
6902 >        esac
6903 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6904 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6905 >          LD="${LD-ld}_sol2"
6906 >        fi
6907 >        ;;
6908        *)
6909          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6910            LD="${LD-ld} -64"
# Line 6529 | Line 6920 | esac
6920  
6921   need_locks="$enable_libtool_lock"
6922  
6923 + if test -n "$ac_tool_prefix"; then
6924 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6925 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6926 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6927 + $as_echo_n "checking for $ac_word... " >&6; }
6928 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6929 +  $as_echo_n "(cached) " >&6
6930 + else
6931 +  if test -n "$MANIFEST_TOOL"; then
6932 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6933 + else
6934 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935 + for as_dir in $PATH
6936 + do
6937 +  IFS=$as_save_IFS
6938 +  test -z "$as_dir" && as_dir=.
6939 +    for ac_exec_ext in '' $ac_executable_extensions; do
6940 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6941 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6942 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 +    break 2
6944 +  fi
6945 + done
6946 +  done
6947 + IFS=$as_save_IFS
6948 +
6949 + fi
6950 + fi
6951 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6952 + if test -n "$MANIFEST_TOOL"; then
6953 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6954 + $as_echo "$MANIFEST_TOOL" >&6; }
6955 + else
6956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 + $as_echo "no" >&6; }
6958 + fi
6959 +
6960 +
6961 + fi
6962 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6963 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6964 +  # Extract the first word of "mt", so it can be a program name with args.
6965 + set dummy mt; ac_word=$2
6966 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 + $as_echo_n "checking for $ac_word... " >&6; }
6968 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6969 +  $as_echo_n "(cached) " >&6
6970 + else
6971 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6972 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6973 + else
6974 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 + for as_dir in $PATH
6976 + do
6977 +  IFS=$as_save_IFS
6978 +  test -z "$as_dir" && as_dir=.
6979 +    for ac_exec_ext in '' $ac_executable_extensions; do
6980 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6982 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 +    break 2
6984 +  fi
6985 + done
6986 +  done
6987 + IFS=$as_save_IFS
6988 +
6989 + fi
6990 + fi
6991 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6992 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6993 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6994 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6995 + else
6996 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 + $as_echo "no" >&6; }
6998 + fi
6999 +
7000 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7001 +    MANIFEST_TOOL=":"
7002 +  else
7003 +    case $cross_compiling:$ac_tool_warned in
7004 + yes:)
7005 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7006 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7007 + ac_tool_warned=yes ;;
7008 + esac
7009 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7010 +  fi
7011 + else
7012 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7013 + fi
7014 +
7015 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7016 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7017 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7018 + if ${lt_cv_path_mainfest_tool+:} false; then :
7019 +  $as_echo_n "(cached) " >&6
7020 + else
7021 +  lt_cv_path_mainfest_tool=no
7022 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7023 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7024 +  cat conftest.err >&5
7025 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7026 +    lt_cv_path_mainfest_tool=yes
7027 +  fi
7028 +  rm -f conftest*
7029 + fi
7030 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7031 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7032 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7033 +  MANIFEST_TOOL=:
7034 + fi
7035 +
7036 +
7037 +
7038 +
7039 +
7040  
7041    case $host_os in
7042      rhapsody* | darwin*)
# Line 6537 | Line 7045 | need_locks="$enable_libtool_lock"
7045   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047   $as_echo_n "checking for $ac_word... " >&6; }
7048 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7048 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7049    $as_echo_n "(cached) " >&6
7050   else
7051    if test -n "$DSYMUTIL"; then
# Line 6577 | Line 7085 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7085   set dummy dsymutil; ac_word=$2
7086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087   $as_echo_n "checking for $ac_word... " >&6; }
7088 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7088 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7089    $as_echo_n "(cached) " >&6
7090   else
7091    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6629 | Line 7137 | fi
7137   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139   $as_echo_n "checking for $ac_word... " >&6; }
7140 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7140 > if ${ac_cv_prog_NMEDIT+:} false; then :
7141    $as_echo_n "(cached) " >&6
7142   else
7143    if test -n "$NMEDIT"; then
# Line 6669 | Line 7177 | if test -z "$ac_cv_prog_NMEDIT"; then
7177   set dummy nmedit; ac_word=$2
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179   $as_echo_n "checking for $ac_word... " >&6; }
7180 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7180 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7181    $as_echo_n "(cached) " >&6
7182   else
7183    if test -n "$ac_ct_NMEDIT"; then
# Line 6721 | Line 7229 | fi
7229   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231   $as_echo_n "checking for $ac_word... " >&6; }
7232 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7232 > if ${ac_cv_prog_LIPO+:} false; then :
7233    $as_echo_n "(cached) " >&6
7234   else
7235    if test -n "$LIPO"; then
# Line 6761 | Line 7269 | if test -z "$ac_cv_prog_LIPO"; then
7269   set dummy lipo; ac_word=$2
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271   $as_echo_n "checking for $ac_word... " >&6; }
7272 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7272 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7273    $as_echo_n "(cached) " >&6
7274   else
7275    if test -n "$ac_ct_LIPO"; then
# Line 6813 | Line 7321 | fi
7321   set dummy ${ac_tool_prefix}otool; ac_word=$2
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323   $as_echo_n "checking for $ac_word... " >&6; }
7324 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7324 > if ${ac_cv_prog_OTOOL+:} false; then :
7325    $as_echo_n "(cached) " >&6
7326   else
7327    if test -n "$OTOOL"; then
# Line 6853 | Line 7361 | if test -z "$ac_cv_prog_OTOOL"; then
7361   set dummy otool; ac_word=$2
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363   $as_echo_n "checking for $ac_word... " >&6; }
7364 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7364 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7365    $as_echo_n "(cached) " >&6
7366   else
7367    if test -n "$ac_ct_OTOOL"; then
# Line 6905 | Line 7413 | fi
7413   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415   $as_echo_n "checking for $ac_word... " >&6; }
7416 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7416 > if ${ac_cv_prog_OTOOL64+:} false; then :
7417    $as_echo_n "(cached) " >&6
7418   else
7419    if test -n "$OTOOL64"; then
# Line 6945 | Line 7453 | if test -z "$ac_cv_prog_OTOOL64"; then
7453   set dummy otool64; ac_word=$2
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455   $as_echo_n "checking for $ac_word... " >&6; }
7456 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7456 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7457    $as_echo_n "(cached) " >&6
7458   else
7459    if test -n "$ac_ct_OTOOL64"; then
# Line 7020 | Line 7528 | fi
7528  
7529      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7530   $as_echo_n "checking for -single_module linker flag... " >&6; }
7531 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7531 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7532    $as_echo_n "(cached) " >&6
7533   else
7534    lt_cv_apple_cc_single_mod=no
# Line 7036 | Line 7544 | else
7544          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7545            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7546          _lt_result=$?
7547 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7547 >        # If there is a non-empty error log, and "single_module"
7548 >        # appears in it, assume the flag caused a linker warning
7549 >        if test -s conftest.err && $GREP single_module conftest.err; then
7550 >          cat conftest.err >&5
7551 >        # Otherwise, if the output was created with a 0 exit code from
7552 >        # the compiler, it worked.
7553 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7554            lt_cv_apple_cc_single_mod=yes
7555          else
7556            cat conftest.err >&5
# Line 7047 | Line 7561 | else
7561   fi
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7563   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7564 +
7565      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7566   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7567 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7567 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7568    $as_echo_n "(cached) " >&6
7569   else
7570    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7594 | rm -f core conftest.err conftest.$ac_obj
7594   fi
7595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7596   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7597 +
7598 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7599 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7600 + if ${lt_cv_ld_force_load+:} false; then :
7601 +  $as_echo_n "(cached) " >&6
7602 + else
7603 +  lt_cv_ld_force_load=no
7604 +      cat > conftest.c << _LT_EOF
7605 + int forced_loaded() { return 2;}
7606 + _LT_EOF
7607 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7608 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7609 +      echo "$AR cru libconftest.a conftest.o" >&5
7610 +      $AR cru libconftest.a conftest.o 2>&5
7611 +      echo "$RANLIB libconftest.a" >&5
7612 +      $RANLIB libconftest.a 2>&5
7613 +      cat > conftest.c << _LT_EOF
7614 + int main() { return 0;}
7615 + _LT_EOF
7616 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7617 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7618 +      _lt_result=$?
7619 +      if test -s conftest.err && $GREP force_load conftest.err; then
7620 +        cat conftest.err >&5
7621 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7622 +        lt_cv_ld_force_load=yes
7623 +      else
7624 +        cat conftest.err >&5
7625 +      fi
7626 +        rm -f conftest.err libconftest.a conftest conftest.c
7627 +        rm -rf conftest.dSYM
7628 +
7629 + fi
7630 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7631 + $as_echo "$lt_cv_ld_force_load" >&6; }
7632      case $host_os in
7633      rhapsody* | darwin1.[012])
7634        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7656 | $as_echo "$lt_cv_ld_exported_symbols_lis
7656      else
7657        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7658      fi
7659 <    if test "$DSYMUTIL" != ":"; then
7659 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7660        _lt_dsymutil='~$DSYMUTIL $lib || :'
7661      else
7662        _lt_dsymutil=
# Line 7126 | Line 7676 | if test -n "$CPP" && test -d "$CPP"; the
7676    CPP=
7677   fi
7678   if test -z "$CPP"; then
7679 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7679 >  if ${ac_cv_prog_CPP+:} false; then :
7680    $as_echo_n "(cached) " >&6
7681   else
7682        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7706 | else
7706    # Broken: fails on valid input.
7707   continue
7708   fi
7709 < rm -f conftest.err conftest.$ac_ext
7709 > rm -f conftest.err conftest.i conftest.$ac_ext
7710  
7711    # OK, works on sane cases.  Now check whether nonexistent headers
7712    # can be detected and how.
# Line 7172 | Line 7722 | else
7722   ac_preproc_ok=:
7723   break
7724   fi
7725 < rm -f conftest.err conftest.$ac_ext
7725 > rm -f conftest.err conftest.i conftest.$ac_ext
7726  
7727   done
7728   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7729 < rm -f conftest.err conftest.$ac_ext
7729 > rm -f conftest.i conftest.err conftest.$ac_ext
7730   if $ac_preproc_ok; then :
7731    break
7732   fi
# Line 7215 | Line 7765 | else
7765    # Broken: fails on valid input.
7766   continue
7767   fi
7768 < rm -f conftest.err conftest.$ac_ext
7768 > rm -f conftest.err conftest.i conftest.$ac_ext
7769  
7770    # OK, works on sane cases.  Now check whether nonexistent headers
7771    # can be detected and how.
# Line 7231 | Line 7781 | else
7781   ac_preproc_ok=:
7782   break
7783   fi
7784 < rm -f conftest.err conftest.$ac_ext
7784 > rm -f conftest.err conftest.i conftest.$ac_ext
7785  
7786   done
7787   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7788 < rm -f conftest.err conftest.$ac_ext
7788 > rm -f conftest.i conftest.err conftest.$ac_ext
7789   if $ac_preproc_ok; then :
7790  
7791   else
7792    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7793   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7794 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7795 < See \`config.log' for more details." "$LINENO" 5; }
7794 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7795 > See \`config.log' for more details" "$LINENO" 5; }
7796   fi
7797  
7798   ac_ext=c
# Line 7254 | Line 7804 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804  
7805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7806   $as_echo_n "checking for ANSI C header files... " >&6; }
7807 < if test "${ac_cv_header_stdc+set}" = set; then :
7807 > if ${ac_cv_header_stdc+:} false; then :
7808    $as_echo_n "(cached) " >&6
7809   else
7810    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 7921 | do :
7921    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7922   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7923   "
7924 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
7924 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7925    cat >>confdefs.h <<_ACEOF
7926   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7927   _ACEOF
# Line 7386 | Line 7935 | for ac_header in dlfcn.h
7935   do :
7936    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7937   "
7938 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7938 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7939    cat >>confdefs.h <<_ACEOF
7940   #define HAVE_DLFCN_H 1
7941   _ACEOF
# Line 7397 | Line 7946 | done
7946  
7947  
7948  
7949 +
7950 +
7951   # Set options
7952   enable_dlopen=yes
7953   # Check whether --enable-static was given.
# Line 7470 | Line 8021 | fi
8021  
8022   # Check whether --with-pic was given.
8023   if test "${with_pic+set}" = set; then :
8024 <  withval=$with_pic; pic_mode="$withval"
8024 >  withval=$with_pic; lt_p=${PACKAGE-default}
8025 >    case $withval in
8026 >    yes|no) pic_mode=$withval ;;
8027 >    *)
8028 >      pic_mode=default
8029 >      # Look at the argument we got.  We use all the common list separators.
8030 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8031 >      for lt_pkg in $withval; do
8032 >        IFS="$lt_save_ifs"
8033 >        if test "X$lt_pkg" = "X$lt_p"; then
8034 >          pic_mode=yes
8035 >        fi
8036 >      done
8037 >      IFS="$lt_save_ifs"
8038 >      ;;
8039 >    esac
8040   else
8041    pic_mode=default
8042   fi
# Line 7547 | Line 8113 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8113  
8114  
8115  
8116 +
8117 +
8118 +
8119 +
8120 +
8121   test -z "$LN_S" && LN_S="ln -s"
8122  
8123  
# Line 7568 | Line 8139 | fi
8139  
8140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8141   $as_echo_n "checking for objdir... " >&6; }
8142 < if test "${lt_cv_objdir+set}" = set; then :
8142 > if ${lt_cv_objdir+:} false; then :
8143    $as_echo_n "(cached) " >&6
8144   else
8145    rm -f .libs 2>/dev/null
# Line 7596 | Line 8167 | _ACEOF
8167  
8168  
8169  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8170   case $host_os in
8171   aix3*)
8172    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8179 | aix3*)
8179    ;;
8180   esac
8181  
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
8182   # Global variables:
8183   ofile=libtool
8184   can_build_shared=yes
# Line 7666 | Line 8207 | for cc_temp in $compiler""; do
8207      *) break;;
8208    esac
8209   done
8210 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8210 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8211  
8212  
8213   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8217 | file_magic*)
8217    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8218      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8219   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8220 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8220 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8221    $as_echo_n "(cached) " >&6
8222   else
8223    case $MAGIC_CMD in
# Line 7742 | Line 8283 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8283    if test -n "$ac_tool_prefix"; then
8284      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8285   $as_echo_n "checking for file... " >&6; }
8286 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8286 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8287    $as_echo_n "(cached) " >&6
8288   else
8289    case $MAGIC_CMD in
# Line 7871 | Line 8412 | if test -n "$compiler"; then
8412   lt_prog_compiler_no_builtin_flag=
8413  
8414   if test "$GCC" = yes; then
8415 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8415 >  case $cc_basename in
8416 >  nvcc*)
8417 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8418 >  *)
8419 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8420 >  esac
8421  
8422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8423   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8424 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8424 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8425    $as_echo_n "(cached) " >&6
8426   else
8427    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8437 | else
8437     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8438     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8439     -e 's:$: $lt_compiler_flag:'`
8440 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8440 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8441     (eval "$lt_compile" 2>conftest.err)
8442     ac_status=$?
8443     cat conftest.err >&5
8444 <   echo "$as_me:7898: \$? = $ac_status" >&5
8444 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445     if (exit $ac_status) && test -s "$ac_outfile"; then
8446       # The compiler can only warn and ignore the option if not recognized
8447       # So say no if there are warnings other than the usual output.
8448 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8448 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8449       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8450       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8451         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8474 | fi
8474   lt_prog_compiler_pic=
8475   lt_prog_compiler_static=
8476  
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; }
8477  
8478    if test "$GCC" = yes; then
8479      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8521 | $as_echo_n "checking for $compiler optio
8521        lt_prog_compiler_pic='-fno-common'
8522        ;;
8523  
8524 +    haiku*)
8525 +      # PIC is the default for Haiku.
8526 +      # The "-static" flag exists, but is broken.
8527 +      lt_prog_compiler_static=
8528 +      ;;
8529 +
8530      hpux*)
8531        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8532        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8569 | $as_echo_n "checking for $compiler optio
8569        lt_prog_compiler_pic='-fPIC'
8570        ;;
8571      esac
8572 +
8573 +    case $cc_basename in
8574 +    nvcc*) # Cuda Compiler Driver 2.2
8575 +      lt_prog_compiler_wl='-Xlinker '
8576 +      if test -n "$lt_prog_compiler_pic"; then
8577 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8578 +      fi
8579 +      ;;
8580 +    esac
8581    else
8582      # PORTME Check for flag to pass linker flags through the system compiler.
8583      case $host_os in
# Line 8060 | Line 8619 | $as_echo_n "checking for $compiler optio
8619        lt_prog_compiler_static='-non_shared'
8620        ;;
8621  
8622 <    linux* | k*bsd*-gnu)
8622 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8623        case $cc_basename in
8624        # old Intel for x86_64 which still supported -KPIC.
8625        ecc*)
# Line 8081 | Line 8640 | $as_echo_n "checking for $compiler optio
8640          lt_prog_compiler_pic='--shared'
8641          lt_prog_compiler_static='--static'
8642          ;;
8643 <      pgcc* | pgf77* | pgf90* | pgf95*)
8643 >      nagfor*)
8644 >        # NAG Fortran compiler
8645 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8646 >        lt_prog_compiler_pic='-PIC'
8647 >        lt_prog_compiler_static='-Bstatic'
8648 >        ;;
8649 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8650          # Portland Group compilers (*not* the Pentium gcc compiler,
8651          # which looks to be a dead project)
8652          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8658 | $as_echo_n "checking for $compiler optio
8658          # All Alpha code is PIC.
8659          lt_prog_compiler_static='-non_shared'
8660          ;;
8661 <      xl*)
8662 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8661 >      xl* | bgxl* | bgf* | mpixl*)
8662 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8663          lt_prog_compiler_wl='-Wl,'
8664          lt_prog_compiler_pic='-qpic'
8665          lt_prog_compiler_static='-qstaticlink'
8666          ;;
8667        *)
8668          case `$CC -V 2>&1 | sed 5q` in
8669 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8670 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8671 +          lt_prog_compiler_pic='-KPIC'
8672 +          lt_prog_compiler_static='-Bstatic'
8673 +          lt_prog_compiler_wl=''
8674 +          ;;
8675 +        *Sun\ F* | *Sun*Fortran*)
8676 +          lt_prog_compiler_pic='-KPIC'
8677 +          lt_prog_compiler_static='-Bstatic'
8678 +          lt_prog_compiler_wl='-Qoption ld '
8679 +          ;;
8680          *Sun\ C*)
8681            # Sun C 5.9
8682            lt_prog_compiler_pic='-KPIC'
8683            lt_prog_compiler_static='-Bstatic'
8684            lt_prog_compiler_wl='-Wl,'
8685            ;;
8686 <        *Sun\ F*)
8687 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8688 <          lt_prog_compiler_pic='-KPIC'
8686 >        *Intel*\ [CF]*Compiler*)
8687 >          lt_prog_compiler_wl='-Wl,'
8688 >          lt_prog_compiler_pic='-fPIC'
8689 >          lt_prog_compiler_static='-static'
8690 >          ;;
8691 >        *Portland\ Group*)
8692 >          lt_prog_compiler_wl='-Wl,'
8693 >          lt_prog_compiler_pic='-fpic'
8694            lt_prog_compiler_static='-Bstatic'
8114          lt_prog_compiler_wl=''
8695            ;;
8696          esac
8697          ;;
# Line 8143 | Line 8723 | $as_echo_n "checking for $compiler optio
8723        lt_prog_compiler_pic='-KPIC'
8724        lt_prog_compiler_static='-Bstatic'
8725        case $cc_basename in
8726 <      f77* | f90* | f95*)
8726 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8727          lt_prog_compiler_wl='-Qoption ld ';;
8728        *)
8729          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 8780 | case $host_os in
8780      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8781      ;;
8782   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
8783  
8784 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8785 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8786 + if ${lt_cv_prog_compiler_pic+:} false; then :
8787 +  $as_echo_n "(cached) " >&6
8788 + else
8789 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8790 + fi
8791 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8792 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8793 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8794  
8795   #
8796   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 8798 | $as_echo "$lt_prog_compiler_pic" >&6; }
8798   if test -n "$lt_prog_compiler_pic"; then
8799    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8800   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8801 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8801 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8802    $as_echo_n "(cached) " >&6
8803   else
8804    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 8814 | else
8814     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8815     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8816     -e 's:$: $lt_compiler_flag:'`
8817 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8817 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8818     (eval "$lt_compile" 2>conftest.err)
8819     ac_status=$?
8820     cat conftest.err >&5
8821 <   echo "$as_me:8237: \$? = $ac_status" >&5
8821 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822     if (exit $ac_status) && test -s "$ac_outfile"; then
8823       # The compiler can only warn and ignore the option if not recognized
8824       # So say no if there are warnings other than the usual output.
8825 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8825 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8826       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8827       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8828         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 8851 | fi
8851  
8852  
8853  
8854 +
8855 +
8856 +
8857 +
8858 +
8859   #
8860   # Check to make sure the static flag actually works.
8861   #
8862   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8864   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8865 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8865 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8866    $as_echo_n "(cached) " >&6
8867   else
8868    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 8875 | else
8875       if test -s conftest.err; then
8876         # Append any errors to the config.log.
8877         cat conftest.err 1>&5
8878 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8878 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8879         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880         if diff conftest.exp conftest.er2 >/dev/null; then
8881           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 8905 | fi
8905  
8906    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8907   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8908 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8908 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8909    $as_echo_n "(cached) " >&6
8910   else
8911    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 8924 | else
8924     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926     -e 's:$: $lt_compiler_flag:'`
8927 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
8927 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928     (eval "$lt_compile" 2>out/conftest.err)
8929     ac_status=$?
8930     cat out/conftest.err >&5
8931 <   echo "$as_me:8342: \$? = $ac_status" >&5
8931 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8933     then
8934       # The compiler can only warn and ignore the option if not recognized
8935       # So say no if there are warnings
8936 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8936 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8937       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8938       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8939         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 8960 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8960  
8961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8962   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8963 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8963 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8964    $as_echo_n "(cached) " >&6
8965   else
8966    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 8979 | else
8979     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8980     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8981     -e 's:$: $lt_compiler_flag:'`
8982 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
8982 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8983     (eval "$lt_compile" 2>out/conftest.err)
8984     ac_status=$?
8985     cat out/conftest.err >&5
8986 <   echo "$as_me:8397: \$? = $ac_status" >&5
8986 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8988     then
8989       # The compiler can only warn and ignore the option if not recognized
8990       # So say no if there are warnings
8991 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8991 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8992       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8993       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8994         lt_cv_prog_compiler_c_o=yes
# Line 8465 | Line 9054 | $as_echo_n "checking whether the $compil
9054    hardcode_direct=no
9055    hardcode_direct_absolute=no
9056    hardcode_libdir_flag_spec=
8468  hardcode_libdir_flag_spec_ld=
9057    hardcode_libdir_separator=
9058    hardcode_minus_L=no
9059    hardcode_shlibpath_var=unsupported
# Line 8512 | Line 9100 | $as_echo_n "checking whether the $compil
9100    esac
9101  
9102    ld_shlibs=yes
9103 +
9104 +  # On some targets, GNU ld is compatible enough with the native linker
9105 +  # that we're better off using the native interface for both.
9106 +  lt_use_gnu_ld_interface=no
9107    if test "$with_gnu_ld" = yes; then
9108 +    case $host_os in
9109 +      aix*)
9110 +        # The AIX port of GNU ld has always aspired to compatibility
9111 +        # with the native linker.  However, as the warning in the GNU ld
9112 +        # block says, versions before 2.19.5* couldn't really create working
9113 +        # shared libraries, regardless of the interface used.
9114 +        case `$LD -v 2>&1` in
9115 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9116 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9117 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9118 +          *)
9119 +            lt_use_gnu_ld_interface=yes
9120 +            ;;
9121 +        esac
9122 +        ;;
9123 +      *)
9124 +        lt_use_gnu_ld_interface=yes
9125 +        ;;
9126 +    esac
9127 +  fi
9128 +
9129 +  if test "$lt_use_gnu_ld_interface" = yes; then
9130      # If archive_cmds runs LD, not CC, wlarc should be empty
9131      wlarc='${wl}'
9132  
# Line 8530 | Line 9144 | $as_echo_n "checking whether the $compil
9144      fi
9145      supports_anon_versioning=no
9146      case `$LD -v 2>&1` in
9147 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9148        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9149        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9150        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9160 | $as_echo_n "checking whether the $compil
9160          ld_shlibs=no
9161          cat <<_LT_EOF 1>&2
9162  
9163 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9163 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9164   *** to be unable to reliably create shared libraries on AIX.
9165   *** Therefore, libtool is disabling shared libraries support.  If you
9166 < *** really care for shared libraries, you may want to modify your PATH
9167 < *** so that a non-GNU linker is found, and then restart.
9166 > *** really care for shared libraries, you may want to install binutils
9167 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9168 > *** You will then need to restart the configuration process.
9169  
9170   _LT_EOF
9171        fi
# Line 8585 | Line 9201 | _LT_EOF
9201        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9202        # as there is no search path for DLLs.
9203        hardcode_libdir_flag_spec='-L$libdir'
9204 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9205        allow_undefined_flag=unsupported
9206        always_export_symbols=no
9207        enable_shared_with_static_runtimes=yes
9208 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208 >      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'
9209 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9210  
9211        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9212          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 9224 | _LT_EOF
9224        fi
9225        ;;
9226  
9227 +    haiku*)
9228 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9229 +      link_all_deplibs=yes
9230 +      ;;
9231 +
9232      interix[3-9]*)
9233        hardcode_direct=no
9234        hardcode_shlibpath_var=no
# Line 8621 | Line 9244 | _LT_EOF
9244        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'
9245        ;;
9246  
9247 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9247 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9248        tmp_diet=no
9249        if test "$host_os" = linux-dietlibc; then
9250          case $cc_basename in
# Line 8631 | Line 9254 | _LT_EOF
9254        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9255           && test "$tmp_diet" = no
9256        then
9257 <        tmp_addflag=
9257 >        tmp_addflag=' $pic_flag'
9258          tmp_sharedflag='-shared'
9259          case $cc_basename,$host_cpu in
9260          pgcc*)                          # Portland Group C compiler
9261 <          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'
9261 >          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'
9262            tmp_addflag=' $pic_flag'
9263            ;;
9264 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9265 <          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'
9264 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9265 >                                        # Portland Group f77 and f90 compilers
9266 >          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'
9267            tmp_addflag=' $pic_flag -Mnomain' ;;
9268          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9269            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9274 | _LT_EOF
9274          lf95*)                          # Lahey Fortran 8.1
9275            whole_archive_flag_spec=
9276            tmp_sharedflag='--shared' ;;
9277 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9277 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9278            tmp_sharedflag='-qmkshrobj'
9279            tmp_addflag= ;;
9280 +        nvcc*)  # Cuda Compiler Driver 2.2
9281 +          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'
9282 +          compiler_needs_object=yes
9283 +          ;;
9284          esac
9285          case `$CC -V 2>&1 | sed 5q` in
9286          *Sun\ C*)                       # Sun C 5.9
9287 <          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'
9287 >          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'
9288            compiler_needs_object=yes
9289            tmp_sharedflag='-G' ;;
9290          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9300 | _LT_EOF
9300          fi
9301  
9302          case $cc_basename in
9303 <        xlf*)
9303 >        xlf* | bgf* | bgxlf* | mpixlf*)
9304            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9305            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9306 <          hardcode_libdir_flag_spec=
9307 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8680 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9307 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9308            if test "x$supports_anon_versioning" = xyes; then
9309              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9310                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9311                echo "local: *; };" >> $output_objdir/$libname.ver~
9312 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9312 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9313            fi
9314            ;;
9315          esac
# Line 8696 | Line 9323 | _LT_EOF
9323          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9324          wlarc=
9325        else
9326 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328        fi
9329        ;;
9330  
# Line 8715 | Line 9342 | _LT_EOF
9342  
9343   _LT_EOF
9344        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9345 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9347        else
9348          ld_shlibs=no
9349        fi
# Line 8762 | Line 9389 | _LT_EOF
9389  
9390      *)
9391        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394        else
9395          ld_shlibs=no
9396        fi
# Line 8803 | Line 9430 | _LT_EOF
9430        else
9431          # If we're using GNU nm, then we don't want the "-C" option.
9432          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9433 +        # Also, AIX nm treats weak defined symbols like other global
9434 +        # defined symbols, whereas GNU nm marks them as "W".
9435          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9436 <          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'
9436 >          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'
9437          else
9438            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'
9439          fi
# Line 8866 | Line 9495 | _LT_EOF
9495          if test "$aix_use_runtimelinking" = yes; then
9496            shared_flag="$shared_flag "'${wl}-G'
9497          fi
8869        link_all_deplibs=no
9498        else
9499          # not using gcc
9500          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9520 | _LT_EOF
9520          allow_undefined_flag='-berok'
9521          # Determine the default libpath from the value encoded in an
9522          # empty executable.
9523 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 >        if test "${lt_cv_aix_libpath+set}" = set; then
9524 >  aix_libpath=$lt_cv_aix_libpath
9525 > else
9526 >  if ${lt_cv_aix_libpath_+:} false; then :
9527 >  $as_echo_n "(cached) " >&6
9528 > else
9529 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530   /* end confdefs.h.  */
9531  
9532   int
# Line 8905 | Line 9539 | main ()
9539   _ACEOF
9540   if ac_fn_c_try_link "$LINENO"; then :
9541  
9542 < lt_aix_libpath_sed='
9543 <    /Import File Strings/,/^$/ {
9544 <        /^0/ {
9545 <            s/^0  *\(.*\)$/\1/
9546 <            p
9547 <        }
9548 <    }'
9549 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 < # Check for a 64-bit object if we didn't find anything.
9551 < if test -z "$aix_libpath"; then
9552 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 < fi
9542 >  lt_aix_libpath_sed='
9543 >      /Import File Strings/,/^$/ {
9544 >          /^0/ {
9545 >              s/^0  *\([^ ]*\) *$/\1/
9546 >              p
9547 >          }
9548 >      }'
9549 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 >  # Check for a 64-bit object if we didn't find anything.
9551 >  if test -z "$lt_cv_aix_libpath_"; then
9552 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 >  fi
9554   fi
9555   rm -f core conftest.err conftest.$ac_objext \
9556      conftest$ac_exeext conftest.$ac_ext
9557 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9557 >  if test -z "$lt_cv_aix_libpath_"; then
9558 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9559 >  fi
9560 >
9561 > fi
9562 >
9563 >  aix_libpath=$lt_cv_aix_libpath_
9564 > fi
9565  
9566          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9567 <        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"
9567 >        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"
9568        else
9569          if test "$host_cpu" = ia64; then
9570            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9573 | if test -z "$aix_libpath"; then aix_libp
9573          else
9574           # Determine the default libpath from the value encoded in an
9575           # empty executable.
9576 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 >         if test "${lt_cv_aix_libpath+set}" = set; then
9577 >  aix_libpath=$lt_cv_aix_libpath
9578 > else
9579 >  if ${lt_cv_aix_libpath_+:} false; then :
9580 >  $as_echo_n "(cached) " >&6
9581 > else
9582 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583   /* end confdefs.h.  */
9584  
9585   int
# Line 8945 | Line 9592 | main ()
9592   _ACEOF
9593   if ac_fn_c_try_link "$LINENO"; then :
9594  
9595 < lt_aix_libpath_sed='
9596 <    /Import File Strings/,/^$/ {
9597 <        /^0/ {
9598 <            s/^0  *\(.*\)$/\1/
9599 <            p
9600 <        }
9601 <    }'
9602 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 < # Check for a 64-bit object if we didn't find anything.
9604 < if test -z "$aix_libpath"; then
9605 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 < fi
9595 >  lt_aix_libpath_sed='
9596 >      /Import File Strings/,/^$/ {
9597 >          /^0/ {
9598 >              s/^0  *\([^ ]*\) *$/\1/
9599 >              p
9600 >          }
9601 >      }'
9602 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 >  # Check for a 64-bit object if we didn't find anything.
9604 >  if test -z "$lt_cv_aix_libpath_"; then
9605 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 >  fi
9607   fi
9608   rm -f core conftest.err conftest.$ac_objext \
9609      conftest$ac_exeext conftest.$ac_ext
9610 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9610 >  if test -z "$lt_cv_aix_libpath_"; then
9611 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9612 >  fi
9613 >
9614 > fi
9615 >
9616 >  aix_libpath=$lt_cv_aix_libpath_
9617 > fi
9618  
9619           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9620            # Warning - without using the other run time loading flags,
9621            # -berok will link without error, but may produce a broken library.
9622            no_undefined_flag=' ${wl}-bernotok'
9623            allow_undefined_flag=' ${wl}-berok'
9624 <          # Exported symbols can be pulled into shared objects from archives
9625 <          whole_archive_flag_spec='$convenience'
9624 >          if test "$with_gnu_ld" = yes; then
9625 >            # We only use this code for GNU lds that support --whole-archive.
9626 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9627 >          else
9628 >            # Exported symbols can be pulled into shared objects from archives
9629 >            whole_archive_flag_spec='$convenience'
9630 >          fi
9631            archive_cmds_need_lc=yes
9632            # This is similar to how AIX traditionally builds its shared libraries.
9633            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 9659 | if test -z "$aix_libpath"; then aix_libp
9659        # Microsoft Visual C++.
9660        # hardcode_libdir_flag_spec is actually meaningless, as there is
9661        # no search path for DLLs.
9662 <      hardcode_libdir_flag_spec=' '
9663 <      allow_undefined_flag=unsupported
9664 <      # Tell ltmain to make .lib files, not .a files.
9665 <      libext=lib
9666 <      # Tell ltmain to make .dll files, not .so files.
9667 <      shrext_cmds=".dll"
9668 <      # FIXME: Setting linknames here is a bad hack.
9669 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9670 <      # The linker will automatically build a .lib file if we build a DLL.
9671 <      old_archive_from_new_cmds='true'
9672 <      # FIXME: Should let the user specify the lib program.
9673 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9674 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9675 <      enable_shared_with_static_runtimes=yes
9662 >      case $cc_basename in
9663 >      cl*)
9664 >        # Native MSVC
9665 >        hardcode_libdir_flag_spec=' '
9666 >        allow_undefined_flag=unsupported
9667 >        always_export_symbols=yes
9668 >        file_list_spec='@'
9669 >        # Tell ltmain to make .lib files, not .a files.
9670 >        libext=lib
9671 >        # Tell ltmain to make .dll files, not .so files.
9672 >        shrext_cmds=".dll"
9673 >        # FIXME: Setting linknames here is a bad hack.
9674 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9675 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9676 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9677 >          else
9678 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9679 >          fi~
9680 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9681 >          linknames='
9682 >        # The linker will not automatically build a static lib if we build a DLL.
9683 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9684 >        enable_shared_with_static_runtimes=yes
9685 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9686 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9687 >        # Don't use ranlib
9688 >        old_postinstall_cmds='chmod 644 $oldlib'
9689 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9690 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9691 >          case $lt_outputfile in
9692 >            *.exe|*.EXE) ;;
9693 >            *)
9694 >              lt_outputfile="$lt_outputfile.exe"
9695 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9696 >              ;;
9697 >          esac~
9698 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9699 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9700 >            $RM "$lt_outputfile.manifest";
9701 >          fi'
9702 >        ;;
9703 >      *)
9704 >        # Assume MSVC wrapper
9705 >        hardcode_libdir_flag_spec=' '
9706 >        allow_undefined_flag=unsupported
9707 >        # Tell ltmain to make .lib files, not .a files.
9708 >        libext=lib
9709 >        # Tell ltmain to make .dll files, not .so files.
9710 >        shrext_cmds=".dll"
9711 >        # FIXME: Setting linknames here is a bad hack.
9712 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9713 >        # The linker will automatically build a .lib file if we build a DLL.
9714 >        old_archive_from_new_cmds='true'
9715 >        # FIXME: Should let the user specify the lib program.
9716 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9717 >        enable_shared_with_static_runtimes=yes
9718 >        ;;
9719 >      esac
9720        ;;
9721  
9722      darwin* | rhapsody*)
# Line 9023 | Line 9726 | if test -z "$aix_libpath"; then aix_libp
9726    hardcode_direct=no
9727    hardcode_automatic=yes
9728    hardcode_shlibpath_var=unsupported
9729 <  whole_archive_flag_spec=''
9729 >  if test "$lt_cv_ld_force_load" = "yes"; then
9730 >    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\"`'
9731 >
9732 >  else
9733 >    whole_archive_flag_spec=''
9734 >  fi
9735    link_all_deplibs=yes
9736    allow_undefined_flag="$_lt_dar_allow_undefined"
9737    case $cc_basename in
# Line 9031 | Line 9739 | if test -z "$aix_libpath"; then aix_libp
9739       *) _lt_dar_can_shared=$GCC ;;
9740    esac
9741    if test "$_lt_dar_can_shared" = "yes"; then
9742 <    output_verbose_link_cmd=echo
9742 >    output_verbose_link_cmd=func_echo_all
9743      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9744      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9745      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9049 | Line 9757 | if test -z "$aix_libpath"; then aix_libp
9757        hardcode_shlibpath_var=no
9758        ;;
9759  
9052    freebsd1*)
9053      ld_shlibs=no
9054      ;;
9055
9760      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9761      # support.  Future versions do this automatically, but an explicit c++rt0.o
9762      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 9769 | if test -z "$aix_libpath"; then aix_libp
9769        ;;
9770  
9771      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9772 <    freebsd2*)
9772 >    freebsd2.*)
9773        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9774        hardcode_direct=yes
9775        hardcode_minus_L=yes
# Line 9074 | Line 9778 | if test -z "$aix_libpath"; then aix_libp
9778  
9779      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9780      freebsd* | dragonfly*)
9781 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9781 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9782        hardcode_libdir_flag_spec='-R$libdir'
9783        hardcode_direct=yes
9784        hardcode_shlibpath_var=no
# Line 9082 | Line 9786 | if test -z "$aix_libpath"; then aix_libp
9786  
9787      hpux9*)
9788        if test "$GCC" = yes; then
9789 <        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'
9789 >        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'
9790        else
9791          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'
9792        fi
# Line 9097 | Line 9801 | if test -z "$aix_libpath"; then aix_libp
9801        ;;
9802  
9803      hpux10*)
9804 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9805 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9804 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9805 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9806        else
9807          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9808        fi
9809        if test "$with_gnu_ld" = no; then
9810          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107        hardcode_libdir_flag_spec_ld='+b $libdir'
9811          hardcode_libdir_separator=:
9812          hardcode_direct=yes
9813          hardcode_direct_absolute=yes
# Line 9116 | Line 9819 | if test -z "$aix_libpath"; then aix_libp
9819        ;;
9820  
9821      hpux11*)
9822 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9822 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9823          case $host_cpu in
9824          hppa*64*)
9825            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9826            ;;
9827          ia64*)
9828 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9828 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829            ;;
9830          *)
9831 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9831 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9832            ;;
9833          esac
9834        else
# Line 9137 | Line 9840 | if test -z "$aix_libpath"; then aix_libp
9840            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9841            ;;
9842          *)
9843 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9843 >
9844 >          # Older versions of the 11.00 compiler do not understand -b yet
9845 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9846 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9847 > $as_echo_n "checking if $CC understands -b... " >&6; }
9848 > if ${lt_cv_prog_compiler__b+:} false; then :
9849 >  $as_echo_n "(cached) " >&6
9850 > else
9851 >  lt_cv_prog_compiler__b=no
9852 >   save_LDFLAGS="$LDFLAGS"
9853 >   LDFLAGS="$LDFLAGS -b"
9854 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9855 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9856 >     # The linker can only warn and ignore the option if not recognized
9857 >     # So say no if there are warnings
9858 >     if test -s conftest.err; then
9859 >       # Append any errors to the config.log.
9860 >       cat conftest.err 1>&5
9861 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9862 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9863 >       if diff conftest.exp conftest.er2 >/dev/null; then
9864 >         lt_cv_prog_compiler__b=yes
9865 >       fi
9866 >     else
9867 >       lt_cv_prog_compiler__b=yes
9868 >     fi
9869 >   fi
9870 >   $RM -r conftest*
9871 >   LDFLAGS="$save_LDFLAGS"
9872 >
9873 > fi
9874 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9875 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9876 >
9877 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9878 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879 > else
9880 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9881 > fi
9882 >
9883            ;;
9884          esac
9885        fi
# Line 9165 | Line 9907 | if test -z "$aix_libpath"; then aix_libp
9907  
9908      irix5* | irix6* | nonstopux*)
9909        if test "$GCC" = yes; then
9910 <        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'
9910 >        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'
9911          # Try to use the -exported_symbol ld option, if it does not
9912          # work, assume that -exports_file does not work either and
9913          # implicitly export all symbols.
9914 <        save_LDFLAGS="$LDFLAGS"
9915 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9916 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 >        # This should be the same for all languages, so no per-tag cache variable.
9915 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9916 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9917 > if ${lt_cv_irix_exported_symbol+:} false; then :
9918 >  $as_echo_n "(cached) " >&6
9919 > else
9920 >  save_LDFLAGS="$LDFLAGS"
9921 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9922 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923   /* end confdefs.h.  */
9924 < int foo(void) {}
9924 > int foo (void) { return 0; }
9925   _ACEOF
9926   if ac_fn_c_try_link "$LINENO"; then :
9927 <  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'
9928 <
9927 >  lt_cv_irix_exported_symbol=yes
9928 > else
9929 >  lt_cv_irix_exported_symbol=no
9930   fi
9931   rm -f core conftest.err conftest.$ac_objext \
9932      conftest$ac_exeext conftest.$ac_ext
9933 <        LDFLAGS="$save_LDFLAGS"
9933 >           LDFLAGS="$save_LDFLAGS"
9934 > fi
9935 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9936 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9937 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9938 >          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'
9939 >        fi
9940        else
9941 <        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'
9942 <        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'
9941 >        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'
9942 >        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'
9943        fi
9944        archive_cmds_need_lc='no'
9945        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 10001 | rm -f core conftest.err conftest.$ac_obj
10001        hardcode_libdir_flag_spec='-L$libdir'
10002        hardcode_minus_L=yes
10003        allow_undefined_flag=unsupported
10004 <      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'
10004 >      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'
10005        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10006        ;;
10007  
10008      osf3*)
10009        if test "$GCC" = yes; then
10010          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10011 <        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'
10011 >        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'
10012        else
10013          allow_undefined_flag=' -expect_unresolved \*'
10014 <        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'
10014 >        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'
10015        fi
10016        archive_cmds_need_lc='no'
10017        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 10021 | rm -f core conftest.err conftest.$ac_obj
10021      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10022        if test "$GCC" = yes; then
10023          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10024 <        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'
10024 >        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'
10025          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10026        else
10027          allow_undefined_flag=' -expect_unresolved \*'
10028 <        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'
10028 >        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'
10029          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~
10030 <        $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'
10030 >        $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'
10031  
10032          # Both c and cxx compiler support -rpath directly
10033          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 10040 | rm -f core conftest.err conftest.$ac_obj
10040        no_undefined_flag=' -z defs'
10041        if test "$GCC" = yes; then
10042          wlarc='${wl}'
10043 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10044          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10045 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10045 >          $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'
10046        else
10047          case `$CC -V 2>&1` in
10048          *"Compilers 5.0"*)
# Line 9475 | Line 10230 | x|xyes)
10230        # to ld, don't add -lc before -lgcc.
10231        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10232   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10233 <      $RM conftest*
10234 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10233 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10234 >  $as_echo_n "(cached) " >&6
10235 > else
10236 >  $RM conftest*
10237 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10238  
10239 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10239 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10240    (eval $ac_compile) 2>&5
10241    ac_status=$?
10242    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10243    test $ac_status = 0; } 2>conftest.err; then
10244 <        soname=conftest
10245 <        lib=conftest
10246 <        libobjs=conftest.$ac_objext
10247 <        deplibs=
10248 <        wl=$lt_prog_compiler_wl
10249 <        pic_flag=$lt_prog_compiler_pic
10250 <        compiler_flags=-v
10251 <        linker_flags=-v
10252 <        verstring=
10253 <        output_objdir=.
10254 <        libname=conftest
10255 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10256 <        allow_undefined_flag=
10257 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10244 >          soname=conftest
10245 >          lib=conftest
10246 >          libobjs=conftest.$ac_objext
10247 >          deplibs=
10248 >          wl=$lt_prog_compiler_wl
10249 >          pic_flag=$lt_prog_compiler_pic
10250 >          compiler_flags=-v
10251 >          linker_flags=-v
10252 >          verstring=
10253 >          output_objdir=.
10254 >          libname=conftest
10255 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10256 >          allow_undefined_flag=
10257 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10258    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10259    ac_status=$?
10260    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10261    test $ac_status = 0; }
10262 <        then
10263 <          archive_cmds_need_lc=no
10264 <        else
10265 <          archive_cmds_need_lc=yes
10266 <        fi
10267 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10268 <      else
10269 <        cat conftest.err 1>&5
10270 <      fi
10271 <      $RM conftest*
10272 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10273 < $as_echo "$archive_cmds_need_lc" >&6; }
10262 >          then
10263 >            lt_cv_archive_cmds_need_lc=no
10264 >          else
10265 >            lt_cv_archive_cmds_need_lc=yes
10266 >          fi
10267 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10268 >        else
10269 >          cat conftest.err 1>&5
10270 >        fi
10271 >        $RM conftest*
10272 >
10273 > fi
10274 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10275 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10276 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10277        ;;
10278      esac
10279    fi
# Line 9670 | Line 10431 | esac
10431  
10432  
10433  
9673
9674
9675
9676
9677
10434    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10435   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10436  
# Line 9683 | Line 10439 | if test "$GCC" = yes; then
10439      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10440      *) lt_awk_arg="/^libraries:/" ;;
10441    esac
10442 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10443 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10442 >  case $host_os in
10443 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10444 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10445 >  esac
10446 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10447 >  case $lt_search_path_spec in
10448 >  *\;*)
10449      # if the path contains ";" then we assume it to be the separator
10450      # otherwise default to the standard path separator (i.e. ":") - it is
10451      # assumed that no part of a normal pathname contains ";" but that should
10452      # okay in the real world where ";" in dirpaths is itself problematic.
10453 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10454 <  else
10455 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10456 <  fi
10453 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10454 >    ;;
10455 >  *)
10456 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10457 >    ;;
10458 >  esac
10459    # Ok, now we have the path, separated by spaces, we can step through it
10460    # and add multilib dir if necessary.
10461    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10468 | if test "$GCC" = yes; then
10468          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10469      fi
10470    done
10471 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10471 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10472   BEGIN {RS=" "; FS="/|\n";} {
10473    lt_foo="";
10474    lt_count=0;
# Line 9725 | Line 10488 | BEGIN {RS=" "; FS="/|\n";} {
10488    if (lt_foo != "") { lt_freq[lt_foo]++; }
10489    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10490   }'`
10491 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10491 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10492 >  # for these hosts.
10493 >  case $host_os in
10494 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10495 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10496 >  esac
10497 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10498   else
10499    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10500   fi
# Line 9751 | Line 10520 | need_version=unknown
10520  
10521   case $host_os in
10522   aix3*)
10523 <  version_type=linux
10523 >  version_type=linux # correct to gnu/linux during the next big refactor
10524    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10525    shlibpath_var=LIBPATH
10526  
# Line 9760 | Line 10529 | aix3*)
10529    ;;
10530  
10531   aix[4-9]*)
10532 <  version_type=linux
10532 >  version_type=linux # correct to gnu/linux during the next big refactor
10533    need_lib_prefix=no
10534    need_version=no
10535    hardcode_into_libs=yes
# Line 9813 | Line 10582 | amigaos*)
10582    m68k)
10583      library_names_spec='$libname.ixlibrary $libname.a'
10584      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10585 <    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'
10585 >    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'
10586      ;;
10587    esac
10588    ;;
# Line 9825 | Line 10594 | beos*)
10594    ;;
10595  
10596   bsdi[45]*)
10597 <  version_type=linux
10597 >  version_type=linux # correct to gnu/linux during the next big refactor
10598    need_version=no
10599    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9844 | Line 10613 | cygwin* | mingw* | pw32* | cegcc*)
10613    need_version=no
10614    need_lib_prefix=no
10615  
10616 <  case $GCC,$host_os in
10617 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10616 >  case $GCC,$cc_basename in
10617 >  yes,*)
10618 >    # gcc
10619      library_names_spec='$libname.dll.a'
10620      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10621      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10636 | cygwin* | mingw* | pw32* | cegcc*)
10636      cygwin*)
10637        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10638        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10639 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10639 >
10640 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10641        ;;
10642      mingw* | cegcc*)
10643        # MinGW DLLs use traditional 'lib' prefix
10644        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
10645        ;;
10646      pw32*)
10647        # pw32 DLLs use 'pw' prefix rather than 'lib'
10648        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10649        ;;
10650      esac
10651 +    dynamic_linker='Win32 ld.exe'
10652 +    ;;
10653 +
10654 +  *,cl*)
10655 +    # Native MSVC
10656 +    libname_spec='$name'
10657 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10658 +    library_names_spec='${libname}.dll.lib'
10659 +
10660 +    case $build_os in
10661 +    mingw*)
10662 +      sys_lib_search_path_spec=
10663 +      lt_save_ifs=$IFS
10664 +      IFS=';'
10665 +      for lt_path in $LIB
10666 +      do
10667 +        IFS=$lt_save_ifs
10668 +        # Let DOS variable expansion print the short 8.3 style file name.
10669 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10670 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10671 +      done
10672 +      IFS=$lt_save_ifs
10673 +      # Convert to MSYS style.
10674 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10675 +      ;;
10676 +    cygwin*)
10677 +      # Convert to unix form, then to dos form, then back to unix form
10678 +      # but this time dos style (no spaces!) so that the unix form looks
10679 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10680 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10681 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10682 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10683 +      ;;
10684 +    *)
10685 +      sys_lib_search_path_spec="$LIB"
10686 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10687 +        # It is most probably a Windows format PATH.
10688 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10689 +      else
10690 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10691 +      fi
10692 +      # FIXME: find the short name or the path components, as spaces are
10693 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10694 +      ;;
10695 +    esac
10696 +
10697 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10698 +    postinstall_cmds='base_file=`basename \${file}`~
10699 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10700 +      dldir=$destdir/`dirname \$dlpath`~
10701 +      test -d \$dldir || mkdir -p \$dldir~
10702 +      $install_prog $dir/$dlname \$dldir/$dlname'
10703 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10704 +      dlpath=$dir/\$dldll~
10705 +       $RM \$dlpath'
10706 +    shlibpath_overrides_runpath=yes
10707 +    dynamic_linker='Win32 link.exe'
10708      ;;
10709  
10710    *)
10711 +    # Assume MSVC wrapper
10712      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10713 +    dynamic_linker='Win32 ld.exe'
10714      ;;
10715    esac
9898  dynamic_linker='Win32 ld.exe'
10716    # FIXME: first we should search . and the directory the executable is in
10717    shlibpath_var=PATH
10718    ;;
# Line 9916 | Line 10733 | darwin* | rhapsody*)
10733    ;;
10734  
10735   dgux*)
10736 <  version_type=linux
10736 >  version_type=linux # correct to gnu/linux during the next big refactor
10737    need_lib_prefix=no
10738    need_version=no
10739    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9924 | Line 10741 | dgux*)
10741    shlibpath_var=LD_LIBRARY_PATH
10742    ;;
10743  
9927 freebsd1*)
9928  dynamic_linker=no
9929  ;;
9930
10744   freebsd* | dragonfly*)
10745    # DragonFly does not have aout.  When/if they implement a new
10746    # versioning mechanism, adjust this.
# Line 9935 | Line 10748 | freebsd* | dragonfly*)
10748      objformat=`/usr/bin/objformat`
10749    else
10750      case $host_os in
10751 <    freebsd[123]*) objformat=aout ;;
10751 >    freebsd[23].*) objformat=aout ;;
10752      *) objformat=elf ;;
10753      esac
10754    fi
# Line 9953 | Line 10766 | freebsd* | dragonfly*)
10766    esac
10767    shlibpath_var=LD_LIBRARY_PATH
10768    case $host_os in
10769 <  freebsd2*)
10769 >  freebsd2.*)
10770      shlibpath_overrides_runpath=yes
10771      ;;
10772    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9973 | Line 10786 | freebsd* | dragonfly*)
10786    ;;
10787  
10788   gnu*)
10789 <  version_type=linux
10789 >  version_type=linux # correct to gnu/linux during the next big refactor
10790    need_lib_prefix=no
10791    need_version=no
10792    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793    soname_spec='${libname}${release}${shared_ext}$major'
10794    shlibpath_var=LD_LIBRARY_PATH
10795 +  shlibpath_overrides_runpath=no
10796 +  hardcode_into_libs=yes
10797 +  ;;
10798 +
10799 + haiku*)
10800 +  version_type=linux # correct to gnu/linux during the next big refactor
10801 +  need_lib_prefix=no
10802 +  need_version=no
10803 +  dynamic_linker="$host_os runtime_loader"
10804 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10805 +  soname_spec='${libname}${release}${shared_ext}$major'
10806 +  shlibpath_var=LIBRARY_PATH
10807 +  shlibpath_overrides_runpath=yes
10808 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10809    hardcode_into_libs=yes
10810    ;;
10811  
# Line 10024 | Line 10851 | hpux9* | hpux10* | hpux11*)
10851      soname_spec='${libname}${release}${shared_ext}$major'
10852      ;;
10853    esac
10854 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10854 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10855    postinstall_cmds='chmod 555 $lib'
10856 +  # or fails outright, so override atomically:
10857 +  install_override_mode=555
10858    ;;
10859  
10860   interix[3-9]*)
10861 <  version_type=linux
10861 >  version_type=linux # correct to gnu/linux during the next big refactor
10862    need_lib_prefix=no
10863    need_version=no
10864    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10045 | Line 10874 | irix5* | irix6* | nonstopux*)
10874      nonstopux*) version_type=nonstopux ;;
10875      *)
10876          if test "$lt_cv_prog_gnu_ld" = yes; then
10877 <                version_type=linux
10877 >                version_type=linux # correct to gnu/linux during the next big refactor
10878          else
10879                  version_type=irix
10880          fi ;;
# Line 10082 | Line 10911 | linux*oldld* | linux*aout* | linux*coff*
10911    dynamic_linker=no
10912    ;;
10913  
10914 < # This must be Linux ELF.
10915 < linux* | k*bsd*-gnu)
10916 <  version_type=linux
10914 > # This must be glibc/ELF.
10915 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10916 >  version_type=linux # correct to gnu/linux during the next big refactor
10917    need_lib_prefix=no
10918    need_version=no
10919    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10092 | Line 10921 | linux* | k*bsd*-gnu)
10921    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10922    shlibpath_var=LD_LIBRARY_PATH
10923    shlibpath_overrides_runpath=no
10924 +
10925    # Some binutils ld are patched to set DT_RUNPATH
10926 <  save_LDFLAGS=$LDFLAGS
10927 <  save_libdir=$libdir
10928 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10929 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10930 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10927 >  $as_echo_n "(cached) " >&6
10928 > else
10929 >  lt_cv_shlibpath_overrides_runpath=no
10930 >    save_LDFLAGS=$LDFLAGS
10931 >    save_libdir=$libdir
10932 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10933 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10934 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935   /* end confdefs.h.  */
10936  
10937   int
# Line 10110 | Line 10944 | main ()
10944   _ACEOF
10945   if ac_fn_c_try_link "$LINENO"; then :
10946    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10947 <  shlibpath_overrides_runpath=yes
10947 >  lt_cv_shlibpath_overrides_runpath=yes
10948   fi
10949   fi
10950   rm -f core conftest.err conftest.$ac_objext \
10951      conftest$ac_exeext conftest.$ac_ext
10952 <  LDFLAGS=$save_LDFLAGS
10953 <  libdir=$save_libdir
10952 >    LDFLAGS=$save_LDFLAGS
10953 >    libdir=$save_libdir
10954 >
10955 > fi
10956 >
10957 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10958  
10959    # This implies no fast_install, which is unacceptable.
10960    # Some rework will be needed to allow for fast_install
10961    # before this can be enabled.
10962    hardcode_into_libs=yes
10963  
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
10964    # Append ld.so.conf contents to the search path
10965    if test -f /etc/ld.so.conf; then
10966 <    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' ' '`
10967 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10966 >    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' ' '`
10967 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10968    fi
10969  
10970    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | Line 10995 | netbsd*)
10995    ;;
10996  
10997   newsos6)
10998 <  version_type=linux
10998 >  version_type=linux # correct to gnu/linux during the next big refactor
10999    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000    shlibpath_var=LD_LIBRARY_PATH
11001    shlibpath_overrides_runpath=yes
# Line 10248 | Line 11064 | rdos*)
11064    ;;
11065  
11066   solaris*)
11067 <  version_type=linux
11067 >  version_type=linux # correct to gnu/linux during the next big refactor
11068    need_lib_prefix=no
11069    need_version=no
11070    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10273 | Line 11089 | sunos4*)
11089    ;;
11090  
11091   sysv4 | sysv4.3*)
11092 <  version_type=linux
11092 >  version_type=linux # correct to gnu/linux during the next big refactor
11093    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094    soname_spec='${libname}${release}${shared_ext}$major'
11095    shlibpath_var=LD_LIBRARY_PATH
# Line 10297 | Line 11113 | sysv4 | sysv4.3*)
11113  
11114   sysv4*MP*)
11115    if test -d /usr/nec ;then
11116 <    version_type=linux
11116 >    version_type=linux # correct to gnu/linux during the next big refactor
11117      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11118      soname_spec='$libname${shared_ext}.$major'
11119      shlibpath_var=LD_LIBRARY_PATH
# Line 10328 | Line 11144 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11144  
11145   tpf*)
11146    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11147 <  version_type=linux
11147 >  version_type=linux # correct to gnu/linux during the next big refactor
11148    need_lib_prefix=no
11149    need_version=no
11150    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10338 | Line 11154 | tpf*)
11154    ;;
11155  
11156   uts4*)
11157 <  version_type=linux
11157 >  version_type=linux # correct to gnu/linux during the next big refactor
11158    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159    soname_spec='${libname}${release}${shared_ext}$major'
11160    shlibpath_var=LD_LIBRARY_PATH
# Line 10450 | Line 11266 | fi
11266  
11267  
11268  
11269 +
11270 +
11271 +
11272 +
11273 +
11274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11275   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11276   hardcode_action=
# Line 10522 | Line 11343 | else
11343    # if libdl is installed we need to link against it
11344      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11346 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11347    $as_echo_n "(cached) " >&6
11348   else
11349    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11377 | LIBS=$ac_check_lib_save_LIBS
11377   fi
11378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11379   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11380 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11380 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11381    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11382   else
11383  
# Line 10570 | Line 11391 | fi
11391  
11392    *)
11393      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11394 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11394 > if test "x$ac_cv_func_shl_load" = xyes; then :
11395    lt_cv_dlopen="shl_load"
11396   else
11397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11398   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11399 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11399 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11400    $as_echo_n "(cached) " >&6
11401   else
11402    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11430 | LIBS=$ac_check_lib_save_LIBS
11430   fi
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11432   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11433 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11433 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11434    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11435   else
11436    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11437 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11437 > if test "x$ac_cv_func_dlopen" = xyes; then :
11438    lt_cv_dlopen="dlopen"
11439   else
11440    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11442 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11443    $as_echo_n "(cached) " >&6
11444   else
11445    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11473 | LIBS=$ac_check_lib_save_LIBS
11473   fi
11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11476 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478   else
11479    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11481 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11482    $as_echo_n "(cached) " >&6
11483   else
11484    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11512 | LIBS=$ac_check_lib_save_LIBS
11512   fi
11513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11514   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11515 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11515 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11516    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11517   else
11518    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11519   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11520 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11520 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11521    $as_echo_n "(cached) " >&6
11522   else
11523    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11551 | LIBS=$ac_check_lib_save_LIBS
11551   fi
11552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11553   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11554 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11554 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11555    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11556   fi
11557  
# Line 10771 | Line 11592 | fi
11592  
11593      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11594   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11595 < if test "${lt_cv_dlopen_self+set}" = set; then :
11595 > if ${lt_cv_dlopen_self+:} false; then :
11596    $as_echo_n "(cached) " >&6
11597   else
11598            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11601 | else
11601    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11602    lt_status=$lt_dlunknown
11603    cat > conftest.$ac_ext <<_LT_EOF
11604 < #line 10783 "configure"
11604 > #line $LINENO "configure"
11605   #include "confdefs.h"
11606  
11607   #if HAVE_DLFCN_H
# Line 10821 | Line 11642 | else
11642   #  endif
11643   #endif
11644  
11645 < void fnord() { int i=42;}
11645 > /* When -fvisbility=hidden is used, assume the code has been annotated
11646 >   correspondingly for the symbols needed.  */
11647 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 > int fnord () __attribute__((visibility("default")));
11649 > #endif
11650 >
11651 > int fnord () { return 42; }
11652   int main ()
11653   {
11654    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11657 | int main ()
11657    if (self)
11658      {
11659        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11660 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11660 >      else
11661 >        {
11662 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11663 >          else puts (dlerror ());
11664 >        }
11665        /* dlclose (self); */
11666      }
11667    else
# Line 10867 | Line 11698 | $as_echo "$lt_cv_dlopen_self" >&6; }
11698        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11699        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11700   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11701 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11701 > if ${lt_cv_dlopen_self_static+:} false; then :
11702    $as_echo_n "(cached) " >&6
11703   else
11704            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 11707 | else
11707    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11708    lt_status=$lt_dlunknown
11709    cat > conftest.$ac_ext <<_LT_EOF
11710 < #line 10879 "configure"
11710 > #line $LINENO "configure"
11711   #include "confdefs.h"
11712  
11713   #if HAVE_DLFCN_H
# Line 10917 | Line 11748 | else
11748   #  endif
11749   #endif
11750  
11751 < void fnord() { int i=42;}
11751 > /* When -fvisbility=hidden is used, assume the code has been annotated
11752 >   correspondingly for the symbols needed.  */
11753 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11754 > int fnord () __attribute__((visibility("default")));
11755 > #endif
11756 >
11757 > int fnord () { return 42; }
11758   int main ()
11759   {
11760    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 11763 | int main ()
11763    if (self)
11764      {
11765        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11766 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11766 >      else
11767 >        {
11768 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11769 >          else puts (dlerror ());
11770 >        }
11771        /* dlclose (self); */
11772      }
11773    else
# Line 11095 | Line 11936 | CC="$lt_save_CC"
11936  
11937  
11938  
11939 +
11940 +
11941          ac_config_commands="$ac_config_commands libtool"
11942  
11943  
# Line 11105 | Line 11948 | CC="$lt_save_CC"
11948  
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11950   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11951 < if test "${libltdl_cv_shlibext+set}" = set; then :
11951 > if ${libltdl_cv_shlibext+:} false; then :
11952    $as_echo_n "(cached) " >&6
11953   else
11954  
11955   module=yes
11956   eval libltdl_cv_shlibext=$shrext_cmds
11957 + module=no
11958 + eval libltdl_cv_shrext=$shrext_cmds
11959  
11960   fi
11961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 11967 | cat >>confdefs.h <<_ACEOF
11967   _ACEOF
11968  
11969   fi
11970 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11971 +
11972 + cat >>confdefs.h <<_ACEOF
11973 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11974 + _ACEOF
11975 +
11976 + fi
11977  
11978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11979   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11980 < if test "${lt_cv_module_path_var+set}" = set; then :
11980 > if ${lt_cv_module_path_var+:} false; then :
11981    $as_echo_n "(cached) " >&6
11982   else
11983    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 11994 | fi
11994  
11995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11996   $as_echo_n "checking for the default library search path... " >&6; }
11997 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11997 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11998    $as_echo_n "(cached) " >&6
11999   else
12000    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 12031 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12031   LIBADD_DLOPEN=
12032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12033   $as_echo_n "checking for library containing dlopen... " >&6; }
12034 < if test "${ac_cv_search_dlopen+set}" = set; then :
12034 > if ${ac_cv_search_dlopen+:} false; then :
12035    $as_echo_n "(cached) " >&6
12036   else
12037    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12065 | for ac_lib in '' dl; do
12065   fi
12066   rm -f core conftest.err conftest.$ac_objext \
12067      conftest$ac_exeext
12068 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12068 >  if ${ac_cv_search_dlopen+:} false; then :
12069    break
12070   fi
12071   done
12072 < if test "${ac_cv_search_dlopen+set}" = set; then :
12072 > if ${ac_cv_search_dlopen+:} false; then :
12073  
12074   else
12075    ac_cv_search_dlopen=no
# Line 11262 | Line 12114 | $as_echo "#define HAVE_LIBDL 1" >>confde
12114   else
12115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12116   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12117 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12117 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12118    $as_echo_n "(cached) " >&6
12119   else
12120    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12148 | LIBS=$ac_check_lib_save_LIBS
12148   fi
12149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12150   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12151 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12151 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12152  
12153   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12154  
# Line 11316 | Line 12168 | then
12168    for ac_func in dlerror
12169   do :
12170    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12171 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12171 > if test "x$ac_cv_func_dlerror" = xyes; then :
12172    cat >>confdefs.h <<_ACEOF
12173   #define HAVE_DLERROR 1
12174   _ACEOF
# Line 11330 | Line 12182 | fi
12182  
12183   LIBADD_SHL_LOAD=
12184   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12185 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12185 > if test "x$ac_cv_func_shl_load" = xyes; then :
12186  
12187   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12188  
# Line 11338 | Line 12190 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12190   else
12191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12192   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12193 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12193 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12194    $as_echo_n "(cached) " >&6
12195   else
12196    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12224 | LIBS=$ac_check_lib_save_LIBS
12224   fi
12225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12226   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12227 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12227 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12228  
12229   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12230  
# Line 11388 | Line 12240 | case $host_os in
12240   darwin[1567].*)
12241   # We only want this for pre-Mac OS X 10.4.
12242    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12243 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12243 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12244  
12245   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12246  
# Line 11402 | Line 12254 | beos*)
12254   cygwin* | mingw* | os2* | pw32*)
12255    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12256   "
12257 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12257 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12258    ac_have_decl=1
12259   else
12260    ac_have_decl=0
# Line 11418 | Line 12270 | esac
12270  
12271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12272   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12273 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12273 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12274    $as_echo_n "(cached) " >&6
12275   else
12276    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12304 | LIBS=$ac_check_lib_save_LIBS
12304   fi
12305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12306   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12307 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12307 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12308  
12309   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12310  
# Line 11486 | Line 12338 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12338  
12339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12340   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12341 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12341 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12342    $as_echo_n "(cached) " >&6
12343   else
12344    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12388 | if test x"$lt_cv_sys_symbol_underscore"
12388       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12389          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12390   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12391 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12391 > if ${libltdl_cv_need_uscore+:} false; then :
12392    $as_echo_n "(cached) " >&6
12393   else
12394    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12400 | else
12400    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12401    lt_status=$lt_dlunknown
12402    cat > conftest.$ac_ext <<_LT_EOF
12403 < #line 11551 "configure"
12403 > #line $LINENO "configure"
12404   #include "confdefs.h"
12405  
12406   #if HAVE_DLFCN_H
# Line 11589 | Line 12441 | else
12441   #  endif
12442   #endif
12443  
12444 < void fnord() { int i=42;}
12444 > /* When -fvisbility=hidden is used, assume the code has been annotated
12445 >   correspondingly for the symbols needed.  */
12446 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12447 > int fnord () __attribute__((visibility("default")));
12448 > #endif
12449 >
12450 > int fnord () { return 42; }
12451   int main ()
12452   {
12453    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12456 | int main ()
12456    if (self)
12457      {
12458        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12459 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12459 >      else
12460 >        {
12461 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12462 >          else puts (dlerror ());
12463 >        }
12464        /* dlclose (self); */
12465      }
12466    else
# Line 11642 | Line 12504 | fi
12504  
12505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12506   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12507 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12507 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12508    $as_echo_n "(cached) " >&6
12509   else
12510    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12536 | else
12536    freebsd* | dragonfly*)
12537      lt_cv_sys_dlopen_deplibs=yes
12538      ;;
12539 <  gnu* | linux* | k*bsd*-gnu)
12539 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12540      # GNU and its variants, using gnu ld.so (Glibc)
12541      lt_cv_sys_dlopen_deplibs=yes
12542      ;;
# Line 11748 | Line 12610 | for ac_header in argz.h
12610   do :
12611    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12612   "
12613 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12613 > if test "x$ac_cv_header_argz_h" = xyes; then :
12614    cat >>confdefs.h <<_ACEOF
12615   #define HAVE_ARGZ_H 1
12616   _ACEOF
# Line 11762 | Line 12624 | ac_fn_c_check_type "$LINENO" "error_t" "
12624   #  include <argz.h>
12625   #endif
12626   "
12627 < if test "x$ac_cv_type_error_t" = x""yes; then :
12627 > if test "x$ac_cv_type_error_t" = xyes; then :
12628  
12629   cat >>confdefs.h <<_ACEOF
12630   #define HAVE_ERROR_T 1
# Line 11785 | Line 12647 | for ac_func in argz_add argz_append argz
12647   do :
12648    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12649   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12650 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12650 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12651    cat >>confdefs.h <<_ACEOF
12652   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12653   _ACEOF
# Line 11803 | Line 12664 | done
12664   if test -z "$ARGZ_H"; then :
12665    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12666   $as_echo_n "checking if argz actually works... " >&6; }
12667 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12667 > if ${lt_cv_sys_argz_works+:} false; then :
12668    $as_echo_n "(cached) " >&6
12669   else
12670    case $host_os in #(
# Line 11834 | Line 12695 | else
12695   fi
12696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12697   $as_echo "$lt_cv_sys_argz_works" >&6; }
12698 <     if test $lt_cv_sys_argz_works = yes; then :
12698 >     if test "$lt_cv_sys_argz_works" = yes; then :
12699  
12700   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12701  
# Line 11851 | Line 12712 | fi
12712  
12713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12714   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12715 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12715 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12716    $as_echo_n "(cached) " >&6
12717   else
12718    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 12730 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12730  
12731   fi
12732  
11872
11873
12733   # Set options
12734  
12735  
# Line 11883 | Line 12742 | fi
12742  
12743  
12744  
11886
12745   # Check whether --with-included_ltdl was given.
12746   if test "${with_included_ltdl+set}" = set; then :
12747    withval=$with_included_ltdl;
# Line 11896 | Line 12754 | if test "x$with_included_ltdl" != xyes;
12754    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12755  
12756   "
12757 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12757 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12758    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12759              #include <ltdl.h>
12760   "
12761 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12761 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12763   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12764 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12764 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12765    $as_echo_n "(cached) " >&6
12766   else
12767    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 12795 | LIBS=$ac_check_lib_save_LIBS
12795   fi
12796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12797   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12798 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12798 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12799    with_included_ltdl=no
12800   else
12801    with_included_ltdl=yes
# Line 11957 | Line 12815 | fi
12815  
12816  
12817  
11960
11961
11962
11963
11964
12818   # Check whether --with-ltdl_include was given.
12819   if test "${with_ltdl_include+set}" = set; then :
12820    withval=$with_ltdl_include;
# Line 11971 | Line 12824 | fi
12824   if test -n "$with_ltdl_include"; then
12825    if test -f "$with_ltdl_include/ltdl.h"; then :
12826    else
12827 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12827 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12828    fi
12829   else
12830    with_ltdl_include=no
# Line 11987 | Line 12840 | fi
12840   if test -n "$with_ltdl_lib"; then
12841    if test -f "$with_ltdl_lib/libltdl.la"; then :
12842    else
12843 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12843 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12844    fi
12845   else
12846    with_ltdl_lib=no
# Line 11996 | Line 12849 | fi
12849   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12850    ,yes,no,no,)
12851          case $enable_ltdl_convenience in
12852 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12852 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12853    "") enable_ltdl_convenience=yes
12854        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12855   esac
# Line 12024 | Line 12877 | $as_echo "#define HAVE_LTDL 1" >>confdef
12877          LTDLINCL=
12878          ;;
12879    ,no*,no,*)
12880 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12880 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12881          ;;
12882    *)    with_included_ltdl=no
12883          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 12928 | fi
12928  
12929  
12930  
12078    subdirs="$subdirs libltdl"
12079
12080
12931  
12932  
12933  
# Line 12094 | Line 12944 | do :
12944    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12945   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12946   "
12947 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
12947 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12948    cat >>confdefs.h <<_ACEOF
12949   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12950   _ACEOF
# Line 12109 | Line 12958 | for ac_func in closedir opendir readdir
12958   do :
12959    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12960   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12961 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
12961 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12962    cat >>confdefs.h <<_ACEOF
12963   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12964   _ACEOF
# Line 12127 | Line 12975 | for ac_func in strlcat strlcpy
12975   do :
12976    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12977   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12978 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
12978 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12979    cat >>confdefs.h <<_ACEOF
12980   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12981   _ACEOF
# Line 12148 | Line 12995 | cat >>confdefs.h <<_ACEOF
12995   _ACEOF
12996  
12997  
12998 + name=
12999 + eval "lt_libprefix=\"$libname_spec\""
13000 +
13001 + cat >>confdefs.h <<_ACEOF
13002 + #define LT_LIBPREFIX "$lt_libprefix"
13003 + _ACEOF
13004 +
13005 +
13006   name=ltdl
13007 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13007 > eval "LTDLOPEN=\"$libname_spec\""
13008  
13009  
13010  
# Line 12167 | Line 13022 | LIBTOOL="$LIBTOOL --silent"
13022  
13023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13024   $as_echo_n "checking for library containing socket... " >&6; }
13025 < if test "${ac_cv_search_socket+set}" = set; then :
13025 > if ${ac_cv_search_socket+:} false; then :
13026    $as_echo_n "(cached) " >&6
13027   else
13028    ac_func_search_save_LIBS=$LIBS
# Line 12201 | Line 13056 | for ac_lib in '' socket; do
13056   fi
13057   rm -f core conftest.err conftest.$ac_objext \
13058      conftest$ac_exeext
13059 <  if test "${ac_cv_search_socket+set}" = set; then :
13059 >  if ${ac_cv_search_socket+:} false; then :
13060    break
13061   fi
13062   done
13063 < if test "${ac_cv_search_socket+set}" = set; then :
13063 > if ${ac_cv_search_socket+:} false; then :
13064  
13065   else
13066    ac_cv_search_socket=no
# Line 12220 | Line 13075 | if test "$ac_res" != no; then :
13075    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13076  
13077   else
13078 <  as_fn_error "socket library not found" "$LINENO" 5
13078 >  as_fn_error $? "socket library not found" "$LINENO" 5
13079 > fi
13080 >
13081 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13082 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13083 > if ${ac_cv_search_inet_ntoa+:} false; then :
13084 >  $as_echo_n "(cached) " >&6
13085 > else
13086 >  ac_func_search_save_LIBS=$LIBS
13087 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 > /* end confdefs.h.  */
13089 >
13090 > /* Override any GCC internal prototype to avoid an error.
13091 >   Use char because int might match the return type of a GCC
13092 >   builtin and then its argument prototype would still apply.  */
13093 > #ifdef __cplusplus
13094 > extern "C"
13095 > #endif
13096 > char inet_ntoa ();
13097 > int
13098 > main ()
13099 > {
13100 > return inet_ntoa ();
13101 >  ;
13102 >  return 0;
13103 > }
13104 > _ACEOF
13105 > for ac_lib in '' nsl; do
13106 >  if test -z "$ac_lib"; then
13107 >    ac_res="none required"
13108 >  else
13109 >    ac_res=-l$ac_lib
13110 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13111 >  fi
13112 >  if ac_fn_c_try_link "$LINENO"; then :
13113 >  ac_cv_search_inet_ntoa=$ac_res
13114 > fi
13115 > rm -f core conftest.err conftest.$ac_objext \
13116 >    conftest$ac_exeext
13117 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13118 >  break
13119 > fi
13120 > done
13121 > if ${ac_cv_search_inet_ntoa+:} false; then :
13122 >
13123 > else
13124 >  ac_cv_search_inet_ntoa=no
13125 > fi
13126 > rm conftest.$ac_ext
13127 > LIBS=$ac_func_search_save_LIBS
13128 > fi
13129 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13130 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13131 > ac_res=$ac_cv_search_inet_ntoa
13132 > if test "$ac_res" != no; then :
13133 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13134 >
13135 > fi
13136 >
13137 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13138 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13139 > if ${ac_cv_search_inet_aton+:} false; then :
13140 >  $as_echo_n "(cached) " >&6
13141 > else
13142 >  ac_func_search_save_LIBS=$LIBS
13143 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 > /* end confdefs.h.  */
13145 >
13146 > /* Override any GCC internal prototype to avoid an error.
13147 >   Use char because int might match the return type of a GCC
13148 >   builtin and then its argument prototype would still apply.  */
13149 > #ifdef __cplusplus
13150 > extern "C"
13151 > #endif
13152 > char inet_aton ();
13153 > int
13154 > main ()
13155 > {
13156 > return inet_aton ();
13157 >  ;
13158 >  return 0;
13159 > }
13160 > _ACEOF
13161 > for ac_lib in '' resolv; do
13162 >  if test -z "$ac_lib"; then
13163 >    ac_res="none required"
13164 >  else
13165 >    ac_res=-l$ac_lib
13166 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13167 >  fi
13168 >  if ac_fn_c_try_link "$LINENO"; then :
13169 >  ac_cv_search_inet_aton=$ac_res
13170 > fi
13171 > rm -f core conftest.err conftest.$ac_objext \
13172 >    conftest$ac_exeext
13173 >  if ${ac_cv_search_inet_aton+:} false; then :
13174 >  break
13175 > fi
13176 > done
13177 > if ${ac_cv_search_inet_aton+:} false; then :
13178 >
13179 > else
13180 >  ac_cv_search_inet_aton=no
13181 > fi
13182 > rm conftest.$ac_ext
13183 > LIBS=$ac_func_search_save_LIBS
13184 > fi
13185 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13186 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13187 > ac_res=$ac_cv_search_inet_aton
13188 > if test "$ac_res" != no; then :
13189 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13190 >
13191   fi
13192  
13193    for ac_func in inet_aton inet_ntop inet_pton
13194   do :
13195    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13196   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13197 < eval as_val=\$$as_ac_var
12231 <   if test "x$as_val" = x""yes; then :
13197 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13198    cat >>confdefs.h <<_ACEOF
13199   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13200   _ACEOF
# Line 12241 | Line 13207 | done
13207     #include <netdb.h>
13208  
13209   "
13210 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13210 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13211  
13212   cat >>confdefs.h <<_ACEOF
13213   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12254 | Line 13220 | ac_fn_c_check_type "$LINENO" "struct soc
13220     #include <netdb.h>
13221  
13222   "
13223 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13223 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13224  
13225   cat >>confdefs.h <<_ACEOF
13226   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12267 | Line 13233 | ac_fn_c_check_type "$LINENO" "struct add
13233     #include <netdb.h>
13234  
13235   "
13236 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13236 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13237  
13238   cat >>confdefs.h <<_ACEOF
13239   #define HAVE_STRUCT_ADDRINFO 1
# Line 12279 | Line 13245 | fi
13245    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13246    <sys/socket.h>
13247   "
13248 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13248 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13249  
13250   cat >>confdefs.h <<_ACEOF
13251   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12290 | Line 13256 | fi
13256  
13257  
13258  
13259 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13260 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13261 <
12296 < cat >>confdefs.h <<_ACEOF
12297 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12298 < _ACEOF
12299 <
12300 <
12301 < else
13259 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13260 > "
13261 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13262  
13263   $as_echo "#define IPV6 1" >>confdefs.h
13264  
# Line 12309 | Line 13269 | fi
13269   # Checks for typedefs, structures, and compiler characteristics.
13270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13271   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13272 < if test "${ac_cv_c_bigendian+set}" = set; then :
13272 > if ${ac_cv_c_bigendian+:} false; then :
13273    $as_echo_n "(cached) " >&6
13274   else
13275    ac_cv_c_bigendian=unknown
# Line 12527 | Line 13487 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13487  
13488       ;; #(
13489     *)
13490 <     as_fn_error "unknown endianness
13490 >     as_fn_error $? "unknown endianness
13491   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13492   esac
13493  
# Line 12540 | Line 13500 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13500   do :
13501    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13502   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13503 < eval as_val=\$$as_ac_var
12544 <   if test "x$as_val" = x""yes; then :
13503 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13504    cat >>confdefs.h <<_ACEOF
13505   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13506   _ACEOF
# Line 12561 | Line 13520 | done
13520  
13521  
13522  
13523 +
13524 +
13525   # Checks for header files.
13526  
13527  
# Line 12570 | Line 13531 | do :
13531    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13532   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13533   "
13534 < eval as_val=\$$as_ac_Header
12574 <   if test "x$as_val" = x""yes; then :
13534 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13535    cat >>confdefs.h <<_ACEOF
13536   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13537   _ACEOF
# Line 12628 | Line 13588 | fi
13588  
13589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13590   $as_echo_n "checking for library containing crypt... " >&6; }
13591 < if test "${ac_cv_search_crypt+set}" = set; then :
13591 > if ${ac_cv_search_crypt+:} false; then :
13592    $as_echo_n "(cached) " >&6
13593   else
13594    ac_func_search_save_LIBS=$LIBS
# Line 12662 | Line 13622 | for ac_lib in '' crypt; do
13622   fi
13623   rm -f core conftest.err conftest.$ac_objext \
13624      conftest$ac_exeext
13625 <  if test "${ac_cv_search_crypt+set}" = set; then :
13625 >  if ${ac_cv_search_crypt+:} false; then :
13626    break
13627   fi
13628   done
13629 < if test "${ac_cv_search_crypt+set}" = set; then :
13629 > if ${ac_cv_search_crypt+:} false; then :
13630  
13631   else
13632    ac_cv_search_crypt=no
# Line 12702 | Line 13662 | fi
13662   if test "$zlib" = "yes"; then :
13663  
13664    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13665 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13665 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13666    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13667   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13668 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13668 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13669    $as_echo_n "(cached) " >&6
13670   else
13671    ac_check_lib_save_LIBS=$LIBS
# Line 12739 | Line 13699 | LIBS=$ac_check_lib_save_LIBS
13699   fi
13700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13701   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13702 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13702 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13703  
13704        LIBS="-lz $LIBS"
13705  
# Line 12777 | Line 13737 | fi
13737   if test "$libpcre" = "yes"; then :
13738  
13739    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13740 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13740 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13741    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13742   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13743 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13743 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13744    $as_echo_n "(cached) " >&6
13745   else
13746    ac_check_lib_save_LIBS=$LIBS
# Line 12814 | Line 13774 | LIBS=$ac_check_lib_save_LIBS
13774   fi
13775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13776   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13777 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13777 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13778  
13779        LIBS="-lpcre $LIBS"
13780  
# Line 12909 | Line 13869 | else
13869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870   /* end confdefs.h.  */
13871  
13872 +
13873      #include <openssl/opensslv.h>
13874      #include <stdlib.h>
13875   int
13876   main ()
13877   {
13878 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13878 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13879    ;
13880    return 0;
13881   }
# Line 12935 | Line 13896 | $as_echo "found" >&6; }
13896  
13897      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13898   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13899 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13899 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13900    $as_echo_n "(cached) " >&6
13901   else
13902    ac_check_lib_save_LIBS=$LIBS
# Line 12969 | Line 13930 | LIBS=$ac_check_lib_save_LIBS
13930   fi
13931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13932   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13933 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13933 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13934    cat >>confdefs.h <<_ACEOF
13935   #define HAVE_LIBCRYPTO 1
13936   _ACEOF
# Line 12988 | Line 13949 | fi
13949   do :
13950    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13951   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13952 < eval as_val=\$$as_ac_var
12992 <   if test "x$as_val" = x""yes; then :
13952 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13953    cat >>confdefs.h <<_ACEOF
13954   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13955   _ACEOF
# Line 13211 | Line 14171 | _ACEOF
14171    if test "$cross_compiling" = yes; then :
14172    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14173   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14174 < as_fn_error "cannot run test program while cross compiling
14175 < See \`config.log' for more details." "$LINENO" 5; }
14174 > as_fn_error $? "cannot run test program while cross compiling
14175 > See \`config.log' for more details" "$LINENO" 5; }
14176   else
14177    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178   /* end confdefs.h.  */
# Line 13245 | Line 14205 | else
14205   #endif
14206   _syscall1(int, epoll_create, int, size)
14207   #endif
13248 main() { return epoll_create(256) == -1 ? 1 : 0; }
14208  
14209 + int
14210 + main ()
14211 + {
14212 + return epoll_create(256) == -1 ? 1 : 0
14213 +  ;
14214 +  return 0;
14215 + }
14216   _ACEOF
14217   if ac_fn_c_try_run "$LINENO"; then :
14218    is_epoll_mechanism_available="yes"
# Line 13316 | Line 14282 | _ACEOF
14282    if test "$cross_compiling" = yes; then :
14283    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14284   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14285 < as_fn_error "cannot run test program while cross compiling
14286 < See \`config.log' for more details." "$LINENO" 5; }
14285 > as_fn_error $? "cannot run test program while cross compiling
14286 > See \`config.log' for more details" "$LINENO" 5; }
14287   else
14288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289   /* end confdefs.h.  */
14290  
14291 + #define _GNU_SOURCE
14292   #include <fcntl.h>
14293 < #ifdef F_SETSIG
13327 < main () { return 0; } /* F_SETSIG defined */
13328 < #else
13329 < main () { return 1; } /* F_SETSIG not defined */
13330 < #endif
14293 > static unsigned int have_f_setsig = 0;
14294  
14295   int
14296   main ()
14297   {
14298  
14299 + #ifdef F_SETSIG
14300 +  have_f_setsig = 1;
14301 + #endif
14302 +  return have_f_setsig == 0;
14303 +
14304    ;
14305    return 0;
14306   }
# Line 13466 | Line 14434 | rm -f core conftest.err conftest.$ac_obj
14434      if test "$optimal_iopoll_mechanism" = "none" ; then
14435        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14436   $as_echo "none" >&6; }
14437 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14437 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14438      else
14439        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14440        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13481 | Line 14449 | $as_echo "$selected_iopoll_mechanism" >&
14449      else
14450        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14451   $as_echo "none" >&6; }
14452 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14452 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14453      fi
14454    fi
14455        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13549 | Line 14517 | fi
14517  
14518   $as_echo "#define EFNET 1" >>confdefs.h
14519  
13552
13553 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13554
14520          else
14521                  use_efnet="no"
14522    fi
# Line 13614 | Line 14579 | fi
14579   do :
14580    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14581   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14582 < eval as_val=\$$as_ac_Header
13618 <   if test "x$as_val" = x""yes; then :
14582 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14583    cat >>confdefs.h <<_ACEOF
14584   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14585   _ACEOF
# Line 13641 | Line 14605 | $as_echo "#define SYSLOG_USERS 1" >>conf
14605   $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14606   ;;
14607          yes) : ;;
14608 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14608 >        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14609        esac
14610      done
14611  
# Line 13736 | Line 14700 | _ACEOF
14700    test "$exec_prefix_NONE" && exec_prefix=NONE
14701  
14702  
14703 < 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"
14703 > 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"
14704  
14705  
14706   cat >confcache <<\_ACEOF
# Line 13803 | Line 14767 | $as_echo "$as_me: WARNING: cache variabl
14767       :end' >>confcache
14768   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14769    if test -w "$cache_file"; then
14770 <    test "x$cache_file" != "x/dev/null" &&
14770 >    if test "x$cache_file" != "x/dev/null"; then
14771        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14772   $as_echo "$as_me: updating cache $cache_file" >&6;}
14773 <    cat confcache >$cache_file
14773 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14774 >        cat confcache >"$cache_file"
14775 >      else
14776 >        case $cache_file in #(
14777 >        */* | ?:*)
14778 >          mv -f confcache "$cache_file"$$ &&
14779 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14780 >        *)
14781 >          mv -f confcache "$cache_file" ;;
14782 >        esac
14783 >      fi
14784 >    fi
14785    else
14786      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14787   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13822 | Line 14797 | DEFS=-DHAVE_CONFIG_H
14797  
14798   ac_libobjs=
14799   ac_ltlibobjs=
14800 + U=
14801   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14802    # 1. Remove the extension, and $U if already installed.
14803    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13845 | Line 14821 | else
14821   fi
14822  
14823   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14824 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14824 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14825   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14826   fi
14827   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14828 <  as_fn_error "conditional \"AMDEP\" was never defined.
14828 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14829   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14830   fi
14831   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14832 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14832 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14833   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14834   fi
14835   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14836 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14836 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14837   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838   fi
14839   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14840 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14840 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14841   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14842   fi
14843   LT_CONFIG_H=config.h
# Line 13883 | Line 14859 | LT_CONFIG_H=config.h
14859  
14860  
14861   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14862 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14862 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14863   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14864   fi
14865   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14866 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14866 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14867   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14868   fi
14869   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14870 <  as_fn_error "conditional \"EFNET\" was never defined.
14870 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14871   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14872   fi
14873  
14874 < : ${CONFIG_STATUS=./config.status}
14874 > : "${CONFIG_STATUS=./config.status}"
14875   ac_write_fail=0
14876   ac_clean_files_save=$ac_clean_files
14877   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13996 | Line 14972 | fi
14972   IFS=" ""        $as_nl"
14973  
14974   # Find who we are.  Look in the path if we contain no directory separator.
14975 + as_myself=
14976   case $0 in #((
14977    *[\\/]* ) as_myself=$0 ;;
14978    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14041 | Line 15018 | export LANGUAGE
15018   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15019  
15020  
15021 < # as_fn_error ERROR [LINENO LOG_FD]
15022 < # ---------------------------------
15021 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15022 > # ----------------------------------------
15023   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15024   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15025 < # script with status $?, using 1 if that was 0.
15025 > # script with STATUS, using 1 if that was 0.
15026   as_fn_error ()
15027   {
15028 <  as_status=$?; test $as_status -eq 0 && as_status=1
15029 <  if test "$3"; then
15030 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15031 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15028 >  as_status=$1; test $as_status -eq 0 && as_status=1
15029 >  if test "$4"; then
15030 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15031 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15032    fi
15033 <  $as_echo "$as_me: error: $1" >&2
15033 >  $as_echo "$as_me: error: $2" >&2
15034    as_fn_exit $as_status
15035   } # as_fn_error
15036  
# Line 14249 | Line 15226 | $as_echo X"$as_dir" |
15226        test -d "$as_dir" && break
15227      done
15228      test -z "$as_dirs" || eval "mkdir $as_dirs"
15229 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15229 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15230  
15231  
15232   } # as_fn_mkdir_p
# Line 14302 | Line 15279 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15279   # report actual input values of CONFIG_FILES etc. instead of their
15280   # values after options handling.
15281   ac_log="
15282 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15283 < generated by GNU Autoconf 2.65.  Invocation command line was
15282 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15283 > generated by GNU Autoconf 2.68.  Invocation command line was
15284  
15285    CONFIG_FILES    = $CONFIG_FILES
15286    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14368 | Line 15345 | _ACEOF
15345   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15346   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15347   ac_cs_version="\\
15348 < ircd-hybrid config.status 7.3-rc1
15349 < configured by $0, generated by GNU Autoconf 2.65,
15348 > ircd-hybrid config.status 8beta1
15349 > configured by $0, generated by GNU Autoconf 2.68,
15350    with options \\"\$ac_cs_config\\"
15351  
15352 < Copyright (C) 2009 Free Software Foundation, Inc.
15352 > Copyright (C) 2010 Free Software Foundation, Inc.
15353   This config.status script is free software; the Free Software Foundation
15354   gives unlimited permission to copy, distribute and modify it."
15355  
# Line 14390 | Line 15367 | ac_need_defaults=:
15367   while test $# != 0
15368   do
15369    case $1 in
15370 <  --*=*)
15370 >  --*=?*)
15371      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15372      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15373      ac_shift=:
15374      ;;
15375 +  --*=)
15376 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15377 +    ac_optarg=
15378 +    ac_shift=:
15379 +    ;;
15380    *)
15381      ac_option=$1
15382      ac_optarg=$2
# Line 14416 | Line 15398 | do
15398      $ac_shift
15399      case $ac_optarg in
15400      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15401 +    '') as_fn_error $? "missing file argument" ;;
15402      esac
15403      as_fn_append CONFIG_FILES " '$ac_optarg'"
15404      ac_need_defaults=false;;
# Line 14428 | Line 15411 | do
15411      ac_need_defaults=false;;
15412    --he | --h)
15413      # Conflict between --help and --header
15414 <    as_fn_error "ambiguous option: \`$1'
15414 >    as_fn_error $? "ambiguous option: \`$1'
15415   Try \`$0 --help' for more information.";;
15416    --help | --hel | -h )
15417      $as_echo "$ac_cs_usage"; exit ;;
# Line 14437 | Line 15420 | Try \`$0 --help' for more information.";
15420      ac_cs_silent=: ;;
15421  
15422    # This is an error.
15423 <  -*) as_fn_error "unrecognized option: \`$1'
15423 >  -*) as_fn_error $? "unrecognized option: \`$1'
15424   Try \`$0 --help' for more information." ;;
15425  
15426    *) as_fn_append ac_config_targets " $1"
# Line 14491 | Line 15474 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15474   sed_quote_subst='$sed_quote_subst'
15475   double_quote_subst='$double_quote_subst'
15476   delay_variable_subst='$delay_variable_subst'
15477 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15478 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15479 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15480 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15481 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15482 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15483 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15484 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15485 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15486 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15487 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15488 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15489 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15490 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15491 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15492 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15493 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15494 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15495 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15496 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15497 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15498 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15499 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15500 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15501 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15502 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15503 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15504 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15505 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15506 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15507 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15508 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15509 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15510 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15511 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15512 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15513 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15514 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15515 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15516 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15517 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15518 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15519 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15520 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15521 < 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"`'
15522 < 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"`'
15523 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15524 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15525 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15526 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15527 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15528 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15529 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15530 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15531 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15532 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15533 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15534 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15535 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15536 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15537 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15538 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15539 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15540 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15541 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15542 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15543 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15544 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15545 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15546 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15547 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15548 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15549 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15550 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15551 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15552 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15553 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15554 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15555 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15556 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15557 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15558 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15559 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15560 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15561 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15562 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15563 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15564 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15565 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15566 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15567 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15568 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15569 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15570 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15571 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15572 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15573 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15574 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15575 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15576 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15577 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15578 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15579 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15580 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15581 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15582 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15583 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15584 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15585 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15586 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15587 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15588 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15589 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15590 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15591 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15592 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15593 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15594 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15477 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15478 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15479 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15480 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15481 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15482 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15483 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15484 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15485 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15486 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15487 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15488 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15489 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15490 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15491 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15492 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15493 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15494 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15495 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15496 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15497 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15498 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15499 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15500 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15501 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15502 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15503 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15504 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15505 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15506 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15507 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15508 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15509 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15510 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15511 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15512 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15513 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15514 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15515 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15516 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15517 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15518 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15519 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15520 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15521 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15522 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15523 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15524 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15525 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15526 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15527 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15528 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15529 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15530 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15531 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15532 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15533 > 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"`'
15534 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15535 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15536 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15537 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15538 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15539 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15540 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15541 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15542 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15543 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15544 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15545 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15546 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15547 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15548 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15549 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15550 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15551 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15552 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15553 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15554 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15555 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15556 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15557 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15558 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15559 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15560 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15561 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15562 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15563 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15564 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15565 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15566 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15567 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15568 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15569 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15570 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15571 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15572 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15573 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15574 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15575 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15576 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15577 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15578 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15579 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15580 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15581 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15582 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15583 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15584 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15585 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15586 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15587 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15588 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15589 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15590 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15591 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15592 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15593 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15594 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15595 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15596 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15597 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15598 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15599 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15600 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15601 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15602 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15603 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15604 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15605 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15606 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15607  
15608   LTCC='$LTCC'
15609   LTCFLAGS='$LTCFLAGS'
15610   compiler='$compiler_DEFAULT'
15611  
15612 + # A function that is used when there is no print builtin or printf.
15613 + func_fallback_echo ()
15614 + {
15615 +  eval 'cat <<_LTECHO_EOF
15616 + \$1
15617 + _LTECHO_EOF'
15618 + }
15619 +
15620   # Quote evaled strings.
15621 < for var in SED \
15621 > for var in SHELL \
15622 > ECHO \
15623 > PATH_SEPARATOR \
15624 > SED \
15625   GREP \
15626   EGREP \
15627   FGREP \
# Line 14628 | Line 15634 | reload_flag \
15634   OBJDUMP \
15635   deplibs_check_method \
15636   file_magic_cmd \
15637 + file_magic_glob \
15638 + want_nocaseglob \
15639 + DLLTOOL \
15640 + sharedlib_from_linklib_cmd \
15641   AR \
15642   AR_FLAGS \
15643 + archiver_list_spec \
15644   STRIP \
15645   RANLIB \
15646   CC \
# Line 14639 | Line 15650 | lt_cv_sys_global_symbol_pipe \
15650   lt_cv_sys_global_symbol_to_cdecl \
15651   lt_cv_sys_global_symbol_to_c_name_address \
15652   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15653 < SHELL \
14643 < ECHO \
15653 > nm_file_list_spec \
15654   lt_prog_compiler_no_builtin_flag \
14645 lt_prog_compiler_wl \
15655   lt_prog_compiler_pic \
15656 + lt_prog_compiler_wl \
15657   lt_prog_compiler_static \
15658   lt_cv_prog_compiler_c_o \
15659   need_locks \
15660 + MANIFEST_TOOL \
15661   DSYMUTIL \
15662   NMEDIT \
15663   LIPO \
# Line 14660 | Line 15671 | with_gnu_ld \
15671   allow_undefined_flag \
15672   no_undefined_flag \
15673   hardcode_libdir_flag_spec \
14663 hardcode_libdir_flag_spec_ld \
15674   hardcode_libdir_separator \
14665 fix_srcfile_path \
15675   exclude_expsyms \
15676   include_expsyms \
15677   file_list_spec \
# Line 14670 | Line 15679 | variables_saved_for_relink \
15679   libname_spec \
15680   library_names_spec \
15681   soname_spec \
15682 + install_override_mode \
15683   finish_eval \
15684   old_striplib \
15685   striplib; do
15686 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15686 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15687      *[\\\\\\\`\\"\\\$]*)
15688 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15688 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15689        ;;
15690      *)
15691        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 15707 | module_cmds \
15707   module_expsym_cmds \
15708   export_symbols_cmds \
15709   prelink_cmds \
15710 + postlink_cmds \
15711   postinstall_cmds \
15712   postuninstall_cmds \
15713   finish_cmds \
15714   sys_lib_search_path_spec \
15715   sys_lib_dlsearch_path_spec; do
15716 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15716 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15717      *[\\\\\\\`\\"\\\$]*)
15718 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15718 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15719        ;;
15720      *)
15721        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14712 | Line 15723 | sys_lib_dlsearch_path_spec; do
15723      esac
15724   done
15725  
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
15726   ac_aux_dir='$ac_aux_dir'
15727   xsi_shell='$xsi_shell'
15728   lt_shell_append='$lt_shell_append'
# Line 14755 | Line 15760 | do
15760      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15761      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15762      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15763 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15764      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15765      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15766      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14764 | Line 15770 | do
15770      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15771      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15772  
15773 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15773 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15774    esac
15775   done
15776  
# Line 14787 | Line 15793 | fi
15793   # after its creation but before its name has been assigned to `$tmp'.
15794   $debug ||
15795   {
15796 <  tmp=
15796 >  tmp= ac_tmp=
15797    trap 'exit_status=$?
15798 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15798 >  : "${ac_tmp:=$tmp}"
15799 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15800   ' 0
15801    trap 'as_fn_exit 1' 1 2 13 15
15802   }
# Line 14797 | Line 15804 | $debug ||
15804  
15805   {
15806    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15807 <  test -n "$tmp" && test -d "$tmp"
15807 >  test -d "$tmp"
15808   }  ||
15809   {
15810    tmp=./conf$$-$RANDOM
15811    (umask 077 && mkdir "$tmp")
15812 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15812 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15813 > ac_tmp=$tmp
15814  
15815   # Set up the scripts for CONFIG_FILES section.
15816   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 15827 | if test "x$ac_cr" = x; then
15827   fi
15828   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15829   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15830 <  ac_cs_awk_cr='\r'
15830 >  ac_cs_awk_cr='\\r'
15831   else
15832    ac_cs_awk_cr=$ac_cr
15833   fi
15834  
15835 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15835 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15836   _ACEOF
15837  
15838  
# Line 14833 | Line 15841 | _ACEOF
15841    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15842    echo "_ACEOF"
15843   } >conf$$subs.sh ||
15844 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15845 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15844 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15845 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15846   ac_delim='%!_!# '
15847   for ac_last_try in false false false false false :; do
15848    . ./conf$$subs.sh ||
15849 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15849 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15850  
15851    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15852    if test $ac_delim_n = $ac_delim_num; then
15853      break
15854    elif $ac_last_try; then
15855 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15855 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15856    else
15857      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15858    fi
# Line 14852 | Line 15860 | done
15860   rm -f conf$$subs.sh
15861  
15862   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15863 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15863 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15864   _ACEOF
15865   sed -n '
15866   h
# Line 14900 | Line 15908 | t delim
15908   rm -f conf$$subs.awk
15909   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15910   _ACAWK
15911 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15911 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15912    for (key in S) S_is_set[key] = 1
15913    FS = ""
15914  
# Line 14932 | Line 15940 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15940    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15941   else
15942    cat
15943 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15944 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15943 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15944 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15945   _ACEOF
15946  
15947 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15948 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15947 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15948 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15949   # trailing colons and then remove the whole line if VPATH becomes empty
15950   # (actually we leave an empty line to preserve line numbers).
15951   if test "x$srcdir" = x.; then
15952 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15953 < s/:*\$(srcdir):*/:/
15954 < s/:*\${srcdir}:*/:/
15955 < s/:*@srcdir@:*/:/
15956 < s/^\([^=]*=[     ]*\):*/\1/
15952 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15953 > h
15954 > s///
15955 > s/^/:/
15956 > s/[      ]*$/:/
15957 > s/:\$(srcdir):/:/g
15958 > s/:\${srcdir}:/:/g
15959 > s/:@srcdir@:/:/g
15960 > s/^:*//
15961   s/:*$//
15962 + x
15963 + s/\(=[   ]*\).*/\1/
15964 + G
15965 + s/\n//
15966   s/^[^=]*=[       ]*$//
15967   }'
15968   fi
# Line 14958 | Line 15974 | fi # test -n "$CONFIG_FILES"
15974   # No need to generate them if there are no CONFIG_HEADERS.
15975   # This happens for instance with `./config.status Makefile'.
15976   if test -n "$CONFIG_HEADERS"; then
15977 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15977 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15978   BEGIN {
15979   _ACEOF
15980  
# Line 14970 | Line 15986 | _ACEOF
15986   # handling of long lines.
15987   ac_delim='%!_!# '
15988   for ac_last_try in false false :; do
15989 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15990 <  if test -z "$ac_t"; then
15989 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15990 >  if test -z "$ac_tt"; then
15991      break
15992    elif $ac_last_try; then
15993 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15993 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15994    else
15995      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15996    fi
# Line 15059 | Line 16075 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16075   _ACAWK
16076   _ACEOF
16077   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16078 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16078 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16079   fi # test -n "$CONFIG_HEADERS"
16080  
16081  
# Line 15072 | Line 16088 | do
16088    esac
16089    case $ac_mode$ac_tag in
16090    :[FHL]*:*);;
16091 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16091 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16092    :[FH]-) ac_tag=-:-;;
16093    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16094    esac
# Line 15091 | Line 16107 | do
16107      for ac_f
16108      do
16109        case $ac_f in
16110 <      -) ac_f="$tmp/stdin";;
16110 >      -) ac_f="$ac_tmp/stdin";;
16111        *) # Look for the file first in the build tree, then in the source tree
16112           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16113           # because $ac_f cannot contain `:'.
# Line 15100 | Line 16116 | do
16116             [\\/$]*) false;;
16117             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16118             esac ||
16119 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16119 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16120        esac
16121        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16122        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 16142 | $as_echo "$as_me: creating $ac_file" >&6
16142      esac
16143  
16144      case $ac_tag in
16145 <    *:-:* | *:-) cat >"$tmp/stdin" \
16146 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16145 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16146 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16147      esac
16148      ;;
16149    esac
# Line 15263 | Line 16279 | s&@INSTALL@&$ac_INSTALL&;t t
16279   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16280   $ac_datarootdir_hack
16281   "
16282 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16283 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16282 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16283 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16284  
16285   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16286 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16287 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16286 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16287 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16288 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16289    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16290 < which seems to be undefined.  Please make sure it is defined." >&5
16290 > which seems to be undefined.  Please make sure it is defined" >&5
16291   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16292 < which seems to be undefined.  Please make sure it is defined." >&2;}
16292 > which seems to be undefined.  Please make sure it is defined" >&2;}
16293  
16294 <  rm -f "$tmp/stdin"
16294 >  rm -f "$ac_tmp/stdin"
16295    case $ac_file in
16296 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16297 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16296 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16297 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16298    esac \
16299 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16299 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16300   ;;
16301    :H)
16302    #
# Line 15288 | Line 16305 | which seems to be undefined.  Please mak
16305    if test x"$ac_file" != x-; then
16306      {
16307        $as_echo "/* $configure_input  */" \
16308 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16309 <    } >"$tmp/config.h" \
16310 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16311 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16308 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16309 >    } >"$ac_tmp/config.h" \
16310 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16311 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16312        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16313   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16314      else
16315        rm -f "$ac_file"
16316 <      mv "$tmp/config.h" "$ac_file" \
16317 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16316 >      mv "$ac_tmp/config.h" "$ac_file" \
16317 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16318      fi
16319    else
16320      $as_echo "/* $configure_input  */" \
16321 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16322 <      || as_fn_error "could not create -" "$LINENO" 5
16321 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16322 >      || as_fn_error $? "could not create -" "$LINENO" 5
16323    fi
16324   # Compute "$ac_file"'s index in $config_headers.
16325   _am_arg="$ac_file"
# Line 15463 | Line 16480 | $as_echo X"$file" |
16480   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16481   #
16482   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16483 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16483 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16484 > #                 Foundation, Inc.
16485   #   Written by Gordon Matzigkeit, 1996
16486   #
16487   #   This file is part of GNU Libtool.
# Line 15511 | Line 16529 | pic_mode=$pic_mode
16529   # Whether or not to optimize for fast installation.
16530   fast_install=$enable_fast_install
16531  
16532 + # Shell to use when invoking shell scripts.
16533 + SHELL=$lt_SHELL
16534 +
16535 + # An echo program that protects backslashes.
16536 + ECHO=$lt_ECHO
16537 +
16538 + # The PATH separator for the build system.
16539 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16540 +
16541   # The host system.
16542   host_alias=$host_alias
16543   host=$host
# Line 15560 | Line 16587 | SP2NL=$lt_lt_SP2NL
16587   # turn newlines into spaces.
16588   NL2SP=$lt_lt_NL2SP
16589  
16590 < # How to create reloadable object files.
16591 < reload_flag=$lt_reload_flag
16592 < reload_cmds=$lt_reload_cmds
16590 > # convert \$build file names to \$host format.
16591 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16592 >
16593 > # convert \$build files to toolchain format.
16594 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16595  
16596   # An object symbol dumper.
16597   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 16599 | OBJDUMP=$lt_OBJDUMP
16599   # Method to check whether dependent libraries are shared objects.
16600   deplibs_check_method=$lt_deplibs_check_method
16601  
16602 < # Command to use when deplibs_check_method == "file_magic".
16602 > # Command to use when deplibs_check_method = "file_magic".
16603   file_magic_cmd=$lt_file_magic_cmd
16604  
16605 + # How to find potential files when deplibs_check_method = "file_magic".
16606 + file_magic_glob=$lt_file_magic_glob
16607 +
16608 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16609 + want_nocaseglob=$lt_want_nocaseglob
16610 +
16611 + # DLL creation program.
16612 + DLLTOOL=$lt_DLLTOOL
16613 +
16614 + # Command to associate shared and link libraries.
16615 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16616 +
16617   # The archiver.
16618   AR=$lt_AR
16619 +
16620 + # Flags to create an archive.
16621   AR_FLAGS=$lt_AR_FLAGS
16622  
16623 + # How to feed a file listing to the archiver.
16624 + archiver_list_spec=$lt_archiver_list_spec
16625 +
16626   # A symbol stripping program.
16627   STRIP=$lt_STRIP
16628  
# Line 15585 | Line 16631 | RANLIB=$lt_RANLIB
16631   old_postinstall_cmds=$lt_old_postinstall_cmds
16632   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16633  
16634 + # Whether to use a lock for old archive extraction.
16635 + lock_old_archive_extraction=$lock_old_archive_extraction
16636 +
16637   # A C compiler.
16638   LTCC=$lt_CC
16639  
# Line 15603 | Line 16652 | global_symbol_to_c_name_address=$lt_lt_c
16652   # Transform the output of nm in a C name address pair when lib prefix is needed.
16653   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16654  
16655 < # The name of the directory that contains temporary libtool files.
16656 < objdir=$objdir
16655 > # Specify filename containing input files for \$NM.
16656 > nm_file_list_spec=$lt_nm_file_list_spec
16657  
16658 < # Shell to use when invoking shell scripts.
16659 < SHELL=$lt_SHELL
16658 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16659 > lt_sysroot=$lt_sysroot
16660  
16661 < # An echo program that does not interpret backslashes.
16662 < ECHO=$lt_ECHO
16661 > # The name of the directory that contains temporary libtool files.
16662 > objdir=$objdir
16663  
16664   # Used to examine libraries when file_magic_cmd begins with "file".
16665   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 16667 | MAGIC_CMD=$MAGIC_CMD
16667   # Must we lock files when doing compilation?
16668   need_locks=$lt_need_locks
16669  
16670 + # Manifest tool.
16671 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16672 +
16673   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16674   DSYMUTIL=$lt_DSYMUTIL
16675  
# Line 15674 | Line 16726 | library_names_spec=$lt_library_names_spe
16726   # The coded name of the library, if different from the real name.
16727   soname_spec=$lt_soname_spec
16728  
16729 + # Permission mode override for installation of shared libraries.
16730 + install_override_mode=$lt_install_override_mode
16731 +
16732   # Command to use after installation of a shared archive.
16733   postinstall_cmds=$lt_postinstall_cmds
16734  
# Line 15713 | Line 16768 | striplib=$lt_striplib
16768   # The linker used to build libraries.
16769   LD=$lt_LD
16770  
16771 + # How to create reloadable object files.
16772 + reload_flag=$lt_reload_flag
16773 + reload_cmds=$lt_reload_cmds
16774 +
16775   # Commands used to build an old-style archive.
16776   old_archive_cmds=$lt_old_archive_cmds
16777  
# Line 15725 | Line 16784 | with_gcc=$GCC
16784   # Compiler flag to turn off builtin functions.
16785   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16786  
15728 # How to pass a linker flag through the compiler.
15729 wl=$lt_lt_prog_compiler_wl
15730
16787   # Additional compiler flags for building library objects.
16788   pic_flag=$lt_lt_prog_compiler_pic
16789  
16790 + # How to pass a linker flag through the compiler.
16791 + wl=$lt_lt_prog_compiler_wl
16792 +
16793   # Compiler flag to prevent dynamic linking.
16794   link_static_flag=$lt_lt_prog_compiler_static
16795  
# Line 15780 | Line 16839 | no_undefined_flag=$lt_no_undefined_flag
16839   # This must work even if \$libdir does not exist
16840   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16841  
15783 # If ld is used when linking, flag to hardcode \$libdir into a binary
15784 # during linking.  This must work even if \$libdir does not exist.
15785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15786
16842   # Whether we need a single "-rpath" flag with a separated argument.
16843   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16844  
# Line 15817 | Line 16872 | inherit_rpath=$inherit_rpath
16872   # Whether libtool must link a program against all its dependency libraries.
16873   link_all_deplibs=$link_all_deplibs
16874  
15820 # Fix the shell variable \$srcfile for the compiler.
15821 fix_srcfile_path=$lt_fix_srcfile_path
15822
16875   # Set to "yes" if exported symbols are required.
16876   always_export_symbols=$always_export_symbols
16877  
# Line 15835 | Line 16887 | include_expsyms=$lt_include_expsyms
16887   # Commands necessary for linking programs (against libraries) with templates.
16888   prelink_cmds=$lt_prelink_cmds
16889  
16890 + # Commands necessary for finishing linking programs.
16891 + postlink_cmds=$lt_postlink_cmds
16892 +
16893   # Specify filename containing input files.
16894   file_list_spec=$lt_file_list_spec
16895  
# Line 15867 | Line 16922 | ltmain="$ac_aux_dir/ltmain.sh"
16922    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16923    # text mode, it properly converts lines to CR/LF.  This bash problem
16924    # is reportedly fixed, but why not run on old versions too?
16925 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16926 <    || (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
16925 >  sed '$q' "$ltmain" >> "$cfgfile" \
16926 >     || (rm -f "$cfgfile"; exit 1)
16927  
16928 +  if test x"$xsi_shell" = xyes; then
16929 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16930 + func_dirname ()\
16931 + {\
16932 + \    case ${1} in\
16933 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16934 + \      *  ) func_dirname_result="${3}" ;;\
16935 + \    esac\
16936 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16937 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16938 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16939 + test 0 -eq $? || _lt_function_replace_fail=:
16940 +
16941 +
16942 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16943 + func_basename ()\
16944 + {\
16945 + \    func_basename_result="${1##*/}"\
16946 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16947 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16948 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16949 + test 0 -eq $? || _lt_function_replace_fail=:
16950 +
16951 +
16952 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16953 + func_dirname_and_basename ()\
16954 + {\
16955 + \    case ${1} in\
16956 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16957 + \      *  ) func_dirname_result="${3}" ;;\
16958 + \    esac\
16959 + \    func_basename_result="${1##*/}"\
16960 + } # Extended-shell func_dirname_and_basename 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_stripname ()$/,/^} # func_stripname /c\
16967 + func_stripname ()\
16968 + {\
16969 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16970 + \    # positional parameters, so assign one to ordinary parameter first.\
16971 + \    func_stripname_result=${3}\
16972 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16973 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16974 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16975 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16976 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16977 + test 0 -eq $? || _lt_function_replace_fail=:
16978 +
16979 +
16980 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16981 + func_split_long_opt ()\
16982 + {\
16983 + \    func_split_long_opt_name=${1%%=*}\
16984 + \    func_split_long_opt_arg=${1#*=}\
16985 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16986 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16987 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16988 + test 0 -eq $? || _lt_function_replace_fail=:
16989 +
16990 +
16991 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16992 + func_split_short_opt ()\
16993 + {\
16994 + \    func_split_short_opt_arg=${1#??}\
16995 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16996 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16997 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16998 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16999 + test 0 -eq $? || _lt_function_replace_fail=:
17000 +
17001 +
17002 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17003 + func_lo2o ()\
17004 + {\
17005 + \    case ${1} in\
17006 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17007 + \      *)    func_lo2o_result=${1} ;;\
17008 + \    esac\
17009 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17010 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17011 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17012 + test 0 -eq $? || _lt_function_replace_fail=:
17013 +
17014 +
17015 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17016 + func_xform ()\
17017 + {\
17018 +    func_xform_result=${1%.*}.lo\
17019 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17020 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17021 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17022 + test 0 -eq $? || _lt_function_replace_fail=:
17023 +
17024 +
17025 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17026 + func_arith ()\
17027 + {\
17028 +    func_arith_result=$(( $* ))\
17029 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17030 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17031 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17032 + test 0 -eq $? || _lt_function_replace_fail=:
17033 +
17034 +
17035 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17036 + func_len ()\
17037 + {\
17038 +    func_len_result=${#1}\
17039 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17040 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17041 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17042 + test 0 -eq $? || _lt_function_replace_fail=:
17043 +
17044 + fi
17045 +
17046 + if test x"$lt_shell_append" = xyes; then
17047 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17048 + func_append ()\
17049 + {\
17050 +    eval "${1}+=\\${2}"\
17051 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17052 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17053 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17054 + test 0 -eq $? || _lt_function_replace_fail=:
17055 +
17056 +
17057 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17058 + func_append_quoted ()\
17059 + {\
17060 + \    func_quote_for_eval "${2}"\
17061 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17062 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17063 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17064 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17065 + test 0 -eq $? || _lt_function_replace_fail=:
17066 +
17067 +
17068 +  # Save a `func_append' function call where possible by direct use of '+='
17069 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17070 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17071 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17072 +  test 0 -eq $? || _lt_function_replace_fail=:
17073 + else
17074 +  # Save a `func_append' function call even when '+=' is not available
17075 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17076 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17077 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17078 +  test 0 -eq $? || _lt_function_replace_fail=:
17079 + fi
17080 +
17081 + if test x"$_lt_function_replace_fail" = x":"; then
17082 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17083 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17084 + fi
17085  
16072  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073    || (rm -f "$cfgfile"; exit 1)
17086  
17087 <  mv -f "$cfgfile" "$ofile" ||
17087 >   mv -f "$cfgfile" "$ofile" ||
17088      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17089    chmod +x "$ofile"
17090  
# Line 16087 | Line 17099 | _ACEOF
17099   ac_clean_files=$ac_clean_files_save
17100  
17101   test $ac_write_fail = 0 ||
17102 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17102 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17103  
17104  
17105   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 17120 | if test "$no_create" != yes; then
17120    exec 5>>config.log
17121    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17122    # would make configure fail if this is the last instruction.
17123 <  $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
17123 >  $ac_cs_success || as_fn_exit 1
17124   fi
17125   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17126    { $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)