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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1348 by michael, Wed Apr 11 17:04:22 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 1338 2012-04-05 11:05:48Z 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  
532
548   lt_ltdl_dir='libltdl'
549  
535
536 # Check that we are running under the correct shell.
550   SHELL=${CONFIG_SHELL-/bin/sh}
551  
539 case X$lt_ECHO in
540 X*--fallback-echo)
541  # Remove one level of quotation (which was required for Make).
542  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543  ;;
544 esac
545
546 ECHO=${lt_ECHO-echo}
547 if test "X$1" = X--no-reexec; then
548  # Discard the --no-reexec flag, and continue.
549  shift
550 elif test "X$1" = X--fallback-echo; then
551  # Avoid inline document here, it may be left over
552  :
553 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554  # Yippee, $ECHO works!
555  :
556 else
557  # Restart under the correct shell.
558  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 fi
560
561 if test "X$1" = X--fallback-echo; then
562  # used as fallback echo
563  shift
564  cat <<_LT_EOF
565 $*
566 _LT_EOF
567  exit 0
568 fi
569
570 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 # if CDPATH is set.
572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
574 if test -z "$lt_ECHO"; then
575  if test "X${echo_test_string+set}" != Xset; then
576    # find a string as large as possible, as long as the shell can cope with it
577    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581      then
582        break
583      fi
584    done
585  fi
586
587  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589     test "X$echo_testing_string" = "X$echo_test_string"; then
590    :
591  else
592    # The Solaris, AIX, and Digital Unix default echo programs unquote
593    # backslashes.  This makes it impossible to quote backslashes using
594    #   echo "$something" | sed 's/\\/\\\\/g'
595    #
596    # So, first we look for a working echo in the user's PATH.
597
598    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599    for dir in $PATH /usr/ucb; do
600      IFS="$lt_save_ifs"
601      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604         test "X$echo_testing_string" = "X$echo_test_string"; then
605        ECHO="$dir/echo"
606        break
607      fi
608    done
609    IFS="$lt_save_ifs"
610
611    if test "X$ECHO" = Xecho; then
612      # We didn't find a better echo, so look for alternatives.
613      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615         test "X$echo_testing_string" = "X$echo_test_string"; then
616        # This shell has a builtin print -r that does the trick.
617        ECHO='print -r'
618      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619           test "X$CONFIG_SHELL" != X/bin/ksh; then
620        # If we have ksh, try running configure again with it.
621        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622        export ORIGINAL_CONFIG_SHELL
623        CONFIG_SHELL=/bin/ksh
624        export CONFIG_SHELL
625        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626      else
627        # Try using printf.
628        ECHO='printf %s\n'
629        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631           test "X$echo_testing_string" = "X$echo_test_string"; then
632          # Cool, printf works
633          :
634        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635             test "X$echo_testing_string" = 'X\t' &&
636             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637             test "X$echo_testing_string" = "X$echo_test_string"; then
638          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639          export CONFIG_SHELL
640          SHELL="$CONFIG_SHELL"
641          export SHELL
642          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644             test "X$echo_testing_string" = 'X\t' &&
645             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646             test "X$echo_testing_string" = "X$echo_test_string"; then
647          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        else
649          # maybe with a smaller string...
650          prev=:
651
652          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654            then
655              break
656            fi
657            prev="$cmd"
658          done
659
660          if test "$prev" != 'sed 50q "$0"'; then
661            echo_test_string=`eval $prev`
662            export echo_test_string
663            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664          else
665            # Oops.  We lost completely, so just stick with echo.
666            ECHO=echo
667          fi
668        fi
669      fi
670    fi
671  fi
672 fi
673
674 # Copy echo and quote the copy suitably for passing to libtool from
675 # the Makefile, instead of quoting the original, which is used later.
676 lt_ECHO=$ECHO
677 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 fi
680
681
682
683
684 lt_dlopen_dir="$lt_ltdl_dir"
552  
553   test -n "$DJDIR" || exec 7<&0 </dev/null
554   exec 6>&1
555  
556   # Name of the host.
557 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558   # so uname gets run too.
559   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560  
# Line 706 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.3-rc1'
577 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
# Line 748 | Line 615 | ac_includes_default="\
615   # include <unistd.h>
616   #endif"
617  
751 enable_option_checking=no
618   ac_func_list=
619   ac_header_list=
620   ac_subst_vars='ltdl_LTLIBOBJS
# Line 770 | Line 636 | ENABLE_PCRE_FALSE
636   ENABLE_PCRE_TRUE
637   LTDLOPEN
638   LT_CONFIG_H
773 subdirs
639   CONVENIENCE_LTDL_FALSE
640   CONVENIENCE_LTDL_TRUE
641   INSTALL_LTDL_FALSE
# Line 793 | Line 658 | OTOOL
658   LIPO
659   NMEDIT
660   DSYMUTIL
661 < lt_ECHO
661 > MANIFEST_TOOL
662   RANLIB
663 + ac_ct_AR
664   AR
665 + DLLTOOL
666   OBJDUMP
667   LN_S
668   NM
# Line 823 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 910 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
785   with_ltdl_lib
786   enable_ltdl_install
918 with_zlib_path
919 enable_zlib
787   with_libpcre_path
788   enable_libpcre
789   enable_openssl
# Line 930 | Line 797 | enable_poll
797   enable_select
798   with_nicklen
799   with_topiclen
933 with_syslog_facility
800   enable_efnet
801   enable_halfops
802   enable_debugging
803   enable_warnings
938 enable_syslog
804   '
805        ac_precious_vars='build_alias
806   host_alias
# Line 948 | Line 813 | CPPFLAGS
813   YACC
814   YFLAGS
815   CPP'
816 < ac_subdirs_all='libltdl'
816 >
817  
818   # Initialize some variables set by options.
819   ac_init_help=
# Line 1010 | Line 875 | do
875    fi
876  
877    case $ac_option in
878 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 <  *)    ac_optarg=yes ;;
878 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 >  *=)   ac_optarg= ;;
880 >  *)    ac_optarg=yes ;;
881    esac
882  
883    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 922 | do
922      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923      # Reject names that are not valid shell variable names.
924      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 <      as_fn_error "invalid feature name: $ac_useropt"
925 >      as_fn_error $? "invalid feature name: $ac_useropt"
926      ac_useropt_orig=$ac_useropt
927      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928      case $ac_user_opts in
# Line 1082 | Line 948 | do
948      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949      # Reject names that are not valid shell variable names.
950      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 <      as_fn_error "invalid feature name: $ac_useropt"
951 >      as_fn_error $? "invalid feature name: $ac_useropt"
952      ac_useropt_orig=$ac_useropt
953      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954      case $ac_user_opts in
# Line 1286 | Line 1152 | do
1152      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153      # Reject names that are not valid shell variable names.
1154      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 <      as_fn_error "invalid package name: $ac_useropt"
1155 >      as_fn_error $? "invalid package name: $ac_useropt"
1156      ac_useropt_orig=$ac_useropt
1157      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158      case $ac_user_opts in
# Line 1302 | Line 1168 | do
1168      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169      # Reject names that are not valid shell variable names.
1170      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 <      as_fn_error "invalid package name: $ac_useropt"
1171 >      as_fn_error $? "invalid package name: $ac_useropt"
1172      ac_useropt_orig=$ac_useropt
1173      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174      case $ac_user_opts in
# Line 1332 | Line 1198 | do
1198    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1199      x_libraries=$ac_optarg ;;
1200  
1201 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1202 < Try \`$0 --help' for more information."
1201 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1202 > Try \`$0 --help' for more information"
1203      ;;
1204  
1205    *=*)
# Line 1341 | Line 1207 | Try \`$0 --help' for more information."
1207      # Reject names that are not valid shell variable names.
1208      case $ac_envvar in #(
1209        '' | [0-9]* | *[!_$as_cr_alnum]* )
1210 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1210 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1211      esac
1212      eval $ac_envvar=\$ac_optarg
1213      export $ac_envvar ;;
# Line 1351 | Line 1217 | Try \`$0 --help' for more information."
1217      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221      ;;
1222  
1223    esac
# Line 1359 | Line 1225 | done
1225  
1226   if test -n "$ac_prev"; then
1227    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1228 <  as_fn_error "missing argument to $ac_option"
1228 >  as_fn_error $? "missing argument to $ac_option"
1229   fi
1230  
1231   if test -n "$ac_unrecognized_opts"; then
1232    case $enable_option_checking in
1233      no) ;;
1234 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1234 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1235      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236    esac
1237   fi
# Line 1388 | Line 1254 | do
1254      [\\/$]* | ?:[\\/]* )  continue;;
1255      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256    esac
1257 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1257 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1258   done
1259  
1260   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1268 | target=$target_alias
1268   if test "x$host_alias" != x; then
1269    if test "x$build_alias" = x; then
1270      cross_compiling=maybe
1271 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 <    If a cross compiler is detected then cross compile mode will be used." >&2
1271 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272 >    If a cross compiler is detected then cross compile mode will be used" >&2
1273    elif test "x$build_alias" != "x$host_alias"; then
1274      cross_compiling=yes
1275    fi
# Line 1418 | Line 1284 | test "$silent" = yes && exec 6>/dev/null
1284   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285   ac_ls_di=`ls -di .` &&
1286   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 <  as_fn_error "working directory cannot be determined"
1287 >  as_fn_error $? "working directory cannot be determined"
1288   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 <  as_fn_error "pwd does not report name of working directory"
1289 >  as_fn_error $? "pwd does not report name of working directory"
1290  
1291  
1292   # Find the source files, if location was not specified.
# Line 1459 | Line 1325 | else
1325   fi
1326   if test ! -r "$srcdir/$ac_unique_file"; then
1327    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1328 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1329   fi
1330   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331   ac_abs_confdir=`(
1332 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333          pwd)`
1334   # When building in place, set srcdir=.
1335   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1355 | if test "$ac_init_help" = "long"; then
1355    # Omit some internal or obsolete options to make the list less imposing.
1356    # This message is too long to be a string in the A/UX 3.1 sh.
1357    cat <<_ACEOF
1358 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1358 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1359  
1360   Usage: $0 [OPTION]... [VAR=VALUE]...
1361  
# Line 1503 | Line 1369 | Configuration:
1369        --help=short        display options specific to this package
1370        --help=recursive    display the short help of all the included packages
1371    -V, --version           display version information and exit
1372 <  -q, --quiet, --silent   do not print \`checking...' messages
1372 >  -q, --quiet, --silent   do not print \`checking ...' messages
1373        --cache-file=FILE   cache test results in FILE [disabled]
1374    -C, --config-cache      alias for \`--cache-file=config.cache'
1375    -n, --no-create         do not create output files
# Line 1559 | Line 1425 | fi
1425  
1426   if test -n "$ac_init_help"; then
1427    case $ac_init_help in
1428 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1428 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1429     esac
1430    cat <<\_ACEOF
1431  
# Line 1577 | Line 1443 | Optional Features:
1443                            optimize for fast installation [default=yes]
1444    --disable-libtool-lock  avoid locking (might break parallel builds)
1445    --enable-ltdl-install   install libltdl
1580  --disable-zlib          Disable ziplinks support
1446    --disable-libpcre       Disable PCRE support
1447    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1448    --disable-openssl            Disable OpenSSL support.
# Line 1593 | Line 1458 | Optional Features:
1458    --enable-halfops        Enable halfops support.
1459    --enable-debugging      Enable debugging.
1460    --enable-warnings       Enable compiler warnings.
1596  --enable-syslog="EVENTS"
1597                          Enable syslog for events: users oper (space
1598                          separated in quotes; default: disabled).
1461  
1462   Optional Packages:
1463    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1465 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                            both]
1467    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468 +  --with-sysroot=DIR Search for dependent libraries within DIR
1469 +                        (or the compiler's sysroot if not specified).
1470    --with-included-ltdl    use the GNU ltdl sources included here
1471    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1473    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474    --with-nicklen=<value>  Set nickname length (default 9).
1475    --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1476  
1477   Some influential environment variables:
1478    CC          C compiler command
# Line 1622 | Line 1482 | Some influential environment variables:
1482    LIBS        libraries to pass to the linker, e.g. -l<library>
1483    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484                you have headers in a nonstandard directory <include dir>
1485 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1486 <              the first program found out of: `bison -y', `byacc', `yacc'.
1485 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1486 >              Defaults to the first program found out of: `bison -y', `byacc',
1487 >              `yacc'.
1488    YFLAGS      The list of arguments that will be passed by default to $YACC.
1489                This script will default YFLAGS to the empty string to avoid a
1490                default value of `-d' given by some make applications.
# Line 1695 | Line 1556 | fi
1556   test -n "$ac_init_help" && exit $ac_status
1557   if $ac_init_version; then
1558    cat <<\_ACEOF
1559 < ircd-hybrid configure 7.3-rc1
1560 < generated by GNU Autoconf 2.65
1559 > ircd-hybrid configure 8beta1
1560 > generated by GNU Autoconf 2.68
1561  
1562 < Copyright (C) 2009 Free Software Foundation, Inc.
1562 > Copyright (C) 2010 Free Software Foundation, Inc.
1563   This configure script is free software; the Free Software Foundation
1564   gives unlimited permission to copy, distribute and modify it.
1565   _ACEOF
# Line 1742 | Line 1603 | sed 's/^/| /' conftest.$ac_ext >&5
1603  
1604          ac_retval=1
1605   fi
1606 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607    as_fn_set_status $ac_retval
1608  
1609   } # ac_fn_c_try_compile
# Line 1788 | Line 1649 | fi
1649    # interfere with the next link command; also delete a directory that is
1650    # left behind by Apple's compiler.  We do this before executing the actions.
1651    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653    as_fn_set_status $ac_retval
1654  
1655   } # ac_fn_c_try_link
# Line 1802 | Line 1663 | ac_fn_c_check_header_compile ()
1663    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665   $as_echo_n "checking for $2... " >&6; }
1666 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1666 > if eval \${$3+:} false; then :
1667    $as_echo_n "(cached) " >&6
1668   else
1669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1681 | fi
1681   eval ac_res=\$$3
1682                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683   $as_echo "$ac_res" >&6; }
1684 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  
1686   } # ac_fn_c_check_header_compile
1687  
# Line 1845 | Line 1706 | $as_echo "$ac_try_echo"; } >&5
1706      mv -f conftest.er1 conftest.err
1707    fi
1708    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 <  test $ac_status = 0; } >/dev/null && {
1709 >  test $ac_status = 0; } > conftest.i && {
1710           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1711           test ! -s conftest.err
1712         }; then :
# Line 1856 | Line 1717 | sed 's/^/| /' conftest.$ac_ext >&5
1717  
1718      ac_retval=1
1719   fi
1720 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721    as_fn_set_status $ac_retval
1722  
1723   } # ac_fn_c_try_cpp
# Line 1898 | Line 1759 | sed 's/^/| /' conftest.$ac_ext >&5
1759         ac_retval=$ac_status
1760   fi
1761    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763    as_fn_set_status $ac_retval
1764  
1765   } # ac_fn_c_try_run
# Line 1911 | Line 1772 | ac_fn_c_check_func ()
1772    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774   $as_echo_n "checking for $2... " >&6; }
1775 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775 > if eval \${$3+:} false; then :
1776    $as_echo_n "(cached) " >&6
1777   else
1778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1827 | fi
1827   eval ac_res=\$$3
1828                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829   $as_echo "$ac_res" >&6; }
1830 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831  
1832   } # ac_fn_c_check_func
1833  
1834 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1835 < # ------------------------------------
1836 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1834 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1835 > # ---------------------------------------------
1836 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1837 > # accordingly.
1838   ac_fn_c_check_decl ()
1839   {
1840    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1842 < $as_echo_n "checking whether $2 is declared... " >&6; }
1843 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1842 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845 > if eval \${$3+:} false; then :
1846    $as_echo_n "(cached) " >&6
1847   else
1848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1851 | $4
1851   int
1852   main ()
1853   {
1854 < #ifndef $2
1855 <  (void) $2;
1854 > #ifndef $as_decl_name
1855 > #ifdef __cplusplus
1856 >  (void) $as_decl_use;
1857 > #else
1858 >  (void) $as_decl_name;
1859 > #endif
1860   #endif
1861  
1862    ;
# Line 2005 | Line 1873 | fi
1873   eval ac_res=\$$3
1874                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875   $as_echo "$ac_res" >&6; }
1876 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877  
1878   } # ac_fn_c_check_decl
1879  
# Line 2018 | Line 1886 | ac_fn_c_check_type ()
1886    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888   $as_echo_n "checking for $2... " >&6; }
1889 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 > if eval \${$3+:} false; then :
1890    $as_echo_n "(cached) " >&6
1891   else
1892    eval "$3=no"
# Line 2059 | Line 1927 | fi
1927   eval ac_res=\$$3
1928                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929   $as_echo "$ac_res" >&6; }
1930 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  
1932   } # ac_fn_c_check_type
1933  
# Line 2072 | Line 1940 | ac_fn_c_check_member ()
1940    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942   $as_echo_n "checking for $2.$3... " >&6; }
1943 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1943 > if eval \${$4+:} false; then :
1944    $as_echo_n "(cached) " >&6
1945   else
1946    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1984 | fi
1984   eval ac_res=\$$4
1985                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986   $as_echo "$ac_res" >&6; }
1987 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988  
1989   } # ac_fn_c_check_member
1990  
# Line 2128 | Line 1996 | $as_echo "$ac_res" >&6; }
1996   ac_fn_c_check_header_mongrel ()
1997   {
1998    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 >  if eval \${$3+:} false; then :
2000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001   $as_echo_n "checking for $2... " >&6; }
2002 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2002 > if eval \${$3+:} false; then :
2003    $as_echo_n "(cached) " >&6
2004   fi
2005   eval ac_res=\$$3
# Line 2167 | Line 2035 | if ac_fn_c_try_cpp "$LINENO"; then :
2035   else
2036    ac_header_preproc=no
2037   fi
2038 < rm -f conftest.err conftest.$ac_ext
2038 > rm -f conftest.err conftest.i conftest.$ac_ext
2039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2040   $as_echo "$ac_header_preproc" >&6; }
2041  
# Line 2190 | Line 2058 | $as_echo "$as_me: WARNING: $2: see the A
2058   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2059      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2061 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2061 > ( $as_echo "## ----------------------------------- ##
2062   ## Report this to bugs@ircd-hybrid.org ##
2063 < ## ----------------------------------- ##
2197 < _ASBOX
2063 > ## ----------------------------------- ##"
2064       ) | sed "s/^/$as_me: WARNING:     /" >&2
2065      ;;
2066   esac
2067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068   $as_echo_n "checking for $2... " >&6; }
2069 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 > if eval \${$3+:} false; then :
2070    $as_echo_n "(cached) " >&6
2071   else
2072    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2075 | eval ac_res=\$$3
2075                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076   $as_echo "$ac_res" >&6; }
2077   fi
2078 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079  
2080   } # ac_fn_c_check_header_mongrel
2081   cat >config.log <<_ACEOF
2082   This file contains any messages produced by compilers while
2083   running configure, to aid debugging if configure makes a mistake.
2084  
2085 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2086 < generated by GNU Autoconf 2.65.  Invocation command line was
2085 > It was created by ircd-hybrid $as_me 8beta1, which was
2086 > generated by GNU Autoconf 2.68.  Invocation command line was
2087  
2088    $ $0 $@
2089  
# Line 2327 | Line 2193 | trap 'exit_status=$?
2193    {
2194      echo
2195  
2196 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2196 >    $as_echo "## ---------------- ##
2197   ## Cache variables. ##
2198 < ## ---------------- ##
2334 < _ASBOX
2198 > ## ---------------- ##"
2199      echo
2200      # The following way of writing the cache mishandles newlines in values,
2201   (
# Line 2365 | Line 2229 | $as_echo "$as_me: WARNING: cache variabl
2229   )
2230      echo
2231  
2232 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2232 >    $as_echo "## ----------------- ##
2233   ## Output variables. ##
2234 < ## ----------------- ##
2372 < _ASBOX
2234 > ## ----------------- ##"
2235      echo
2236      for ac_var in $ac_subst_vars
2237      do
# Line 2382 | Line 2244 | _ASBOX
2244      echo
2245  
2246      if test -n "$ac_subst_files"; then
2247 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2247 >      $as_echo "## ------------------- ##
2248   ## File substitutions. ##
2249 < ## ------------------- ##
2389 < _ASBOX
2249 > ## ------------------- ##"
2250        echo
2251        for ac_var in $ac_subst_files
2252        do
# Line 2400 | Line 2260 | _ASBOX
2260      fi
2261  
2262      if test -s confdefs.h; then
2263 <      cat <<\_ASBOX
2404 < ## ----------- ##
2263 >      $as_echo "## ----------- ##
2264   ## confdefs.h. ##
2265 < ## ----------- ##
2407 < _ASBOX
2265 > ## ----------- ##"
2266        echo
2267        cat confdefs.h
2268        echo
# Line 2459 | Line 2317 | _ACEOF
2317   ac_site_file1=NONE
2318   ac_site_file2=NONE
2319   if test -n "$CONFIG_SITE"; then
2320 <  ac_site_file1=$CONFIG_SITE
2320 >  # We do not want a PATH search for config.site.
2321 >  case $CONFIG_SITE in #((
2322 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2323 >    */*) ac_site_file1=$CONFIG_SITE;;
2324 >    *)   ac_site_file1=./$CONFIG_SITE;;
2325 >  esac
2326   elif test "x$prefix" != xNONE; then
2327    ac_site_file1=$prefix/share/config.site
2328    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2337 | do
2337      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339      sed 's/^/| /' "$ac_site_file" >&5
2340 <    . "$ac_site_file"
2340 >    . "$ac_site_file" \
2341 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 > as_fn_error $? "failed to load site script $ac_site_file
2344 > See \`config.log' for more details" "$LINENO" 5; }
2345    fi
2346   done
2347  
# Line 2501 | Line 2368 | as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2371   as_fn_append ac_header_list " sys/resource.h"
2372   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2373   as_fn_append ac_header_list " types.h"
2374   as_fn_append ac_header_list " socket.h"
2375   as_fn_append ac_header_list " sys/wait.h"
2376   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2377   # Check that the precious variables saved in the cache have kept the same
2378   # value.
2379   ac_cache_corrupted=false
# Line 2567 | Line 2429 | if $ac_cache_corrupted; then
2429   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2430    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2431   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2432 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2432 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2433   fi
2434   ## -------------------- ##
2435   ## Main body of script. ##
# Line 2584 | Line 2446 | am__api_version='1.11'
2446  
2447   ac_aux_dir=
2448   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2449 <  for ac_t in install-sh install.sh shtool; do
2450 <    if test -f "$ac_dir/$ac_t"; then
2451 <      ac_aux_dir=$ac_dir
2452 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2453 <      break 2
2454 <    fi
2455 <  done
2449 >  if test -f "$ac_dir/install-sh"; then
2450 >    ac_aux_dir=$ac_dir
2451 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2452 >    break
2453 >  elif test -f "$ac_dir/install.sh"; then
2454 >    ac_aux_dir=$ac_dir
2455 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2456 >    break
2457 >  elif test -f "$ac_dir/shtool"; then
2458 >    ac_aux_dir=$ac_dir
2459 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2460 >    break
2461 >  fi
2462   done
2463   if test -z "$ac_aux_dir"; then
2464 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2464 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2465   fi
2466  
2467   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2490 | ac_configure="$SHELL $ac_aux_dir/configu
2490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2491   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2492   if test -z "$INSTALL"; then
2493 < if test "${ac_cv_path_install+set}" = set; then :
2493 > if ${ac_cv_path_install+:} false; then :
2494    $as_echo_n "(cached) " >&6
2495   else
2496    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2709 | Line 2577 | am_lf='
2577   '
2578   case `pwd` in
2579    *[\\\"\#\$\&\'\`$am_lf]*)
2580 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2580 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2581   esac
2582   case $srcdir in
2583    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2584 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2584 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2585   esac
2586  
2587   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2735 | Line 2603 | if (
2603        # if, for instance, CONFIG_SHELL is bash and it inherits a
2604        # broken ls alias from the environment.  This has actually
2605        # happened.  Such a system could not be considered "sane".
2606 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2606 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2607   alias in your environment" "$LINENO" 5
2608     fi
2609  
# Line 2745 | Line 2613 | then
2613     # Ok.
2614     :
2615   else
2616 <   as_fn_error "newly created file is older than distributed files!
2616 >   as_fn_error $? "newly created file is older than distributed files!
2617   Check your system clock" "$LINENO" 5
2618   fi
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2799 | Line 2667 | if test "$cross_compiling" != no; then
2667   set dummy ${ac_tool_prefix}strip; ac_word=$2
2668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669   $as_echo_n "checking for $ac_word... " >&6; }
2670 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2670 > if ${ac_cv_prog_STRIP+:} false; then :
2671    $as_echo_n "(cached) " >&6
2672   else
2673    if test -n "$STRIP"; then
# Line 2839 | Line 2707 | if test -z "$ac_cv_prog_STRIP"; then
2707   set dummy strip; ac_word=$2
2708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709   $as_echo_n "checking for $ac_word... " >&6; }
2710 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2710 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2711    $as_echo_n "(cached) " >&6
2712   else
2713    if test -n "$ac_ct_STRIP"; then
# Line 2892 | Line 2760 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2761   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2762   if test -z "$MKDIR_P"; then
2763 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2763 >  if ${ac_cv_path_mkdir+:} false; then :
2764    $as_echo_n "(cached) " >&6
2765   else
2766    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2943 | Line 2811 | do
2811   set dummy $ac_prog; ac_word=$2
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813   $as_echo_n "checking for $ac_word... " >&6; }
2814 < if test "${ac_cv_prog_AWK+set}" = set; then :
2814 > if ${ac_cv_prog_AWK+:} false; then :
2815    $as_echo_n "(cached) " >&6
2816   else
2817    if test -n "$AWK"; then
# Line 2983 | Line 2851 | done
2851   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2852   set x ${MAKE-make}
2853   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2854 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2854 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2855    $as_echo_n "(cached) " >&6
2856   else
2857    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2859 | SHELL = /bin/sh
2859   all:
2860          @echo '@@@%%%=$(MAKE)=@@@%%%'
2861   _ACEOF
2862 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2862 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2863   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2864    *@@@%%%=?*=@@@%%%*)
2865      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3025 | Line 2893 | if test "`cd $srcdir && pwd`" != "`pwd`"
2893    am__isrc=' -I$(srcdir)'
2894    # test to see if srcdir already configured
2895    if test -f $srcdir/config.status; then
2896 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2896 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2897    fi
2898   fi
2899  
# Line 3041 | Line 2909 | fi
2909  
2910   # Define the identity of the package.
2911   PACKAGE='ircd-hybrid'
2912 < VERSION='7.3-rc1'
2912 > VERSION='8beta1'
2913  
2914  
2915   cat >>confdefs.h <<_ACEOF
# Line 3071 | Line 2939 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2939  
2940   # We need awk for the "check" target.  The system "awk" is bad on
2941   # some platforms.
2942 < # Always define AMTAR for backward compatibility.
2943 <
2944 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2942 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2943 > # in the wild :-(  We should find a proper way to deprecate it ...
2944 > AMTAR='$${TAR-tar}'
2945  
2946 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2946 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2947  
2948  
2949  
# Line 3161 | Line 3029 | fi
3029   if test "x$enable_dependency_tracking" != xno; then
3030    am_depcomp="$ac_aux_dir/depcomp"
3031    AMDEPBACKSLASH='\'
3032 +  am__nodep='_no'
3033   fi
3034   if test "x$enable_dependency_tracking" != xno; then
3035    AMDEP_TRUE=
# Line 3181 | Line 3050 | if test -n "$ac_tool_prefix"; then
3050   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052   $as_echo_n "checking for $ac_word... " >&6; }
3053 < if test "${ac_cv_prog_CC+set}" = set; then :
3053 > if ${ac_cv_prog_CC+:} false; then :
3054    $as_echo_n "(cached) " >&6
3055   else
3056    if test -n "$CC"; then
# Line 3221 | Line 3090 | if test -z "$ac_cv_prog_CC"; then
3090   set dummy gcc; ac_word=$2
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092   $as_echo_n "checking for $ac_word... " >&6; }
3093 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3093 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3094    $as_echo_n "(cached) " >&6
3095   else
3096    if test -n "$ac_ct_CC"; then
# Line 3274 | Line 3143 | if test -z "$CC"; then
3143   set dummy ${ac_tool_prefix}cc; ac_word=$2
3144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145   $as_echo_n "checking for $ac_word... " >&6; }
3146 < if test "${ac_cv_prog_CC+set}" = set; then :
3146 > if ${ac_cv_prog_CC+:} false; then :
3147    $as_echo_n "(cached) " >&6
3148   else
3149    if test -n "$CC"; then
# Line 3314 | Line 3183 | if test -z "$CC"; then
3183   set dummy cc; ac_word=$2
3184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185   $as_echo_n "checking for $ac_word... " >&6; }
3186 < if test "${ac_cv_prog_CC+set}" = set; then :
3186 > if ${ac_cv_prog_CC+:} false; then :
3187    $as_echo_n "(cached) " >&6
3188   else
3189    if test -n "$CC"; then
# Line 3373 | Line 3242 | if test -z "$CC"; then
3242   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244   $as_echo_n "checking for $ac_word... " >&6; }
3245 < if test "${ac_cv_prog_CC+set}" = set; then :
3245 > if ${ac_cv_prog_CC+:} false; then :
3246    $as_echo_n "(cached) " >&6
3247   else
3248    if test -n "$CC"; then
# Line 3417 | Line 3286 | do
3286   set dummy $ac_prog; ac_word=$2
3287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288   $as_echo_n "checking for $ac_word... " >&6; }
3289 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3289 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3290    $as_echo_n "(cached) " >&6
3291   else
3292    if test -n "$ac_ct_CC"; then
# Line 3471 | Line 3340 | fi
3340  
3341   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 < as_fn_error "no acceptable C compiler found in \$PATH
3344 < See \`config.log' for more details." "$LINENO" 5; }
3343 > as_fn_error $? "no acceptable C compiler found in \$PATH
3344 > See \`config.log' for more details" "$LINENO" 5; }
3345  
3346   # Provide some information about the compiler.
3347   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3455 | sed 's/^/| /' conftest.$ac_ext >&5
3455  
3456   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 < { as_fn_set_status 77
3459 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3458 > as_fn_error 77 "C compiler cannot create executables
3459 > See \`config.log' for more details" "$LINENO" 5; }
3460   else
3461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462   $as_echo "yes" >&6; }
# Line 3630 | Line 3498 | done
3498   else
3499    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3502 < See \`config.log' for more details." "$LINENO" 5; }
3501 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3502 > See \`config.log' for more details" "$LINENO" 5; }
3503   fi
3504   rm -f conftest conftest$ac_cv_exeext
3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3556 | $as_echo "$ac_try_echo"; } >&5
3556      else
3557          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 < as_fn_error "cannot run C compiled programs.
3559 > as_fn_error $? "cannot run C compiled programs.
3560   If you meant to cross compile, use \`--host'.
3561 < See \`config.log' for more details." "$LINENO" 5; }
3561 > See \`config.log' for more details" "$LINENO" 5; }
3562      fi
3563    fi
3564   fi
# Line 3701 | Line 3569 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3569   ac_clean_files=$ac_clean_files_save
3570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3571   $as_echo_n "checking for suffix of object files... " >&6; }
3572 < if test "${ac_cv_objext+set}" = set; then :
3572 > if ${ac_cv_objext+:} false; then :
3573    $as_echo_n "(cached) " >&6
3574   else
3575    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3609 | sed 's/^/| /' conftest.$ac_ext >&5
3609  
3610   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 < as_fn_error "cannot compute suffix of object files: cannot compile
3613 < See \`config.log' for more details." "$LINENO" 5; }
3612 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3613 > See \`config.log' for more details" "$LINENO" 5; }
3614   fi
3615   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3616   fi
# Line 3752 | Line 3620 | OBJEXT=$ac_cv_objext
3620   ac_objext=$OBJEXT
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3622   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3623 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3623 > if ${ac_cv_c_compiler_gnu+:} false; then :
3624    $as_echo_n "(cached) " >&6
3625   else
3626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3657 | ac_test_CFLAGS=${CFLAGS+set}
3657   ac_save_CFLAGS=$CFLAGS
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3659   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3660 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3660 > if ${ac_cv_prog_cc_g+:} false; then :
3661    $as_echo_n "(cached) " >&6
3662   else
3663    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3735 | else
3735   fi
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3737   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3738 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3738 > if ${ac_cv_prog_cc_c89+:} false; then :
3739    $as_echo_n "(cached) " >&6
3740   else
3741    ac_cv_prog_cc_c89=no
# Line 3966 | Line 3834 | depcc="$CC"   am_compiler_list=
3834  
3835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3836   $as_echo_n "checking dependency style of $depcc... " >&6; }
3837 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3837 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3838    $as_echo_n "(cached) " >&6
3839   else
3840    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3975 | Line 3843 | else
3843    # instance it was reported that on HP-UX the gcc test will end up
3844    # making a dummy file named `D' -- because `-MD' means `put the output
3845    # in D'.
3846 +  rm -rf conftest.dir
3847    mkdir conftest.dir
3848    # Copy depcomp to subdir because otherwise we won't find it if we're
3849    # using a relative directory.
# Line 4034 | Line 3903 | else
3903          break
3904        fi
3905        ;;
3906 <    msvisualcpp | msvcmsys)
3906 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3907        # This compiler won't grok `-c -o', but also, the minuso test has
3908        # not run yet.  These depmodes are late enough in the game, and
3909        # so weak that their functioning should not be impacted.
# Line 4091 | Line 3960 | fi
3960  
3961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3962   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3963 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3963 > if ${ac_cv_prog_cc_c99+:} false; then :
3964    $as_echo_n "(cached) " >&6
3965   else
3966    ac_cv_prog_cc_c99=no
# Line 4267 | Line 4136 | fi
4136  
4137  
4138   if test "$ac_cv_prog_cc_c99" = "no"; then :
4139 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4139 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4140   fi
4141   for ac_prog in 'bison -y' byacc
4142   do
# Line 4275 | Line 4144 | do
4144   set dummy $ac_prog; ac_word=$2
4145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146   $as_echo_n "checking for $ac_word... " >&6; }
4147 < if test "${ac_cv_prog_YACC+set}" = set; then :
4147 > if ${ac_cv_prog_YACC+:} false; then :
4148    $as_echo_n "(cached) " >&6
4149   else
4150    if test -n "$YACC"; then
# Line 4319 | Line 4188 | do
4188   set dummy $ac_prog; ac_word=$2
4189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190   $as_echo_n "checking for $ac_word... " >&6; }
4191 < if test "${ac_cv_prog_LEX+set}" = set; then :
4191 > if ${ac_cv_prog_LEX+:} false; then :
4192    $as_echo_n "(cached) " >&6
4193   else
4194    if test -n "$LEX"; then
# Line 4389 | Line 4258 | $as_echo "$ac_try_echo"; } >&5
4258    test $ac_status = 0; }
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4260   $as_echo_n "checking lex output file root... " >&6; }
4261 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4261 > if ${ac_cv_prog_lex_root+:} false; then :
4262    $as_echo_n "(cached) " >&6
4263   else
4264  
# Line 4398 | Line 4267 | if test -f lex.yy.c; then
4267   elif test -f lexyy.c; then
4268    ac_cv_prog_lex_root=lexyy
4269   else
4270 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4270 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4271   fi
4272   fi
4273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4277 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4277   if test -z "${LEXLIB+set}"; then
4278    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4279   $as_echo_n "checking lex library... " >&6; }
4280 < if test "${ac_cv_lib_lex+set}" = set; then :
4280 > if ${ac_cv_lib_lex+:} false; then :
4281    $as_echo_n "(cached) " >&6
4282   else
4283  
# Line 4438 | Line 4307 | fi
4307  
4308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4309   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4310 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4310 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4311    $as_echo_n "(cached) " >&6
4312   else
4313    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4318 | ac_save_LIBS=$LIBS
4318   LIBS="$LEXLIB $ac_save_LIBS"
4319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320   /* end confdefs.h.  */
4321 < #define YYTEXT_POINTER 1
4321 >
4322 >  #define YYTEXT_POINTER 1
4323   `cat $LEX_OUTPUT_ROOT.c`
4324   _ACEOF
4325   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4353 | fi
4353  
4354  
4355  
4486
4356   case `pwd` in
4357    *\ * | *\     *)
4358      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4361 | esac
4361  
4362  
4363  
4364 < macro_version='2.2.6b'
4365 < macro_revision='1.3017'
4364 > macro_version='2.4.2'
4365 > macro_revision='1.3337'
4366  
4367  
4368  
# Line 4511 | Line 4380 | ltmain="$ac_aux_dir/ltmain.sh"
4380  
4381   # Make sure we can run config.sub.
4382   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4383 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4383 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4384  
4385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4386   $as_echo_n "checking build system type... " >&6; }
4387 < if test "${ac_cv_build+set}" = set; then :
4387 > if ${ac_cv_build+:} false; then :
4388    $as_echo_n "(cached) " >&6
4389   else
4390    ac_build_alias=$build_alias
4391   test "x$ac_build_alias" = x &&
4392    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4393   test "x$ac_build_alias" = x &&
4394 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4394 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4395   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4396 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4396 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4397  
4398   fi
4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4400   $as_echo "$ac_cv_build" >&6; }
4401   case $ac_cv_build in
4402   *-*-*) ;;
4403 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4403 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4404   esac
4405   build=$ac_cv_build
4406   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4418 | case $build_os in *\ *) build_os=`echo "
4418  
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4420   $as_echo_n "checking host system type... " >&6; }
4421 < if test "${ac_cv_host+set}" = set; then :
4421 > if ${ac_cv_host+:} false; then :
4422    $as_echo_n "(cached) " >&6
4423   else
4424    if test "x$host_alias" = x; then
4425    ac_cv_host=$ac_cv_build
4426   else
4427    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4428 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4428 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4429   fi
4430  
4431   fi
# Line 4564 | Line 4433 | fi
4433   $as_echo "$ac_cv_host" >&6; }
4434   case $ac_cv_host in
4435   *-*-*) ;;
4436 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4436 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4437   esac
4438   host=$ac_cv_host
4439   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4449 | IFS=$ac_save_IFS
4449   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4450  
4451  
4452 + # Backslashify metacharacters that are still active within
4453 + # double-quoted strings.
4454 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4455 +
4456 + # Same as above, but do not quote variable references.
4457 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4458 +
4459 + # Sed substitution to delay expansion of an escaped shell variable in a
4460 + # double_quote_subst'ed string.
4461 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4462 +
4463 + # Sed substitution to delay expansion of an escaped single quote.
4464 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4465 +
4466 + # Sed substitution to avoid accidental globbing in evaled expressions
4467 + no_glob_subst='s/\*/\\\*/g'
4468 +
4469 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4470 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4471 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4472 +
4473 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4474 + $as_echo_n "checking how to print strings... " >&6; }
4475 + # Test print first, because it will be a builtin if present.
4476 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4477 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4478 +  ECHO='print -r --'
4479 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4480 +  ECHO='printf %s\n'
4481 + else
4482 +  # Use this function as a fallback that always works.
4483 +  func_fallback_echo ()
4484 +  {
4485 +    eval 'cat <<_LTECHO_EOF
4486 + $1
4487 + _LTECHO_EOF'
4488 +  }
4489 +  ECHO='func_fallback_echo'
4490 + fi
4491 +
4492 + # func_echo_all arg...
4493 + # Invoke $ECHO with all args, space-separated.
4494 + func_echo_all ()
4495 + {
4496 +    $ECHO ""
4497 + }
4498 +
4499 + case "$ECHO" in
4500 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4501 + $as_echo "printf" >&6; } ;;
4502 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4503 + $as_echo "print -r" >&6; } ;;
4504 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4505 + $as_echo "cat" >&6; } ;;
4506 + esac
4507 +
4508 +
4509 +
4510 +
4511 +
4512 +
4513 +
4514 +
4515 +
4516 +
4517 +
4518 +
4519 +
4520 +
4521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4522   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4523 < if test "${ac_cv_path_SED+set}" = set; then :
4523 > if ${ac_cv_path_SED+:} false; then :
4524    $as_echo_n "(cached) " >&6
4525   else
4526              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4637 | Line 4575 | esac
4575    done
4576   IFS=$as_save_IFS
4577    if test -z "$ac_cv_path_SED"; then
4578 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4578 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4579    fi
4580   else
4581    ac_cv_path_SED=$SED
# Line 4664 | Line 4602 | Xsed="$SED -e 1s/^X//"
4602  
4603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4604   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4605 < if test "${ac_cv_path_GREP+set}" = set; then :
4605 > if ${ac_cv_path_GREP+:} false; then :
4606    $as_echo_n "(cached) " >&6
4607   else
4608    if test -z "$GREP"; then
# Line 4713 | Line 4651 | esac
4651    done
4652   IFS=$as_save_IFS
4653    if test -z "$ac_cv_path_GREP"; then
4654 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655    fi
4656   else
4657    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4665 | $as_echo "$ac_cv_path_GREP" >&6; }
4665  
4666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4667   $as_echo_n "checking for egrep... " >&6; }
4668 < if test "${ac_cv_path_EGREP+set}" = set; then :
4668 > if ${ac_cv_path_EGREP+:} false; then :
4669    $as_echo_n "(cached) " >&6
4670   else
4671    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4779 | Line 4717 | esac
4717    done
4718   IFS=$as_save_IFS
4719    if test -z "$ac_cv_path_EGREP"; then
4720 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4720 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721    fi
4722   else
4723    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4732 | $as_echo "$ac_cv_path_EGREP" >&6; }
4732  
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4734   $as_echo_n "checking for fgrep... " >&6; }
4735 < if test "${ac_cv_path_FGREP+set}" = set; then :
4735 > if ${ac_cv_path_FGREP+:} false; then :
4736    $as_echo_n "(cached) " >&6
4737   else
4738    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4846 | Line 4784 | esac
4784    done
4785   IFS=$as_save_IFS
4786    if test -z "$ac_cv_path_FGREP"; then
4787 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4787 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788    fi
4789   else
4790    ac_cv_path_FGREP=$FGREP
# Line 4925 | Line 4863 | else
4863    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4864   $as_echo_n "checking for non-GNU ld... " >&6; }
4865   fi
4866 < if test "${lt_cv_path_LD+set}" = set; then :
4866 > if ${lt_cv_path_LD+:} false; then :
4867    $as_echo_n "(cached) " >&6
4868   else
4869    if test -z "$LD"; then
# Line 4962 | Line 4900 | else
4900    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901   $as_echo "no" >&6; }
4902   fi
4903 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4903 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4905   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4906 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4906 > if ${lt_cv_prog_gnu_ld+:} false; then :
4907    $as_echo_n "(cached) " >&6
4908   else
4909    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 4930 | with_gnu_ld=$lt_cv_prog_gnu_ld
4930  
4931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4932   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4933 < if test "${lt_cv_path_NM+set}" = set; then :
4933 > if ${lt_cv_path_NM+:} false; then :
4934    $as_echo_n "(cached) " >&6
4935   else
4936    if test -n "$NM"; then
# Line 5045 | Line 4983 | if test "$lt_cv_path_NM" != "no"; then
4983    NM="$lt_cv_path_NM"
4984   else
4985    # Didn't find any BSD compatible name lister, look for dumpbin.
4986 <  if test -n "$ac_tool_prefix"; then
4987 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4986 >  if test -n "$DUMPBIN"; then :
4987 >    # Let the user override the test.
4988 >  else
4989 >    if test -n "$ac_tool_prefix"; then
4990 >  for ac_prog in dumpbin "link -dump"
4991    do
4992      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4993   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995   $as_echo_n "checking for $ac_word... " >&6; }
4996 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4996 > if ${ac_cv_prog_DUMPBIN+:} false; then :
4997    $as_echo_n "(cached) " >&6
4998   else
4999    if test -n "$DUMPBIN"; then
# Line 5090 | Line 5031 | fi
5031   fi
5032   if test -z "$DUMPBIN"; then
5033    ac_ct_DUMPBIN=$DUMPBIN
5034 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5034 >  for ac_prog in dumpbin "link -dump"
5035   do
5036    # Extract the first word of "$ac_prog", so it can be a program name with args.
5037   set dummy $ac_prog; ac_word=$2
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039   $as_echo_n "checking for $ac_word... " >&6; }
5040 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5040 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5041    $as_echo_n "(cached) " >&6
5042   else
5043    if test -n "$ac_ct_DUMPBIN"; then
# Line 5145 | Line 5086 | esac
5086    fi
5087   fi
5088  
5089 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5090 +    *COFF*)
5091 +      DUMPBIN="$DUMPBIN -symbols"
5092 +      ;;
5093 +    *)
5094 +      DUMPBIN=:
5095 +      ;;
5096 +    esac
5097 +  fi
5098  
5099    if test "$DUMPBIN" != ":"; then
5100      NM="$DUMPBIN"
# Line 5159 | Line 5109 | test -z "$NM" && NM=nm
5109  
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5111   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5112 < if test "${lt_cv_nm_interface+set}" = set; then :
5112 > if ${lt_cv_nm_interface+:} false; then :
5113    $as_echo_n "(cached) " >&6
5114   else
5115    lt_cv_nm_interface="BSD nm"
5116    echo "int some_variable = 0;" > conftest.$ac_ext
5117 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5117 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5118    (eval "$ac_compile" 2>conftest.err)
5119    cat conftest.err >&5
5120 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5120 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5121    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5122    cat conftest.err >&5
5123 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5123 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5124    cat conftest.out >&5
5125    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5126      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5144 | fi
5144   # find the maximum length of command line arguments
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5146   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5147 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5147 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5148    $as_echo_n "(cached) " >&6
5149   else
5150      i=0
# Line 5227 | Line 5177 | else
5177      lt_cv_sys_max_cmd_len=8192;
5178      ;;
5179  
5180 +  mint*)
5181 +    # On MiNT this can take a long time and run out of memory.
5182 +    lt_cv_sys_max_cmd_len=8192;
5183 +    ;;
5184 +
5185    amigaos*)
5186      # On AmigaOS with pdksh, this test takes hours, literally.
5187      # So we just punt and use a minimum line length of 8192.
# Line 5252 | Line 5207 | else
5207      lt_cv_sys_max_cmd_len=196608
5208      ;;
5209  
5210 +  os2*)
5211 +    # The test takes a long time on OS/2.
5212 +    lt_cv_sys_max_cmd_len=8192
5213 +    ;;
5214 +
5215    osf*)
5216      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5217      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5291 | Line 5251 | else
5251        # If test is not a shell built-in, we'll probably end up computing a
5252        # maximum length that is only half of the actual maximum length, but
5253        # we can't tell.
5254 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5255 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5254 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5255 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5256                test $i != 17 # 1/2 MB should be enough
5257        do
5258          i=`expr $i + 1`
# Line 5334 | Line 5294 | $as_echo_n "checking whether the shell u
5294   # Try some XSI features
5295   xsi_shell=no
5296   ( _lt_dummy="a/b/c"
5297 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5298 <      = c,a/b,, \
5297 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5298 >      = c,a/b,b/c, \
5299      && eval 'test $(( 1 + 1 )) -eq 2 \
5300      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5301    && xsi_shell=yes
# Line 5384 | Line 5344 | esac
5344  
5345  
5346  
5347 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5348 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5349 + if ${lt_cv_to_host_file_cmd+:} false; then :
5350 +  $as_echo_n "(cached) " >&6
5351 + else
5352 +  case $host in
5353 +  *-*-mingw* )
5354 +    case $build in
5355 +      *-*-mingw* ) # actually msys
5356 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5357 +        ;;
5358 +      *-*-cygwin* )
5359 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5360 +        ;;
5361 +      * ) # otherwise, assume *nix
5362 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5363 +        ;;
5364 +    esac
5365 +    ;;
5366 +  *-*-cygwin* )
5367 +    case $build in
5368 +      *-*-mingw* ) # actually msys
5369 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5370 +        ;;
5371 +      *-*-cygwin* )
5372 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5373 +        ;;
5374 +      * ) # otherwise, assume *nix
5375 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5376 +        ;;
5377 +    esac
5378 +    ;;
5379 +  * ) # unhandled hosts (and "normal" native builds)
5380 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5381 +    ;;
5382 + esac
5383 +
5384 + fi
5385 +
5386 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5387 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5388 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5389 +
5390 +
5391 +
5392 +
5393 +
5394 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5395 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5396 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5397 +  $as_echo_n "(cached) " >&6
5398 + else
5399 +  #assume ordinary cross tools, or native build.
5400 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5401 + case $host in
5402 +  *-*-mingw* )
5403 +    case $build in
5404 +      *-*-mingw* ) # actually msys
5405 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5406 +        ;;
5407 +    esac
5408 +    ;;
5409 + esac
5410 +
5411 + fi
5412 +
5413 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5414 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5415 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5416 +
5417 +
5418 +
5419 +
5420 +
5421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5422   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5423 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5423 > if ${lt_cv_ld_reload_flag+:} false; then :
5424    $as_echo_n "(cached) " >&6
5425   else
5426    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5434 | case $reload_flag in
5434   esac
5435   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5436   case $host_os in
5437 +  cygwin* | mingw* | pw32* | cegcc*)
5438 +    if test "$GCC" != yes; then
5439 +      reload_cmds=false
5440 +    fi
5441 +    ;;
5442    darwin*)
5443      if test "$GCC" = yes; then
5444        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5422 | Line 5461 | if test -n "$ac_tool_prefix"; then
5461   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463   $as_echo_n "checking for $ac_word... " >&6; }
5464 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5464 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5465    $as_echo_n "(cached) " >&6
5466   else
5467    if test -n "$OBJDUMP"; then
# Line 5462 | Line 5501 | if test -z "$ac_cv_prog_OBJDUMP"; then
5501   set dummy objdump; ac_word=$2
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503   $as_echo_n "checking for $ac_word... " >&6; }
5504 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5504 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5505    $as_echo_n "(cached) " >&6
5506   else
5507    if test -n "$ac_ct_OBJDUMP"; then
# Line 5521 | Line 5560 | test -z "$OBJDUMP" && OBJDUMP=objdump
5560  
5561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5562   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5563 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5563 > if ${lt_cv_deplibs_check_method+:} false; then :
5564    $as_echo_n "(cached) " >&6
5565   else
5566    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5563 | Line 5602 | mingw* | pw32*)
5602    # Base MSYS/MinGW do not provide the 'file' command needed by
5603    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5604    # unless we find 'file', for example because we are cross-compiling.
5605 <  if ( file / ) >/dev/null 2>&1; then
5605 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5606 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5607      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5608      lt_cv_file_magic_cmd='func_win32_libid'
5609    else
5610 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5610 >    # Keep this pattern in sync with the one in func_win32_libid.
5611 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5612      lt_cv_file_magic_cmd='$OBJDUMP -f'
5613    fi
5614    ;;
5615  
5616 < cegcc)
5616 > cegcc*)
5617    # use the weaker test based on 'objdump'. See mingw*.
5618    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5619    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5602 | Line 5643 | gnu*)
5643    lt_cv_deplibs_check_method=pass_all
5644    ;;
5645  
5646 + haiku*)
5647 +  lt_cv_deplibs_check_method=pass_all
5648 +  ;;
5649 +
5650   hpux10.20* | hpux11*)
5651    lt_cv_file_magic_cmd=/usr/bin/file
5652    case $host_cpu in
# Line 5610 | Line 5655 | hpux10.20* | hpux11*)
5655      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5656      ;;
5657    hppa*64*)
5658 <    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]'
5658 >    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]'
5659      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5660      ;;
5661    *)
5662 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5662 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5663      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5664      ;;
5665    esac
# Line 5635 | Line 5680 | irix5* | irix6* | nonstopux*)
5680    lt_cv_deplibs_check_method=pass_all
5681    ;;
5682  
5683 < # This must be Linux ELF.
5684 < linux* | k*bsd*-gnu)
5683 > # This must be glibc/ELF.
5684 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5685    lt_cv_deplibs_check_method=pass_all
5686    ;;
5687  
# Line 5717 | Line 5762 | esac
5762   fi
5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5764   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5765 +
5766 + file_magic_glob=
5767 + want_nocaseglob=no
5768 + if test "$build" = "$host"; then
5769 +  case $host_os in
5770 +  mingw* | pw32*)
5771 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5772 +      want_nocaseglob=yes
5773 +    else
5774 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5775 +    fi
5776 +    ;;
5777 +  esac
5778 + fi
5779 +
5780   file_magic_cmd=$lt_cv_file_magic_cmd
5781   deplibs_check_method=$lt_cv_deplibs_check_method
5782   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5792 | test -z "$deplibs_check_method" && depli
5792  
5793  
5794  
5795 +
5796 +
5797 +
5798 +
5799 +
5800 +
5801 +
5802 +
5803 +
5804 +
5805   if test -n "$ac_tool_prefix"; then
5806 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5807 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5806 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5807 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5808 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 > $as_echo_n "checking for $ac_word... " >&6; }
5810 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5811 >  $as_echo_n "(cached) " >&6
5812 > else
5813 >  if test -n "$DLLTOOL"; then
5814 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5815 > else
5816 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 > for as_dir in $PATH
5818 > do
5819 >  IFS=$as_save_IFS
5820 >  test -z "$as_dir" && as_dir=.
5821 >    for ac_exec_ext in '' $ac_executable_extensions; do
5822 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5824 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 >    break 2
5826 >  fi
5827 > done
5828 >  done
5829 > IFS=$as_save_IFS
5830 >
5831 > fi
5832 > fi
5833 > DLLTOOL=$ac_cv_prog_DLLTOOL
5834 > if test -n "$DLLTOOL"; then
5835 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5836 > $as_echo "$DLLTOOL" >&6; }
5837 > else
5838 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 > $as_echo "no" >&6; }
5840 > fi
5841 >
5842 >
5843 > fi
5844 > if test -z "$ac_cv_prog_DLLTOOL"; then
5845 >  ac_ct_DLLTOOL=$DLLTOOL
5846 >  # Extract the first word of "dlltool", so it can be a program name with args.
5847 > set dummy dlltool; ac_word=$2
5848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849   $as_echo_n "checking for $ac_word... " >&6; }
5850 < if test "${ac_cv_prog_AR+set}" = set; then :
5850 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5851 >  $as_echo_n "(cached) " >&6
5852 > else
5853 >  if test -n "$ac_ct_DLLTOOL"; then
5854 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5855 > else
5856 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 > for as_dir in $PATH
5858 > do
5859 >  IFS=$as_save_IFS
5860 >  test -z "$as_dir" && as_dir=.
5861 >    for ac_exec_ext in '' $ac_executable_extensions; do
5862 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5864 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 >    break 2
5866 >  fi
5867 > done
5868 >  done
5869 > IFS=$as_save_IFS
5870 >
5871 > fi
5872 > fi
5873 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5874 > if test -n "$ac_ct_DLLTOOL"; then
5875 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5876 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5877 > else
5878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 > $as_echo "no" >&6; }
5880 > fi
5881 >
5882 >  if test "x$ac_ct_DLLTOOL" = x; then
5883 >    DLLTOOL="false"
5884 >  else
5885 >    case $cross_compiling:$ac_tool_warned in
5886 > yes:)
5887 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889 > ac_tool_warned=yes ;;
5890 > esac
5891 >    DLLTOOL=$ac_ct_DLLTOOL
5892 >  fi
5893 > else
5894 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5895 > fi
5896 >
5897 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5898 >
5899 >
5900 >
5901 >
5902 >
5903 >
5904 >
5905 >
5906 >
5907 >
5908 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5909 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5910 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5911 >  $as_echo_n "(cached) " >&6
5912 > else
5913 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5914 >
5915 > case $host_os in
5916 > cygwin* | mingw* | pw32* | cegcc*)
5917 >  # two different shell functions defined in ltmain.sh
5918 >  # decide which to use based on capabilities of $DLLTOOL
5919 >  case `$DLLTOOL --help 2>&1` in
5920 >  *--identify-strict*)
5921 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5922 >    ;;
5923 >  *)
5924 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5925 >    ;;
5926 >  esac
5927 >  ;;
5928 > *)
5929 >  # fallback: assume linklib IS sharedlib
5930 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5931 >  ;;
5932 > esac
5933 >
5934 > fi
5935 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5936 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5937 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5938 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5939 >
5940 >
5941 >
5942 >
5943 >
5944 >
5945 >
5946 > if test -n "$ac_tool_prefix"; then
5947 >  for ac_prog in ar
5948 >  do
5949 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5950 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5951 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 > $as_echo_n "checking for $ac_word... " >&6; }
5953 > if ${ac_cv_prog_AR+:} false; then :
5954    $as_echo_n "(cached) " >&6
5955   else
5956    if test -n "$AR"; then
# Line 5750 | Line 5963 | do
5963    test -z "$as_dir" && as_dir=.
5964      for ac_exec_ext in '' $ac_executable_extensions; do
5965    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5966 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5967      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968      break 2
5969    fi
# Line 5770 | Line 5983 | $as_echo "no" >&6; }
5983   fi
5984  
5985  
5986 +    test -n "$AR" && break
5987 +  done
5988   fi
5989 < if test -z "$ac_cv_prog_AR"; then
5989 > if test -z "$AR"; then
5990    ac_ct_AR=$AR
5991 <  # Extract the first word of "ar", so it can be a program name with args.
5992 < set dummy ar; ac_word=$2
5991 >  for ac_prog in ar
5992 > do
5993 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 > set dummy $ac_prog; ac_word=$2
5995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996   $as_echo_n "checking for $ac_word... " >&6; }
5997 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5997 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
5998    $as_echo_n "(cached) " >&6
5999   else
6000    if test -n "$ac_ct_AR"; then
# Line 5790 | Line 6007 | do
6007    test -z "$as_dir" && as_dir=.
6008      for ac_exec_ext in '' $ac_executable_extensions; do
6009    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 <    ac_cv_prog_ac_ct_AR="ar"
6010 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6011      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012      break 2
6013    fi
# Line 5809 | Line 6026 | else
6026   $as_echo "no" >&6; }
6027   fi
6028  
6029 +
6030 +  test -n "$ac_ct_AR" && break
6031 + done
6032 +
6033    if test "x$ac_ct_AR" = x; then
6034      AR="false"
6035    else
# Line 5820 | Line 6041 | ac_tool_warned=yes ;;
6041   esac
6042      AR=$ac_ct_AR
6043    fi
5823 else
5824  AR="$ac_cv_prog_AR"
6044   fi
6045  
6046 < test -z "$AR" && AR=ar
6047 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6046 > : ${AR=ar}
6047 > : ${AR_FLAGS=cru}
6048 >
6049 >
6050  
6051  
6052  
# Line 5835 | Line 6056 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6056  
6057  
6058  
6059 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6060 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6061 + if ${lt_cv_ar_at_file+:} false; then :
6062 +  $as_echo_n "(cached) " >&6
6063 + else
6064 +  lt_cv_ar_at_file=no
6065 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 + /* end confdefs.h.  */
6067 +
6068 + int
6069 + main ()
6070 + {
6071 +
6072 +  ;
6073 +  return 0;
6074 + }
6075 + _ACEOF
6076 + if ac_fn_c_try_compile "$LINENO"; then :
6077 +  echo conftest.$ac_objext > conftest.lst
6078 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6079 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6080 +  (eval $lt_ar_try) 2>&5
6081 +  ac_status=$?
6082 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6083 +  test $ac_status = 0; }
6084 +      if test "$ac_status" -eq 0; then
6085 +        # Ensure the archiver fails upon bogus file names.
6086 +        rm -f conftest.$ac_objext libconftest.a
6087 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6088 +  (eval $lt_ar_try) 2>&5
6089 +  ac_status=$?
6090 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6091 +  test $ac_status = 0; }
6092 +        if test "$ac_status" -ne 0; then
6093 +          lt_cv_ar_at_file=@
6094 +        fi
6095 +      fi
6096 +      rm -f conftest.* libconftest.a
6097 +
6098 + fi
6099 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100 +
6101 + fi
6102 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6103 + $as_echo "$lt_cv_ar_at_file" >&6; }
6104 +
6105 + if test "x$lt_cv_ar_at_file" = xno; then
6106 +  archiver_list_spec=
6107 + else
6108 +  archiver_list_spec=$lt_cv_ar_at_file
6109 + fi
6110 +
6111 +
6112 +
6113 +
6114 +
6115  
6116  
6117   if test -n "$ac_tool_prefix"; then
# Line 5842 | Line 6119 | if test -n "$ac_tool_prefix"; then
6119   set dummy ${ac_tool_prefix}strip; ac_word=$2
6120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121   $as_echo_n "checking for $ac_word... " >&6; }
6122 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6122 > if ${ac_cv_prog_STRIP+:} false; then :
6123    $as_echo_n "(cached) " >&6
6124   else
6125    if test -n "$STRIP"; then
# Line 5882 | Line 6159 | if test -z "$ac_cv_prog_STRIP"; then
6159   set dummy strip; ac_word=$2
6160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161   $as_echo_n "checking for $ac_word... " >&6; }
6162 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6162 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6163    $as_echo_n "(cached) " >&6
6164   else
6165    if test -n "$ac_ct_STRIP"; then
# Line 5941 | Line 6218 | if test -n "$ac_tool_prefix"; then
6218   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220   $as_echo_n "checking for $ac_word... " >&6; }
6221 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6221 > if ${ac_cv_prog_RANLIB+:} false; then :
6222    $as_echo_n "(cached) " >&6
6223   else
6224    if test -n "$RANLIB"; then
# Line 5981 | Line 6258 | if test -z "$ac_cv_prog_RANLIB"; then
6258   set dummy ranlib; ac_word=$2
6259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260   $as_echo_n "checking for $ac_word... " >&6; }
6261 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6261 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6262    $as_echo_n "(cached) " >&6
6263   else
6264    if test -n "$ac_ct_RANLIB"; then
# Line 6043 | Line 6320 | old_postuninstall_cmds=
6320   if test -n "$RANLIB"; then
6321    case $host_os in
6322    openbsd*)
6323 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6323 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6324      ;;
6325    *)
6326 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6326 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6327      ;;
6328    esac
6329 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6329 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6330   fi
6331  
6332 + case $host_os in
6333 +  darwin*)
6334 +    lock_old_archive_extraction=yes ;;
6335 +  *)
6336 +    lock_old_archive_extraction=no ;;
6337 + esac
6338 +
6339 +
6340 +
6341 +
6342 +
6343 +
6344  
6345  
6346  
# Line 6098 | Line 6387 | compiler=$CC
6387   # Check for command to grab the raw symbol name followed by C symbol from nm.
6388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6389   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6390 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6390 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6391    $as_echo_n "(cached) " >&6
6392   else
6393  
# Line 6159 | Line 6448 | esac
6448   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6449  
6450   # Transform an extracted symbol line into symbol name and symbol address
6451 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6452 < 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'"
6451 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6452 > 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'"
6453  
6454   # Handle CRLF in mingw tool chain
6455   opt_cr=
# Line 6184 | Line 6473 | for ac_symprfx in "" "_"; do
6473      # which start with @ or ?.
6474      lt_cv_sys_global_symbol_pipe="$AWK '"\
6475   "     {last_section=section; section=\$ 3};"\
6476 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6477   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6478   "     \$ 0!~/External *\|/{next};"\
6479   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6196 | Line 6486 | for ac_symprfx in "" "_"; do
6486    else
6487      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6488    fi
6489 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6490  
6491    # Check to see that the pipe works correctly.
6492    pipe_works=no
# Line 6221 | Line 6512 | _LT_EOF
6512    test $ac_status = 0; }; then
6513      # Now try to grab the symbols.
6514      nlist=conftest.nm
6515 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6516 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6515 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6516 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6517    ac_status=$?
6518    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6519    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6528 | _LT_EOF
6528        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6529          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6530            cat <<_LT_EOF > conftest.$ac_ext
6531 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6532 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6533 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6534 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6535 + # define LT_DLSYM_CONST
6536 + #elif defined(__osf__)
6537 + /* This system does not cope well with relocations in const data.  */
6538 + # define LT_DLSYM_CONST
6539 + #else
6540 + # define LT_DLSYM_CONST const
6541 + #endif
6542 +
6543   #ifdef __cplusplus
6544   extern "C" {
6545   #endif
# Line 6248 | Line 6551 | _LT_EOF
6551            cat <<_LT_EOF >> conftest.$ac_ext
6552  
6553   /* The mapping between symbol names and symbols.  */
6554 < const struct {
6554 > LT_DLSYM_CONST struct {
6555    const char *name;
6556    void       *address;
6557   }
# Line 6274 | Line 6577 | static const void *lt_preloaded_setup()
6577   _LT_EOF
6578            # Now try linking the two files.
6579            mv conftest.$ac_objext conftstm.$ac_objext
6580 <          lt_save_LIBS="$LIBS"
6581 <          lt_save_CFLAGS="$CFLAGS"
6580 >          lt_globsym_save_LIBS=$LIBS
6581 >          lt_globsym_save_CFLAGS=$CFLAGS
6582            LIBS="conftstm.$ac_objext"
6583            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6584            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6285 | Line 6588 | _LT_EOF
6588    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6589              pipe_works=yes
6590            fi
6591 <          LIBS="$lt_save_LIBS"
6592 <          CFLAGS="$lt_save_CFLAGS"
6591 >          LIBS=$lt_globsym_save_LIBS
6592 >          CFLAGS=$lt_globsym_save_CFLAGS
6593          else
6594            echo "cannot find nm_test_func in $nlist" >&5
6595          fi
# Line 6323 | Line 6626 | else
6626   $as_echo "ok" >&6; }
6627   fi
6628  
6629 + # Response file support.
6630 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6631 +  nm_file_list_spec='@'
6632 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6633 +  nm_file_list_spec='@'
6634 + fi
6635 +
6636 +
6637 +
6638 +
6639 +
6640 +
6641  
6642  
6643  
# Line 6344 | Line 6659 | fi
6659  
6660  
6661  
6662 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6663 + $as_echo_n "checking for sysroot... " >&6; }
6664 +
6665 + # Check whether --with-sysroot was given.
6666 + if test "${with_sysroot+set}" = set; then :
6667 +  withval=$with_sysroot;
6668 + else
6669 +  with_sysroot=no
6670 + fi
6671 +
6672 +
6673 + lt_sysroot=
6674 + case ${with_sysroot} in #(
6675 + yes)
6676 +   if test "$GCC" = yes; then
6677 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6678 +   fi
6679 +   ;; #(
6680 + /*)
6681 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6682 +   ;; #(
6683 + no|'')
6684 +   ;; #(
6685 + *)
6686 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6687 + $as_echo "${with_sysroot}" >&6; }
6688 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6689 +   ;;
6690 + esac
6691 +
6692 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6693 + $as_echo "${lt_sysroot:-no}" >&6; }
6694 +
6695 +
6696 +
6697 +
6698 +
6699   # Check whether --enable-libtool-lock was given.
6700   if test "${enable_libtool_lock+set}" = set; then :
6701    enableval=$enable_libtool_lock;
# Line 6375 | Line 6727 | ia64-*-hpux*)
6727    ;;
6728   *-*-irix6*)
6729    # Find out which ABI we are using.
6730 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6730 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6731    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6732    (eval $ac_compile) 2>&5
6733    ac_status=$?
# Line 6469 | Line 6821 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6821    CFLAGS="$CFLAGS -belf"
6822    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6823   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6824 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6824 > if ${lt_cv_cc_needs_belf+:} false; then :
6825    $as_echo_n "(cached) " >&6
6826   else
6827    ac_ext=c
# Line 6510 | Line 6862 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6862      CFLAGS="$SAVE_CFLAGS"
6863    fi
6864    ;;
6865 < sparc*-*solaris*)
6865 > *-*solaris*)
6866    # Find out which ABI we are using.
6867    echo 'int i;' > conftest.$ac_ext
6868    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6521 | Line 6873 | sparc*-*solaris*)
6873      case `/usr/bin/file conftest.o` in
6874      *64-bit*)
6875        case $lt_cv_prog_gnu_ld in
6876 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6876 >      yes*)
6877 >        case $host in
6878 >        i?86-*-solaris*)
6879 >          LD="${LD-ld} -m elf_x86_64"
6880 >          ;;
6881 >        sparc*-*-solaris*)
6882 >          LD="${LD-ld} -m elf64_sparc"
6883 >          ;;
6884 >        esac
6885 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6886 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6887 >          LD="${LD-ld}_sol2"
6888 >        fi
6889 >        ;;
6890        *)
6891          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6892            LD="${LD-ld} -64"
# Line 6537 | Line 6902 | esac
6902  
6903   need_locks="$enable_libtool_lock"
6904  
6905 + if test -n "$ac_tool_prefix"; then
6906 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6907 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6908 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 + $as_echo_n "checking for $ac_word... " >&6; }
6910 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6911 +  $as_echo_n "(cached) " >&6
6912 + else
6913 +  if test -n "$MANIFEST_TOOL"; then
6914 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6915 + else
6916 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 + for as_dir in $PATH
6918 + do
6919 +  IFS=$as_save_IFS
6920 +  test -z "$as_dir" && as_dir=.
6921 +    for ac_exec_ext in '' $ac_executable_extensions; do
6922 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6924 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 +    break 2
6926 +  fi
6927 + done
6928 +  done
6929 + IFS=$as_save_IFS
6930 +
6931 + fi
6932 + fi
6933 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6934 + if test -n "$MANIFEST_TOOL"; then
6935 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6936 + $as_echo "$MANIFEST_TOOL" >&6; }
6937 + else
6938 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 + $as_echo "no" >&6; }
6940 + fi
6941 +
6942 +
6943 + fi
6944 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6945 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6946 +  # Extract the first word of "mt", so it can be a program name with args.
6947 + set dummy mt; ac_word=$2
6948 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 + $as_echo_n "checking for $ac_word... " >&6; }
6950 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6951 +  $as_echo_n "(cached) " >&6
6952 + else
6953 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6954 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6955 + else
6956 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 + for as_dir in $PATH
6958 + do
6959 +  IFS=$as_save_IFS
6960 +  test -z "$as_dir" && as_dir=.
6961 +    for ac_exec_ext in '' $ac_executable_extensions; do
6962 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6964 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 +    break 2
6966 +  fi
6967 + done
6968 +  done
6969 + IFS=$as_save_IFS
6970 +
6971 + fi
6972 + fi
6973 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6974 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6975 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6976 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6977 + else
6978 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 + $as_echo "no" >&6; }
6980 + fi
6981 +
6982 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6983 +    MANIFEST_TOOL=":"
6984 +  else
6985 +    case $cross_compiling:$ac_tool_warned in
6986 + yes:)
6987 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 + ac_tool_warned=yes ;;
6990 + esac
6991 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6992 +  fi
6993 + else
6994 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6995 + fi
6996 +
6997 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6998 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6999 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7000 + if ${lt_cv_path_mainfest_tool+:} false; then :
7001 +  $as_echo_n "(cached) " >&6
7002 + else
7003 +  lt_cv_path_mainfest_tool=no
7004 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7005 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7006 +  cat conftest.err >&5
7007 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7008 +    lt_cv_path_mainfest_tool=yes
7009 +  fi
7010 +  rm -f conftest*
7011 + fi
7012 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7013 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7014 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7015 +  MANIFEST_TOOL=:
7016 + fi
7017 +
7018 +
7019 +
7020 +
7021 +
7022  
7023    case $host_os in
7024      rhapsody* | darwin*)
# Line 6545 | Line 7027 | need_locks="$enable_libtool_lock"
7027   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029   $as_echo_n "checking for $ac_word... " >&6; }
7030 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7030 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7031    $as_echo_n "(cached) " >&6
7032   else
7033    if test -n "$DSYMUTIL"; then
# Line 6585 | Line 7067 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7067   set dummy dsymutil; ac_word=$2
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069   $as_echo_n "checking for $ac_word... " >&6; }
7070 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7070 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7071    $as_echo_n "(cached) " >&6
7072   else
7073    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6637 | Line 7119 | fi
7119   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121   $as_echo_n "checking for $ac_word... " >&6; }
7122 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7122 > if ${ac_cv_prog_NMEDIT+:} false; then :
7123    $as_echo_n "(cached) " >&6
7124   else
7125    if test -n "$NMEDIT"; then
# Line 6677 | Line 7159 | if test -z "$ac_cv_prog_NMEDIT"; then
7159   set dummy nmedit; ac_word=$2
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161   $as_echo_n "checking for $ac_word... " >&6; }
7162 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7162 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7163    $as_echo_n "(cached) " >&6
7164   else
7165    if test -n "$ac_ct_NMEDIT"; then
# Line 6729 | Line 7211 | fi
7211   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213   $as_echo_n "checking for $ac_word... " >&6; }
7214 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7214 > if ${ac_cv_prog_LIPO+:} false; then :
7215    $as_echo_n "(cached) " >&6
7216   else
7217    if test -n "$LIPO"; then
# Line 6769 | Line 7251 | if test -z "$ac_cv_prog_LIPO"; then
7251   set dummy lipo; ac_word=$2
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253   $as_echo_n "checking for $ac_word... " >&6; }
7254 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7254 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7255    $as_echo_n "(cached) " >&6
7256   else
7257    if test -n "$ac_ct_LIPO"; then
# Line 6821 | Line 7303 | fi
7303   set dummy ${ac_tool_prefix}otool; ac_word=$2
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305   $as_echo_n "checking for $ac_word... " >&6; }
7306 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7306 > if ${ac_cv_prog_OTOOL+:} false; then :
7307    $as_echo_n "(cached) " >&6
7308   else
7309    if test -n "$OTOOL"; then
# Line 6861 | Line 7343 | if test -z "$ac_cv_prog_OTOOL"; then
7343   set dummy otool; ac_word=$2
7344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345   $as_echo_n "checking for $ac_word... " >&6; }
7346 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7346 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7347    $as_echo_n "(cached) " >&6
7348   else
7349    if test -n "$ac_ct_OTOOL"; then
# Line 6913 | Line 7395 | fi
7395   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397   $as_echo_n "checking for $ac_word... " >&6; }
7398 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7398 > if ${ac_cv_prog_OTOOL64+:} false; then :
7399    $as_echo_n "(cached) " >&6
7400   else
7401    if test -n "$OTOOL64"; then
# Line 6953 | Line 7435 | if test -z "$ac_cv_prog_OTOOL64"; then
7435   set dummy otool64; ac_word=$2
7436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437   $as_echo_n "checking for $ac_word... " >&6; }
7438 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7438 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7439    $as_echo_n "(cached) " >&6
7440   else
7441    if test -n "$ac_ct_OTOOL64"; then
# Line 7028 | Line 7510 | fi
7510  
7511      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7512   $as_echo_n "checking for -single_module linker flag... " >&6; }
7513 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7513 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7514    $as_echo_n "(cached) " >&6
7515   else
7516    lt_cv_apple_cc_single_mod=no
# Line 7044 | Line 7526 | else
7526          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7527            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7528          _lt_result=$?
7529 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7529 >        # If there is a non-empty error log, and "single_module"
7530 >        # appears in it, assume the flag caused a linker warning
7531 >        if test -s conftest.err && $GREP single_module conftest.err; then
7532 >          cat conftest.err >&5
7533 >        # Otherwise, if the output was created with a 0 exit code from
7534 >        # the compiler, it worked.
7535 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7536            lt_cv_apple_cc_single_mod=yes
7537          else
7538            cat conftest.err >&5
# Line 7055 | Line 7543 | else
7543   fi
7544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7545   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7546 +
7547      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7548   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7549 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7549 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7550    $as_echo_n "(cached) " >&6
7551   else
7552    lt_cv_ld_exported_symbols_list=no
# Line 7087 | Line 7576 | rm -f core conftest.err conftest.$ac_obj
7576   fi
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7578   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7579 +
7580 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7581 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7582 + if ${lt_cv_ld_force_load+:} false; then :
7583 +  $as_echo_n "(cached) " >&6
7584 + else
7585 +  lt_cv_ld_force_load=no
7586 +      cat > conftest.c << _LT_EOF
7587 + int forced_loaded() { return 2;}
7588 + _LT_EOF
7589 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7590 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7591 +      echo "$AR cru libconftest.a conftest.o" >&5
7592 +      $AR cru libconftest.a conftest.o 2>&5
7593 +      echo "$RANLIB libconftest.a" >&5
7594 +      $RANLIB libconftest.a 2>&5
7595 +      cat > conftest.c << _LT_EOF
7596 + int main() { return 0;}
7597 + _LT_EOF
7598 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7599 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7600 +      _lt_result=$?
7601 +      if test -s conftest.err && $GREP force_load conftest.err; then
7602 +        cat conftest.err >&5
7603 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7604 +        lt_cv_ld_force_load=yes
7605 +      else
7606 +        cat conftest.err >&5
7607 +      fi
7608 +        rm -f conftest.err libconftest.a conftest conftest.c
7609 +        rm -rf conftest.dSYM
7610 +
7611 + fi
7612 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7613 + $as_echo "$lt_cv_ld_force_load" >&6; }
7614      case $host_os in
7615      rhapsody* | darwin1.[012])
7616        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7114 | Line 7638 | $as_echo "$lt_cv_ld_exported_symbols_lis
7638      else
7639        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7640      fi
7641 <    if test "$DSYMUTIL" != ":"; then
7641 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7642        _lt_dsymutil='~$DSYMUTIL $lib || :'
7643      else
7644        _lt_dsymutil=
# Line 7134 | Line 7658 | if test -n "$CPP" && test -d "$CPP"; the
7658    CPP=
7659   fi
7660   if test -z "$CPP"; then
7661 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7661 >  if ${ac_cv_prog_CPP+:} false; then :
7662    $as_echo_n "(cached) " >&6
7663   else
7664        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7688 | else
7688    # Broken: fails on valid input.
7689   continue
7690   fi
7691 < rm -f conftest.err conftest.$ac_ext
7691 > rm -f conftest.err conftest.i conftest.$ac_ext
7692  
7693    # OK, works on sane cases.  Now check whether nonexistent headers
7694    # can be detected and how.
# Line 7180 | Line 7704 | else
7704   ac_preproc_ok=:
7705   break
7706   fi
7707 < rm -f conftest.err conftest.$ac_ext
7707 > rm -f conftest.err conftest.i conftest.$ac_ext
7708  
7709   done
7710   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7711 < rm -f conftest.err conftest.$ac_ext
7711 > rm -f conftest.i conftest.err conftest.$ac_ext
7712   if $ac_preproc_ok; then :
7713    break
7714   fi
# Line 7223 | Line 7747 | else
7747    # Broken: fails on valid input.
7748   continue
7749   fi
7750 < rm -f conftest.err conftest.$ac_ext
7750 > rm -f conftest.err conftest.i conftest.$ac_ext
7751  
7752    # OK, works on sane cases.  Now check whether nonexistent headers
7753    # can be detected and how.
# Line 7239 | Line 7763 | else
7763   ac_preproc_ok=:
7764   break
7765   fi
7766 < rm -f conftest.err conftest.$ac_ext
7766 > rm -f conftest.err conftest.i conftest.$ac_ext
7767  
7768   done
7769   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7770 < rm -f conftest.err conftest.$ac_ext
7770 > rm -f conftest.i conftest.err conftest.$ac_ext
7771   if $ac_preproc_ok; then :
7772  
7773   else
7774    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7775   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7776 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7777 < See \`config.log' for more details." "$LINENO" 5; }
7776 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7777 > See \`config.log' for more details" "$LINENO" 5; }
7778   fi
7779  
7780   ac_ext=c
# Line 7262 | Line 7786 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786  
7787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7788   $as_echo_n "checking for ANSI C header files... " >&6; }
7789 < if test "${ac_cv_header_stdc+set}" = set; then :
7789 > if ${ac_cv_header_stdc+:} false; then :
7790    $as_echo_n "(cached) " >&6
7791   else
7792    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 7903 | do :
7903    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7904   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7905   "
7906 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
7906 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7907    cat >>confdefs.h <<_ACEOF
7908   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7909   _ACEOF
# Line 7394 | Line 7917 | for ac_header in dlfcn.h
7917   do :
7918    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7919   "
7920 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7920 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7921    cat >>confdefs.h <<_ACEOF
7922   #define HAVE_DLFCN_H 1
7923   _ACEOF
# Line 7405 | Line 7928 | done
7928  
7929  
7930  
7931 +
7932 +
7933   # Set options
7934   enable_dlopen=yes
7935   # Check whether --enable-static was given.
# Line 7478 | Line 8003 | fi
8003  
8004   # Check whether --with-pic was given.
8005   if test "${with_pic+set}" = set; then :
8006 <  withval=$with_pic; pic_mode="$withval"
8006 >  withval=$with_pic; lt_p=${PACKAGE-default}
8007 >    case $withval in
8008 >    yes|no) pic_mode=$withval ;;
8009 >    *)
8010 >      pic_mode=default
8011 >      # Look at the argument we got.  We use all the common list separators.
8012 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8013 >      for lt_pkg in $withval; do
8014 >        IFS="$lt_save_ifs"
8015 >        if test "X$lt_pkg" = "X$lt_p"; then
8016 >          pic_mode=yes
8017 >        fi
8018 >      done
8019 >      IFS="$lt_save_ifs"
8020 >      ;;
8021 >    esac
8022   else
8023    pic_mode=default
8024   fi
# Line 7555 | Line 8095 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8095  
8096  
8097  
8098 +
8099 +
8100 +
8101 +
8102 +
8103   test -z "$LN_S" && LN_S="ln -s"
8104  
8105  
# Line 7576 | Line 8121 | fi
8121  
8122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8123   $as_echo_n "checking for objdir... " >&6; }
8124 < if test "${lt_cv_objdir+set}" = set; then :
8124 > if ${lt_cv_objdir+:} false; then :
8125    $as_echo_n "(cached) " >&6
8126   else
8127    rm -f .libs 2>/dev/null
# Line 7604 | Line 8149 | _ACEOF
8149  
8150  
8151  
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
8152   case $host_os in
8153   aix3*)
8154    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7629 | Line 8161 | aix3*)
8161    ;;
8162   esac
8163  
7632 # Sed substitution that helps us do robust quoting.  It backslashifies
7633 # metacharacters that are still active within double-quoted strings.
7634 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635
7636 # Same as above, but do not quote variable references.
7637 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638
7639 # Sed substitution to delay expansion of an escaped shell variable in a
7640 # double_quote_subst'ed string.
7641 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642
7643 # Sed substitution to delay expansion of an escaped single quote.
7644 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645
7646 # Sed substitution to avoid accidental globbing in evaled expressions
7647 no_glob_subst='s/\*/\\\*/g'
7648
8164   # Global variables:
8165   ofile=libtool
8166   can_build_shared=yes
# Line 7674 | Line 8189 | for cc_temp in $compiler""; do
8189      *) break;;
8190    esac
8191   done
8192 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8192 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8193  
8194  
8195   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8199 | file_magic*)
8199    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8200      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8201   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8202 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8202 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8203    $as_echo_n "(cached) " >&6
8204   else
8205    case $MAGIC_CMD in
# Line 7750 | Line 8265 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8265    if test -n "$ac_tool_prefix"; then
8266      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8267   $as_echo_n "checking for file... " >&6; }
8268 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8269    $as_echo_n "(cached) " >&6
8270   else
8271    case $MAGIC_CMD in
# Line 7879 | Line 8394 | if test -n "$compiler"; then
8394   lt_prog_compiler_no_builtin_flag=
8395  
8396   if test "$GCC" = yes; then
8397 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8397 >  case $cc_basename in
8398 >  nvcc*)
8399 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8400 >  *)
8401 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8402 >  esac
8403  
8404    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8405   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8406 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8406 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8407    $as_echo_n "(cached) " >&6
8408   else
8409    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7899 | Line 8419 | else
8419     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8420     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8421     -e 's:$: $lt_compiler_flag:'`
8422 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8422 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8423     (eval "$lt_compile" 2>conftest.err)
8424     ac_status=$?
8425     cat conftest.err >&5
8426 <   echo "$as_me:7906: \$? = $ac_status" >&5
8426 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427     if (exit $ac_status) && test -s "$ac_outfile"; then
8428       # The compiler can only warn and ignore the option if not recognized
8429       # So say no if there are warnings other than the usual output.
8430 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8430 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8431       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8432       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8433         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7936 | Line 8456 | fi
8456   lt_prog_compiler_pic=
8457   lt_prog_compiler_static=
8458  
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8459  
8460    if test "$GCC" = yes; then
8461      lt_prog_compiler_wl='-Wl,'
# Line 7985 | Line 8503 | $as_echo_n "checking for $compiler optio
8503        lt_prog_compiler_pic='-fno-common'
8504        ;;
8505  
8506 +    haiku*)
8507 +      # PIC is the default for Haiku.
8508 +      # The "-static" flag exists, but is broken.
8509 +      lt_prog_compiler_static=
8510 +      ;;
8511 +
8512      hpux*)
8513        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8514        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8551 | $as_echo_n "checking for $compiler optio
8551        lt_prog_compiler_pic='-fPIC'
8552        ;;
8553      esac
8554 +
8555 +    case $cc_basename in
8556 +    nvcc*) # Cuda Compiler Driver 2.2
8557 +      lt_prog_compiler_wl='-Xlinker '
8558 +      if test -n "$lt_prog_compiler_pic"; then
8559 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8560 +      fi
8561 +      ;;
8562 +    esac
8563    else
8564      # PORTME Check for flag to pass linker flags through the system compiler.
8565      case $host_os in
# Line 8068 | Line 8601 | $as_echo_n "checking for $compiler optio
8601        lt_prog_compiler_static='-non_shared'
8602        ;;
8603  
8604 <    linux* | k*bsd*-gnu)
8604 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8605        case $cc_basename in
8606        # old Intel for x86_64 which still supported -KPIC.
8607        ecc*)
# Line 8089 | Line 8622 | $as_echo_n "checking for $compiler optio
8622          lt_prog_compiler_pic='--shared'
8623          lt_prog_compiler_static='--static'
8624          ;;
8625 <      pgcc* | pgf77* | pgf90* | pgf95*)
8625 >      nagfor*)
8626 >        # NAG Fortran compiler
8627 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8628 >        lt_prog_compiler_pic='-PIC'
8629 >        lt_prog_compiler_static='-Bstatic'
8630 >        ;;
8631 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8632          # Portland Group compilers (*not* the Pentium gcc compiler,
8633          # which looks to be a dead project)
8634          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8640 | $as_echo_n "checking for $compiler optio
8640          # All Alpha code is PIC.
8641          lt_prog_compiler_static='-non_shared'
8642          ;;
8643 <      xl*)
8644 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8643 >      xl* | bgxl* | bgf* | mpixl*)
8644 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8645          lt_prog_compiler_wl='-Wl,'
8646          lt_prog_compiler_pic='-qpic'
8647          lt_prog_compiler_static='-qstaticlink'
8648          ;;
8649        *)
8650          case `$CC -V 2>&1 | sed 5q` in
8651 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8652 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8653 +          lt_prog_compiler_pic='-KPIC'
8654 +          lt_prog_compiler_static='-Bstatic'
8655 +          lt_prog_compiler_wl=''
8656 +          ;;
8657 +        *Sun\ F* | *Sun*Fortran*)
8658 +          lt_prog_compiler_pic='-KPIC'
8659 +          lt_prog_compiler_static='-Bstatic'
8660 +          lt_prog_compiler_wl='-Qoption ld '
8661 +          ;;
8662          *Sun\ C*)
8663            # Sun C 5.9
8664            lt_prog_compiler_pic='-KPIC'
8665            lt_prog_compiler_static='-Bstatic'
8666            lt_prog_compiler_wl='-Wl,'
8667            ;;
8668 <        *Sun\ F*)
8669 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8670 <          lt_prog_compiler_pic='-KPIC'
8668 >        *Intel*\ [CF]*Compiler*)
8669 >          lt_prog_compiler_wl='-Wl,'
8670 >          lt_prog_compiler_pic='-fPIC'
8671 >          lt_prog_compiler_static='-static'
8672 >          ;;
8673 >        *Portland\ Group*)
8674 >          lt_prog_compiler_wl='-Wl,'
8675 >          lt_prog_compiler_pic='-fpic'
8676            lt_prog_compiler_static='-Bstatic'
8122          lt_prog_compiler_wl=''
8677            ;;
8678          esac
8679          ;;
# Line 8151 | Line 8705 | $as_echo_n "checking for $compiler optio
8705        lt_prog_compiler_pic='-KPIC'
8706        lt_prog_compiler_static='-Bstatic'
8707        case $cc_basename in
8708 <      f77* | f90* | f95*)
8708 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8709          lt_prog_compiler_wl='-Qoption ld ';;
8710        *)
8711          lt_prog_compiler_wl='-Wl,';;
# Line 8208 | Line 8762 | case $host_os in
8762      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8763      ;;
8764   esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 $as_echo "$lt_prog_compiler_pic" >&6; }
8213
8214
8215
8216
8765  
8766 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8767 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8768 + if ${lt_cv_prog_compiler_pic+:} false; then :
8769 +  $as_echo_n "(cached) " >&6
8770 + else
8771 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8772 + fi
8773 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8774 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8775 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8776  
8777   #
8778   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 8780 | $as_echo "$lt_prog_compiler_pic" >&6; }
8780   if test -n "$lt_prog_compiler_pic"; then
8781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8782   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8783 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8783 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8784    $as_echo_n "(cached) " >&6
8785   else
8786    lt_cv_prog_compiler_pic_works=no
# Line 8238 | Line 8796 | else
8796     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8797     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8798     -e 's:$: $lt_compiler_flag:'`
8799 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8799 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8800     (eval "$lt_compile" 2>conftest.err)
8801     ac_status=$?
8802     cat conftest.err >&5
8803 <   echo "$as_me:8245: \$? = $ac_status" >&5
8803 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804     if (exit $ac_status) && test -s "$ac_outfile"; then
8805       # The compiler can only warn and ignore the option if not recognized
8806       # So say no if there are warnings other than the usual output.
8807 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8807 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8808       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8809       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8810         lt_cv_prog_compiler_pic_works=yes
# Line 8275 | Line 8833 | fi
8833  
8834  
8835  
8836 +
8837 +
8838 +
8839 +
8840 +
8841   #
8842   # Check to make sure the static flag actually works.
8843   #
8844   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8846   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8847 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8847 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8848    $as_echo_n "(cached) " >&6
8849   else
8850    lt_cv_prog_compiler_static_works=no
# Line 8294 | Line 8857 | else
8857       if test -s conftest.err; then
8858         # Append any errors to the config.log.
8859         cat conftest.err 1>&5
8860 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8860 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8861         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8862         if diff conftest.exp conftest.er2 >/dev/null; then
8863           lt_cv_prog_compiler_static_works=yes
# Line 8324 | Line 8887 | fi
8887  
8888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8890 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8891    $as_echo_n "(cached) " >&6
8892   else
8893    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 8906 | else
8906     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908     -e 's:$: $lt_compiler_flag:'`
8909 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8909 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8910     (eval "$lt_compile" 2>out/conftest.err)
8911     ac_status=$?
8912     cat out/conftest.err >&5
8913 <   echo "$as_me:8350: \$? = $ac_status" >&5
8913 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8915     then
8916       # The compiler can only warn and ignore the option if not recognized
8917       # So say no if there are warnings
8918 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8918 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8919       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 8942 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8942  
8943    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8944   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8945 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8945 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8946    $as_echo_n "(cached) " >&6
8947   else
8948    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 8961 | else
8961     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8962     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8963     -e 's:$: $lt_compiler_flag:'`
8964 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
8964 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8965     (eval "$lt_compile" 2>out/conftest.err)
8966     ac_status=$?
8967     cat out/conftest.err >&5
8968 <   echo "$as_me:8405: \$? = $ac_status" >&5
8968 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8970     then
8971       # The compiler can only warn and ignore the option if not recognized
8972       # So say no if there are warnings
8973 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8973 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8974       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8975       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8976         lt_cv_prog_compiler_c_o=yes
# Line 8473 | Line 9036 | $as_echo_n "checking whether the $compil
9036    hardcode_direct=no
9037    hardcode_direct_absolute=no
9038    hardcode_libdir_flag_spec=
8476  hardcode_libdir_flag_spec_ld=
9039    hardcode_libdir_separator=
9040    hardcode_minus_L=no
9041    hardcode_shlibpath_var=unsupported
# Line 8520 | Line 9082 | $as_echo_n "checking whether the $compil
9082    esac
9083  
9084    ld_shlibs=yes
9085 +
9086 +  # On some targets, GNU ld is compatible enough with the native linker
9087 +  # that we're better off using the native interface for both.
9088 +  lt_use_gnu_ld_interface=no
9089    if test "$with_gnu_ld" = yes; then
9090 +    case $host_os in
9091 +      aix*)
9092 +        # The AIX port of GNU ld has always aspired to compatibility
9093 +        # with the native linker.  However, as the warning in the GNU ld
9094 +        # block says, versions before 2.19.5* couldn't really create working
9095 +        # shared libraries, regardless of the interface used.
9096 +        case `$LD -v 2>&1` in
9097 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9098 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9099 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9100 +          *)
9101 +            lt_use_gnu_ld_interface=yes
9102 +            ;;
9103 +        esac
9104 +        ;;
9105 +      *)
9106 +        lt_use_gnu_ld_interface=yes
9107 +        ;;
9108 +    esac
9109 +  fi
9110 +
9111 +  if test "$lt_use_gnu_ld_interface" = yes; then
9112      # If archive_cmds runs LD, not CC, wlarc should be empty
9113      wlarc='${wl}'
9114  
# Line 8538 | Line 9126 | $as_echo_n "checking whether the $compil
9126      fi
9127      supports_anon_versioning=no
9128      case `$LD -v 2>&1` in
9129 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9130        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9131        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9132        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8553 | Line 9142 | $as_echo_n "checking whether the $compil
9142          ld_shlibs=no
9143          cat <<_LT_EOF 1>&2
9144  
9145 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9145 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9146   *** to be unable to reliably create shared libraries on AIX.
9147   *** Therefore, libtool is disabling shared libraries support.  If you
9148 < *** really care for shared libraries, you may want to modify your PATH
9149 < *** so that a non-GNU linker is found, and then restart.
9148 > *** really care for shared libraries, you may want to install binutils
9149 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9150 > *** You will then need to restart the configuration process.
9151  
9152   _LT_EOF
9153        fi
# Line 8593 | Line 9183 | _LT_EOF
9183        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9184        # as there is no search path for DLLs.
9185        hardcode_libdir_flag_spec='-L$libdir'
9186 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9187        allow_undefined_flag=unsupported
9188        always_export_symbols=no
9189        enable_shared_with_static_runtimes=yes
9190 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9190 >      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'
9191 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9192  
9193        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9194          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8614 | Line 9206 | _LT_EOF
9206        fi
9207        ;;
9208  
9209 +    haiku*)
9210 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9211 +      link_all_deplibs=yes
9212 +      ;;
9213 +
9214      interix[3-9]*)
9215        hardcode_direct=no
9216        hardcode_shlibpath_var=no
# Line 8629 | Line 9226 | _LT_EOF
9226        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'
9227        ;;
9228  
9229 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9229 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9230        tmp_diet=no
9231        if test "$host_os" = linux-dietlibc; then
9232          case $cc_basename in
# Line 8639 | Line 9236 | _LT_EOF
9236        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9237           && test "$tmp_diet" = no
9238        then
9239 <        tmp_addflag=
9239 >        tmp_addflag=' $pic_flag'
9240          tmp_sharedflag='-shared'
9241          case $cc_basename,$host_cpu in
9242          pgcc*)                          # Portland Group C compiler
9243 <          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'
9243 >          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'
9244            tmp_addflag=' $pic_flag'
9245            ;;
9246 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9247 <          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'
9246 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9247 >                                        # Portland Group f77 and f90 compilers
9248 >          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'
9249            tmp_addflag=' $pic_flag -Mnomain' ;;
9250          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9251            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9256 | _LT_EOF
9256          lf95*)                          # Lahey Fortran 8.1
9257            whole_archive_flag_spec=
9258            tmp_sharedflag='--shared' ;;
9259 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9259 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9260            tmp_sharedflag='-qmkshrobj'
9261            tmp_addflag= ;;
9262 +        nvcc*)  # Cuda Compiler Driver 2.2
9263 +          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'
9264 +          compiler_needs_object=yes
9265 +          ;;
9266          esac
9267          case `$CC -V 2>&1 | sed 5q` in
9268          *Sun\ C*)                       # Sun C 5.9
9269 <          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'
9269 >          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'
9270            compiler_needs_object=yes
9271            tmp_sharedflag='-G' ;;
9272          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8680 | Line 9282 | _LT_EOF
9282          fi
9283  
9284          case $cc_basename in
9285 <        xlf*)
9285 >        xlf* | bgf* | bgxlf* | mpixlf*)
9286            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9287            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9288 <          hardcode_libdir_flag_spec=
9289 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8688 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9288 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9289 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9290            if test "x$supports_anon_versioning" = xyes; then
9291              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9292                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9293                echo "local: *; };" >> $output_objdir/$libname.ver~
9294 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9294 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9295            fi
9296            ;;
9297          esac
# Line 8704 | Line 9305 | _LT_EOF
9305          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9306          wlarc=
9307        else
9308 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9309 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9308 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9309 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9310        fi
9311        ;;
9312  
# Line 8723 | Line 9324 | _LT_EOF
9324  
9325   _LT_EOF
9326        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9327 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9328 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9327 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9328 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329        else
9330          ld_shlibs=no
9331        fi
# Line 8770 | Line 9371 | _LT_EOF
9371  
9372      *)
9373        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376        else
9377          ld_shlibs=no
9378        fi
# Line 8811 | Line 9412 | _LT_EOF
9412        else
9413          # If we're using GNU nm, then we don't want the "-C" option.
9414          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9415 +        # Also, AIX nm treats weak defined symbols like other global
9416 +        # defined symbols, whereas GNU nm marks them as "W".
9417          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9418 <          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'
9418 >          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'
9419          else
9420            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'
9421          fi
# Line 8899 | Line 9502 | _LT_EOF
9502          allow_undefined_flag='-berok'
9503          # Determine the default libpath from the value encoded in an
9504          # empty executable.
9505 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 >        if test "${lt_cv_aix_libpath+set}" = set; then
9506 >  aix_libpath=$lt_cv_aix_libpath
9507 > else
9508 >  if ${lt_cv_aix_libpath_+:} false; then :
9509 >  $as_echo_n "(cached) " >&6
9510 > else
9511 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512   /* end confdefs.h.  */
9513  
9514   int
# Line 8912 | Line 9521 | main ()
9521   _ACEOF
9522   if ac_fn_c_try_link "$LINENO"; then :
9523  
9524 < lt_aix_libpath_sed='
9525 <    /Import File Strings/,/^$/ {
9526 <        /^0/ {
9527 <            s/^0  *\(.*\)$/\1/
9528 <            p
9529 <        }
9530 <    }'
9531 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9532 < # Check for a 64-bit object if we didn't find anything.
9533 < if test -z "$aix_libpath"; then
9534 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9535 < fi
9524 >  lt_aix_libpath_sed='
9525 >      /Import File Strings/,/^$/ {
9526 >          /^0/ {
9527 >              s/^0  *\([^ ]*\) *$/\1/
9528 >              p
9529 >          }
9530 >      }'
9531 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9532 >  # Check for a 64-bit object if we didn't find anything.
9533 >  if test -z "$lt_cv_aix_libpath_"; then
9534 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9535 >  fi
9536   fi
9537   rm -f core conftest.err conftest.$ac_objext \
9538      conftest$ac_exeext conftest.$ac_ext
9539 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9539 >  if test -z "$lt_cv_aix_libpath_"; then
9540 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9541 >  fi
9542 >
9543 > fi
9544 >
9545 >  aix_libpath=$lt_cv_aix_libpath_
9546 > fi
9547  
9548          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9549 <        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"
9549 >        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"
9550        else
9551          if test "$host_cpu" = ia64; then
9552            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8939 | Line 9555 | if test -z "$aix_libpath"; then aix_libp
9555          else
9556           # Determine the default libpath from the value encoded in an
9557           # empty executable.
9558 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 >         if test "${lt_cv_aix_libpath+set}" = set; then
9559 >  aix_libpath=$lt_cv_aix_libpath
9560 > else
9561 >  if ${lt_cv_aix_libpath_+:} false; then :
9562 >  $as_echo_n "(cached) " >&6
9563 > else
9564 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565   /* end confdefs.h.  */
9566  
9567   int
# Line 8952 | Line 9574 | main ()
9574   _ACEOF
9575   if ac_fn_c_try_link "$LINENO"; then :
9576  
9577 < lt_aix_libpath_sed='
9578 <    /Import File Strings/,/^$/ {
9579 <        /^0/ {
9580 <            s/^0  *\(.*\)$/\1/
9581 <            p
9582 <        }
9583 <    }'
9584 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 < # Check for a 64-bit object if we didn't find anything.
9586 < if test -z "$aix_libpath"; then
9587 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 < fi
9577 >  lt_aix_libpath_sed='
9578 >      /Import File Strings/,/^$/ {
9579 >          /^0/ {
9580 >              s/^0  *\([^ ]*\) *$/\1/
9581 >              p
9582 >          }
9583 >      }'
9584 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 >  # Check for a 64-bit object if we didn't find anything.
9586 >  if test -z "$lt_cv_aix_libpath_"; then
9587 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 >  fi
9589   fi
9590   rm -f core conftest.err conftest.$ac_objext \
9591      conftest$ac_exeext conftest.$ac_ext
9592 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 >  if test -z "$lt_cv_aix_libpath_"; then
9593 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9594 >  fi
9595 >
9596 > fi
9597 >
9598 >  aix_libpath=$lt_cv_aix_libpath_
9599 > fi
9600  
9601           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9602            # Warning - without using the other run time loading flags,
9603            # -berok will link without error, but may produce a broken library.
9604            no_undefined_flag=' ${wl}-bernotok'
9605            allow_undefined_flag=' ${wl}-berok'
9606 <          # Exported symbols can be pulled into shared objects from archives
9607 <          whole_archive_flag_spec='$convenience'
9606 >          if test "$with_gnu_ld" = yes; then
9607 >            # We only use this code for GNU lds that support --whole-archive.
9608 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9609 >          else
9610 >            # Exported symbols can be pulled into shared objects from archives
9611 >            whole_archive_flag_spec='$convenience'
9612 >          fi
9613            archive_cmds_need_lc=yes
9614            # This is similar to how AIX traditionally builds its shared libraries.
9615            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 9007 | Line 9641 | if test -z "$aix_libpath"; then aix_libp
9641        # Microsoft Visual C++.
9642        # hardcode_libdir_flag_spec is actually meaningless, as there is
9643        # no search path for DLLs.
9644 <      hardcode_libdir_flag_spec=' '
9645 <      allow_undefined_flag=unsupported
9646 <      # Tell ltmain to make .lib files, not .a files.
9647 <      libext=lib
9648 <      # Tell ltmain to make .dll files, not .so files.
9649 <      shrext_cmds=".dll"
9650 <      # FIXME: Setting linknames here is a bad hack.
9651 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9652 <      # The linker will automatically build a .lib file if we build a DLL.
9653 <      old_archive_from_new_cmds='true'
9654 <      # FIXME: Should let the user specify the lib program.
9655 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9656 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9657 <      enable_shared_with_static_runtimes=yes
9644 >      case $cc_basename in
9645 >      cl*)
9646 >        # Native MSVC
9647 >        hardcode_libdir_flag_spec=' '
9648 >        allow_undefined_flag=unsupported
9649 >        always_export_symbols=yes
9650 >        file_list_spec='@'
9651 >        # Tell ltmain to make .lib files, not .a files.
9652 >        libext=lib
9653 >        # Tell ltmain to make .dll files, not .so files.
9654 >        shrext_cmds=".dll"
9655 >        # FIXME: Setting linknames here is a bad hack.
9656 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9657 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9658 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9659 >          else
9660 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9661 >          fi~
9662 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9663 >          linknames='
9664 >        # The linker will not automatically build a static lib if we build a DLL.
9665 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9666 >        enable_shared_with_static_runtimes=yes
9667 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9668 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9669 >        # Don't use ranlib
9670 >        old_postinstall_cmds='chmod 644 $oldlib'
9671 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9672 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9673 >          case $lt_outputfile in
9674 >            *.exe|*.EXE) ;;
9675 >            *)
9676 >              lt_outputfile="$lt_outputfile.exe"
9677 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9678 >              ;;
9679 >          esac~
9680 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9681 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9682 >            $RM "$lt_outputfile.manifest";
9683 >          fi'
9684 >        ;;
9685 >      *)
9686 >        # Assume MSVC wrapper
9687 >        hardcode_libdir_flag_spec=' '
9688 >        allow_undefined_flag=unsupported
9689 >        # Tell ltmain to make .lib files, not .a files.
9690 >        libext=lib
9691 >        # Tell ltmain to make .dll files, not .so files.
9692 >        shrext_cmds=".dll"
9693 >        # FIXME: Setting linknames here is a bad hack.
9694 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9695 >        # The linker will automatically build a .lib file if we build a DLL.
9696 >        old_archive_from_new_cmds='true'
9697 >        # FIXME: Should let the user specify the lib program.
9698 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9699 >        enable_shared_with_static_runtimes=yes
9700 >        ;;
9701 >      esac
9702        ;;
9703  
9704      darwin* | rhapsody*)
# Line 9030 | Line 9708 | if test -z "$aix_libpath"; then aix_libp
9708    hardcode_direct=no
9709    hardcode_automatic=yes
9710    hardcode_shlibpath_var=unsupported
9711 <  whole_archive_flag_spec=''
9711 >  if test "$lt_cv_ld_force_load" = "yes"; then
9712 >    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\"`'
9713 >
9714 >  else
9715 >    whole_archive_flag_spec=''
9716 >  fi
9717    link_all_deplibs=yes
9718    allow_undefined_flag="$_lt_dar_allow_undefined"
9719    case $cc_basename in
# Line 9038 | Line 9721 | if test -z "$aix_libpath"; then aix_libp
9721       *) _lt_dar_can_shared=$GCC ;;
9722    esac
9723    if test "$_lt_dar_can_shared" = "yes"; then
9724 <    output_verbose_link_cmd=echo
9724 >    output_verbose_link_cmd=func_echo_all
9725      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9726      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9727      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 9056 | Line 9739 | if test -z "$aix_libpath"; then aix_libp
9739        hardcode_shlibpath_var=no
9740        ;;
9741  
9059    freebsd1*)
9060      ld_shlibs=no
9061      ;;
9062
9742      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9743      # support.  Future versions do this automatically, but an explicit c++rt0.o
9744      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 9751 | if test -z "$aix_libpath"; then aix_libp
9751        ;;
9752  
9753      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9754 <    freebsd2*)
9754 >    freebsd2.*)
9755        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9756        hardcode_direct=yes
9757        hardcode_minus_L=yes
# Line 9081 | Line 9760 | if test -z "$aix_libpath"; then aix_libp
9760  
9761      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9762      freebsd* | dragonfly*)
9763 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9763 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9764        hardcode_libdir_flag_spec='-R$libdir'
9765        hardcode_direct=yes
9766        hardcode_shlibpath_var=no
# Line 9089 | Line 9768 | if test -z "$aix_libpath"; then aix_libp
9768  
9769      hpux9*)
9770        if test "$GCC" = yes; then
9771 <        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'
9771 >        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'
9772        else
9773          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'
9774        fi
# Line 9104 | Line 9783 | if test -z "$aix_libpath"; then aix_libp
9783        ;;
9784  
9785      hpux10*)
9786 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9787 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9786 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9787 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788        else
9789          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9790        fi
9791        if test "$with_gnu_ld" = no; then
9792          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114        hardcode_libdir_flag_spec_ld='+b $libdir'
9793          hardcode_libdir_separator=:
9794          hardcode_direct=yes
9795          hardcode_direct_absolute=yes
# Line 9123 | Line 9801 | if test -z "$aix_libpath"; then aix_libp
9801        ;;
9802  
9803      hpux11*)
9804 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9804 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9805          case $host_cpu in
9806          hppa*64*)
9807            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9808            ;;
9809          ia64*)
9810 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9810 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9811            ;;
9812          *)
9813 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814            ;;
9815          esac
9816        else
# Line 9144 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9823            ;;
9824          *)
9825 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9825 >
9826 >          # Older versions of the 11.00 compiler do not understand -b yet
9827 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9828 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9829 > $as_echo_n "checking if $CC understands -b... " >&6; }
9830 > if ${lt_cv_prog_compiler__b+:} false; then :
9831 >  $as_echo_n "(cached) " >&6
9832 > else
9833 >  lt_cv_prog_compiler__b=no
9834 >   save_LDFLAGS="$LDFLAGS"
9835 >   LDFLAGS="$LDFLAGS -b"
9836 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9837 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9838 >     # The linker can only warn and ignore the option if not recognized
9839 >     # So say no if there are warnings
9840 >     if test -s conftest.err; then
9841 >       # Append any errors to the config.log.
9842 >       cat conftest.err 1>&5
9843 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9844 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9845 >       if diff conftest.exp conftest.er2 >/dev/null; then
9846 >         lt_cv_prog_compiler__b=yes
9847 >       fi
9848 >     else
9849 >       lt_cv_prog_compiler__b=yes
9850 >     fi
9851 >   fi
9852 >   $RM -r conftest*
9853 >   LDFLAGS="$save_LDFLAGS"
9854 >
9855 > fi
9856 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9857 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9858 >
9859 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9860 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9861 > else
9862 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9863 > fi
9864 >
9865            ;;
9866          esac
9867        fi
# Line 9172 | Line 9889 | if test -z "$aix_libpath"; then aix_libp
9889  
9890      irix5* | irix6* | nonstopux*)
9891        if test "$GCC" = yes; then
9892 <        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'
9892 >        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'
9893          # Try to use the -exported_symbol ld option, if it does not
9894          # work, assume that -exports_file does not work either and
9895          # implicitly export all symbols.
9896 <        save_LDFLAGS="$LDFLAGS"
9897 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9898 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 >        # This should be the same for all languages, so no per-tag cache variable.
9897 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9898 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9899 > if ${lt_cv_irix_exported_symbol+:} false; then :
9900 >  $as_echo_n "(cached) " >&6
9901 > else
9902 >  save_LDFLAGS="$LDFLAGS"
9903 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905   /* end confdefs.h.  */
9906 < int foo(void) {}
9906 > int foo (void) { return 0; }
9907   _ACEOF
9908   if ac_fn_c_try_link "$LINENO"; then :
9909 <  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'
9910 <
9909 >  lt_cv_irix_exported_symbol=yes
9910 > else
9911 >  lt_cv_irix_exported_symbol=no
9912   fi
9913   rm -f core conftest.err conftest.$ac_objext \
9914      conftest$ac_exeext conftest.$ac_ext
9915 <        LDFLAGS="$save_LDFLAGS"
9915 >           LDFLAGS="$save_LDFLAGS"
9916 > fi
9917 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9918 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9919 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9920 >          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'
9921 >        fi
9922        else
9923 <        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'
9924 <        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'
9923 >        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'
9924 >        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'
9925        fi
9926        archive_cmds_need_lc='no'
9927        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9253 | Line 9983 | rm -f core conftest.err conftest.$ac_obj
9983        hardcode_libdir_flag_spec='-L$libdir'
9984        hardcode_minus_L=yes
9985        allow_undefined_flag=unsupported
9986 <      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'
9986 >      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'
9987        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9988        ;;
9989  
9990      osf3*)
9991        if test "$GCC" = yes; then
9992          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9993 <        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'
9993 >        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'
9994        else
9995          allow_undefined_flag=' -expect_unresolved \*'
9996 <        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'
9996 >        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'
9997        fi
9998        archive_cmds_need_lc='no'
9999        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9273 | Line 10003 | rm -f core conftest.err conftest.$ac_obj
10003      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10004        if test "$GCC" = yes; then
10005          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10006 <        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'
10006 >        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'
10007          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10008        else
10009          allow_undefined_flag=' -expect_unresolved \*'
10010 <        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'
10010 >        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'
10011          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~
10012 <        $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'
10012 >        $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'
10013  
10014          # Both c and cxx compiler support -rpath directly
10015          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9292 | Line 10022 | rm -f core conftest.err conftest.$ac_obj
10022        no_undefined_flag=' -z defs'
10023        if test "$GCC" = yes; then
10024          wlarc='${wl}'
10025 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10025 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10026          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10027 >          $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'
10028        else
10029          case `$CC -V 2>&1` in
10030          *"Compilers 5.0"*)
# Line 9482 | Line 10212 | x|xyes)
10212        # to ld, don't add -lc before -lgcc.
10213        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10214   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10215 <      $RM conftest*
10216 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10215 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10216 >  $as_echo_n "(cached) " >&6
10217 > else
10218 >  $RM conftest*
10219 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10220  
10221 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10221 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10222    (eval $ac_compile) 2>&5
10223    ac_status=$?
10224    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10225    test $ac_status = 0; } 2>conftest.err; then
10226 <        soname=conftest
10227 <        lib=conftest
10228 <        libobjs=conftest.$ac_objext
10229 <        deplibs=
10230 <        wl=$lt_prog_compiler_wl
10231 <        pic_flag=$lt_prog_compiler_pic
10232 <        compiler_flags=-v
10233 <        linker_flags=-v
10234 <        verstring=
10235 <        output_objdir=.
10236 <        libname=conftest
10237 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10238 <        allow_undefined_flag=
10239 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10226 >          soname=conftest
10227 >          lib=conftest
10228 >          libobjs=conftest.$ac_objext
10229 >          deplibs=
10230 >          wl=$lt_prog_compiler_wl
10231 >          pic_flag=$lt_prog_compiler_pic
10232 >          compiler_flags=-v
10233 >          linker_flags=-v
10234 >          verstring=
10235 >          output_objdir=.
10236 >          libname=conftest
10237 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10238 >          allow_undefined_flag=
10239 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10240    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10241    ac_status=$?
10242    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10243    test $ac_status = 0; }
10244 <        then
10245 <          archive_cmds_need_lc=no
10246 <        else
10247 <          archive_cmds_need_lc=yes
10248 <        fi
10249 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10250 <      else
10251 <        cat conftest.err 1>&5
10252 <      fi
10253 <      $RM conftest*
10254 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10255 < $as_echo "$archive_cmds_need_lc" >&6; }
10244 >          then
10245 >            lt_cv_archive_cmds_need_lc=no
10246 >          else
10247 >            lt_cv_archive_cmds_need_lc=yes
10248 >          fi
10249 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10250 >        else
10251 >          cat conftest.err 1>&5
10252 >        fi
10253 >        $RM conftest*
10254 >
10255 > fi
10256 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10257 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10258 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10259        ;;
10260      esac
10261    fi
# Line 9677 | Line 10413 | esac
10413  
10414  
10415  
9680
9681
9682
9683
9684
10416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10417   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10418  
# Line 9690 | Line 10421 | if test "$GCC" = yes; then
10421      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10422      *) lt_awk_arg="/^libraries:/" ;;
10423    esac
10424 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10425 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10424 >  case $host_os in
10425 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10426 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10427 >  esac
10428 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10429 >  case $lt_search_path_spec in
10430 >  *\;*)
10431      # if the path contains ";" then we assume it to be the separator
10432      # otherwise default to the standard path separator (i.e. ":") - it is
10433      # assumed that no part of a normal pathname contains ";" but that should
10434      # okay in the real world where ";" in dirpaths is itself problematic.
10435 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10436 <  else
10437 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10438 <  fi
10435 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10436 >    ;;
10437 >  *)
10438 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10439 >    ;;
10440 >  esac
10441    # Ok, now we have the path, separated by spaces, we can step through it
10442    # and add multilib dir if necessary.
10443    lt_tmp_lt_search_path_spec=
# Line 9712 | Line 10450 | if test "$GCC" = yes; then
10450          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10451      fi
10452    done
10453 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10453 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10454   BEGIN {RS=" "; FS="/|\n";} {
10455    lt_foo="";
10456    lt_count=0;
# Line 9732 | Line 10470 | BEGIN {RS=" "; FS="/|\n";} {
10470    if (lt_foo != "") { lt_freq[lt_foo]++; }
10471    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10472   }'`
10473 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10473 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10474 >  # for these hosts.
10475 >  case $host_os in
10476 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10477 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10478 >  esac
10479 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10480   else
10481    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10482   fi
# Line 9758 | Line 10502 | need_version=unknown
10502  
10503   case $host_os in
10504   aix3*)
10505 <  version_type=linux
10505 >  version_type=linux # correct to gnu/linux during the next big refactor
10506    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10507    shlibpath_var=LIBPATH
10508  
# Line 9767 | Line 10511 | aix3*)
10511    ;;
10512  
10513   aix[4-9]*)
10514 <  version_type=linux
10514 >  version_type=linux # correct to gnu/linux during the next big refactor
10515    need_lib_prefix=no
10516    need_version=no
10517    hardcode_into_libs=yes
# Line 9820 | Line 10564 | amigaos*)
10564    m68k)
10565      library_names_spec='$libname.ixlibrary $libname.a'
10566      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10567 <    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'
10567 >    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'
10568      ;;
10569    esac
10570    ;;
# Line 9832 | Line 10576 | beos*)
10576    ;;
10577  
10578   bsdi[45]*)
10579 <  version_type=linux
10579 >  version_type=linux # correct to gnu/linux during the next big refactor
10580    need_version=no
10581    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9851 | Line 10595 | cygwin* | mingw* | pw32* | cegcc*)
10595    need_version=no
10596    need_lib_prefix=no
10597  
10598 <  case $GCC,$host_os in
10599 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10598 >  case $GCC,$cc_basename in
10599 >  yes,*)
10600 >    # gcc
10601      library_names_spec='$libname.dll.a'
10602      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10603      postinstall_cmds='base_file=`basename \${file}`~
# Line 9873 | Line 10618 | cygwin* | mingw* | pw32* | cegcc*)
10618      cygwin*)
10619        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10620        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10621 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10621 >
10622 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10623        ;;
10624      mingw* | cegcc*)
10625        # MinGW DLLs use traditional 'lib' prefix
10626        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9882      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9883        # It is most probably a Windows format PATH printed by
9884        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885        # path with ; separators, and with drive letters. We can handle the
9886        # drive letters (cygwin fileutils understands them), so leave them,
9887        # especially as we might pass files found there to a mingw objdump,
9888        # which wouldn't understand a cygwinified path. Ahh.
9889        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890      else
9891        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9892      fi
10627        ;;
10628      pw32*)
10629        # pw32 DLLs use 'pw' prefix rather than 'lib'
10630        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10631        ;;
10632      esac
10633 +    dynamic_linker='Win32 ld.exe'
10634 +    ;;
10635 +
10636 +  *,cl*)
10637 +    # Native MSVC
10638 +    libname_spec='$name'
10639 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10640 +    library_names_spec='${libname}.dll.lib'
10641 +
10642 +    case $build_os in
10643 +    mingw*)
10644 +      sys_lib_search_path_spec=
10645 +      lt_save_ifs=$IFS
10646 +      IFS=';'
10647 +      for lt_path in $LIB
10648 +      do
10649 +        IFS=$lt_save_ifs
10650 +        # Let DOS variable expansion print the short 8.3 style file name.
10651 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10652 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10653 +      done
10654 +      IFS=$lt_save_ifs
10655 +      # Convert to MSYS style.
10656 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10657 +      ;;
10658 +    cygwin*)
10659 +      # Convert to unix form, then to dos form, then back to unix form
10660 +      # but this time dos style (no spaces!) so that the unix form looks
10661 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10662 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10663 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10664 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10665 +      ;;
10666 +    *)
10667 +      sys_lib_search_path_spec="$LIB"
10668 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10669 +        # It is most probably a Windows format PATH.
10670 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10671 +      else
10672 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10673 +      fi
10674 +      # FIXME: find the short name or the path components, as spaces are
10675 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10676 +      ;;
10677 +    esac
10678 +
10679 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10680 +    postinstall_cmds='base_file=`basename \${file}`~
10681 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10682 +      dldir=$destdir/`dirname \$dlpath`~
10683 +      test -d \$dldir || mkdir -p \$dldir~
10684 +      $install_prog $dir/$dlname \$dldir/$dlname'
10685 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10686 +      dlpath=$dir/\$dldll~
10687 +       $RM \$dlpath'
10688 +    shlibpath_overrides_runpath=yes
10689 +    dynamic_linker='Win32 link.exe'
10690      ;;
10691  
10692    *)
10693 +    # Assume MSVC wrapper
10694      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10695 +    dynamic_linker='Win32 ld.exe'
10696      ;;
10697    esac
9905  dynamic_linker='Win32 ld.exe'
10698    # FIXME: first we should search . and the directory the executable is in
10699    shlibpath_var=PATH
10700    ;;
# Line 9923 | Line 10715 | darwin* | rhapsody*)
10715    ;;
10716  
10717   dgux*)
10718 <  version_type=linux
10718 >  version_type=linux # correct to gnu/linux during the next big refactor
10719    need_lib_prefix=no
10720    need_version=no
10721    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9931 | Line 10723 | dgux*)
10723    shlibpath_var=LD_LIBRARY_PATH
10724    ;;
10725  
9934 freebsd1*)
9935  dynamic_linker=no
9936  ;;
9937
10726   freebsd* | dragonfly*)
10727    # DragonFly does not have aout.  When/if they implement a new
10728    # versioning mechanism, adjust this.
# Line 9942 | Line 10730 | freebsd* | dragonfly*)
10730      objformat=`/usr/bin/objformat`
10731    else
10732      case $host_os in
10733 <    freebsd[123]*) objformat=aout ;;
10733 >    freebsd[23].*) objformat=aout ;;
10734      *) objformat=elf ;;
10735      esac
10736    fi
# Line 9960 | Line 10748 | freebsd* | dragonfly*)
10748    esac
10749    shlibpath_var=LD_LIBRARY_PATH
10750    case $host_os in
10751 <  freebsd2*)
10751 >  freebsd2.*)
10752      shlibpath_overrides_runpath=yes
10753      ;;
10754    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9980 | Line 10768 | freebsd* | dragonfly*)
10768    ;;
10769  
10770   gnu*)
10771 <  version_type=linux
10771 >  version_type=linux # correct to gnu/linux during the next big refactor
10772    need_lib_prefix=no
10773    need_version=no
10774    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10775    soname_spec='${libname}${release}${shared_ext}$major'
10776    shlibpath_var=LD_LIBRARY_PATH
10777 +  shlibpath_overrides_runpath=no
10778 +  hardcode_into_libs=yes
10779 +  ;;
10780 +
10781 + haiku*)
10782 +  version_type=linux # correct to gnu/linux during the next big refactor
10783 +  need_lib_prefix=no
10784 +  need_version=no
10785 +  dynamic_linker="$host_os runtime_loader"
10786 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10787 +  soname_spec='${libname}${release}${shared_ext}$major'
10788 +  shlibpath_var=LIBRARY_PATH
10789 +  shlibpath_overrides_runpath=yes
10790 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10791    hardcode_into_libs=yes
10792    ;;
10793  
# Line 10031 | Line 10833 | hpux9* | hpux10* | hpux11*)
10833      soname_spec='${libname}${release}${shared_ext}$major'
10834      ;;
10835    esac
10836 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10836 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10837    postinstall_cmds='chmod 555 $lib'
10838 +  # or fails outright, so override atomically:
10839 +  install_override_mode=555
10840    ;;
10841  
10842   interix[3-9]*)
10843 <  version_type=linux
10843 >  version_type=linux # correct to gnu/linux during the next big refactor
10844    need_lib_prefix=no
10845    need_version=no
10846    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10052 | Line 10856 | irix5* | irix6* | nonstopux*)
10856      nonstopux*) version_type=nonstopux ;;
10857      *)
10858          if test "$lt_cv_prog_gnu_ld" = yes; then
10859 <                version_type=linux
10859 >                version_type=linux # correct to gnu/linux during the next big refactor
10860          else
10861                  version_type=irix
10862          fi ;;
# Line 10089 | Line 10893 | linux*oldld* | linux*aout* | linux*coff*
10893    dynamic_linker=no
10894    ;;
10895  
10896 < # This must be Linux ELF.
10897 < linux* | k*bsd*-gnu)
10898 <  version_type=linux
10896 > # This must be glibc/ELF.
10897 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10898 >  version_type=linux # correct to gnu/linux during the next big refactor
10899    need_lib_prefix=no
10900    need_version=no
10901    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10099 | Line 10903 | linux* | k*bsd*-gnu)
10903    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10904    shlibpath_var=LD_LIBRARY_PATH
10905    shlibpath_overrides_runpath=no
10906 +
10907    # Some binutils ld are patched to set DT_RUNPATH
10908 <  save_LDFLAGS=$LDFLAGS
10909 <  save_libdir=$libdir
10910 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10911 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10912 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10909 >  $as_echo_n "(cached) " >&6
10910 > else
10911 >  lt_cv_shlibpath_overrides_runpath=no
10912 >    save_LDFLAGS=$LDFLAGS
10913 >    save_libdir=$libdir
10914 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10915 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10916 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917   /* end confdefs.h.  */
10918  
10919   int
# Line 10117 | Line 10926 | main ()
10926   _ACEOF
10927   if ac_fn_c_try_link "$LINENO"; then :
10928    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10929 <  shlibpath_overrides_runpath=yes
10929 >  lt_cv_shlibpath_overrides_runpath=yes
10930   fi
10931   fi
10932   rm -f core conftest.err conftest.$ac_objext \
10933      conftest$ac_exeext conftest.$ac_ext
10934 <  LDFLAGS=$save_LDFLAGS
10935 <  libdir=$save_libdir
10934 >    LDFLAGS=$save_LDFLAGS
10935 >    libdir=$save_libdir
10936 >
10937 > fi
10938 >
10939 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10940  
10941    # This implies no fast_install, which is unacceptable.
10942    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 10945 | rm -f core conftest.err conftest.$ac_obj
10945  
10946    # Append ld.so.conf contents to the search path
10947    if test -f /etc/ld.so.conf; then
10948 <    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' ' '`
10948 >    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' ' '`
10949      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950    fi
10951  
# Line 10164 | Line 10977 | netbsd*)
10977    ;;
10978  
10979   newsos6)
10980 <  version_type=linux
10980 >  version_type=linux # correct to gnu/linux during the next big refactor
10981    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982    shlibpath_var=LD_LIBRARY_PATH
10983    shlibpath_overrides_runpath=yes
# Line 10233 | Line 11046 | rdos*)
11046    ;;
11047  
11048   solaris*)
11049 <  version_type=linux
11049 >  version_type=linux # correct to gnu/linux during the next big refactor
11050    need_lib_prefix=no
11051    need_version=no
11052    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10258 | Line 11071 | sunos4*)
11071    ;;
11072  
11073   sysv4 | sysv4.3*)
11074 <  version_type=linux
11074 >  version_type=linux # correct to gnu/linux during the next big refactor
11075    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076    soname_spec='${libname}${release}${shared_ext}$major'
11077    shlibpath_var=LD_LIBRARY_PATH
# Line 10282 | Line 11095 | sysv4 | sysv4.3*)
11095  
11096   sysv4*MP*)
11097    if test -d /usr/nec ;then
11098 <    version_type=linux
11098 >    version_type=linux # correct to gnu/linux during the next big refactor
11099      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11100      soname_spec='$libname${shared_ext}.$major'
11101      shlibpath_var=LD_LIBRARY_PATH
# Line 10313 | Line 11126 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11126  
11127   tpf*)
11128    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11129 <  version_type=linux
11129 >  version_type=linux # correct to gnu/linux during the next big refactor
11130    need_lib_prefix=no
11131    need_version=no
11132    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10323 | Line 11136 | tpf*)
11136    ;;
11137  
11138   uts4*)
11139 <  version_type=linux
11139 >  version_type=linux # correct to gnu/linux during the next big refactor
11140    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141    soname_spec='${libname}${release}${shared_ext}$major'
11142    shlibpath_var=LD_LIBRARY_PATH
# Line 10435 | Line 11248 | fi
11248  
11249  
11250  
11251 +
11252 +
11253 +
11254 +
11255 +
11256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11257   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11258   hardcode_action=
# Line 10507 | Line 11325 | else
11325    # if libdl is installed we need to link against it
11326      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11327   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11328 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11329    $as_echo_n "(cached) " >&6
11330   else
11331    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11359 | LIBS=$ac_check_lib_save_LIBS
11359   fi
11360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11361   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11362 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11363    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11364   else
11365  
# Line 10555 | Line 11373 | fi
11373  
11374    *)
11375      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11376 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 > if test "x$ac_cv_func_shl_load" = xyes; then :
11377    lt_cv_dlopen="shl_load"
11378   else
11379    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11380   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11381 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11382    $as_echo_n "(cached) " >&6
11383   else
11384    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11412 | LIBS=$ac_check_lib_save_LIBS
11412   fi
11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11414   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11415 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11415 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11416    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11417   else
11418    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11419 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11419 > if test "x$ac_cv_func_dlopen" = xyes; then :
11420    lt_cv_dlopen="dlopen"
11421   else
11422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11423   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11424 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11424 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11425    $as_echo_n "(cached) " >&6
11426   else
11427    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11455 | LIBS=$ac_check_lib_save_LIBS
11455   fi
11456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11457   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11458 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11458 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11459    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11460   else
11461    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11462   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11463 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11463 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11464    $as_echo_n "(cached) " >&6
11465   else
11466    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 11494 | LIBS=$ac_check_lib_save_LIBS
11494   fi
11495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11496   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11497 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11497 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11498    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11499   else
11500    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11501   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11502 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11502 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11503    $as_echo_n "(cached) " >&6
11504   else
11505    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 11533 | LIBS=$ac_check_lib_save_LIBS
11533   fi
11534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11535   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11536 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11536 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11537    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11538   fi
11539  
# Line 10756 | Line 11574 | fi
11574  
11575      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11576   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11577 < if test "${lt_cv_dlopen_self+set}" = set; then :
11577 > if ${lt_cv_dlopen_self+:} false; then :
11578    $as_echo_n "(cached) " >&6
11579   else
11580            if test "$cross_compiling" = yes; then :
# Line 10765 | Line 11583 | else
11583    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11584    lt_status=$lt_dlunknown
11585    cat > conftest.$ac_ext <<_LT_EOF
11586 < #line 10768 "configure"
11586 > #line $LINENO "configure"
11587   #include "confdefs.h"
11588  
11589   #if HAVE_DLFCN_H
# Line 10806 | Line 11624 | else
11624   #  endif
11625   #endif
11626  
11627 < void fnord() { int i=42;}
11627 > /* When -fvisbility=hidden is used, assume the code has been annotated
11628 >   correspondingly for the symbols needed.  */
11629 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11630 > int fnord () __attribute__((visibility("default")));
11631 > #endif
11632 >
11633 > int fnord () { return 42; }
11634   int main ()
11635   {
11636    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 11639 | int main ()
11639    if (self)
11640      {
11641        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11642 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11642 >      else
11643 >        {
11644 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11645 >          else puts (dlerror ());
11646 >        }
11647        /* dlclose (self); */
11648      }
11649    else
# Line 10852 | Line 11680 | $as_echo "$lt_cv_dlopen_self" >&6; }
11680        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11681        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11682   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11683 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11683 > if ${lt_cv_dlopen_self_static+:} false; then :
11684    $as_echo_n "(cached) " >&6
11685   else
11686            if test "$cross_compiling" = yes; then :
# Line 10861 | Line 11689 | else
11689    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11690    lt_status=$lt_dlunknown
11691    cat > conftest.$ac_ext <<_LT_EOF
11692 < #line 10864 "configure"
11692 > #line $LINENO "configure"
11693   #include "confdefs.h"
11694  
11695   #if HAVE_DLFCN_H
# Line 10902 | Line 11730 | else
11730   #  endif
11731   #endif
11732  
11733 < void fnord() { int i=42;}
11733 > /* When -fvisbility=hidden is used, assume the code has been annotated
11734 >   correspondingly for the symbols needed.  */
11735 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11736 > int fnord () __attribute__((visibility("default")));
11737 > #endif
11738 >
11739 > int fnord () { return 42; }
11740   int main ()
11741   {
11742    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 11745 | int main ()
11745    if (self)
11746      {
11747        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11748 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11748 >      else
11749 >        {
11750 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11751 >          else puts (dlerror ());
11752 >        }
11753        /* dlclose (self); */
11754      }
11755    else
# Line 11080 | Line 11918 | CC="$lt_save_CC"
11918  
11919  
11920  
11921 +
11922 +
11923          ac_config_commands="$ac_config_commands libtool"
11924  
11925  
# Line 11090 | Line 11930 | CC="$lt_save_CC"
11930  
11931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11932   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11933 < if test "${libltdl_cv_shlibext+set}" = set; then :
11933 > if ${libltdl_cv_shlibext+:} false; then :
11934    $as_echo_n "(cached) " >&6
11935   else
11936  
11937   module=yes
11938   eval libltdl_cv_shlibext=$shrext_cmds
11939 + module=no
11940 + eval libltdl_cv_shrext=$shrext_cmds
11941  
11942   fi
11943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 11949 | cat >>confdefs.h <<_ACEOF
11949   _ACEOF
11950  
11951   fi
11952 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11953 +
11954 + cat >>confdefs.h <<_ACEOF
11955 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11956 + _ACEOF
11957 +
11958 + fi
11959  
11960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11961   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11962 < if test "${lt_cv_module_path_var+set}" = set; then :
11962 > if ${lt_cv_module_path_var+:} false; then :
11963    $as_echo_n "(cached) " >&6
11964   else
11965    lt_cv_module_path_var="$shlibpath_var"
# Line 11127 | Line 11976 | fi
11976  
11977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11978   $as_echo_n "checking for the default library search path... " >&6; }
11979 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11979 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11980    $as_echo_n "(cached) " >&6
11981   else
11982    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11164 | Line 12013 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12013   LIBADD_DLOPEN=
12014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12015   $as_echo_n "checking for library containing dlopen... " >&6; }
12016 < if test "${ac_cv_search_dlopen+set}" = set; then :
12016 > if ${ac_cv_search_dlopen+:} false; then :
12017    $as_echo_n "(cached) " >&6
12018   else
12019    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12047 | for ac_lib in '' dl; do
12047   fi
12048   rm -f core conftest.err conftest.$ac_objext \
12049      conftest$ac_exeext
12050 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12050 >  if ${ac_cv_search_dlopen+:} false; then :
12051    break
12052   fi
12053   done
12054 < if test "${ac_cv_search_dlopen+set}" = set; then :
12054 > if ${ac_cv_search_dlopen+:} false; then :
12055  
12056   else
12057    ac_cv_search_dlopen=no
# Line 11247 | Line 12096 | $as_echo "#define HAVE_LIBDL 1" >>confde
12096   else
12097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12098   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12099 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12099 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12100    $as_echo_n "(cached) " >&6
12101   else
12102    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12130 | LIBS=$ac_check_lib_save_LIBS
12130   fi
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12132   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12133 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12133 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12134  
12135   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12136  
# Line 11301 | Line 12150 | then
12150    for ac_func in dlerror
12151   do :
12152    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12153 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12153 > if test "x$ac_cv_func_dlerror" = xyes; then :
12154    cat >>confdefs.h <<_ACEOF
12155   #define HAVE_DLERROR 1
12156   _ACEOF
# Line 11315 | Line 12164 | fi
12164  
12165   LIBADD_SHL_LOAD=
12166   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12167 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12167 > if test "x$ac_cv_func_shl_load" = xyes; then :
12168  
12169   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12170  
# Line 11323 | Line 12172 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12172   else
12173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12174   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12175 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12175 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12176    $as_echo_n "(cached) " >&6
12177   else
12178    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12206 | LIBS=$ac_check_lib_save_LIBS
12206   fi
12207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12208   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12209 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12209 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12210  
12211   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12212  
# Line 11373 | Line 12222 | case $host_os in
12222   darwin[1567].*)
12223   # We only want this for pre-Mac OS X 10.4.
12224    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12225 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12225 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12226  
12227   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12228  
# Line 11387 | Line 12236 | beos*)
12236   cygwin* | mingw* | os2* | pw32*)
12237    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12238   "
12239 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12239 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12240    ac_have_decl=1
12241   else
12242    ac_have_decl=0
# Line 11403 | Line 12252 | esac
12252  
12253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12254   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12255 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12255 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12256    $as_echo_n "(cached) " >&6
12257   else
12258    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12286 | LIBS=$ac_check_lib_save_LIBS
12286   fi
12287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12288   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12289 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12289 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12290  
12291   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12292  
# Line 11471 | Line 12320 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12320  
12321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12322   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12323 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12323 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12324    $as_echo_n "(cached) " >&6
12325   else
12326    lt_cv_sys_symbol_underscore=no
# Line 11521 | Line 12370 | if test x"$lt_cv_sys_symbol_underscore"
12370       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12371          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12372   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12373 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12373 > if ${libltdl_cv_need_uscore+:} false; then :
12374    $as_echo_n "(cached) " >&6
12375   else
12376    libltdl_cv_need_uscore=unknown
# Line 11533 | Line 12382 | else
12382    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12383    lt_status=$lt_dlunknown
12384    cat > conftest.$ac_ext <<_LT_EOF
12385 < #line 11536 "configure"
12385 > #line $LINENO "configure"
12386   #include "confdefs.h"
12387  
12388   #if HAVE_DLFCN_H
# Line 11574 | Line 12423 | else
12423   #  endif
12424   #endif
12425  
12426 < void fnord() { int i=42;}
12426 > /* When -fvisbility=hidden is used, assume the code has been annotated
12427 >   correspondingly for the symbols needed.  */
12428 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12429 > int fnord () __attribute__((visibility("default")));
12430 > #endif
12431 >
12432 > int fnord () { return 42; }
12433   int main ()
12434   {
12435    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11583 | Line 12438 | int main ()
12438    if (self)
12439      {
12440        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12441 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12441 >      else
12442 >        {
12443 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12444 >          else puts (dlerror ());
12445 >        }
12446        /* dlclose (self); */
12447      }
12448    else
# Line 11627 | Line 12486 | fi
12486  
12487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12488   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12489 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12489 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12490    $as_echo_n "(cached) " >&6
12491   else
12492    # PORTME does your system automatically load deplibs for dlopen?
# Line 11659 | Line 12518 | else
12518    freebsd* | dragonfly*)
12519      lt_cv_sys_dlopen_deplibs=yes
12520      ;;
12521 <  gnu* | linux* | k*bsd*-gnu)
12521 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12522      # GNU and its variants, using gnu ld.so (Glibc)
12523      lt_cv_sys_dlopen_deplibs=yes
12524      ;;
# Line 11733 | Line 12592 | for ac_header in argz.h
12592   do :
12593    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12594   "
12595 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12595 > if test "x$ac_cv_header_argz_h" = xyes; then :
12596    cat >>confdefs.h <<_ACEOF
12597   #define HAVE_ARGZ_H 1
12598   _ACEOF
# Line 11747 | Line 12606 | ac_fn_c_check_type "$LINENO" "error_t" "
12606   #  include <argz.h>
12607   #endif
12608   "
12609 < if test "x$ac_cv_type_error_t" = x""yes; then :
12609 > if test "x$ac_cv_type_error_t" = xyes; then :
12610  
12611   cat >>confdefs.h <<_ACEOF
12612   #define HAVE_ERROR_T 1
# Line 11770 | Line 12629 | for ac_func in argz_add argz_append argz
12629   do :
12630    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12631   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12632 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
12632 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12633    cat >>confdefs.h <<_ACEOF
12634   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12635   _ACEOF
# Line 11788 | Line 12646 | done
12646   if test -z "$ARGZ_H"; then :
12647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12648   $as_echo_n "checking if argz actually works... " >&6; }
12649 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12649 > if ${lt_cv_sys_argz_works+:} false; then :
12650    $as_echo_n "(cached) " >&6
12651   else
12652    case $host_os in #(
# Line 11819 | Line 12677 | else
12677   fi
12678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12679   $as_echo "$lt_cv_sys_argz_works" >&6; }
12680 <     if test $lt_cv_sys_argz_works = yes; then :
12680 >     if test "$lt_cv_sys_argz_works" = yes; then :
12681  
12682   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12683  
# Line 11836 | Line 12694 | fi
12694  
12695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12696   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12697 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12697 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12698    $as_echo_n "(cached) " >&6
12699   else
12700    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11854 | Line 12712 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12712  
12713   fi
12714  
11857
11858
12715   # Set options
12716  
12717  
# Line 11868 | Line 12724 | fi
12724  
12725  
12726  
11871
12727   # Check whether --with-included_ltdl was given.
12728   if test "${with_included_ltdl+set}" = set; then :
12729    withval=$with_included_ltdl;
# Line 11881 | Line 12736 | if test "x$with_included_ltdl" != xyes;
12736    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12737  
12738   "
12739 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12739 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12740    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12741              #include <ltdl.h>
12742   "
12743 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12743 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12745   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12746 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12746 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12747    $as_echo_n "(cached) " >&6
12748   else
12749    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 12777 | LIBS=$ac_check_lib_save_LIBS
12777   fi
12778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12779   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12780 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12780 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12781    with_included_ltdl=no
12782   else
12783    with_included_ltdl=yes
# Line 11951 | Line 12806 | fi
12806   if test -n "$with_ltdl_include"; then
12807    if test -f "$with_ltdl_include/ltdl.h"; then :
12808    else
12809 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12809 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12810    fi
12811   else
12812    with_ltdl_include=no
# Line 11967 | Line 12822 | fi
12822   if test -n "$with_ltdl_lib"; then
12823    if test -f "$with_ltdl_lib/libltdl.la"; then :
12824    else
12825 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12825 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12826    fi
12827   else
12828    with_ltdl_lib=no
# Line 11976 | Line 12831 | fi
12831   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12832    ,yes,no,no,)
12833          case $enable_ltdl_convenience in
12834 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12834 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12835    "") enable_ltdl_convenience=yes
12836        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12837   esac
# Line 12004 | Line 12859 | $as_echo "#define HAVE_LTDL 1" >>confdef
12859          LTDLINCL=
12860          ;;
12861    ,no*,no,*)
12862 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12862 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12863          ;;
12864    *)    with_included_ltdl=no
12865          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12055 | Line 12910 | fi
12910  
12911  
12912  
12058    subdirs="$subdirs libltdl"
12059
12060
12913  
12914  
12915  
# Line 12074 | Line 12926 | do :
12926    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12927   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12928   "
12929 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
12929 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12930    cat >>confdefs.h <<_ACEOF
12931   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12932   _ACEOF
# Line 12089 | Line 12940 | for ac_func in closedir opendir readdir
12940   do :
12941    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12942   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12943 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
12943 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12944    cat >>confdefs.h <<_ACEOF
12945   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12946   _ACEOF
# Line 12107 | Line 12957 | for ac_func in strlcat strlcpy
12957   do :
12958    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12959   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12960 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
12960 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12961    cat >>confdefs.h <<_ACEOF
12962   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12963   _ACEOF
# Line 12128 | Line 12977 | cat >>confdefs.h <<_ACEOF
12977   _ACEOF
12978  
12979  
12980 + name=
12981 + eval "lt_libprefix=\"$libname_spec\""
12982 +
12983 + cat >>confdefs.h <<_ACEOF
12984 + #define LT_LIBPREFIX "$lt_libprefix"
12985 + _ACEOF
12986 +
12987 +
12988   name=ltdl
12989 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12989 > eval "LTDLOPEN=\"$libname_spec\""
12990  
12991  
12992  
# Line 12147 | Line 13004 | LIBTOOL="$LIBTOOL --silent"
13004  
13005    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13006   $as_echo_n "checking for library containing socket... " >&6; }
13007 < if test "${ac_cv_search_socket+set}" = set; then :
13007 > if ${ac_cv_search_socket+:} false; then :
13008    $as_echo_n "(cached) " >&6
13009   else
13010    ac_func_search_save_LIBS=$LIBS
# Line 12181 | Line 13038 | for ac_lib in '' socket; do
13038   fi
13039   rm -f core conftest.err conftest.$ac_objext \
13040      conftest$ac_exeext
13041 <  if test "${ac_cv_search_socket+set}" = set; then :
13041 >  if ${ac_cv_search_socket+:} false; then :
13042    break
13043   fi
13044   done
13045 < if test "${ac_cv_search_socket+set}" = set; then :
13045 > if ${ac_cv_search_socket+:} false; then :
13046  
13047   else
13048    ac_cv_search_socket=no
# Line 12200 | Line 13057 | if test "$ac_res" != no; then :
13057    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13058  
13059   else
13060 <  as_fn_error "socket library not found" "$LINENO" 5
13060 >  as_fn_error $? "socket library not found" "$LINENO" 5
13061 > fi
13062 >
13063 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13064 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13065 > if ${ac_cv_search_inet_ntoa+:} false; then :
13066 >  $as_echo_n "(cached) " >&6
13067 > else
13068 >  ac_func_search_save_LIBS=$LIBS
13069 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 > /* end confdefs.h.  */
13071 >
13072 > /* Override any GCC internal prototype to avoid an error.
13073 >   Use char because int might match the return type of a GCC
13074 >   builtin and then its argument prototype would still apply.  */
13075 > #ifdef __cplusplus
13076 > extern "C"
13077 > #endif
13078 > char inet_ntoa ();
13079 > int
13080 > main ()
13081 > {
13082 > return inet_ntoa ();
13083 >  ;
13084 >  return 0;
13085 > }
13086 > _ACEOF
13087 > for ac_lib in '' nsl; do
13088 >  if test -z "$ac_lib"; then
13089 >    ac_res="none required"
13090 >  else
13091 >    ac_res=-l$ac_lib
13092 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13093 >  fi
13094 >  if ac_fn_c_try_link "$LINENO"; then :
13095 >  ac_cv_search_inet_ntoa=$ac_res
13096 > fi
13097 > rm -f core conftest.err conftest.$ac_objext \
13098 >    conftest$ac_exeext
13099 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13100 >  break
13101 > fi
13102 > done
13103 > if ${ac_cv_search_inet_ntoa+:} false; then :
13104 >
13105 > else
13106 >  ac_cv_search_inet_ntoa=no
13107 > fi
13108 > rm conftest.$ac_ext
13109 > LIBS=$ac_func_search_save_LIBS
13110 > fi
13111 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13112 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13113 > ac_res=$ac_cv_search_inet_ntoa
13114 > if test "$ac_res" != no; then :
13115 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13116 >
13117 > fi
13118 >
13119 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13120 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13121 > if ${ac_cv_search_inet_aton+:} false; then :
13122 >  $as_echo_n "(cached) " >&6
13123 > else
13124 >  ac_func_search_save_LIBS=$LIBS
13125 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 > /* end confdefs.h.  */
13127 >
13128 > /* Override any GCC internal prototype to avoid an error.
13129 >   Use char because int might match the return type of a GCC
13130 >   builtin and then its argument prototype would still apply.  */
13131 > #ifdef __cplusplus
13132 > extern "C"
13133 > #endif
13134 > char inet_aton ();
13135 > int
13136 > main ()
13137 > {
13138 > return inet_aton ();
13139 >  ;
13140 >  return 0;
13141 > }
13142 > _ACEOF
13143 > for ac_lib in '' resolv; do
13144 >  if test -z "$ac_lib"; then
13145 >    ac_res="none required"
13146 >  else
13147 >    ac_res=-l$ac_lib
13148 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13149 >  fi
13150 >  if ac_fn_c_try_link "$LINENO"; then :
13151 >  ac_cv_search_inet_aton=$ac_res
13152 > fi
13153 > rm -f core conftest.err conftest.$ac_objext \
13154 >    conftest$ac_exeext
13155 >  if ${ac_cv_search_inet_aton+:} false; then :
13156 >  break
13157 > fi
13158 > done
13159 > if ${ac_cv_search_inet_aton+:} false; then :
13160 >
13161 > else
13162 >  ac_cv_search_inet_aton=no
13163 > fi
13164 > rm conftest.$ac_ext
13165 > LIBS=$ac_func_search_save_LIBS
13166 > fi
13167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13168 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13169 > ac_res=$ac_cv_search_inet_aton
13170 > if test "$ac_res" != no; then :
13171 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13172 >
13173   fi
13174  
13175    for ac_func in inet_aton inet_ntop inet_pton
13176   do :
13177    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13178   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13179 < eval as_val=\$$as_ac_var
12211 <   if test "x$as_val" = x""yes; then :
13179 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13180    cat >>confdefs.h <<_ACEOF
13181   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13182   _ACEOF
# Line 12221 | Line 13189 | done
13189     #include <netdb.h>
13190  
13191   "
13192 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13192 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13193  
13194   cat >>confdefs.h <<_ACEOF
13195   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12234 | Line 13202 | ac_fn_c_check_type "$LINENO" "struct soc
13202     #include <netdb.h>
13203  
13204   "
13205 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13205 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13206  
13207   cat >>confdefs.h <<_ACEOF
13208   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12247 | Line 13215 | ac_fn_c_check_type "$LINENO" "struct add
13215     #include <netdb.h>
13216  
13217   "
13218 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13218 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13219  
13220   cat >>confdefs.h <<_ACEOF
13221   #define HAVE_STRUCT_ADDRINFO 1
# Line 12259 | Line 13227 | fi
13227    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13228    <sys/socket.h>
13229   "
13230 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13230 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13231  
13232   cat >>confdefs.h <<_ACEOF
13233   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12270 | Line 13238 | fi
13238  
13239  
13240  
13241 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13242 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13243 <
12276 < cat >>confdefs.h <<_ACEOF
12277 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12278 < _ACEOF
12279 <
12280 <
12281 < else
13241 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13242 > "
13243 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13244  
13245   $as_echo "#define IPV6 1" >>confdefs.h
13246  
# Line 12289 | Line 13251 | fi
13251   # Checks for typedefs, structures, and compiler characteristics.
13252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13253   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13254 < if test "${ac_cv_c_bigendian+set}" = set; then :
13254 > if ${ac_cv_c_bigendian+:} false; then :
13255    $as_echo_n "(cached) " >&6
13256   else
13257    ac_cv_c_bigendian=unknown
# Line 12507 | Line 13469 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13469  
13470       ;; #(
13471     *)
13472 <     as_fn_error "unknown endianness
13472 >     as_fn_error $? "unknown endianness
13473   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13474   esac
13475  
# Line 12520 | Line 13482 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13482   do :
13483    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13484   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13485 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
13485 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13486    cat >>confdefs.h <<_ACEOF
13487   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488   _ACEOF
# Line 12550 | Line 13511 | do :
13511    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13512   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13513   "
13514 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
13514 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13515    cat >>confdefs.h <<_ACEOF
13516   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13517   _ACEOF
# Line 12576 | Line 13536 | done
13536  
13537  
13538  
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589 # check for /dev/null so we can use it to hold evil fd's
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 $as_echo_n "checking for /dev/null... " >&6; }
12592 if test -c /dev/null; then :
12593
12594
12595 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599 else
12600
12601
12602 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 $as_echo "no - using devnull.log" >&6; }
12606 fi
12607
12608
13539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13540   $as_echo_n "checking for library containing crypt... " >&6; }
13541 < if test "${ac_cv_search_crypt+set}" = set; then :
13541 > if ${ac_cv_search_crypt+:} false; then :
13542    $as_echo_n "(cached) " >&6
13543   else
13544    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 13572 | for ac_lib in '' crypt; do
13572   fi
13573   rm -f core conftest.err conftest.$ac_objext \
13574      conftest$ac_exeext
13575 <  if test "${ac_cv_search_crypt+set}" = set; then :
13575 >  if ${ac_cv_search_crypt+:} false; then :
13576    break
13577   fi
13578   done
13579 < if test "${ac_cv_search_crypt+set}" = set; then :
13579 > if ${ac_cv_search_crypt+:} false; then :
13580  
13581   else
13582    ac_cv_search_crypt=no
# Line 12665 | Line 13595 | fi
13595  
13596  
13597  
12668 # Check whether --with-zlib-path was given.
12669 if test "${with_zlib_path+set}" = set; then :
12670  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12671 fi
12672
12673
12674 # Check whether --enable-zlib was given.
12675 if test "${enable_zlib+set}" = set; then :
12676  enableval=$enable_zlib; zlib=$enableval
12677 else
12678  zlib=yes
12679 fi
12680
12681
12682 if test "$zlib" = "yes"; then :
12683
12684  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12689  $as_echo_n "(cached) " >&6
12690 else
12691  ac_check_lib_save_LIBS=$LIBS
12692 LIBS="-lz  $LIBS"
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h.  */
12695
12696 /* Override any GCC internal prototype to avoid an error.
12697   Use char because int might match the return type of a GCC
12698   builtin and then its argument prototype would still apply.  */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char zlibVersion ();
12703 int
12704 main ()
12705 {
12706 return zlibVersion ();
12707  ;
12708  return 0;
12709 }
12710 _ACEOF
12711 if ac_fn_c_try_link "$LINENO"; then :
12712  ac_cv_lib_z_zlibVersion=yes
12713 else
12714  ac_cv_lib_z_zlibVersion=no
12715 fi
12716 rm -f core conftest.err conftest.$ac_objext \
12717    conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_lib_save_LIBS
12719 fi
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12723
12724      LIBS="-lz $LIBS"
12725
12726 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12727
12728
12729 else
12730  zlib=no
12731 fi
12732
12733
12734 else
12735  zlib=no
12736 fi
12737
12738
12739
12740 fi
12741
12742
13598   # Check whether --with-libpcre-path was given.
13599   if test "${with_libpcre_path+set}" = set; then :
13600    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 12757 | Line 13612 | fi
13612   if test "$libpcre" = "yes"; then :
13613  
13614    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13615 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13615 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13616    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13617   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13618 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13618 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13619    $as_echo_n "(cached) " >&6
13620   else
13621    ac_check_lib_save_LIBS=$LIBS
# Line 12794 | Line 13649 | LIBS=$ac_check_lib_save_LIBS
13649   fi
13650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13651   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13652 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13652 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13653  
13654        LIBS="-lpcre $LIBS"
13655  
# Line 12862 | Line 13717 | if test "$cf_enable_openssl" != "no"; th
13717    fi
13718  
13719        if test ! -z "$cf_openssl_basedir"; then
12865    LIBS="-lcrypto -lssl $LIBS"
13720      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13721   $as_echo "$cf_openssl_basedir" >&6; }
13722      cf_enable_openssl="yes"
12869
12870 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871
13723    else
13724      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13725   $as_echo "not found. Please check your path." >&6; }
# Line 12881 | Line 13732 | $as_echo "disabled" >&6; }
13732   fi
13733  
13734   if test "$cf_enable_openssl" != "no"; then :
13735 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13736 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13735 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13736 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13737    if test "$cross_compiling" = yes; then :
13738    cf_openssl_version_ok=no
13739   else
13740    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741   /* end confdefs.h.  */
13742  
13743 +
13744      #include <openssl/opensslv.h>
13745      #include <stdlib.h>
13746   int
13747   main ()
13748   {
13749 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13749 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13750    ;
13751    return 0;
13752   }
# Line 12913 | Line 13765 | fi
13765    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13766   $as_echo "found" >&6; }
13767  
13768 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13768 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13769 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13770 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13771 >  $as_echo_n "(cached) " >&6
13772 > else
13773 >  ac_check_lib_save_LIBS=$LIBS
13774 > LIBS="-lssl  $LIBS"
13775 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 > /* end confdefs.h.  */
13777 >
13778 > /* Override any GCC internal prototype to avoid an error.
13779 >   Use char because int might match the return type of a GCC
13780 >   builtin and then its argument prototype would still apply.  */
13781 > #ifdef __cplusplus
13782 > extern "C"
13783 > #endif
13784 > char SSL_connect ();
13785 > int
13786 > main ()
13787 > {
13788 > return SSL_connect ();
13789 >  ;
13790 >  return 0;
13791 > }
13792 > _ACEOF
13793 > if ac_fn_c_try_link "$LINENO"; then :
13794 >  ac_cv_lib_ssl_SSL_connect=yes
13795 > else
13796 >  ac_cv_lib_ssl_SSL_connect=no
13797 > fi
13798 > rm -f core conftest.err conftest.$ac_objext \
13799 >    conftest$ac_exeext conftest.$ac_ext
13800 > LIBS=$ac_check_lib_save_LIBS
13801 > fi
13802 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13803 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13804 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13805 >  cat >>confdefs.h <<_ACEOF
13806 > #define HAVE_LIBSSL 1
13807 > _ACEOF
13808 >
13809 >  LIBS="-lssl $LIBS"
13810 >
13811 > fi
13812 >
13813 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13814 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13815   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13816 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13816 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13817    $as_echo_n "(cached) " >&6
13818   else
13819    ac_check_lib_save_LIBS=$LIBS
# Line 12949 | Line 13847 | LIBS=$ac_check_lib_save_LIBS
13847   fi
13848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13849   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13850 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13850 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13851    cat >>confdefs.h <<_ACEOF
13852   #define HAVE_LIBCRYPTO 1
13853   _ACEOF
# Line 12958 | Line 13856 | _ACEOF
13856  
13857   fi
13858  
12961    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
12962  for ac_func in EVP_bf_cfb           \
12963                      EVP_cast5_cfb        \
12964                      EVP_idea_cfb         \
12965                      EVP_rc5_32_12_16_cfb \
12966                      EVP_des_ede3_cfb     \
12967                      EVP_des_cfb
12968 do :
12969  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12971 eval as_val=\$$as_ac_var
12972   if test "x$as_val" = x""yes; then :
12973  cat >>confdefs.h <<_ACEOF
12974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 _ACEOF
12976
12977 fi
12978 done
12979
13859   fi
13860  
13861   else
# Line 12986 | Line 13865 | $as_echo "no - OpenSSL support disabled"
13865   fi
13866   fi
13867  
13868 < if test "$cf_enable_openssl" = yes; then
13868 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13869    ENABLE_SSL_TRUE=
13870    ENABLE_SSL_FALSE='#'
13871   else
# Line 13191 | Line 14070 | _ACEOF
14070    if test "$cross_compiling" = yes; then :
14071    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14072   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14073 < as_fn_error "cannot run test program while cross compiling
14074 < See \`config.log' for more details." "$LINENO" 5; }
14073 > as_fn_error $? "cannot run test program while cross compiling
14074 > See \`config.log' for more details" "$LINENO" 5; }
14075   else
14076    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077   /* end confdefs.h.  */
# Line 13225 | Line 14104 | else
14104   #endif
14105   _syscall1(int, epoll_create, int, size)
14106   #endif
13228 main() { return epoll_create(256) == -1 ? 1 : 0; }
14107  
14108 + int
14109 + main ()
14110 + {
14111 + return epoll_create(256) == -1 ? 1 : 0
14112 +  ;
14113 +  return 0;
14114 + }
14115   _ACEOF
14116   if ac_fn_c_try_run "$LINENO"; then :
14117    is_epoll_mechanism_available="yes"
# Line 13296 | Line 14181 | _ACEOF
14181    if test "$cross_compiling" = yes; then :
14182    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14183   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14184 < as_fn_error "cannot run test program while cross compiling
14185 < See \`config.log' for more details." "$LINENO" 5; }
14184 > as_fn_error $? "cannot run test program while cross compiling
14185 > See \`config.log' for more details" "$LINENO" 5; }
14186   else
14187    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188   /* end confdefs.h.  */
14189  
14190 + #define _GNU_SOURCE
14191   #include <fcntl.h>
14192 < #ifdef F_SETSIG
13307 < main () { return 0; } /* F_SETSIG defined */
13308 < #else
13309 < main () { return 1; } /* F_SETSIG not defined */
13310 < #endif
14192 > static unsigned int have_f_setsig = 0;
14193  
14194   int
14195   main ()
14196   {
14197  
14198 + #ifdef F_SETSIG
14199 +  have_f_setsig = 1;
14200 + #endif
14201 +  return have_f_setsig == 0;
14202 +
14203    ;
14204    return 0;
14205   }
# Line 13446 | Line 14333 | rm -f core conftest.err conftest.$ac_obj
14333      if test "$optimal_iopoll_mechanism" = "none" ; then
14334        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14335   $as_echo "none" >&6; }
14336 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14336 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14337      else
14338        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14339        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13461 | Line 14348 | $as_echo "$selected_iopoll_mechanism" >&
14348      else
14349        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14350   $as_echo "none" >&6; }
14351 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14351 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14352      fi
14353    fi
14354        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13502 | Line 14389 | _ACEOF
14389  
14390  
14391  
13505
13506 # Check whether --with-syslog-facility was given.
13507 if test "${with_syslog_facility+set}" = set; then :
13508  withval=$with_syslog_facility; syslog_facility="$withval"
13509 else
13510  syslog_facility="LOG_LOCAL4"
13511 fi
13512
13513
13514 cat >>confdefs.h <<_ACEOF
13515 #define LOG_FACILITY $syslog_facility
13516 _ACEOF
13517
13518
13519
14392    # Check whether --enable-efnet was given.
14393   if test "${enable_efnet+set}" = set; then :
14394    enableval=$enable_efnet; efnet="$enableval"
# Line 13529 | Line 14401 | fi
14401  
14402   $as_echo "#define EFNET 1" >>confdefs.h
14403  
13532
13533 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13534
14404          else
14405                  use_efnet="no"
14406    fi
# Line 13590 | Line 14459 | fi
14459    fi
14460  
14461  
13593  for ac_header in syslog.h sys/syslog.h
13594 do :
13595  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13596 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13597 eval as_val=\$$as_ac_Header
13598   if test "x$as_val" = x""yes; then :
13599  cat >>confdefs.h <<_ACEOF
13600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13601 _ACEOF
13602
13603 fi
13604
13605 done
13606
13607  # Check whether --enable-syslog was given.
13608 if test "${enable_syslog+set}" = set; then :
13609  enableval=$enable_syslog; syslog="$enableval"
13610 else
13611  syslog="no"
13612 fi
13613
13614  if test "$enableval" != "no" ; then
13615    for option in $enableval ; do
13616      case "$option" in
13617        users)
13618 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 ;;
13620        oper)
13621 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 ;;
13623        yes) : ;;
13624        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625      esac
13626    done
13627
13628 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13629
13630  fi
13631
13632
14462  
14463    prefix_NONE=
14464    exec_prefix_NONE=
# Line 13716 | Line 14545 | _ACEOF
14545    test "$exec_prefix_NONE" && exec_prefix=NONE
14546  
14547  
14548 < 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"
14548 > ac_config_files="$ac_config_files 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"
14549  
14550  
14551   cat >confcache <<\_ACEOF
# Line 13783 | Line 14612 | $as_echo "$as_me: WARNING: cache variabl
14612       :end' >>confcache
14613   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14614    if test -w "$cache_file"; then
14615 <    test "x$cache_file" != "x/dev/null" &&
14615 >    if test "x$cache_file" != "x/dev/null"; then
14616        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14617   $as_echo "$as_me: updating cache $cache_file" >&6;}
14618 <    cat confcache >$cache_file
14618 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14619 >        cat confcache >"$cache_file"
14620 >      else
14621 >        case $cache_file in #(
14622 >        */* | ?:*)
14623 >          mv -f confcache "$cache_file"$$ &&
14624 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14625 >        *)
14626 >          mv -f confcache "$cache_file" ;;
14627 >        esac
14628 >      fi
14629 >    fi
14630    else
14631      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14632   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 14642 | DEFS=-DHAVE_CONFIG_H
14642  
14643   ac_libobjs=
14644   ac_ltlibobjs=
14645 + U=
14646   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14647    # 1. Remove the extension, and $U if already installed.
14648    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13825 | Line 14666 | else
14666   fi
14667  
14668   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14669 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14669 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14670   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14671   fi
14672   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14673 <  as_fn_error "conditional \"AMDEP\" was never defined.
14673 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14674   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14675   fi
14676   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14677 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14677 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14678   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14679   fi
14680   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14681 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14681 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14682   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14683   fi
14684   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14685 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14685 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14686   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14687   fi
14688   LT_CONFIG_H=config.h
# Line 13863 | Line 14704 | LT_CONFIG_H=config.h
14704  
14705  
14706   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14707 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14707 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14708   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14709   fi
14710   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14711 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14711 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14712   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14713   fi
14714   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14715 <  as_fn_error "conditional \"EFNET\" was never defined.
14715 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14716   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14717   fi
14718  
14719 < : ${CONFIG_STATUS=./config.status}
14719 > : "${CONFIG_STATUS=./config.status}"
14720   ac_write_fail=0
14721   ac_clean_files_save=$ac_clean_files
14722   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 14817 | fi
14817   IFS=" ""        $as_nl"
14818  
14819   # Find who we are.  Look in the path if we contain no directory separator.
14820 + as_myself=
14821   case $0 in #((
14822    *[\\/]* ) as_myself=$0 ;;
14823    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 14863 | export LANGUAGE
14863   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14864  
14865  
14866 < # as_fn_error ERROR [LINENO LOG_FD]
14867 < # ---------------------------------
14866 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14867 > # ----------------------------------------
14868   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14869   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14870 < # script with status $?, using 1 if that was 0.
14870 > # script with STATUS, using 1 if that was 0.
14871   as_fn_error ()
14872   {
14873 <  as_status=$?; test $as_status -eq 0 && as_status=1
14874 <  if test "$3"; then
14875 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14876 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14873 >  as_status=$1; test $as_status -eq 0 && as_status=1
14874 >  if test "$4"; then
14875 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14876 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14877    fi
14878 <  $as_echo "$as_me: error: $1" >&2
14878 >  $as_echo "$as_me: error: $2" >&2
14879    as_fn_exit $as_status
14880   } # as_fn_error
14881  
# Line 14229 | Line 15071 | $as_echo X"$as_dir" |
15071        test -d "$as_dir" && break
15072      done
15073      test -z "$as_dirs" || eval "mkdir $as_dirs"
15074 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15074 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15075  
15076  
15077   } # as_fn_mkdir_p
# Line 14282 | Line 15124 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15124   # report actual input values of CONFIG_FILES etc. instead of their
15125   # values after options handling.
15126   ac_log="
15127 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15128 < generated by GNU Autoconf 2.65.  Invocation command line was
15127 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15128 > generated by GNU Autoconf 2.68.  Invocation command line was
15129  
15130    CONFIG_FILES    = $CONFIG_FILES
15131    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 15190 | _ACEOF
15190   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15191   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15192   ac_cs_version="\\
15193 < ircd-hybrid config.status 7.3-rc1
15194 < configured by $0, generated by GNU Autoconf 2.65,
15193 > ircd-hybrid config.status 8beta1
15194 > configured by $0, generated by GNU Autoconf 2.68,
15195    with options \\"\$ac_cs_config\\"
15196  
15197 < Copyright (C) 2009 Free Software Foundation, Inc.
15197 > Copyright (C) 2010 Free Software Foundation, Inc.
15198   This config.status script is free software; the Free Software Foundation
15199   gives unlimited permission to copy, distribute and modify it."
15200  
# Line 14370 | Line 15212 | ac_need_defaults=:
15212   while test $# != 0
15213   do
15214    case $1 in
15215 <  --*=*)
15215 >  --*=?*)
15216      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15217      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15218      ac_shift=:
15219      ;;
15220 +  --*=)
15221 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15222 +    ac_optarg=
15223 +    ac_shift=:
15224 +    ;;
15225    *)
15226      ac_option=$1
15227      ac_optarg=$2
# Line 14396 | Line 15243 | do
15243      $ac_shift
15244      case $ac_optarg in
15245      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15246 +    '') as_fn_error $? "missing file argument" ;;
15247      esac
15248      as_fn_append CONFIG_FILES " '$ac_optarg'"
15249      ac_need_defaults=false;;
# Line 14408 | Line 15256 | do
15256      ac_need_defaults=false;;
15257    --he | --h)
15258      # Conflict between --help and --header
15259 <    as_fn_error "ambiguous option: \`$1'
15259 >    as_fn_error $? "ambiguous option: \`$1'
15260   Try \`$0 --help' for more information.";;
15261    --help | --hel | -h )
15262      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 15265 | Try \`$0 --help' for more information.";
15265      ac_cs_silent=: ;;
15266  
15267    # This is an error.
15268 <  -*) as_fn_error "unrecognized option: \`$1'
15268 >  -*) as_fn_error $? "unrecognized option: \`$1'
15269   Try \`$0 --help' for more information." ;;
15270  
15271    *) as_fn_append ac_config_targets " $1"
# Line 14471 | Line 15319 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15319   sed_quote_subst='$sed_quote_subst'
15320   double_quote_subst='$double_quote_subst'
15321   delay_variable_subst='$delay_variable_subst'
15322 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15323 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15324 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15325 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15326 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15327 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15328 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15329 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15330 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15331 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15332 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15333 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15334 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15335 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15336 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15337 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15338 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15339 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15340 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15341 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15342 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15343 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15344 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15345 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15346 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15347 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15348 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15349 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15350 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15351 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15352 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15353 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15354 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15355 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15356 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15357 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15358 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15359 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15360 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15361 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15362 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15363 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15364 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15365 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15366 < 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"`'
15367 < 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"`'
15368 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15369 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15370 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15371 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15372 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15373 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15374 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15375 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15376 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15377 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15378 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15379 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15380 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15381 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15382 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15383 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15384 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15385 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15386 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15387 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15388 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15389 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15390 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15391 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15392 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15393 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15394 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15395 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15396 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15397 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15398 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15399 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15400 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15401 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15402 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15403 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15404 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15405 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15406 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15407 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15408 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15409 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15410 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15411 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15412 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15413 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15414 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15415 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15416 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15417 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15418 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15419 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15420 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15421 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15422 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15423 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15424 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15425 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15426 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15427 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15428 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15429 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15430 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15431 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15432 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15433 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15434 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15435 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15436 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15437 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15438 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15439 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15322 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15323 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15324 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15325 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15326 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15327 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15328 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15329 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15330 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15331 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15332 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15333 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15334 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15335 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15336 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15337 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15338 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15339 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15340 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15341 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15342 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15343 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15344 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15345 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15346 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15347 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15348 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15349 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15350 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15351 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15352 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15353 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15354 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15355 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15356 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15357 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15358 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15359 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15360 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15361 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15362 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15363 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15364 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15365 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15366 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15367 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15368 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15369 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15370 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15371 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15372 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15373 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15374 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15375 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15376 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15377 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15378 > 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"`'
15379 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15380 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15381 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15382 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15383 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15384 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15385 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15386 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15387 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15388 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15389 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15390 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15391 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15392 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15393 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15394 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15395 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15396 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15397 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15398 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15399 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15400 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15401 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15402 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15403 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15404 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15405 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15406 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15407 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15408 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15409 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15410 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15411 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15412 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15413 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15414 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15415 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15416 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15417 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15418 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15419 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15420 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15421 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15422 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15423 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15424 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15425 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15426 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15427 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15428 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15429 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15430 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15431 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15432 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15433 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15434 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15435 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15436 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15437 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15438 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15439 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15440 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15441 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15442 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15443 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15444 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15445 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15446 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15447 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15448 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15449 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15450 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15451 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15452  
15453   LTCC='$LTCC'
15454   LTCFLAGS='$LTCFLAGS'
15455   compiler='$compiler_DEFAULT'
15456  
15457 + # A function that is used when there is no print builtin or printf.
15458 + func_fallback_echo ()
15459 + {
15460 +  eval 'cat <<_LTECHO_EOF
15461 + \$1
15462 + _LTECHO_EOF'
15463 + }
15464 +
15465   # Quote evaled strings.
15466 < for var in SED \
15466 > for var in SHELL \
15467 > ECHO \
15468 > PATH_SEPARATOR \
15469 > SED \
15470   GREP \
15471   EGREP \
15472   FGREP \
# Line 14608 | Line 15479 | reload_flag \
15479   OBJDUMP \
15480   deplibs_check_method \
15481   file_magic_cmd \
15482 + file_magic_glob \
15483 + want_nocaseglob \
15484 + DLLTOOL \
15485 + sharedlib_from_linklib_cmd \
15486   AR \
15487   AR_FLAGS \
15488 + archiver_list_spec \
15489   STRIP \
15490   RANLIB \
15491   CC \
# Line 14619 | Line 15495 | lt_cv_sys_global_symbol_pipe \
15495   lt_cv_sys_global_symbol_to_cdecl \
15496   lt_cv_sys_global_symbol_to_c_name_address \
15497   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15498 < SHELL \
14623 < ECHO \
15498 > nm_file_list_spec \
15499   lt_prog_compiler_no_builtin_flag \
14625 lt_prog_compiler_wl \
15500   lt_prog_compiler_pic \
15501 + lt_prog_compiler_wl \
15502   lt_prog_compiler_static \
15503   lt_cv_prog_compiler_c_o \
15504   need_locks \
15505 + MANIFEST_TOOL \
15506   DSYMUTIL \
15507   NMEDIT \
15508   LIPO \
# Line 14640 | Line 15516 | with_gnu_ld \
15516   allow_undefined_flag \
15517   no_undefined_flag \
15518   hardcode_libdir_flag_spec \
14643 hardcode_libdir_flag_spec_ld \
15519   hardcode_libdir_separator \
14645 fix_srcfile_path \
15520   exclude_expsyms \
15521   include_expsyms \
15522   file_list_spec \
# Line 14650 | Line 15524 | variables_saved_for_relink \
15524   libname_spec \
15525   library_names_spec \
15526   soname_spec \
15527 + install_override_mode \
15528   finish_eval \
15529   old_striplib \
15530   striplib; do
15531 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15531 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15532      *[\\\\\\\`\\"\\\$]*)
15533 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15533 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15534        ;;
15535      *)
15536        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 15552 | module_cmds \
15552   module_expsym_cmds \
15553   export_symbols_cmds \
15554   prelink_cmds \
15555 + postlink_cmds \
15556   postinstall_cmds \
15557   postuninstall_cmds \
15558   finish_cmds \
15559   sys_lib_search_path_spec \
15560   sys_lib_dlsearch_path_spec; do
15561 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15561 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15562      *[\\\\\\\`\\"\\\$]*)
15563 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15563 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15564        ;;
15565      *)
15566        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 15568 | sys_lib_dlsearch_path_spec; do
15568      esac
15569   done
15570  
14695 # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 case \$lt_ECHO in
14697 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698  ;;
14699 esac
14700
15571   ac_aux_dir='$ac_aux_dir'
15572   xsi_shell='$xsi_shell'
15573   lt_shell_append='$lt_shell_append'
# Line 14730 | Line 15600 | do
15600      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15601      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15602      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15603      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15604      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15605      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15606 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15607      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15608      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15609      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14744 | Line 15613 | do
15613      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15614      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15615  
15616 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15616 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15617    esac
15618   done
15619  
# Line 14767 | Line 15636 | fi
15636   # after its creation but before its name has been assigned to `$tmp'.
15637   $debug ||
15638   {
15639 <  tmp=
15639 >  tmp= ac_tmp=
15640    trap 'exit_status=$?
15641 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15641 >  : "${ac_tmp:=$tmp}"
15642 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15643   ' 0
15644    trap 'as_fn_exit 1' 1 2 13 15
15645   }
# Line 14777 | Line 15647 | $debug ||
15647  
15648   {
15649    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15650 <  test -n "$tmp" && test -d "$tmp"
15650 >  test -d "$tmp"
15651   }  ||
15652   {
15653    tmp=./conf$$-$RANDOM
15654    (umask 077 && mkdir "$tmp")
15655 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15655 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15656 > ac_tmp=$tmp
15657  
15658   # Set up the scripts for CONFIG_FILES section.
15659   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 15670 | if test "x$ac_cr" = x; then
15670   fi
15671   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15672   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15673 <  ac_cs_awk_cr='\r'
15673 >  ac_cs_awk_cr='\\r'
15674   else
15675    ac_cs_awk_cr=$ac_cr
15676   fi
15677  
15678 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15678 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15679   _ACEOF
15680  
15681  
# Line 14813 | Line 15684 | _ACEOF
15684    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15685    echo "_ACEOF"
15686   } >conf$$subs.sh ||
15687 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15688 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15687 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15688 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15689   ac_delim='%!_!# '
15690   for ac_last_try in false false false false false :; do
15691    . ./conf$$subs.sh ||
15692 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15692 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15693  
15694    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15695    if test $ac_delim_n = $ac_delim_num; then
15696      break
15697    elif $ac_last_try; then
15698 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15698 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15699    else
15700      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15701    fi
# Line 14832 | Line 15703 | done
15703   rm -f conf$$subs.sh
15704  
15705   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15706 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15706 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15707   _ACEOF
15708   sed -n '
15709   h
# Line 14880 | Line 15751 | t delim
15751   rm -f conf$$subs.awk
15752   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15753   _ACAWK
15754 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15754 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15755    for (key in S) S_is_set[key] = 1
15756    FS = ""
15757  
# Line 14912 | Line 15783 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15783    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15784   else
15785    cat
15786 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15787 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15786 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15787 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15788   _ACEOF
15789  
15790 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15791 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15790 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15791 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15792   # trailing colons and then remove the whole line if VPATH becomes empty
15793   # (actually we leave an empty line to preserve line numbers).
15794   if test "x$srcdir" = x.; then
15795 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15796 < s/:*\$(srcdir):*/:/
15797 < s/:*\${srcdir}:*/:/
15798 < s/:*@srcdir@:*/:/
15799 < s/^\([^=]*=[     ]*\):*/\1/
15795 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15796 > h
15797 > s///
15798 > s/^/:/
15799 > s/[      ]*$/:/
15800 > s/:\$(srcdir):/:/g
15801 > s/:\${srcdir}:/:/g
15802 > s/:@srcdir@:/:/g
15803 > s/^:*//
15804   s/:*$//
15805 + x
15806 + s/\(=[   ]*\).*/\1/
15807 + G
15808 + s/\n//
15809   s/^[^=]*=[       ]*$//
15810   }'
15811   fi
# Line 14938 | Line 15817 | fi # test -n "$CONFIG_FILES"
15817   # No need to generate them if there are no CONFIG_HEADERS.
15818   # This happens for instance with `./config.status Makefile'.
15819   if test -n "$CONFIG_HEADERS"; then
15820 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15820 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15821   BEGIN {
15822   _ACEOF
15823  
# Line 14950 | Line 15829 | _ACEOF
15829   # handling of long lines.
15830   ac_delim='%!_!# '
15831   for ac_last_try in false false :; do
15832 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15833 <  if test -z "$ac_t"; then
15832 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15833 >  if test -z "$ac_tt"; then
15834      break
15835    elif $ac_last_try; then
15836 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15836 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15837    else
15838      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15839    fi
# Line 15039 | Line 15918 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15918   _ACAWK
15919   _ACEOF
15920   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15921 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15921 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15922   fi # test -n "$CONFIG_HEADERS"
15923  
15924  
# Line 15052 | Line 15931 | do
15931    esac
15932    case $ac_mode$ac_tag in
15933    :[FHL]*:*);;
15934 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15934 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15935    :[FH]-) ac_tag=-:-;;
15936    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15937    esac
# Line 15071 | Line 15950 | do
15950      for ac_f
15951      do
15952        case $ac_f in
15953 <      -) ac_f="$tmp/stdin";;
15953 >      -) ac_f="$ac_tmp/stdin";;
15954        *) # Look for the file first in the build tree, then in the source tree
15955           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15956           # because $ac_f cannot contain `:'.
# Line 15080 | Line 15959 | do
15959             [\\/$]*) false;;
15960             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15961             esac ||
15962 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15962 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15963        esac
15964        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15965        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 15985 | $as_echo "$as_me: creating $ac_file" >&6
15985      esac
15986  
15987      case $ac_tag in
15988 <    *:-:* | *:-) cat >"$tmp/stdin" \
15989 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15988 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15989 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15990      esac
15991      ;;
15992    esac
# Line 15243 | Line 16122 | s&@INSTALL@&$ac_INSTALL&;t t
16122   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16123   $ac_datarootdir_hack
16124   "
16125 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16126 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16125 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16126 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16127  
16128   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16129 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16130 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16129 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16130 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16131 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16132    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16133 < which seems to be undefined.  Please make sure it is defined." >&5
16133 > which seems to be undefined.  Please make sure it is defined" >&5
16134   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16135 < which seems to be undefined.  Please make sure it is defined." >&2;}
16135 > which seems to be undefined.  Please make sure it is defined" >&2;}
16136  
16137 <  rm -f "$tmp/stdin"
16137 >  rm -f "$ac_tmp/stdin"
16138    case $ac_file in
16139 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16140 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16139 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16140 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16141    esac \
16142 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16142 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16143   ;;
16144    :H)
16145    #
# Line 15268 | Line 16148 | which seems to be undefined.  Please mak
16148    if test x"$ac_file" != x-; then
16149      {
16150        $as_echo "/* $configure_input  */" \
16151 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16152 <    } >"$tmp/config.h" \
16153 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16154 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16151 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16152 >    } >"$ac_tmp/config.h" \
16153 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16154 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16155        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16156   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16157      else
16158        rm -f "$ac_file"
16159 <      mv "$tmp/config.h" "$ac_file" \
16160 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16159 >      mv "$ac_tmp/config.h" "$ac_file" \
16160 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16161      fi
16162    else
16163      $as_echo "/* $configure_input  */" \
16164 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16165 <      || as_fn_error "could not create -" "$LINENO" 5
16164 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16165 >      || as_fn_error $? "could not create -" "$LINENO" 5
16166    fi
16167   # Compute "$ac_file"'s index in $config_headers.
16168   _am_arg="$ac_file"
# Line 15443 | Line 16323 | $as_echo X"$file" |
16323   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16324   #
16325   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16326 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16326 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16327 > #                 Foundation, Inc.
16328   #   Written by Gordon Matzigkeit, 1996
16329   #
16330   #   This file is part of GNU Libtool.
# Line 15491 | Line 16372 | pic_mode=$pic_mode
16372   # Whether or not to optimize for fast installation.
16373   fast_install=$enable_fast_install
16374  
16375 + # Shell to use when invoking shell scripts.
16376 + SHELL=$lt_SHELL
16377 +
16378 + # An echo program that protects backslashes.
16379 + ECHO=$lt_ECHO
16380 +
16381 + # The PATH separator for the build system.
16382 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16383 +
16384   # The host system.
16385   host_alias=$host_alias
16386   host=$host
# Line 15540 | Line 16430 | SP2NL=$lt_lt_SP2NL
16430   # turn newlines into spaces.
16431   NL2SP=$lt_lt_NL2SP
16432  
16433 < # How to create reloadable object files.
16434 < reload_flag=$lt_reload_flag
16435 < reload_cmds=$lt_reload_cmds
16433 > # convert \$build file names to \$host format.
16434 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16435 >
16436 > # convert \$build files to toolchain format.
16437 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16438  
16439   # An object symbol dumper.
16440   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 16442 | OBJDUMP=$lt_OBJDUMP
16442   # Method to check whether dependent libraries are shared objects.
16443   deplibs_check_method=$lt_deplibs_check_method
16444  
16445 < # Command to use when deplibs_check_method == "file_magic".
16445 > # Command to use when deplibs_check_method = "file_magic".
16446   file_magic_cmd=$lt_file_magic_cmd
16447  
16448 + # How to find potential files when deplibs_check_method = "file_magic".
16449 + file_magic_glob=$lt_file_magic_glob
16450 +
16451 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16452 + want_nocaseglob=$lt_want_nocaseglob
16453 +
16454 + # DLL creation program.
16455 + DLLTOOL=$lt_DLLTOOL
16456 +
16457 + # Command to associate shared and link libraries.
16458 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16459 +
16460   # The archiver.
16461   AR=$lt_AR
16462 +
16463 + # Flags to create an archive.
16464   AR_FLAGS=$lt_AR_FLAGS
16465  
16466 + # How to feed a file listing to the archiver.
16467 + archiver_list_spec=$lt_archiver_list_spec
16468 +
16469   # A symbol stripping program.
16470   STRIP=$lt_STRIP
16471  
# Line 15565 | Line 16474 | RANLIB=$lt_RANLIB
16474   old_postinstall_cmds=$lt_old_postinstall_cmds
16475   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16476  
16477 + # Whether to use a lock for old archive extraction.
16478 + lock_old_archive_extraction=$lock_old_archive_extraction
16479 +
16480   # A C compiler.
16481   LTCC=$lt_CC
16482  
# Line 15583 | Line 16495 | global_symbol_to_c_name_address=$lt_lt_c
16495   # Transform the output of nm in a C name address pair when lib prefix is needed.
16496   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16497  
16498 < # The name of the directory that contains temporary libtool files.
16499 < objdir=$objdir
16498 > # Specify filename containing input files for \$NM.
16499 > nm_file_list_spec=$lt_nm_file_list_spec
16500  
16501 < # Shell to use when invoking shell scripts.
16502 < SHELL=$lt_SHELL
16501 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16502 > lt_sysroot=$lt_sysroot
16503  
16504 < # An echo program that does not interpret backslashes.
16505 < ECHO=$lt_ECHO
16504 > # The name of the directory that contains temporary libtool files.
16505 > objdir=$objdir
16506  
16507   # Used to examine libraries when file_magic_cmd begins with "file".
16508   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 16510 | MAGIC_CMD=$MAGIC_CMD
16510   # Must we lock files when doing compilation?
16511   need_locks=$lt_need_locks
16512  
16513 + # Manifest tool.
16514 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16515 +
16516   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16517   DSYMUTIL=$lt_DSYMUTIL
16518  
# Line 15654 | Line 16569 | library_names_spec=$lt_library_names_spe
16569   # The coded name of the library, if different from the real name.
16570   soname_spec=$lt_soname_spec
16571  
16572 + # Permission mode override for installation of shared libraries.
16573 + install_override_mode=$lt_install_override_mode
16574 +
16575   # Command to use after installation of a shared archive.
16576   postinstall_cmds=$lt_postinstall_cmds
16577  
# Line 15693 | Line 16611 | striplib=$lt_striplib
16611   # The linker used to build libraries.
16612   LD=$lt_LD
16613  
16614 + # How to create reloadable object files.
16615 + reload_flag=$lt_reload_flag
16616 + reload_cmds=$lt_reload_cmds
16617 +
16618   # Commands used to build an old-style archive.
16619   old_archive_cmds=$lt_old_archive_cmds
16620  
# Line 15705 | Line 16627 | with_gcc=$GCC
16627   # Compiler flag to turn off builtin functions.
16628   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16629  
15708 # How to pass a linker flag through the compiler.
15709 wl=$lt_lt_prog_compiler_wl
15710
16630   # Additional compiler flags for building library objects.
16631   pic_flag=$lt_lt_prog_compiler_pic
16632  
16633 + # How to pass a linker flag through the compiler.
16634 + wl=$lt_lt_prog_compiler_wl
16635 +
16636   # Compiler flag to prevent dynamic linking.
16637   link_static_flag=$lt_lt_prog_compiler_static
16638  
# Line 15760 | Line 16682 | no_undefined_flag=$lt_no_undefined_flag
16682   # This must work even if \$libdir does not exist
16683   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16684  
15763 # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 # during linking.  This must work even if \$libdir does not exist.
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766
16685   # Whether we need a single "-rpath" flag with a separated argument.
16686   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16687  
# Line 15797 | Line 16715 | inherit_rpath=$inherit_rpath
16715   # Whether libtool must link a program against all its dependency libraries.
16716   link_all_deplibs=$link_all_deplibs
16717  
15800 # Fix the shell variable \$srcfile for the compiler.
15801 fix_srcfile_path=$lt_fix_srcfile_path
15802
16718   # Set to "yes" if exported symbols are required.
16719   always_export_symbols=$always_export_symbols
16720  
# Line 15815 | Line 16730 | include_expsyms=$lt_include_expsyms
16730   # Commands necessary for linking programs (against libraries) with templates.
16731   prelink_cmds=$lt_prelink_cmds
16732  
16733 + # Commands necessary for finishing linking programs.
16734 + postlink_cmds=$lt_postlink_cmds
16735 +
16736   # Specify filename containing input files.
16737   file_list_spec=$lt_file_list_spec
16738  
# Line 15847 | Line 16765 | ltmain="$ac_aux_dir/ltmain.sh"
16765    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16766    # text mode, it properly converts lines to CR/LF.  This bash problem
16767    # is reportedly fixed, but why not run on old versions too?
16768 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16769 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
16768 >  sed '$q' "$ltmain" >> "$cfgfile" \
16769 >     || (rm -f "$cfgfile"; exit 1)
16770  
16771 +  if test x"$xsi_shell" = xyes; then
16772 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16773 + func_dirname ()\
16774 + {\
16775 + \    case ${1} in\
16776 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16777 + \      *  ) func_dirname_result="${3}" ;;\
16778 + \    esac\
16779 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16780 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16781 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16782 + test 0 -eq $? || _lt_function_replace_fail=:
16783 +
16784 +
16785 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16786 + func_basename ()\
16787 + {\
16788 + \    func_basename_result="${1##*/}"\
16789 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16790 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16791 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16792 + test 0 -eq $? || _lt_function_replace_fail=:
16793 +
16794 +
16795 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16796 + func_dirname_and_basename ()\
16797 + {\
16798 + \    case ${1} in\
16799 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16800 + \      *  ) func_dirname_result="${3}" ;;\
16801 + \    esac\
16802 + \    func_basename_result="${1##*/}"\
16803 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16804 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16805 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16806 + test 0 -eq $? || _lt_function_replace_fail=:
16807 +
16808 +
16809 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16810 + func_stripname ()\
16811 + {\
16812 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16813 + \    # positional parameters, so assign one to ordinary parameter first.\
16814 + \    func_stripname_result=${3}\
16815 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16816 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16817 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16818 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16819 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16820 + test 0 -eq $? || _lt_function_replace_fail=:
16821 +
16822 +
16823 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16824 + func_split_long_opt ()\
16825 + {\
16826 + \    func_split_long_opt_name=${1%%=*}\
16827 + \    func_split_long_opt_arg=${1#*=}\
16828 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16829 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16830 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16831 + test 0 -eq $? || _lt_function_replace_fail=:
16832 +
16833 +
16834 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16835 + func_split_short_opt ()\
16836 + {\
16837 + \    func_split_short_opt_arg=${1#??}\
16838 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16839 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16840 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16841 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16842 + test 0 -eq $? || _lt_function_replace_fail=:
16843 +
16844 +
16845 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16846 + func_lo2o ()\
16847 + {\
16848 + \    case ${1} in\
16849 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16850 + \      *)    func_lo2o_result=${1} ;;\
16851 + \    esac\
16852 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16853 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16854 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16855 + test 0 -eq $? || _lt_function_replace_fail=:
16856 +
16857 +
16858 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16859 + func_xform ()\
16860 + {\
16861 +    func_xform_result=${1%.*}.lo\
16862 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16863 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16864 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16865 + test 0 -eq $? || _lt_function_replace_fail=:
16866 +
16867 +
16868 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16869 + func_arith ()\
16870 + {\
16871 +    func_arith_result=$(( $* ))\
16872 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16873 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16874 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875 + test 0 -eq $? || _lt_function_replace_fail=:
16876 +
16877 +
16878 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16879 + func_len ()\
16880 + {\
16881 +    func_len_result=${#1}\
16882 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16883 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16884 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16885 + test 0 -eq $? || _lt_function_replace_fail=:
16886 +
16887 + fi
16888 +
16889 + if test x"$lt_shell_append" = xyes; then
16890 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16891 + func_append ()\
16892 + {\
16893 +    eval "${1}+=\\${2}"\
16894 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16895 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16896 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16897 + test 0 -eq $? || _lt_function_replace_fail=:
16898 +
16899 +
16900 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16901 + func_append_quoted ()\
16902 + {\
16903 + \    func_quote_for_eval "${2}"\
16904 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16905 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16906 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16907 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16908 + test 0 -eq $? || _lt_function_replace_fail=:
16909 +
16910 +
16911 +  # Save a `func_append' function call where possible by direct use of '+='
16912 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16913 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16914 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16915 +  test 0 -eq $? || _lt_function_replace_fail=:
16916 + else
16917 +  # Save a `func_append' function call even when '+=' is not available
16918 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16919 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16920 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16921 +  test 0 -eq $? || _lt_function_replace_fail=:
16922 + fi
16923 +
16924 + if test x"$_lt_function_replace_fail" = x":"; then
16925 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16926 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16927 + fi
16928  
16052  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053    || (rm -f "$cfgfile"; exit 1)
16929  
16930 <  mv -f "$cfgfile" "$ofile" ||
16930 >   mv -f "$cfgfile" "$ofile" ||
16931      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16932    chmod +x "$ofile"
16933  
# Line 16067 | Line 16942 | _ACEOF
16942   ac_clean_files=$ac_clean_files_save
16943  
16944   test $ac_write_fail = 0 ||
16945 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16945 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16946  
16947  
16948   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 16963 | if test "$no_create" != yes; then
16963    exec 5>>config.log
16964    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16965    # would make configure fail if this is the last instruction.
16966 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $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
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
16966 >  $ac_cs_success || as_fn_exit 1
16967   fi
16968   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16969    { $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)