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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1356 by michael, Sat Apr 21 19:56:44 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 1349 2012-04-11 18:45:51Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
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
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
15   # gives unlimited permission to copy, distribute and modify it.
16   ## -------------------- ##
# Line 88 | 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 170 | 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 213 | 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 227 | Line 247 | fi
247      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
248      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249    else
250 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
251 < $0: including any error possibly output before this
252 < $0: message. Then install a modern shell, or manually run
253 < $0: the script under such a shell if you do have one."
250 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
251 > $0: bugs@ircd-hybrid.org about your system, including any
252 > $0: error possibly output before this message. Then install
253 > $0: a modern shell, or manually run the script under such a
254 > $0: shell if you do have one."
255    fi
256    exit 1
257   fi
# Line 315 | 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 355 | 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 524 | Line 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
545   # Sed expression to map a string onto a valid variable name.
546   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547  
548 + lt_ltdl_dir='libltdl'
549  
528
529 # Check that we are running under the correct shell.
550   SHELL=${CONFIG_SHELL-/bin/sh}
551  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    for dir in $PATH /usr/ucb; do
593      IFS="$lt_save_ifs"
594      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597         test "X$echo_testing_string" = "X$echo_test_string"; then
598        ECHO="$dir/echo"
599        break
600      fi
601    done
602    IFS="$lt_save_ifs"
603
604    if test "X$ECHO" = Xecho; then
605      # We didn't find a better echo, so look for alternatives.
606      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608         test "X$echo_testing_string" = "X$echo_test_string"; then
609        # This shell has a builtin print -r that does the trick.
610        ECHO='print -r'
611      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612           test "X$CONFIG_SHELL" != X/bin/ksh; then
613        # If we have ksh, try running configure again with it.
614        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615        export ORIGINAL_CONFIG_SHELL
616        CONFIG_SHELL=/bin/ksh
617        export CONFIG_SHELL
618        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619      else
620        # Try using printf.
621        ECHO='printf %s\n'
622        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624           test "X$echo_testing_string" = "X$echo_test_string"; then
625          # Cool, printf works
626          :
627        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628             test "X$echo_testing_string" = 'X\t' &&
629             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630             test "X$echo_testing_string" = "X$echo_test_string"; then
631          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632          export CONFIG_SHELL
633          SHELL="$CONFIG_SHELL"
634          export SHELL
635          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637             test "X$echo_testing_string" = 'X\t' &&
638             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639             test "X$echo_testing_string" = "X$echo_test_string"; then
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        else
642          # maybe with a smaller string...
643          prev=:
644
645          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647            then
648              break
649            fi
650            prev="$cmd"
651          done
652
653          if test "$prev" != 'sed 50q "$0"'; then
654            echo_test_string=`eval $prev`
655            export echo_test_string
656            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657          else
658            # Oops.  We lost completely, so just stick with echo.
659            ECHO=echo
660          fi
661        fi
662      fi
663    fi
664  fi
665 fi
666
667 # Copy echo and quote the copy suitably for passing to libtool from
668 # the Makefile, instead of quoting the original, which is used later.
669 lt_ECHO=$ECHO
670 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 fi
673
552  
553 <
554 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
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 700 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.2.4'
577 < PACKAGE_STRING='ircd-hybrid 7.2.4'
578 < PACKAGE_BUGREPORT=''
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
581   ac_unique_file="src/ircd.c"
# Line 742 | Line 615 | ac_includes_default="\
615   # include <unistd.h>
616   #endif"
617  
745 enable_option_checking=no
618   ac_func_list=
619   ac_header_list=
620   ac_subst_vars='ltdl_LTLIBOBJS
# Line 760 | Line 632 | EFNET_FALSE
632   EFNET_TRUE
633   ENABLE_SSL_FALSE
634   ENABLE_SSL_TRUE
763 HAVE_CRYPT_FALSE
764 HAVE_CRYPT_TRUE
635   LTDLOPEN
636   LT_CONFIG_H
767 subdirs
637   CONVENIENCE_LTDL_FALSE
638   CONVENIENCE_LTDL_TRUE
639   INSTALL_LTDL_FALSE
# Line 787 | Line 656 | OTOOL
656   LIPO
657   NMEDIT
658   DSYMUTIL
659 < lt_ECHO
659 > MANIFEST_TOOL
660   RANLIB
661 + ac_ct_AR
662   AR
663 + DLLTOOL
664   OBJDUMP
665   LN_S
666   NM
# Line 817 | Line 688 | YACC
688   am__fastdepCC_FALSE
689   am__fastdepCC_TRUE
690   CCDEPMODE
691 + am__nodep
692   AMDEPBACKSLASH
693   AMDEP_FALSE
694   AMDEP_TRUE
# Line 899 | Line 771 | ac_user_opts='
771   enable_option_checking
772   enable_maintainer_mode
773   enable_dependency_tracking
902 enable_shared
774   enable_static
775 + enable_shared
776   with_pic
777   enable_fast_install
778   with_gnu_ld
779 + with_sysroot
780   enable_libtool_lock
781   with_included_ltdl
782   with_ltdl_include
783   with_ltdl_lib
784   enable_ltdl_install
785 < with_zlib_path
913 < enable_zlib
785 > enable_libpcre
786   enable_openssl
787   enable_assert
788   enable_small_net
# Line 922 | Line 794 | enable_poll
794   enable_select
795   with_nicklen
796   with_topiclen
925 with_syslog_facility
797   enable_efnet
798   enable_halfops
799   enable_debugging
800   enable_warnings
930 enable_syslog
801   '
802        ac_precious_vars='build_alias
803   host_alias
# Line 940 | Line 810 | CPPFLAGS
810   YACC
811   YFLAGS
812   CPP'
813 < ac_subdirs_all='libltdl'
813 >
814  
815   # Initialize some variables set by options.
816   ac_init_help=
# Line 1002 | Line 872 | do
872    fi
873  
874    case $ac_option in
875 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876 <  *)    ac_optarg=yes ;;
875 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876 >  *=)   ac_optarg= ;;
877 >  *)    ac_optarg=yes ;;
878    esac
879  
880    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1048 | Line 919 | do
919      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920      # Reject names that are not valid shell variable names.
921      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 <      as_fn_error "invalid feature name: $ac_useropt"
922 >      as_fn_error $? "invalid feature name: $ac_useropt"
923      ac_useropt_orig=$ac_useropt
924      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925      case $ac_user_opts in
# Line 1074 | Line 945 | do
945      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946      # Reject names that are not valid shell variable names.
947      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 <      as_fn_error "invalid feature name: $ac_useropt"
948 >      as_fn_error $? "invalid feature name: $ac_useropt"
949      ac_useropt_orig=$ac_useropt
950      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951      case $ac_user_opts in
# Line 1278 | Line 1149 | do
1149      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150      # Reject names that are not valid shell variable names.
1151      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152 <      as_fn_error "invalid package name: $ac_useropt"
1152 >      as_fn_error $? "invalid package name: $ac_useropt"
1153      ac_useropt_orig=$ac_useropt
1154      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155      case $ac_user_opts in
# Line 1294 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1324 | Line 1195 | do
1195    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196      x_libraries=$ac_optarg ;;
1197  
1198 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1199 < Try \`$0 --help' for more information."
1198 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1199 > Try \`$0 --help' for more information"
1200      ;;
1201  
1202    *=*)
# Line 1333 | Line 1204 | Try \`$0 --help' for more information."
1204      # Reject names that are not valid shell variable names.
1205      case $ac_envvar in #(
1206        '' | [0-9]* | *[!_$as_cr_alnum]* )
1207 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1207 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1208      esac
1209      eval $ac_envvar=\$ac_optarg
1210      export $ac_envvar ;;
# Line 1343 | Line 1214 | Try \`$0 --help' for more information."
1214      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1217 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218      ;;
1219  
1220    esac
# Line 1351 | Line 1222 | done
1222  
1223   if test -n "$ac_prev"; then
1224    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225 <  as_fn_error "missing argument to $ac_option"
1225 >  as_fn_error $? "missing argument to $ac_option"
1226   fi
1227  
1228   if test -n "$ac_unrecognized_opts"; then
1229    case $enable_option_checking in
1230      no) ;;
1231 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1231 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1232      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233    esac
1234   fi
# Line 1380 | Line 1251 | do
1251      [\\/$]* | ?:[\\/]* )  continue;;
1252      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253    esac
1254 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1254 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1255   done
1256  
1257   # There might be people who depend on the old broken behavior: `$host'
# Line 1394 | Line 1265 | target=$target_alias
1265   if test "x$host_alias" != x; then
1266    if test "x$build_alias" = x; then
1267      cross_compiling=maybe
1268 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1269 <    If a cross compiler is detected then cross compile mode will be used." >&2
1268 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1269 >    If a cross compiler is detected then cross compile mode will be used" >&2
1270    elif test "x$build_alias" != "x$host_alias"; then
1271      cross_compiling=yes
1272    fi
# Line 1410 | Line 1281 | test "$silent" = yes && exec 6>/dev/null
1281   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1282   ac_ls_di=`ls -di .` &&
1283   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1284 <  as_fn_error "working directory cannot be determined"
1284 >  as_fn_error $? "working directory cannot be determined"
1285   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286 <  as_fn_error "pwd does not report name of working directory"
1286 >  as_fn_error $? "pwd does not report name of working directory"
1287  
1288  
1289   # Find the source files, if location was not specified.
# Line 1451 | Line 1322 | else
1322   fi
1323   if test ! -r "$srcdir/$ac_unique_file"; then
1324    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1325 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1326   fi
1327   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1328   ac_abs_confdir=`(
1329 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1329 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330          pwd)`
1331   # When building in place, set srcdir=.
1332   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1481 | Line 1352 | if test "$ac_init_help" = "long"; then
1352    # Omit some internal or obsolete options to make the list less imposing.
1353    # This message is too long to be a string in the A/UX 3.1 sh.
1354    cat <<_ACEOF
1355 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1355 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1356  
1357   Usage: $0 [OPTION]... [VAR=VALUE]...
1358  
# Line 1495 | Line 1366 | Configuration:
1366        --help=short        display options specific to this package
1367        --help=recursive    display the short help of all the included packages
1368    -V, --version           display version information and exit
1369 <  -q, --quiet, --silent   do not print \`checking...' messages
1369 >  -q, --quiet, --silent   do not print \`checking ...' messages
1370        --cache-file=FILE   cache test results in FILE [disabled]
1371    -C, --config-cache      alias for \`--cache-file=config.cache'
1372    -n, --no-create         do not create output files
# Line 1551 | Line 1422 | fi
1422  
1423   if test -n "$ac_init_help"; then
1424    case $ac_init_help in
1425 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1425 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1426     esac
1427    cat <<\_ACEOF
1428  
# Line 1563 | Line 1434 | Optional Features:
1434                            (and sometimes confusing) to the casual installer
1435    --disable-dependency-tracking  speeds up one-time build
1436    --enable-dependency-tracking   do not reject slow dependency extractors
1437 +  --enable-static[=PKGS]  build static libraries [default=no]
1438    --enable-shared[=PKGS]  build shared libraries [default=yes]
1567  --enable-static[=PKGS]  build static libraries [default=yes]
1439    --enable-fast-install[=PKGS]
1440                            optimize for fast installation [default=yes]
1441    --disable-libtool-lock  avoid locking (might break parallel builds)
1442    --enable-ltdl-install   install libltdl
1443 <  --disable-zlib          Disable ziplinks support
1443 >  --disable-libpcre       Disable PCRE support
1444    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1445    --disable-openssl            Disable OpenSSL support.
1446    --enable-assert         Enable assert() statements
# Line 1584 | Line 1455 | Optional Features:
1455    --enable-halfops        Enable halfops support.
1456    --enable-debugging      Enable debugging.
1457    --enable-warnings       Enable compiler warnings.
1587  --enable-syslog="EVENTS"
1588                          Enable syslog for events: users oper (space
1589                          separated in quotes; default: disabled).
1458  
1459   Optional Packages:
1460    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1461    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1462 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1462 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1463                            both]
1464    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1465 +  --with-sysroot=DIR Search for dependent libraries within DIR
1466 +                        (or the compiler's sysroot if not specified).
1467    --with-included-ltdl    use the GNU ltdl sources included here
1468    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1469    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1600  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1470    --with-nicklen=<value>  Set nickname length (default 9).
1471    --with-topiclen=<value> Set topic length (default 160).
1603  --with-syslog-facility=LOG
1604                          Define the syslog facility to use (default:
1605                          LOG_LOCAL4)
1472  
1473   Some influential environment variables:
1474    CC          C compiler command
# Line 1610 | Line 1476 | Some influential environment variables:
1476    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1477                nonstandard directory <lib dir>
1478    LIBS        libraries to pass to the linker, e.g. -l<library>
1479 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1479 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1480                you have headers in a nonstandard directory <include dir>
1481 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1482 <              the first program found out of: `bison -y', `byacc', `yacc'.
1481 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1482 >              Defaults to the first program found out of: `bison -y', `byacc',
1483 >              `yacc'.
1484    YFLAGS      The list of arguments that will be passed by default to $YACC.
1485                This script will default YFLAGS to the empty string to avoid a
1486                default value of `-d' given by some make applications.
# Line 1622 | Line 1489 | Some influential environment variables:
1489   Use these variables to override the choices made by `configure' or to help
1490   it to find libraries and programs with nonstandard names/locations.
1491  
1492 < Report bugs to the package provider.
1492 > Report bugs to <bugs@ircd-hybrid.org>.
1493   _ACEOF
1494   ac_status=$?
1495   fi
# Line 1685 | Line 1552 | fi
1552   test -n "$ac_init_help" && exit $ac_status
1553   if $ac_init_version; then
1554    cat <<\_ACEOF
1555 < ircd-hybrid configure 7.2.4
1556 < generated by GNU Autoconf 2.64
1555 > ircd-hybrid configure 8beta1
1556 > generated by GNU Autoconf 2.68
1557  
1558 < Copyright (C) 2009 Free Software Foundation, Inc.
1558 > Copyright (C) 2010 Free Software Foundation, Inc.
1559   This configure script is free software; the Free Software Foundation
1560   gives unlimited permission to copy, distribute and modify it.
1561   _ACEOF
# Line 1732 | Line 1599 | sed 's/^/| /' conftest.$ac_ext >&5
1599  
1600          ac_retval=1
1601   fi
1602 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 <  return $ac_retval
1602 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 >  as_fn_set_status $ac_retval
1604  
1605   } # ac_fn_c_try_compile
1606  
# Line 1778 | Line 1645 | fi
1645    # interfere with the next link command; also delete a directory that is
1646    # left behind by Apple's compiler.  We do this before executing the actions.
1647    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1648 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 <  return $ac_retval
1648 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 >  as_fn_set_status $ac_retval
1650  
1651   } # ac_fn_c_try_link
1652  
# Line 1792 | Line 1659 | ac_fn_c_check_header_compile ()
1659    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661   $as_echo_n "checking for $2... " >&6; }
1662 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1662 > if eval \${$3+:} false; then :
1663    $as_echo_n "(cached) " >&6
1664   else
1665    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1810 | Line 1677 | fi
1677   eval ac_res=\$$3
1678                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679   $as_echo "$ac_res" >&6; }
1680 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681  
1682   } # ac_fn_c_check_header_compile
1683  
# Line 1835 | Line 1702 | $as_echo "$ac_try_echo"; } >&5
1702      mv -f conftest.er1 conftest.err
1703    fi
1704    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 <  test $ac_status = 0; } >/dev/null && {
1705 >  test $ac_status = 0; } > conftest.i && {
1706           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1707           test ! -s conftest.err
1708         }; then :
# Line 1846 | Line 1713 | sed 's/^/| /' conftest.$ac_ext >&5
1713  
1714      ac_retval=1
1715   fi
1716 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 <  return $ac_retval
1716 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 >  as_fn_set_status $ac_retval
1718  
1719   } # ac_fn_c_try_cpp
1720  
# Line 1888 | Line 1755 | sed 's/^/| /' conftest.$ac_ext >&5
1755         ac_retval=$ac_status
1756   fi
1757    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 <  return $ac_retval
1758 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 >  as_fn_set_status $ac_retval
1760  
1761   } # ac_fn_c_try_run
1762  
# Line 1901 | Line 1768 | ac_fn_c_check_func ()
1768    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770   $as_echo_n "checking for $2... " >&6; }
1771 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1771 > if eval \${$3+:} false; then :
1772    $as_echo_n "(cached) " >&6
1773   else
1774    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1956 | Line 1823 | fi
1823   eval ac_res=\$$3
1824                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825   $as_echo "$ac_res" >&6; }
1826 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1826 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827  
1828   } # ac_fn_c_check_func
1829  
1830 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1831 < # ------------------------------------
1832 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1830 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1831 > # ---------------------------------------------
1832 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1833 > # accordingly.
1834   ac_fn_c_check_decl ()
1835   {
1836    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1838 < $as_echo_n "checking whether $2 is declared... " >&6; }
1839 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1837 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1838 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1839 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1840 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1841 > if eval \${$3+:} false; then :
1842    $as_echo_n "(cached) " >&6
1843   else
1844    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1977 | Line 1847 | $4
1847   int
1848   main ()
1849   {
1850 < #ifndef $2
1851 <  (void) $2;
1850 > #ifndef $as_decl_name
1851 > #ifdef __cplusplus
1852 >  (void) $as_decl_use;
1853 > #else
1854 >  (void) $as_decl_name;
1855 > #endif
1856   #endif
1857  
1858    ;
# Line 1995 | Line 1869 | fi
1869   eval ac_res=\$$3
1870                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871   $as_echo "$ac_res" >&6; }
1872 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873  
1874   } # ac_fn_c_check_decl
1875  
# Line 2008 | Line 1882 | ac_fn_c_check_type ()
1882    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884   $as_echo_n "checking for $2... " >&6; }
1885 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1885 > if eval \${$3+:} false; then :
1886    $as_echo_n "(cached) " >&6
1887   else
1888    eval "$3=no"
# Line 2049 | Line 1923 | fi
1923   eval ac_res=\$$3
1924                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925   $as_echo "$ac_res" >&6; }
1926 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927  
1928   } # ac_fn_c_check_type
1929  
# Line 2062 | Line 1936 | ac_fn_c_check_member ()
1936    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1938   $as_echo_n "checking for $2.$3... " >&6; }
1939 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 > if eval \${$4+:} false; then :
1940    $as_echo_n "(cached) " >&6
1941   else
1942    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2106 | Line 1980 | fi
1980   eval ac_res=\$$4
1981                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982   $as_echo "$ac_res" >&6; }
1983 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984  
1985   } # ac_fn_c_check_member
1986  
2113 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2114 # --------------------------------------------
2115 # Tries to find the compile-time value of EXPR in a program that includes
2116 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2117 # computed
2118 ac_fn_c_compute_int ()
2119 {
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  if test "$cross_compiling" = yes; then
2122    # Depending upon the size, compute the lo and hi bounds.
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h.  */
2125 $4
2126 int
2127 main ()
2128 {
2129 static int test_array [1 - 2 * !(($2) >= 0)];
2130 test_array [0] = 0
2131
2132  ;
2133  return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137  ac_lo=0 ac_mid=0
2138  while :; do
2139    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h.  */
2141 $4
2142 int
2143 main ()
2144 {
2145 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2146 test_array [0] = 0
2147
2148  ;
2149  return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_hi=$ac_mid; break
2154 else
2155  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2156                        if test $ac_lo -le $ac_mid; then
2157                          ac_lo= ac_hi=
2158                          break
2159                        fi
2160                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2161 fi
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163  done
2164 else
2165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $4
2168 int
2169 main ()
2170 {
2171 static int test_array [1 - 2 * !(($2) < 0)];
2172 test_array [0] = 0
2173
2174  ;
2175  return 0;
2176 }
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2179  ac_hi=-1 ac_mid=-1
2180  while :; do
2181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h.  */
2183 $4
2184 int
2185 main ()
2186 {
2187 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2188 test_array [0] = 0
2189
2190  ;
2191  return 0;
2192 }
2193 _ACEOF
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_lo=$ac_mid; break
2196 else
2197  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2198                        if test $ac_mid -le $ac_hi; then
2199                          ac_lo= ac_hi=
2200                          break
2201                        fi
2202                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2203 fi
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205  done
2206 else
2207  ac_lo= ac_hi=
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 fi
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 # Binary search between lo and hi bounds.
2213 while test "x$ac_lo" != "x$ac_hi"; do
2214  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h.  */
2217 $4
2218 int
2219 main ()
2220 {
2221 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2222 test_array [0] = 0
2223
2224  ;
2225  return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229  ac_hi=$ac_mid
2230 else
2231  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 done
2235 case $ac_lo in #((
2236 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2237 '') ac_retval=1 ;;
2238 esac
2239  else
2240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h.  */
2242 $4
2243 static long int longval () { return $2; }
2244 static unsigned long int ulongval () { return $2; }
2245 #include <stdio.h>
2246 #include <stdlib.h>
2247 int
2248 main ()
2249 {
2250
2251  FILE *f = fopen ("conftest.val", "w");
2252  if (! f)
2253    return 1;
2254  if (($2) < 0)
2255    {
2256      long int i = longval ();
2257      if (i != ($2))
2258        return 1;
2259      fprintf (f, "%ld", i);
2260    }
2261  else
2262    {
2263      unsigned long int i = ulongval ();
2264      if (i != ($2))
2265        return 1;
2266      fprintf (f, "%lu", i);
2267    }
2268  /* Do not output a trailing newline, as this causes \r\n confusion
2269     on some platforms.  */
2270  return ferror (f) || fclose (f) != 0;
2271
2272  ;
2273  return 0;
2274 }
2275 _ACEOF
2276 if ac_fn_c_try_run "$LINENO"; then :
2277  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2278 else
2279  ac_retval=1
2280 fi
2281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2282  conftest.$ac_objext conftest.beam conftest.$ac_ext
2283 rm -f conftest.val
2284
2285  fi
2286  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2287  return $ac_retval
2288
2289 } # ac_fn_c_compute_int
2290
1987   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1988   # -------------------------------------------------------
1989   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2296 | Line 1992 | rm -f conftest.val
1992   ac_fn_c_check_header_mongrel ()
1993   {
1994    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 >  if eval \${$3+:} false; then :
1996    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997   $as_echo_n "checking for $2... " >&6; }
1998 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1998 > if eval \${$3+:} false; then :
1999    $as_echo_n "(cached) " >&6
2000   fi
2001   eval ac_res=\$$3
# Line 2335 | Line 2031 | if ac_fn_c_try_cpp "$LINENO"; then :
2031   else
2032    ac_header_preproc=no
2033   fi
2034 < rm -f conftest.err conftest.$ac_ext
2034 > rm -f conftest.err conftest.i conftest.$ac_ext
2035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2036   $as_echo "$ac_header_preproc" >&6; }
2037  
# Line 2358 | Line 2054 | $as_echo "$as_me: WARNING: $2: see the A
2054   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2055      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2056   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 + ( $as_echo "## ----------------------------------- ##
2058 + ## Report this to bugs@ircd-hybrid.org ##
2059 + ## ----------------------------------- ##"
2060 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2061      ;;
2062   esac
2063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064   $as_echo_n "checking for $2... " >&6; }
2065 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2065 > if eval \${$3+:} false; then :
2066    $as_echo_n "(cached) " >&6
2067   else
2068    eval "$3=\$ac_header_compiler"
# Line 2371 | Line 2071 | eval ac_res=\$$3
2071                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072   $as_echo "$ac_res" >&6; }
2073   fi
2074 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2074 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075  
2076   } # ac_fn_c_check_header_mongrel
2077   cat >config.log <<_ACEOF
2078   This file contains any messages produced by compilers while
2079   running configure, to aid debugging if configure makes a mistake.
2080  
2081 < It was created by ircd-hybrid $as_me 7.2.4, which was
2082 < generated by GNU Autoconf 2.64.  Invocation command line was
2081 > It was created by ircd-hybrid $as_me 8beta1, which was
2082 > generated by GNU Autoconf 2.68.  Invocation command line was
2083  
2084    $ $0 $@
2085  
# Line 2489 | Line 2189 | trap 'exit_status=$?
2189    {
2190      echo
2191  
2192 <    cat <<\_ASBOX
2493 < ## ---------------- ##
2192 >    $as_echo "## ---------------- ##
2193   ## Cache variables. ##
2194 < ## ---------------- ##
2496 < _ASBOX
2194 > ## ---------------- ##"
2195      echo
2196      # The following way of writing the cache mishandles newlines in values,
2197   (
# Line 2527 | Line 2225 | $as_echo "$as_me: WARNING: cache variabl
2225   )
2226      echo
2227  
2228 <    cat <<\_ASBOX
2531 < ## ----------------- ##
2228 >    $as_echo "## ----------------- ##
2229   ## Output variables. ##
2230 < ## ----------------- ##
2534 < _ASBOX
2230 > ## ----------------- ##"
2231      echo
2232      for ac_var in $ac_subst_vars
2233      do
# Line 2544 | Line 2240 | _ASBOX
2240      echo
2241  
2242      if test -n "$ac_subst_files"; then
2243 <      cat <<\_ASBOX
2548 < ## ------------------- ##
2243 >      $as_echo "## ------------------- ##
2244   ## File substitutions. ##
2245 < ## ------------------- ##
2551 < _ASBOX
2245 > ## ------------------- ##"
2246        echo
2247        for ac_var in $ac_subst_files
2248        do
# Line 2562 | Line 2256 | _ASBOX
2256      fi
2257  
2258      if test -s confdefs.h; then
2259 <      cat <<\_ASBOX
2566 < ## ----------- ##
2259 >      $as_echo "## ----------- ##
2260   ## confdefs.h. ##
2261 < ## ----------- ##
2569 < _ASBOX
2261 > ## ----------- ##"
2262        echo
2263        cat confdefs.h
2264        echo
# Line 2621 | Line 2313 | _ACEOF
2313   ac_site_file1=NONE
2314   ac_site_file2=NONE
2315   if test -n "$CONFIG_SITE"; then
2316 <  ac_site_file1=$CONFIG_SITE
2316 >  # We do not want a PATH search for config.site.
2317 >  case $CONFIG_SITE in #((
2318 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2319 >    */*) ac_site_file1=$CONFIG_SITE;;
2320 >    *)   ac_site_file1=./$CONFIG_SITE;;
2321 >  esac
2322   elif test "x$prefix" != xNONE; then
2323    ac_site_file1=$prefix/share/config.site
2324    ac_site_file2=$prefix/etc/config.site
# Line 2632 | Line 2329 | fi
2329   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2330   do
2331    test "x$ac_site_file" = xNONE && continue
2332 <  if test -r "$ac_site_file"; then
2332 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2333      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2334   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2335      sed 's/^/| /' "$ac_site_file" >&5
2336 <    . "$ac_site_file"
2336 >    . "$ac_site_file" \
2337 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 > as_fn_error $? "failed to load site script $ac_site_file
2340 > See \`config.log' for more details" "$LINENO" 5; }
2341    fi
2342   done
2343  
2344   if test -r "$cache_file"; then
2345 <  # Some versions of bash will fail to source /dev/null (special
2346 <  # files actually), so we avoid doing that.
2347 <  if test -f "$cache_file"; then
2345 >  # Some versions of bash will fail to source /dev/null (special files
2346 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2347 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2348      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2349   $as_echo "$as_me: loading cache $cache_file" >&6;}
2350      case $cache_file in
# Line 2657 | Line 2358 | $as_echo "$as_me: creating cache $cache_
2358    >$cache_file
2359   fi
2360  
2660 as_fn_append ac_func_list " snprintf"
2661 as_fn_append ac_func_list " vsnprintf"
2662 as_fn_append ac_func_list " lrand48"
2663 as_fn_append ac_func_list " srand48"
2361   as_fn_append ac_func_list " mmap"
2362   as_fn_append ac_func_list " strtok_r"
2363   as_fn_append ac_func_list " usleep"
2364   as_fn_append ac_func_list " strlcat"
2365   as_fn_append ac_func_list " strlcpy"
2669 as_fn_append ac_func_list " basename"
2366   as_fn_append ac_header_list " crypt.h"
2671 as_fn_append ac_header_list " inttypes.h"
2672 as_fn_append ac_header_list " stdint.h"
2367   as_fn_append ac_header_list " sys/resource.h"
2368   as_fn_append ac_header_list " sys/param.h"
2675 as_fn_append ac_header_list " errno.h"
2676 as_fn_append ac_header_list " sys/syslog.h"
2677 as_fn_append ac_header_list " stddef.h"
2678 as_fn_append ac_header_list " libgen.h"
2369   as_fn_append ac_header_list " types.h"
2370   as_fn_append ac_header_list " socket.h"
2371   as_fn_append ac_header_list " sys/wait.h"
2372   as_fn_append ac_header_list " wait.h"
2683 as_fn_append ac_header_list " link.h"
2373   # Check that the precious variables saved in the cache have kept the same
2374   # value.
2375   ac_cache_corrupted=false
# Line 2736 | Line 2425 | if $ac_cache_corrupted; then
2425   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2427   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2428 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2429   fi
2430   ## -------------------- ##
2431   ## Main body of script. ##
# Line 2753 | Line 2442 | am__api_version='1.11'
2442  
2443   ac_aux_dir=
2444   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2445 <  for ac_t in install-sh install.sh shtool; do
2446 <    if test -f "$ac_dir/$ac_t"; then
2447 <      ac_aux_dir=$ac_dir
2448 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2449 <      break 2
2450 <    fi
2451 <  done
2445 >  if test -f "$ac_dir/install-sh"; then
2446 >    ac_aux_dir=$ac_dir
2447 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2448 >    break
2449 >  elif 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/shtool"; then
2454 >    ac_aux_dir=$ac_dir
2455 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2456 >    break
2457 >  fi
2458   done
2459   if test -z "$ac_aux_dir"; then
2460 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2460 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2461   fi
2462  
2463   # These three variables are undocumented and unsupported,
# Line 2791 | Line 2486 | ac_configure="$SHELL $ac_aux_dir/configu
2486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2487   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2488   if test -z "$INSTALL"; then
2489 < if test "${ac_cv_path_install+set}" = set; then :
2489 > if ${ac_cv_path_install+:} false; then :
2490    $as_echo_n "(cached) " >&6
2491   else
2492    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2878 | Line 2573 | am_lf='
2573   '
2574   case `pwd` in
2575    *[\\\"\#\$\&\'\`$am_lf]*)
2576 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2576 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2577   esac
2578   case $srcdir in
2579    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2580 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2580 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2581   esac
2582  
2583   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2904 | Line 2599 | if (
2599        # if, for instance, CONFIG_SHELL is bash and it inherits a
2600        # broken ls alias from the environment.  This has actually
2601        # happened.  Such a system could not be considered "sane".
2602 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2602 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2603   alias in your environment" "$LINENO" 5
2604     fi
2605  
# Line 2914 | Line 2609 | then
2609     # Ok.
2610     :
2611   else
2612 <   as_fn_error "newly created file is older than distributed files!
2612 >   as_fn_error $? "newly created file is older than distributed files!
2613   Check your system clock" "$LINENO" 5
2614   fi
2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2968 | Line 2663 | if test "$cross_compiling" != no; then
2663   set dummy ${ac_tool_prefix}strip; ac_word=$2
2664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665   $as_echo_n "checking for $ac_word... " >&6; }
2666 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2666 > if ${ac_cv_prog_STRIP+:} false; then :
2667    $as_echo_n "(cached) " >&6
2668   else
2669    if test -n "$STRIP"; then
# Line 3008 | Line 2703 | if test -z "$ac_cv_prog_STRIP"; then
2703   set dummy strip; ac_word=$2
2704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705   $as_echo_n "checking for $ac_word... " >&6; }
2706 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2706 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2707    $as_echo_n "(cached) " >&6
2708   else
2709    if test -n "$ac_ct_STRIP"; then
# Line 3061 | Line 2756 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2757   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2758   if test -z "$MKDIR_P"; then
2759 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2759 >  if ${ac_cv_path_mkdir+:} false; then :
2760    $as_echo_n "(cached) " >&6
2761   else
2762    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3086 | Line 2781 | IFS=$as_save_IFS
2781  
2782   fi
2783  
2784 +  test -d ./--version && rmdir ./--version
2785    if test "${ac_cv_path_mkdir+set}" = set; then
2786      MKDIR_P="$ac_cv_path_mkdir -p"
2787    else
# Line 3093 | Line 2789 | fi
2789      # value for MKDIR_P within a source directory, because that will
2790      # break other packages using the cache if that directory is
2791      # removed, or if the value is a relative name.
3096    test -d ./--version && rmdir ./--version
2792      MKDIR_P="$ac_install_sh -d"
2793    fi
2794   fi
# Line 3112 | Line 2807 | do
2807   set dummy $ac_prog; ac_word=$2
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809   $as_echo_n "checking for $ac_word... " >&6; }
2810 < if test "${ac_cv_prog_AWK+set}" = set; then :
2810 > if ${ac_cv_prog_AWK+:} false; then :
2811    $as_echo_n "(cached) " >&6
2812   else
2813    if test -n "$AWK"; then
# Line 3152 | Line 2847 | done
2847   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2848   set x ${MAKE-make}
2849   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2850 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2850 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2851    $as_echo_n "(cached) " >&6
2852   else
2853    cat >conftest.make <<\_ACEOF
# Line 3160 | Line 2855 | SHELL = /bin/sh
2855   all:
2856          @echo '@@@%%%=$(MAKE)=@@@%%%'
2857   _ACEOF
2858 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2858 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2859   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2860    *@@@%%%=?*=@@@%%%*)
2861      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3194 | Line 2889 | if test "`cd $srcdir && pwd`" != "`pwd`"
2889    am__isrc=' -I$(srcdir)'
2890    # test to see if srcdir already configured
2891    if test -f $srcdir/config.status; then
2892 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2892 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2893    fi
2894   fi
2895  
# Line 3210 | Line 2905 | fi
2905  
2906   # Define the identity of the package.
2907   PACKAGE='ircd-hybrid'
2908 < VERSION='7.2.4'
2908 > VERSION='8beta1'
2909  
2910  
2911   cat >>confdefs.h <<_ACEOF
# Line 3240 | Line 2935 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2935  
2936   # We need awk for the "check" target.  The system "awk" is bad on
2937   # some platforms.
2938 < # Always define AMTAR for backward compatibility.
2938 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2939 > # in the wild :-(  We should find a proper way to deprecate it ...
2940 > AMTAR='$${TAR-tar}'
2941  
2942 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3246 <
3247 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2942 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2943  
2944  
2945  
# Line 3277 | Line 2972 | ac_config_headers="$ac_config_headers co
2972  
2973  
2974  
3280
2975   # Checks for programs.
2976 + DEPDIR="${am__leading_dot}deps"
2977 +
2978 + ac_config_commands="$ac_config_commands depfiles"
2979 +
2980 +
2981 + am_make=${MAKE-make}
2982 + cat > confinc << 'END'
2983 + am__doit:
2984 +        @echo this is the am__doit target
2985 + .PHONY: am__doit
2986 + END
2987 + # If we don't find an include directive, just comment out the code.
2988 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2989 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
2990 + am__include="#"
2991 + am__quote=
2992 + _am_result=none
2993 + # First try GNU make style include.
2994 + echo "include confinc" > confmf
2995 + # Ignore all kinds of additional output from `make'.
2996 + case `$am_make -s -f confmf 2> /dev/null` in #(
2997 + *the\ am__doit\ target*)
2998 +  am__include=include
2999 +  am__quote=
3000 +  _am_result=GNU
3001 +  ;;
3002 + esac
3003 + # Now try BSD make style include.
3004 + if test "$am__include" = "#"; then
3005 +   echo '.include "confinc"' > confmf
3006 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3007 +   *the\ am__doit\ target*)
3008 +     am__include=.include
3009 +     am__quote="\""
3010 +     _am_result=BSD
3011 +     ;;
3012 +   esac
3013 + fi
3014 +
3015 +
3016 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3017 + $as_echo "$_am_result" >&6; }
3018 + rm -f confinc confmf
3019 +
3020 + # Check whether --enable-dependency-tracking was given.
3021 + if test "${enable_dependency_tracking+set}" = set; then :
3022 +  enableval=$enable_dependency_tracking;
3023 + fi
3024 +
3025 + if test "x$enable_dependency_tracking" != xno; then
3026 +  am_depcomp="$ac_aux_dir/depcomp"
3027 +  AMDEPBACKSLASH='\'
3028 +  am__nodep='_no'
3029 + fi
3030 + if test "x$enable_dependency_tracking" != xno; then
3031 +  AMDEP_TRUE=
3032 +  AMDEP_FALSE='#'
3033 + else
3034 +  AMDEP_TRUE='#'
3035 +  AMDEP_FALSE=
3036 + fi
3037 +
3038 +
3039   ac_ext=c
3040   ac_cpp='$CPP $CPPFLAGS'
3041   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3289 | Line 3046 | if test -n "$ac_tool_prefix"; then
3046   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3048   $as_echo_n "checking for $ac_word... " >&6; }
3049 < if test "${ac_cv_prog_CC+set}" = set; then :
3049 > if ${ac_cv_prog_CC+:} false; then :
3050    $as_echo_n "(cached) " >&6
3051   else
3052    if test -n "$CC"; then
# Line 3329 | Line 3086 | if test -z "$ac_cv_prog_CC"; then
3086   set dummy gcc; ac_word=$2
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088   $as_echo_n "checking for $ac_word... " >&6; }
3089 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3089 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3090    $as_echo_n "(cached) " >&6
3091   else
3092    if test -n "$ac_ct_CC"; then
# Line 3382 | Line 3139 | if test -z "$CC"; then
3139   set dummy ${ac_tool_prefix}cc; ac_word=$2
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141   $as_echo_n "checking for $ac_word... " >&6; }
3142 < if test "${ac_cv_prog_CC+set}" = set; then :
3142 > if ${ac_cv_prog_CC+:} false; then :
3143    $as_echo_n "(cached) " >&6
3144   else
3145    if test -n "$CC"; then
# Line 3422 | Line 3179 | if test -z "$CC"; then
3179   set dummy cc; ac_word=$2
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181   $as_echo_n "checking for $ac_word... " >&6; }
3182 < if test "${ac_cv_prog_CC+set}" = set; then :
3182 > if ${ac_cv_prog_CC+:} false; then :
3183    $as_echo_n "(cached) " >&6
3184   else
3185    if test -n "$CC"; then
# Line 3481 | Line 3238 | if test -z "$CC"; then
3238   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240   $as_echo_n "checking for $ac_word... " >&6; }
3241 < if test "${ac_cv_prog_CC+set}" = set; then :
3241 > if ${ac_cv_prog_CC+:} false; then :
3242    $as_echo_n "(cached) " >&6
3243   else
3244    if test -n "$CC"; then
# Line 3525 | Line 3282 | do
3282   set dummy $ac_prog; ac_word=$2
3283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284   $as_echo_n "checking for $ac_word... " >&6; }
3285 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3285 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3286    $as_echo_n "(cached) " >&6
3287   else
3288    if test -n "$ac_ct_CC"; then
# Line 3579 | Line 3336 | fi
3336  
3337   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 < as_fn_error "no acceptable C compiler found in \$PATH
3340 < See \`config.log' for more details." "$LINENO" 5; }
3339 > as_fn_error $? "no acceptable C compiler found in \$PATH
3340 > See \`config.log' for more details" "$LINENO" 5; }
3341  
3342   # Provide some information about the compiler.
3343   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3601 | Line 3358 | $as_echo "$ac_try_echo"; } >&5
3358   ... rest of stderr output deleted ...
3359           10q' conftest.err >conftest.er1
3360      cat conftest.er1 >&5
3604    rm -f conftest.er1 conftest.err
3361    fi
3362 +  rm -f conftest.er1 conftest.err
3363    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364    test $ac_status = 0; }
3365   done
3366  
3367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368   /* end confdefs.h.  */
3369 < #include <stdio.h>
3369 >
3370   int
3371   main ()
3372   {
3616 FILE *f = fopen ("conftest.out", "w");
3617 return ferror (f) || fclose (f) != 0;
3373  
3374    ;
3375    return 0;
3376   }
3377   _ACEOF
3378   ac_clean_files_save=$ac_clean_files
3379 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3379 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3380   # Try to create an executable without -o first, disregard a.out.
3381   # It will help us diagnose broken compilers, and finding out an intuition
3382   # of exeext.
3383 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3384 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3383 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3384 > $as_echo_n "checking whether the C compiler works... " >&6; }
3385   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3386  
3387   # The possible output files:
# Line 3688 | Line 3443 | test "$ac_cv_exeext" = no && ac_cv_exeex
3443   else
3444    ac_file=''
3445   fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3692 $as_echo "$ac_file" >&6; }
3446   if test -z "$ac_file"; then :
3447 <  $as_echo "$as_me: failed program was:" >&5
3447 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 > $as_echo "no" >&6; }
3449 > $as_echo "$as_me: failed program was:" >&5
3450   sed 's/^/| /' conftest.$ac_ext >&5
3451  
3452   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 < { as_fn_set_status 77
3455 < as_fn_error "C compiler cannot create executables
3456 < See \`config.log' for more details." "$LINENO" 5; }; }
3454 > as_fn_error 77 "C compiler cannot create executables
3455 > See \`config.log' for more details" "$LINENO" 5; }
3456 > else
3457 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458 > $as_echo "yes" >&6; }
3459   fi
3460 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3461 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3462 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3463 + $as_echo "$ac_file" >&6; }
3464   ac_exeext=$ac_cv_exeext
3465  
3466 < # Check that the compiler produces executables we can run.  If not, either
3706 < # the compiler is broken, or we cross compile.
3707 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708 < $as_echo_n "checking whether the C compiler works... " >&6; }
3709 < # If not cross compiling, check that we can run a simple program.
3710 < if test "$cross_compiling" != yes; then
3711 <  if { ac_try='./$ac_file'
3712 <  { { case "(($ac_try" in
3713 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 <  *) ac_try_echo=$ac_try;;
3715 < esac
3716 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 < $as_echo "$ac_try_echo"; } >&5
3718 <  (eval "$ac_try") 2>&5
3719 <  ac_status=$?
3720 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 <  test $ac_status = 0; }; }; then
3722 <    cross_compiling=no
3723 <  else
3724 <    if test "$cross_compiling" = maybe; then
3725 <        cross_compiling=yes
3726 <    else
3727 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 < as_fn_error "cannot run C compiled programs.
3730 < If you meant to cross compile, use \`--host'.
3731 < See \`config.log' for more details." "$LINENO" 5; }
3732 <    fi
3733 <  fi
3734 < fi
3735 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 < $as_echo "yes" >&6; }
3737 <
3738 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3466 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3467   ac_clean_files=$ac_clean_files_save
3740 # Check that the compiler produces executables we can run.  If not, either
3741 # the compiler is broken, or we cross compile.
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3743 $as_echo_n "checking whether we are cross compiling... " >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3745 $as_echo "$cross_compiling" >&6; }
3746
3468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3469   $as_echo_n "checking for suffix of executables... " >&6; }
3470   if { { ac_try="$ac_link"
# Line 3773 | Line 3494 | done
3494   else
3495    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3498 < See \`config.log' for more details." "$LINENO" 5; }
3497 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3498 > See \`config.log' for more details" "$LINENO" 5; }
3499   fi
3500 < rm -f conftest$ac_cv_exeext
3500 > rm -f conftest conftest$ac_cv_exeext
3501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3502   $as_echo "$ac_cv_exeext" >&6; }
3503  
3504   rm -f conftest.$ac_ext
3505   EXEEXT=$ac_cv_exeext
3506   ac_exeext=$EXEEXT
3507 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 + /* end confdefs.h.  */
3509 + #include <stdio.h>
3510 + int
3511 + main ()
3512 + {
3513 + FILE *f = fopen ("conftest.out", "w");
3514 + return ferror (f) || fclose (f) != 0;
3515 +
3516 +  ;
3517 +  return 0;
3518 + }
3519 + _ACEOF
3520 + ac_clean_files="$ac_clean_files conftest.out"
3521 + # Check that the compiler produces executables we can run.  If not, either
3522 + # the compiler is broken, or we cross compile.
3523 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3524 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3525 + if test "$cross_compiling" != yes; then
3526 +  { { ac_try="$ac_link"
3527 + case "(($ac_try" in
3528 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 +  *) ac_try_echo=$ac_try;;
3530 + esac
3531 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 + $as_echo "$ac_try_echo"; } >&5
3533 +  (eval "$ac_link") 2>&5
3534 +  ac_status=$?
3535 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 +  test $ac_status = 0; }
3537 +  if { ac_try='./conftest$ac_cv_exeext'
3538 +  { { case "(($ac_try" in
3539 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 +  *) ac_try_echo=$ac_try;;
3541 + esac
3542 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 + $as_echo "$ac_try_echo"; } >&5
3544 +  (eval "$ac_try") 2>&5
3545 +  ac_status=$?
3546 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 +  test $ac_status = 0; }; }; then
3548 +    cross_compiling=no
3549 +  else
3550 +    if test "$cross_compiling" = maybe; then
3551 +        cross_compiling=yes
3552 +    else
3553 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555 + as_fn_error $? "cannot run C compiled programs.
3556 + If you meant to cross compile, use \`--host'.
3557 + See \`config.log' for more details" "$LINENO" 5; }
3558 +    fi
3559 +  fi
3560 + fi
3561 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3562 + $as_echo "$cross_compiling" >&6; }
3563 +
3564 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3565 + ac_clean_files=$ac_clean_files_save
3566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3567   $as_echo_n "checking for suffix of object files... " >&6; }
3568 < if test "${ac_cv_objext+set}" = set; then :
3568 > if ${ac_cv_objext+:} false; then :
3569    $as_echo_n "(cached) " >&6
3570   else
3571    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3825 | Line 3605 | sed 's/^/| /' conftest.$ac_ext >&5
3605  
3606   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608 < as_fn_error "cannot compute suffix of object files: cannot compile
3609 < See \`config.log' for more details." "$LINENO" 5; }
3608 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3609 > See \`config.log' for more details" "$LINENO" 5; }
3610   fi
3611   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612   fi
# Line 3836 | Line 3616 | OBJEXT=$ac_cv_objext
3616   ac_objext=$OBJEXT
3617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3618   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3619 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3619 > if ${ac_cv_c_compiler_gnu+:} false; then :
3620    $as_echo_n "(cached) " >&6
3621   else
3622    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3873 | Line 3653 | ac_test_CFLAGS=${CFLAGS+set}
3653   ac_save_CFLAGS=$CFLAGS
3654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3655   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3656 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3656 > if ${ac_cv_prog_cc_g+:} false; then :
3657    $as_echo_n "(cached) " >&6
3658   else
3659    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3951 | Line 3731 | else
3731   fi
3732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3733   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3734 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3734 > if ${ac_cv_prog_cc_c89+:} false; then :
3735    $as_echo_n "(cached) " >&6
3736   else
3737    ac_cv_prog_cc_c89=no
# Line 4045 | Line 3825 | ac_cpp='$CPP $CPPFLAGS'
3825   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 DEPDIR="${am__leading_dot}deps"
4049
4050 ac_config_commands="$ac_config_commands depfiles"
4051
4052
4053 am_make=${MAKE-make}
4054 cat > confinc << 'END'
4055 am__doit:
4056        @echo this is the am__doit target
4057 .PHONY: am__doit
4058 END
4059 # If we don't find an include directive, just comment out the code.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4061 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4062 am__include="#"
4063 am__quote=
4064 _am_result=none
4065 # First try GNU make style include.
4066 echo "include confinc" > confmf
4067 # Ignore all kinds of additional output from `make'.
4068 case `$am_make -s -f confmf 2> /dev/null` in #(
4069 *the\ am__doit\ target*)
4070  am__include=include
4071  am__quote=
4072  _am_result=GNU
4073  ;;
4074 esac
4075 # Now try BSD make style include.
4076 if test "$am__include" = "#"; then
4077   echo '.include "confinc"' > confmf
4078   case `$am_make -s -f confmf 2> /dev/null` in #(
4079   *the\ am__doit\ target*)
4080     am__include=.include
4081     am__quote="\""
4082     _am_result=BSD
4083     ;;
4084   esac
4085 fi
4086
4087
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4089 $as_echo "$_am_result" >&6; }
4090 rm -f confinc confmf
4091
4092 # Check whether --enable-dependency-tracking was given.
4093 if test "${enable_dependency_tracking+set}" = set; then :
4094  enableval=$enable_dependency_tracking;
4095 fi
4096
4097 if test "x$enable_dependency_tracking" != xno; then
4098  am_depcomp="$ac_aux_dir/depcomp"
4099  AMDEPBACKSLASH='\'
4100 fi
4101 if test "x$enable_dependency_tracking" != xno; then
4102  AMDEP_TRUE=
4103  AMDEP_FALSE='#'
4104 else
4105  AMDEP_TRUE='#'
4106  AMDEP_FALSE=
4107 fi
4108
4109
3828  
3829   depcc="$CC"   am_compiler_list=
3830  
3831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3832   $as_echo_n "checking dependency style of $depcc... " >&6; }
3833 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3833 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3834    $as_echo_n "(cached) " >&6
3835   else
3836    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 4121 | Line 3839 | else
3839    # instance it was reported that on HP-UX the gcc test will end up
3840    # making a dummy file named `D' -- because `-MD' means `put the output
3841    # in D'.
3842 +  rm -rf conftest.dir
3843    mkdir conftest.dir
3844    # Copy depcomp to subdir because otherwise we won't find it if we're
3845    # using a relative directory.
# Line 4180 | Line 3899 | else
3899          break
3900        fi
3901        ;;
3902 <    msvisualcpp | msvcmsys)
3902 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3903        # This compiler won't grok `-c -o', but also, the minuso test has
3904        # not run yet.  These depmodes are late enough in the game, and
3905        # so weak that their functioning should not be impacted.
# Line 4235 | Line 3954 | else
3954   fi
3955  
3956  
3957 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3958 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3959 + if ${ac_cv_prog_cc_c99+:} false; then :
3960 +  $as_echo_n "(cached) " >&6
3961 + else
3962 +  ac_cv_prog_cc_c99=no
3963 + ac_save_CC=$CC
3964 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 + /* end confdefs.h.  */
3966 + #include <stdarg.h>
3967 + #include <stdbool.h>
3968 + #include <stdlib.h>
3969 + #include <wchar.h>
3970 + #include <stdio.h>
3971 +
3972 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3973 + #define debug(...) fprintf (stderr, __VA_ARGS__)
3974 + #define showlist(...) puts (#__VA_ARGS__)
3975 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3976 + static void
3977 + test_varargs_macros (void)
3978 + {
3979 +  int x = 1234;
3980 +  int y = 5678;
3981 +  debug ("Flag");
3982 +  debug ("X = %d\n", x);
3983 +  showlist (The first, second, and third items.);
3984 +  report (x>y, "x is %d but y is %d", x, y);
3985 + }
3986 +
3987 + // Check long long types.
3988 + #define BIG64 18446744073709551615ull
3989 + #define BIG32 4294967295ul
3990 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3991 + #if !BIG_OK
3992 +  your preprocessor is broken;
3993 + #endif
3994 + #if BIG_OK
3995 + #else
3996 +  your preprocessor is broken;
3997 + #endif
3998 + static long long int bignum = -9223372036854775807LL;
3999 + static unsigned long long int ubignum = BIG64;
4000 +
4001 + struct incomplete_array
4002 + {
4003 +  int datasize;
4004 +  double data[];
4005 + };
4006 +
4007 + struct named_init {
4008 +  int number;
4009 +  const wchar_t *name;
4010 +  double average;
4011 + };
4012 +
4013 + typedef const char *ccp;
4014 +
4015 + static inline int
4016 + test_restrict (ccp restrict text)
4017 + {
4018 +  // See if C++-style comments work.
4019 +  // Iterate through items via the restricted pointer.
4020 +  // Also check for declarations in for loops.
4021 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4022 +    continue;
4023 +  return 0;
4024 + }
4025 +
4026 + // Check varargs and va_copy.
4027 + static void
4028 + test_varargs (const char *format, ...)
4029 + {
4030 +  va_list args;
4031 +  va_start (args, format);
4032 +  va_list args_copy;
4033 +  va_copy (args_copy, args);
4034 +
4035 +  const char *str;
4036 +  int number;
4037 +  float fnumber;
4038 +
4039 +  while (*format)
4040 +    {
4041 +      switch (*format++)
4042 +        {
4043 +        case 's': // string
4044 +          str = va_arg (args_copy, const char *);
4045 +          break;
4046 +        case 'd': // int
4047 +          number = va_arg (args_copy, int);
4048 +          break;
4049 +        case 'f': // float
4050 +          fnumber = va_arg (args_copy, double);
4051 +          break;
4052 +        default:
4053 +          break;
4054 +        }
4055 +    }
4056 +  va_end (args_copy);
4057 +  va_end (args);
4058 + }
4059 +
4060 + int
4061 + main ()
4062 + {
4063 +
4064 +  // Check bool.
4065 +  _Bool success = false;
4066 +
4067 +  // Check restrict.
4068 +  if (test_restrict ("String literal") == 0)
4069 +    success = true;
4070 +  char *restrict newvar = "Another string";
4071 +
4072 +  // Check varargs.
4073 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4074 +  test_varargs_macros ();
4075 +
4076 +  // Check flexible array members.
4077 +  struct incomplete_array *ia =
4078 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4079 +  ia->datasize = 10;
4080 +  for (int i = 0; i < ia->datasize; ++i)
4081 +    ia->data[i] = i * 1.234;
4082 +
4083 +  // Check named initializers.
4084 +  struct named_init ni = {
4085 +    .number = 34,
4086 +    .name = L"Test wide string",
4087 +    .average = 543.34343,
4088 +  };
4089 +
4090 +  ni.number = 58;
4091 +
4092 +  int dynamic_array[ni.number];
4093 +  dynamic_array[ni.number - 1] = 543;
4094 +
4095 +  // work around unused variable warnings
4096 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4097 +          || dynamic_array[ni.number - 1] != 543);
4098 +
4099 +  ;
4100 +  return 0;
4101 + }
4102 + _ACEOF
4103 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4104 + do
4105 +  CC="$ac_save_CC $ac_arg"
4106 +  if ac_fn_c_try_compile "$LINENO"; then :
4107 +  ac_cv_prog_cc_c99=$ac_arg
4108 + fi
4109 + rm -f core conftest.err conftest.$ac_objext
4110 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4111 + done
4112 + rm -f conftest.$ac_ext
4113 + CC=$ac_save_CC
4114 +
4115 + fi
4116 + # AC_CACHE_VAL
4117 + case "x$ac_cv_prog_cc_c99" in
4118 +  x)
4119 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4120 + $as_echo "none needed" >&6; } ;;
4121 +  xno)
4122 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4123 + $as_echo "unsupported" >&6; } ;;
4124 +  *)
4125 +    CC="$CC $ac_cv_prog_cc_c99"
4126 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4127 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4128 + esac
4129 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4130 +
4131 + fi
4132 +
4133 +
4134 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4135 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4136 + fi
4137   for ac_prog in 'bison -y' byacc
4138   do
4139    # Extract the first word of "$ac_prog", so it can be a program name with args.
4140   set dummy $ac_prog; ac_word=$2
4141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142   $as_echo_n "checking for $ac_word... " >&6; }
4143 < if test "${ac_cv_prog_YACC+set}" = set; then :
4143 > if ${ac_cv_prog_YACC+:} false; then :
4144    $as_echo_n "(cached) " >&6
4145   else
4146    if test -n "$YACC"; then
# Line 4285 | Line 4184 | do
4184   set dummy $ac_prog; ac_word=$2
4185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186   $as_echo_n "checking for $ac_word... " >&6; }
4187 < if test "${ac_cv_prog_LEX+set}" = set; then :
4187 > if ${ac_cv_prog_LEX+:} false; then :
4188    $as_echo_n "(cached) " >&6
4189   else
4190    if test -n "$LEX"; then
# Line 4355 | Line 4254 | $as_echo "$ac_try_echo"; } >&5
4254    test $ac_status = 0; }
4255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4256   $as_echo_n "checking lex output file root... " >&6; }
4257 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4257 > if ${ac_cv_prog_lex_root+:} false; then :
4258    $as_echo_n "(cached) " >&6
4259   else
4260  
# Line 4364 | Line 4263 | if test -f lex.yy.c; then
4263   elif test -f lexyy.c; then
4264    ac_cv_prog_lex_root=lexyy
4265   else
4266 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4266 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4267   fi
4268   fi
4269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4374 | Line 4273 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4273   if test -z "${LEXLIB+set}"; then
4274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4275   $as_echo_n "checking lex library... " >&6; }
4276 < if test "${ac_cv_lib_lex+set}" = set; then :
4276 > if ${ac_cv_lib_lex+:} false; then :
4277    $as_echo_n "(cached) " >&6
4278   else
4279  
# Line 4404 | Line 4303 | fi
4303  
4304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4305   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4306 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4306 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4307    $as_echo_n "(cached) " >&6
4308   else
4309    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4415 | Line 4314 | ac_save_LIBS=$LIBS
4314   LIBS="$LEXLIB $ac_save_LIBS"
4315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316   /* end confdefs.h.  */
4317 < #define YYTEXT_POINTER 1
4317 >
4318 >  #define YYTEXT_POINTER 1
4319   `cat $LEX_OUTPUT_ROOT.c`
4320   _ACEOF
4321   if ac_fn_c_try_link "$LINENO"; then :
# Line 4441 | Line 4341 | if test "$LEX" = :; then
4341   fi
4342  
4343  
4344 + # Initializing libtool.
4345 +
4346 +
4347 +
4348 +
4349 +
4350 +
4351  
4445 #ltdl stuff
4352   case `pwd` in
4353    *\ * | *\     *)
4354      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4451 | Line 4357 | esac
4357  
4358  
4359  
4360 < macro_version='2.2.6'
4361 < macro_revision='1.3012'
4360 > macro_version='2.4.2'
4361 > macro_revision='1.3337'
4362  
4363  
4364  
# Line 4470 | Line 4376 | ltmain="$ac_aux_dir/ltmain.sh"
4376  
4377   # Make sure we can run config.sub.
4378   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4379 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4379 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4380  
4381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4382   $as_echo_n "checking build system type... " >&6; }
4383 < if test "${ac_cv_build+set}" = set; then :
4383 > if ${ac_cv_build+:} false; then :
4384    $as_echo_n "(cached) " >&6
4385   else
4386    ac_build_alias=$build_alias
4387   test "x$ac_build_alias" = x &&
4388    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4389   test "x$ac_build_alias" = x &&
4390 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4390 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4391   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4392 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4392 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4393  
4394   fi
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4396   $as_echo "$ac_cv_build" >&6; }
4397   case $ac_cv_build in
4398   *-*-*) ;;
4399 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4399 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4400   esac
4401   build=$ac_cv_build
4402   ac_save_IFS=$IFS; IFS='-'
# Line 4508 | Line 4414 | case $build_os in *\ *) build_os=`echo "
4414  
4415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4416   $as_echo_n "checking host system type... " >&6; }
4417 < if test "${ac_cv_host+set}" = set; then :
4417 > if ${ac_cv_host+:} false; then :
4418    $as_echo_n "(cached) " >&6
4419   else
4420    if test "x$host_alias" = x; then
4421    ac_cv_host=$ac_cv_build
4422   else
4423    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4424 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4424 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4425   fi
4426  
4427   fi
# Line 4523 | Line 4429 | fi
4429   $as_echo "$ac_cv_host" >&6; }
4430   case $ac_cv_host in
4431   *-*-*) ;;
4432 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4432 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4433   esac
4434   host=$ac_cv_host
4435   ac_save_IFS=$IFS; IFS='-'
# Line 4539 | Line 4445 | IFS=$ac_save_IFS
4445   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4446  
4447  
4448 + # Backslashify metacharacters that are still active within
4449 + # double-quoted strings.
4450 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4451 +
4452 + # Same as above, but do not quote variable references.
4453 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4454 +
4455 + # Sed substitution to delay expansion of an escaped shell variable in a
4456 + # double_quote_subst'ed string.
4457 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4458 +
4459 + # Sed substitution to delay expansion of an escaped single quote.
4460 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4461 +
4462 + # Sed substitution to avoid accidental globbing in evaled expressions
4463 + no_glob_subst='s/\*/\\\*/g'
4464 +
4465 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4466 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4467 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4468 +
4469 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4470 + $as_echo_n "checking how to print strings... " >&6; }
4471 + # Test print first, because it will be a builtin if present.
4472 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4473 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4474 +  ECHO='print -r --'
4475 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4476 +  ECHO='printf %s\n'
4477 + else
4478 +  # Use this function as a fallback that always works.
4479 +  func_fallback_echo ()
4480 +  {
4481 +    eval 'cat <<_LTECHO_EOF
4482 + $1
4483 + _LTECHO_EOF'
4484 +  }
4485 +  ECHO='func_fallback_echo'
4486 + fi
4487 +
4488 + # func_echo_all arg...
4489 + # Invoke $ECHO with all args, space-separated.
4490 + func_echo_all ()
4491 + {
4492 +    $ECHO ""
4493 + }
4494 +
4495 + case "$ECHO" in
4496 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4497 + $as_echo "printf" >&6; } ;;
4498 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4499 + $as_echo "print -r" >&6; } ;;
4500 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4501 + $as_echo "cat" >&6; } ;;
4502 + esac
4503 +
4504 +
4505 +
4506 +
4507 +
4508 +
4509 +
4510 +
4511 +
4512 +
4513 +
4514 +
4515 +
4516 +
4517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4518   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4519 < if test "${ac_cv_path_SED+set}" = set; then :
4519 > if ${ac_cv_path_SED+:} false; then :
4520    $as_echo_n "(cached) " >&6
4521   else
4522              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4596 | Line 4571 | esac
4571    done
4572   IFS=$as_save_IFS
4573    if test -z "$ac_cv_path_SED"; then
4574 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4574 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4575    fi
4576   else
4577    ac_cv_path_SED=$SED
# Line 4623 | Line 4598 | Xsed="$SED -e 1s/^X//"
4598  
4599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4600   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4601 < if test "${ac_cv_path_GREP+set}" = set; then :
4601 > if ${ac_cv_path_GREP+:} false; then :
4602    $as_echo_n "(cached) " >&6
4603   else
4604    if test -z "$GREP"; then
# Line 4672 | Line 4647 | esac
4647    done
4648   IFS=$as_save_IFS
4649    if test -z "$ac_cv_path_GREP"; then
4650 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4651    fi
4652   else
4653    ac_cv_path_GREP=$GREP
# Line 4686 | Line 4661 | $as_echo "$ac_cv_path_GREP" >&6; }
4661  
4662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4663   $as_echo_n "checking for egrep... " >&6; }
4664 < if test "${ac_cv_path_EGREP+set}" = set; then :
4664 > if ${ac_cv_path_EGREP+:} false; then :
4665    $as_echo_n "(cached) " >&6
4666   else
4667    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4738 | Line 4713 | esac
4713    done
4714   IFS=$as_save_IFS
4715    if test -z "$ac_cv_path_EGREP"; then
4716 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4716 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717    fi
4718   else
4719    ac_cv_path_EGREP=$EGREP
# Line 4753 | Line 4728 | $as_echo "$ac_cv_path_EGREP" >&6; }
4728  
4729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4730   $as_echo_n "checking for fgrep... " >&6; }
4731 < if test "${ac_cv_path_FGREP+set}" = set; then :
4731 > if ${ac_cv_path_FGREP+:} false; then :
4732    $as_echo_n "(cached) " >&6
4733   else
4734    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4805 | Line 4780 | esac
4780    done
4781   IFS=$as_save_IFS
4782    if test -z "$ac_cv_path_FGREP"; then
4783 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784    fi
4785   else
4786    ac_cv_path_FGREP=$FGREP
# Line 4884 | Line 4859 | else
4859    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4860   $as_echo_n "checking for non-GNU ld... " >&6; }
4861   fi
4862 < if test "${lt_cv_path_LD+set}" = set; then :
4862 > if ${lt_cv_path_LD+:} false; then :
4863    $as_echo_n "(cached) " >&6
4864   else
4865    if test -z "$LD"; then
# Line 4921 | Line 4896 | else
4896    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897   $as_echo "no" >&6; }
4898   fi
4899 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4899 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4901   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4902 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4902 > if ${lt_cv_prog_gnu_ld+:} false; then :
4903    $as_echo_n "(cached) " >&6
4904   else
4905    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4951 | Line 4926 | with_gnu_ld=$lt_cv_prog_gnu_ld
4926  
4927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4928   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4929 < if test "${lt_cv_path_NM+set}" = set; then :
4929 > if ${lt_cv_path_NM+:} false; then :
4930    $as_echo_n "(cached) " >&6
4931   else
4932    if test -n "$NM"; then
# Line 5004 | Line 4979 | if test "$lt_cv_path_NM" != "no"; then
4979    NM="$lt_cv_path_NM"
4980   else
4981    # Didn't find any BSD compatible name lister, look for dumpbin.
4982 <  if test -n "$ac_tool_prefix"; then
4983 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4982 >  if test -n "$DUMPBIN"; then :
4983 >    # Let the user override the test.
4984 >  else
4985 >    if test -n "$ac_tool_prefix"; then
4986 >  for ac_prog in dumpbin "link -dump"
4987    do
4988      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4989   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991   $as_echo_n "checking for $ac_word... " >&6; }
4992 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4992 > if ${ac_cv_prog_DUMPBIN+:} false; then :
4993    $as_echo_n "(cached) " >&6
4994   else
4995    if test -n "$DUMPBIN"; then
# Line 5049 | Line 5027 | fi
5027   fi
5028   if test -z "$DUMPBIN"; then
5029    ac_ct_DUMPBIN=$DUMPBIN
5030 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5030 >  for ac_prog in dumpbin "link -dump"
5031   do
5032    # Extract the first word of "$ac_prog", so it can be a program name with args.
5033   set dummy $ac_prog; ac_word=$2
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035   $as_echo_n "checking for $ac_word... " >&6; }
5036 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5036 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5037    $as_echo_n "(cached) " >&6
5038   else
5039    if test -n "$ac_ct_DUMPBIN"; then
# Line 5104 | Line 5082 | esac
5082    fi
5083   fi
5084  
5085 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5086 +    *COFF*)
5087 +      DUMPBIN="$DUMPBIN -symbols"
5088 +      ;;
5089 +    *)
5090 +      DUMPBIN=:
5091 +      ;;
5092 +    esac
5093 +  fi
5094  
5095    if test "$DUMPBIN" != ":"; then
5096      NM="$DUMPBIN"
# Line 5118 | Line 5105 | test -z "$NM" && NM=nm
5105  
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5107   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5108 < if test "${lt_cv_nm_interface+set}" = set; then :
5108 > if ${lt_cv_nm_interface+:} false; then :
5109    $as_echo_n "(cached) " >&6
5110   else
5111    lt_cv_nm_interface="BSD nm"
5112    echo "int some_variable = 0;" > conftest.$ac_ext
5113 <  (eval echo "\"\$as_me:5126: $ac_compile\"" >&5)
5113 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5114    (eval "$ac_compile" 2>conftest.err)
5115    cat conftest.err >&5
5116 <  (eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5116 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5117    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5118    cat conftest.err >&5
5119 <  (eval echo "\"\$as_me:5132: output\"" >&5)
5119 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5120    cat conftest.out >&5
5121    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5122      lt_cv_nm_interface="MS dumpbin"
# Line 5153 | Line 5140 | fi
5140   # find the maximum length of command line arguments
5141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5142   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5143 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5143 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5144    $as_echo_n "(cached) " >&6
5145   else
5146      i=0
# Line 5186 | Line 5173 | else
5173      lt_cv_sys_max_cmd_len=8192;
5174      ;;
5175  
5176 +  mint*)
5177 +    # On MiNT this can take a long time and run out of memory.
5178 +    lt_cv_sys_max_cmd_len=8192;
5179 +    ;;
5180 +
5181    amigaos*)
5182      # On AmigaOS with pdksh, this test takes hours, literally.
5183      # So we just punt and use a minimum line length of 8192.
# Line 5211 | Line 5203 | else
5203      lt_cv_sys_max_cmd_len=196608
5204      ;;
5205  
5206 +  os2*)
5207 +    # The test takes a long time on OS/2.
5208 +    lt_cv_sys_max_cmd_len=8192
5209 +    ;;
5210 +
5211    osf*)
5212      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5213      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5250 | Line 5247 | else
5247        # If test is not a shell built-in, we'll probably end up computing a
5248        # maximum length that is only half of the actual maximum length, but
5249        # we can't tell.
5250 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5251 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5250 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5251 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5252                test $i != 17 # 1/2 MB should be enough
5253        do
5254          i=`expr $i + 1`
# Line 5293 | Line 5290 | $as_echo_n "checking whether the shell u
5290   # Try some XSI features
5291   xsi_shell=no
5292   ( _lt_dummy="a/b/c"
5293 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5294 <      = c,a/b,, \
5293 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5294 >      = c,a/b,b/c, \
5295      && eval 'test $(( 1 + 1 )) -eq 2 \
5296      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5297    && xsi_shell=yes
# Line 5343 | Line 5340 | esac
5340  
5341  
5342  
5343 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5344 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5345 + if ${lt_cv_to_host_file_cmd+:} false; then :
5346 +  $as_echo_n "(cached) " >&6
5347 + else
5348 +  case $host in
5349 +  *-*-mingw* )
5350 +    case $build in
5351 +      *-*-mingw* ) # actually msys
5352 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5353 +        ;;
5354 +      *-*-cygwin* )
5355 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5356 +        ;;
5357 +      * ) # otherwise, assume *nix
5358 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5359 +        ;;
5360 +    esac
5361 +    ;;
5362 +  *-*-cygwin* )
5363 +    case $build in
5364 +      *-*-mingw* ) # actually msys
5365 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5366 +        ;;
5367 +      *-*-cygwin* )
5368 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5369 +        ;;
5370 +      * ) # otherwise, assume *nix
5371 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5372 +        ;;
5373 +    esac
5374 +    ;;
5375 +  * ) # unhandled hosts (and "normal" native builds)
5376 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5377 +    ;;
5378 + esac
5379 +
5380 + fi
5381 +
5382 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5383 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5384 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5385 +
5386 +
5387 +
5388 +
5389 +
5390 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5391 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5392 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5393 +  $as_echo_n "(cached) " >&6
5394 + else
5395 +  #assume ordinary cross tools, or native build.
5396 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5397 + case $host in
5398 +  *-*-mingw* )
5399 +    case $build in
5400 +      *-*-mingw* ) # actually msys
5401 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5402 +        ;;
5403 +    esac
5404 +    ;;
5405 + esac
5406 +
5407 + fi
5408 +
5409 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5410 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5411 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5412 +
5413 +
5414 +
5415 +
5416 +
5417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5418   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5419 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5419 > if ${lt_cv_ld_reload_flag+:} false; then :
5420    $as_echo_n "(cached) " >&6
5421   else
5422    lt_cv_ld_reload_flag='-r'
# Line 5359 | Line 5430 | case $reload_flag in
5430   esac
5431   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5432   case $host_os in
5433 +  cygwin* | mingw* | pw32* | cegcc*)
5434 +    if test "$GCC" != yes; then
5435 +      reload_cmds=false
5436 +    fi
5437 +    ;;
5438    darwin*)
5439      if test "$GCC" = yes; then
5440        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5381 | Line 5457 | if test -n "$ac_tool_prefix"; then
5457   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459   $as_echo_n "checking for $ac_word... " >&6; }
5460 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5460 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5461    $as_echo_n "(cached) " >&6
5462   else
5463    if test -n "$OBJDUMP"; then
# Line 5421 | Line 5497 | if test -z "$ac_cv_prog_OBJDUMP"; then
5497   set dummy objdump; ac_word=$2
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499   $as_echo_n "checking for $ac_word... " >&6; }
5500 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5500 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5501    $as_echo_n "(cached) " >&6
5502   else
5503    if test -n "$ac_ct_OBJDUMP"; then
# Line 5480 | Line 5556 | test -z "$OBJDUMP" && OBJDUMP=objdump
5556  
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5558   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5559 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5559 > if ${lt_cv_deplibs_check_method+:} false; then :
5560    $as_echo_n "(cached) " >&6
5561   else
5562    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5522 | Line 5598 | mingw* | pw32*)
5598    # Base MSYS/MinGW do not provide the 'file' command needed by
5599    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5600    # unless we find 'file', for example because we are cross-compiling.
5601 <  if ( file / ) >/dev/null 2>&1; then
5601 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5602 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5603      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5604      lt_cv_file_magic_cmd='func_win32_libid'
5605    else
5606 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5606 >    # Keep this pattern in sync with the one in func_win32_libid.
5607 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5608      lt_cv_file_magic_cmd='$OBJDUMP -f'
5609    fi
5610    ;;
5611  
5612 < cegcc)
5612 > cegcc*)
5613    # use the weaker test based on 'objdump'. See mingw*.
5614    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5615    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5561 | Line 5639 | gnu*)
5639    lt_cv_deplibs_check_method=pass_all
5640    ;;
5641  
5642 + haiku*)
5643 +  lt_cv_deplibs_check_method=pass_all
5644 +  ;;
5645 +
5646   hpux10.20* | hpux11*)
5647    lt_cv_file_magic_cmd=/usr/bin/file
5648    case $host_cpu in
# Line 5569 | Line 5651 | hpux10.20* | hpux11*)
5651      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5652      ;;
5653    hppa*64*)
5654 <    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]'
5654 >    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]'
5655      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5656      ;;
5657    *)
5658 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5658 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5659      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5660      ;;
5661    esac
# Line 5594 | Line 5676 | irix5* | irix6* | nonstopux*)
5676    lt_cv_deplibs_check_method=pass_all
5677    ;;
5678  
5679 < # This must be Linux ELF.
5680 < linux* | k*bsd*-gnu)
5679 > # This must be glibc/ELF.
5680 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5681    lt_cv_deplibs_check_method=pass_all
5682    ;;
5683  
# Line 5676 | Line 5758 | esac
5758   fi
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5760   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5761 +
5762 + file_magic_glob=
5763 + want_nocaseglob=no
5764 + if test "$build" = "$host"; then
5765 +  case $host_os in
5766 +  mingw* | pw32*)
5767 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5768 +      want_nocaseglob=yes
5769 +    else
5770 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5771 +    fi
5772 +    ;;
5773 +  esac
5774 + fi
5775 +
5776   file_magic_cmd=$lt_cv_file_magic_cmd
5777   deplibs_check_method=$lt_cv_deplibs_check_method
5778   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5788 | test -z "$deplibs_check_method" && depli
5788  
5789  
5790  
5791 +
5792 +
5793 +
5794 +
5795 +
5796 +
5797 +
5798 +
5799 +
5800 +
5801 + if test -n "$ac_tool_prefix"; then
5802 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5803 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5804 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 + $as_echo_n "checking for $ac_word... " >&6; }
5806 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5807 +  $as_echo_n "(cached) " >&6
5808 + else
5809 +  if test -n "$DLLTOOL"; then
5810 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5811 + else
5812 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 + for as_dir in $PATH
5814 + do
5815 +  IFS=$as_save_IFS
5816 +  test -z "$as_dir" && as_dir=.
5817 +    for ac_exec_ext in '' $ac_executable_extensions; do
5818 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5820 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 +    break 2
5822 +  fi
5823 + done
5824 +  done
5825 + IFS=$as_save_IFS
5826 +
5827 + fi
5828 + fi
5829 + DLLTOOL=$ac_cv_prog_DLLTOOL
5830 + if test -n "$DLLTOOL"; then
5831 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5832 + $as_echo "$DLLTOOL" >&6; }
5833 + else
5834 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 + $as_echo "no" >&6; }
5836 + fi
5837 +
5838 +
5839 + fi
5840 + if test -z "$ac_cv_prog_DLLTOOL"; then
5841 +  ac_ct_DLLTOOL=$DLLTOOL
5842 +  # Extract the first word of "dlltool", so it can be a program name with args.
5843 + set dummy dlltool; ac_word=$2
5844 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 + $as_echo_n "checking for $ac_word... " >&6; }
5846 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5847 +  $as_echo_n "(cached) " >&6
5848 + else
5849 +  if test -n "$ac_ct_DLLTOOL"; then
5850 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5851 + else
5852 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 + for as_dir in $PATH
5854 + do
5855 +  IFS=$as_save_IFS
5856 +  test -z "$as_dir" && as_dir=.
5857 +    for ac_exec_ext in '' $ac_executable_extensions; do
5858 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5860 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 +    break 2
5862 +  fi
5863 + done
5864 +  done
5865 + IFS=$as_save_IFS
5866 +
5867 + fi
5868 + fi
5869 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5870 + if test -n "$ac_ct_DLLTOOL"; then
5871 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5872 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5873 + else
5874 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 + $as_echo "no" >&6; }
5876 + fi
5877 +
5878 +  if test "x$ac_ct_DLLTOOL" = x; then
5879 +    DLLTOOL="false"
5880 +  else
5881 +    case $cross_compiling:$ac_tool_warned in
5882 + yes:)
5883 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 + ac_tool_warned=yes ;;
5886 + esac
5887 +    DLLTOOL=$ac_ct_DLLTOOL
5888 +  fi
5889 + else
5890 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5891 + fi
5892 +
5893 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5894 +
5895 +
5896 +
5897 +
5898 +
5899 +
5900 +
5901 +
5902 +
5903 +
5904 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5905 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5906 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5907 +  $as_echo_n "(cached) " >&6
5908 + else
5909 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5910 +
5911 + case $host_os in
5912 + cygwin* | mingw* | pw32* | cegcc*)
5913 +  # two different shell functions defined in ltmain.sh
5914 +  # decide which to use based on capabilities of $DLLTOOL
5915 +  case `$DLLTOOL --help 2>&1` in
5916 +  *--identify-strict*)
5917 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5918 +    ;;
5919 +  *)
5920 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5921 +    ;;
5922 +  esac
5923 +  ;;
5924 + *)
5925 +  # fallback: assume linklib IS sharedlib
5926 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5927 +  ;;
5928 + esac
5929 +
5930 + fi
5931 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5932 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5933 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5934 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5935 +
5936 +
5937 +
5938 +
5939 +
5940 +
5941 +
5942   if test -n "$ac_tool_prefix"; then
5943 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5944 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5943 >  for ac_prog in ar
5944 >  do
5945 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5946 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948   $as_echo_n "checking for $ac_word... " >&6; }
5949 < if test "${ac_cv_prog_AR+set}" = set; then :
5949 > if ${ac_cv_prog_AR+:} false; then :
5950    $as_echo_n "(cached) " >&6
5951   else
5952    if test -n "$AR"; then
# Line 5709 | Line 5959 | do
5959    test -z "$as_dir" && as_dir=.
5960      for ac_exec_ext in '' $ac_executable_extensions; do
5961    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5962 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5962 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5963      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964      break 2
5965    fi
# Line 5729 | Line 5979 | $as_echo "no" >&6; }
5979   fi
5980  
5981  
5982 +    test -n "$AR" && break
5983 +  done
5984   fi
5985 < if test -z "$ac_cv_prog_AR"; then
5985 > if test -z "$AR"; then
5986    ac_ct_AR=$AR
5987 <  # Extract the first word of "ar", so it can be a program name with args.
5988 < set dummy ar; ac_word=$2
5987 >  for ac_prog in ar
5988 > do
5989 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
5990 > set dummy $ac_prog; ac_word=$2
5991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992   $as_echo_n "checking for $ac_word... " >&6; }
5993 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5993 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
5994    $as_echo_n "(cached) " >&6
5995   else
5996    if test -n "$ac_ct_AR"; then
# Line 5749 | Line 6003 | do
6003    test -z "$as_dir" && as_dir=.
6004      for ac_exec_ext in '' $ac_executable_extensions; do
6005    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 <    ac_cv_prog_ac_ct_AR="ar"
6006 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6007      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008      break 2
6009    fi
# Line 5768 | Line 6022 | else
6022   $as_echo "no" >&6; }
6023   fi
6024  
6025 +
6026 +  test -n "$ac_ct_AR" && break
6027 + done
6028 +
6029    if test "x$ac_ct_AR" = x; then
6030      AR="false"
6031    else
# Line 5779 | Line 6037 | ac_tool_warned=yes ;;
6037   esac
6038      AR=$ac_ct_AR
6039    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6040   fi
6041  
6042 < test -z "$AR" && AR=ar
6043 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6042 > : ${AR=ar}
6043 > : ${AR_FLAGS=cru}
6044  
6045  
6046  
# Line 5796 | Line 6052 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6052  
6053  
6054  
6055 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6056 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6057 + if ${lt_cv_ar_at_file+:} false; then :
6058 +  $as_echo_n "(cached) " >&6
6059 + else
6060 +  lt_cv_ar_at_file=no
6061 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062 + /* end confdefs.h.  */
6063 +
6064 + int
6065 + main ()
6066 + {
6067 +
6068 +  ;
6069 +  return 0;
6070 + }
6071 + _ACEOF
6072 + if ac_fn_c_try_compile "$LINENO"; then :
6073 +  echo conftest.$ac_objext > conftest.lst
6074 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6075 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6076 +  (eval $lt_ar_try) 2>&5
6077 +  ac_status=$?
6078 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079 +  test $ac_status = 0; }
6080 +      if test "$ac_status" -eq 0; then
6081 +        # Ensure the archiver fails upon bogus file names.
6082 +        rm -f conftest.$ac_objext libconftest.a
6083 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6084 +  (eval $lt_ar_try) 2>&5
6085 +  ac_status=$?
6086 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6087 +  test $ac_status = 0; }
6088 +        if test "$ac_status" -ne 0; then
6089 +          lt_cv_ar_at_file=@
6090 +        fi
6091 +      fi
6092 +      rm -f conftest.* libconftest.a
6093 +
6094 + fi
6095 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6096 +
6097 + fi
6098 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6099 + $as_echo "$lt_cv_ar_at_file" >&6; }
6100 +
6101 + if test "x$lt_cv_ar_at_file" = xno; then
6102 +  archiver_list_spec=
6103 + else
6104 +  archiver_list_spec=$lt_cv_ar_at_file
6105 + fi
6106 +
6107 +
6108 +
6109 +
6110 +
6111 +
6112 +
6113   if test -n "$ac_tool_prefix"; then
6114    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6115   set dummy ${ac_tool_prefix}strip; ac_word=$2
6116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117   $as_echo_n "checking for $ac_word... " >&6; }
6118 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6118 > if ${ac_cv_prog_STRIP+:} false; then :
6119    $as_echo_n "(cached) " >&6
6120   else
6121    if test -n "$STRIP"; then
# Line 5841 | Line 6155 | if test -z "$ac_cv_prog_STRIP"; then
6155   set dummy strip; ac_word=$2
6156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157   $as_echo_n "checking for $ac_word... " >&6; }
6158 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6158 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6159    $as_echo_n "(cached) " >&6
6160   else
6161    if test -n "$ac_ct_STRIP"; then
# Line 5900 | Line 6214 | if test -n "$ac_tool_prefix"; then
6214   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216   $as_echo_n "checking for $ac_word... " >&6; }
6217 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6217 > if ${ac_cv_prog_RANLIB+:} false; then :
6218    $as_echo_n "(cached) " >&6
6219   else
6220    if test -n "$RANLIB"; then
# Line 5940 | Line 6254 | if test -z "$ac_cv_prog_RANLIB"; then
6254   set dummy ranlib; ac_word=$2
6255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256   $as_echo_n "checking for $ac_word... " >&6; }
6257 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6257 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6258    $as_echo_n "(cached) " >&6
6259   else
6260    if test -n "$ac_ct_RANLIB"; then
# Line 6002 | Line 6316 | old_postuninstall_cmds=
6316   if test -n "$RANLIB"; then
6317    case $host_os in
6318    openbsd*)
6319 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6319 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6320      ;;
6321    *)
6322 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6322 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6323      ;;
6324    esac
6325 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6325 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6326   fi
6327  
6328 + case $host_os in
6329 +  darwin*)
6330 +    lock_old_archive_extraction=yes ;;
6331 +  *)
6332 +    lock_old_archive_extraction=no ;;
6333 + esac
6334 +
6335 +
6336 +
6337 +
6338 +
6339 +
6340  
6341  
6342  
# Line 6057 | Line 6383 | compiler=$CC
6383   # Check for command to grab the raw symbol name followed by C symbol from nm.
6384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6385   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6386 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6386 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6387    $as_echo_n "(cached) " >&6
6388   else
6389  
# Line 6118 | Line 6444 | esac
6444   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6445  
6446   # Transform an extracted symbol line into symbol name and symbol address
6447 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6448 < 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'"
6447 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6448 > 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'"
6449  
6450   # Handle CRLF in mingw tool chain
6451   opt_cr=
# Line 6143 | Line 6469 | for ac_symprfx in "" "_"; do
6469      # which start with @ or ?.
6470      lt_cv_sys_global_symbol_pipe="$AWK '"\
6471   "     {last_section=section; section=\$ 3};"\
6472 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6473   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6474   "     \$ 0!~/External *\|/{next};"\
6475   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6482 | for ac_symprfx in "" "_"; do
6482    else
6483      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6484    fi
6485 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6486  
6487    # Check to see that the pipe works correctly.
6488    pipe_works=no
# Line 6180 | Line 6508 | _LT_EOF
6508    test $ac_status = 0; }; then
6509      # Now try to grab the symbols.
6510      nlist=conftest.nm
6511 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6512 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6511 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6512 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6513    ac_status=$?
6514    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6515    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6196 | Line 6524 | _LT_EOF
6524        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6525          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6526            cat <<_LT_EOF > conftest.$ac_ext
6527 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6528 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6529 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6530 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6531 + # define LT_DLSYM_CONST
6532 + #elif defined(__osf__)
6533 + /* This system does not cope well with relocations in const data.  */
6534 + # define LT_DLSYM_CONST
6535 + #else
6536 + # define LT_DLSYM_CONST const
6537 + #endif
6538 +
6539   #ifdef __cplusplus
6540   extern "C" {
6541   #endif
# Line 6207 | Line 6547 | _LT_EOF
6547            cat <<_LT_EOF >> conftest.$ac_ext
6548  
6549   /* The mapping between symbol names and symbols.  */
6550 < const struct {
6550 > LT_DLSYM_CONST struct {
6551    const char *name;
6552    void       *address;
6553   }
# Line 6233 | Line 6573 | static const void *lt_preloaded_setup()
6573   _LT_EOF
6574            # Now try linking the two files.
6575            mv conftest.$ac_objext conftstm.$ac_objext
6576 <          lt_save_LIBS="$LIBS"
6577 <          lt_save_CFLAGS="$CFLAGS"
6576 >          lt_globsym_save_LIBS=$LIBS
6577 >          lt_globsym_save_CFLAGS=$CFLAGS
6578            LIBS="conftstm.$ac_objext"
6579            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6580            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6584 | _LT_EOF
6584    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6585              pipe_works=yes
6586            fi
6587 <          LIBS="$lt_save_LIBS"
6588 <          CFLAGS="$lt_save_CFLAGS"
6587 >          LIBS=$lt_globsym_save_LIBS
6588 >          CFLAGS=$lt_globsym_save_CFLAGS
6589          else
6590            echo "cannot find nm_test_func in $nlist" >&5
6591          fi
# Line 6282 | Line 6622 | else
6622   $as_echo "ok" >&6; }
6623   fi
6624  
6625 + # Response file support.
6626 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6627 +  nm_file_list_spec='@'
6628 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6629 +  nm_file_list_spec='@'
6630 + fi
6631 +
6632 +
6633 +
6634 +
6635 +
6636 +
6637  
6638  
6639  
# Line 6303 | Line 6655 | fi
6655  
6656  
6657  
6658 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6659 + $as_echo_n "checking for sysroot... " >&6; }
6660 +
6661 + # Check whether --with-sysroot was given.
6662 + if test "${with_sysroot+set}" = set; then :
6663 +  withval=$with_sysroot;
6664 + else
6665 +  with_sysroot=no
6666 + fi
6667 +
6668 +
6669 + lt_sysroot=
6670 + case ${with_sysroot} in #(
6671 + yes)
6672 +   if test "$GCC" = yes; then
6673 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6674 +   fi
6675 +   ;; #(
6676 + /*)
6677 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6678 +   ;; #(
6679 + no|'')
6680 +   ;; #(
6681 + *)
6682 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6683 + $as_echo "${with_sysroot}" >&6; }
6684 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6685 +   ;;
6686 + esac
6687 +
6688 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6689 + $as_echo "${lt_sysroot:-no}" >&6; }
6690 +
6691 +
6692 +
6693 +
6694 +
6695   # Check whether --enable-libtool-lock was given.
6696   if test "${enable_libtool_lock+set}" = set; then :
6697    enableval=$enable_libtool_lock;
# Line 6334 | Line 6723 | ia64-*-hpux*)
6723    ;;
6724   *-*-irix6*)
6725    # Find out which ABI we are using.
6726 <  echo '#line 6337 "configure"' > conftest.$ac_ext
6726 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6727    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6728    (eval $ac_compile) 2>&5
6729    ac_status=$?
# Line 6428 | Line 6817 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6817    CFLAGS="$CFLAGS -belf"
6818    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6819   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6820 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6820 > if ${lt_cv_cc_needs_belf+:} false; then :
6821    $as_echo_n "(cached) " >&6
6822   else
6823    ac_ext=c
# Line 6469 | Line 6858 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6858      CFLAGS="$SAVE_CFLAGS"
6859    fi
6860    ;;
6861 < sparc*-*solaris*)
6861 > *-*solaris*)
6862    # Find out which ABI we are using.
6863    echo 'int i;' > conftest.$ac_ext
6864    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6869 | sparc*-*solaris*)
6869      case `/usr/bin/file conftest.o` in
6870      *64-bit*)
6871        case $lt_cv_prog_gnu_ld in
6872 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6872 >      yes*)
6873 >        case $host in
6874 >        i?86-*-solaris*)
6875 >          LD="${LD-ld} -m elf_x86_64"
6876 >          ;;
6877 >        sparc*-*-solaris*)
6878 >          LD="${LD-ld} -m elf64_sparc"
6879 >          ;;
6880 >        esac
6881 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6882 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6883 >          LD="${LD-ld}_sol2"
6884 >        fi
6885 >        ;;
6886        *)
6887          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6888            LD="${LD-ld} -64"
# Line 6496 | Line 6898 | esac
6898  
6899   need_locks="$enable_libtool_lock"
6900  
6901 + if test -n "$ac_tool_prefix"; then
6902 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6903 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6904 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 + $as_echo_n "checking for $ac_word... " >&6; }
6906 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6907 +  $as_echo_n "(cached) " >&6
6908 + else
6909 +  if test -n "$MANIFEST_TOOL"; then
6910 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6911 + else
6912 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 + for as_dir in $PATH
6914 + do
6915 +  IFS=$as_save_IFS
6916 +  test -z "$as_dir" && as_dir=.
6917 +    for ac_exec_ext in '' $ac_executable_extensions; do
6918 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6920 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 +    break 2
6922 +  fi
6923 + done
6924 +  done
6925 + IFS=$as_save_IFS
6926 +
6927 + fi
6928 + fi
6929 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6930 + if test -n "$MANIFEST_TOOL"; then
6931 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6932 + $as_echo "$MANIFEST_TOOL" >&6; }
6933 + else
6934 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 + $as_echo "no" >&6; }
6936 + fi
6937 +
6938 +
6939 + fi
6940 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6941 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6942 +  # Extract the first word of "mt", so it can be a program name with args.
6943 + set dummy mt; ac_word=$2
6944 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 + $as_echo_n "checking for $ac_word... " >&6; }
6946 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6947 +  $as_echo_n "(cached) " >&6
6948 + else
6949 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6950 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6951 + else
6952 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 + for as_dir in $PATH
6954 + do
6955 +  IFS=$as_save_IFS
6956 +  test -z "$as_dir" && as_dir=.
6957 +    for ac_exec_ext in '' $ac_executable_extensions; do
6958 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6960 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 +    break 2
6962 +  fi
6963 + done
6964 +  done
6965 + IFS=$as_save_IFS
6966 +
6967 + fi
6968 + fi
6969 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6970 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6971 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6972 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6973 + else
6974 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 + $as_echo "no" >&6; }
6976 + fi
6977 +
6978 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6979 +    MANIFEST_TOOL=":"
6980 +  else
6981 +    case $cross_compiling:$ac_tool_warned in
6982 + yes:)
6983 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985 + ac_tool_warned=yes ;;
6986 + esac
6987 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6988 +  fi
6989 + else
6990 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6991 + fi
6992 +
6993 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6994 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6995 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6996 + if ${lt_cv_path_mainfest_tool+:} false; then :
6997 +  $as_echo_n "(cached) " >&6
6998 + else
6999 +  lt_cv_path_mainfest_tool=no
7000 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7001 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7002 +  cat conftest.err >&5
7003 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7004 +    lt_cv_path_mainfest_tool=yes
7005 +  fi
7006 +  rm -f conftest*
7007 + fi
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7009 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7010 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7011 +  MANIFEST_TOOL=:
7012 + fi
7013 +
7014 +
7015 +
7016 +
7017 +
7018  
7019    case $host_os in
7020      rhapsody* | darwin*)
# Line 6504 | Line 7023 | need_locks="$enable_libtool_lock"
7023   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025   $as_echo_n "checking for $ac_word... " >&6; }
7026 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7026 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7027    $as_echo_n "(cached) " >&6
7028   else
7029    if test -n "$DSYMUTIL"; then
# Line 6544 | Line 7063 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7063   set dummy dsymutil; ac_word=$2
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065   $as_echo_n "checking for $ac_word... " >&6; }
7066 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7066 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7067    $as_echo_n "(cached) " >&6
7068   else
7069    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6596 | Line 7115 | fi
7115   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117   $as_echo_n "checking for $ac_word... " >&6; }
7118 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7118 > if ${ac_cv_prog_NMEDIT+:} false; then :
7119    $as_echo_n "(cached) " >&6
7120   else
7121    if test -n "$NMEDIT"; then
# Line 6636 | Line 7155 | if test -z "$ac_cv_prog_NMEDIT"; then
7155   set dummy nmedit; ac_word=$2
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157   $as_echo_n "checking for $ac_word... " >&6; }
7158 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7158 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7159    $as_echo_n "(cached) " >&6
7160   else
7161    if test -n "$ac_ct_NMEDIT"; then
# Line 6688 | Line 7207 | fi
7207   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209   $as_echo_n "checking for $ac_word... " >&6; }
7210 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7210 > if ${ac_cv_prog_LIPO+:} false; then :
7211    $as_echo_n "(cached) " >&6
7212   else
7213    if test -n "$LIPO"; then
# Line 6728 | Line 7247 | if test -z "$ac_cv_prog_LIPO"; then
7247   set dummy lipo; ac_word=$2
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249   $as_echo_n "checking for $ac_word... " >&6; }
7250 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7250 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7251    $as_echo_n "(cached) " >&6
7252   else
7253    if test -n "$ac_ct_LIPO"; then
# Line 6780 | Line 7299 | fi
7299   set dummy ${ac_tool_prefix}otool; ac_word=$2
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301   $as_echo_n "checking for $ac_word... " >&6; }
7302 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7302 > if ${ac_cv_prog_OTOOL+:} false; then :
7303    $as_echo_n "(cached) " >&6
7304   else
7305    if test -n "$OTOOL"; then
# Line 6820 | Line 7339 | if test -z "$ac_cv_prog_OTOOL"; then
7339   set dummy otool; ac_word=$2
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341   $as_echo_n "checking for $ac_word... " >&6; }
7342 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7342 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7343    $as_echo_n "(cached) " >&6
7344   else
7345    if test -n "$ac_ct_OTOOL"; then
# Line 6872 | Line 7391 | fi
7391   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393   $as_echo_n "checking for $ac_word... " >&6; }
7394 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7394 > if ${ac_cv_prog_OTOOL64+:} false; then :
7395    $as_echo_n "(cached) " >&6
7396   else
7397    if test -n "$OTOOL64"; then
# Line 6912 | Line 7431 | if test -z "$ac_cv_prog_OTOOL64"; then
7431   set dummy otool64; ac_word=$2
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433   $as_echo_n "checking for $ac_word... " >&6; }
7434 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7434 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7435    $as_echo_n "(cached) " >&6
7436   else
7437    if test -n "$ac_ct_OTOOL64"; then
# Line 6987 | Line 7506 | fi
7506  
7507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7508   $as_echo_n "checking for -single_module linker flag... " >&6; }
7509 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7509 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7510    $as_echo_n "(cached) " >&6
7511   else
7512    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7522 | else
7522          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7523            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7524          _lt_result=$?
7525 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7525 >        # If there is a non-empty error log, and "single_module"
7526 >        # appears in it, assume the flag caused a linker warning
7527 >        if test -s conftest.err && $GREP single_module conftest.err; then
7528 >          cat conftest.err >&5
7529 >        # Otherwise, if the output was created with a 0 exit code from
7530 >        # the compiler, it worked.
7531 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7532            lt_cv_apple_cc_single_mod=yes
7533          else
7534            cat conftest.err >&5
# Line 7014 | Line 7539 | else
7539   fi
7540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7541   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7542 +
7543      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7544   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7545 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7545 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7546    $as_echo_n "(cached) " >&6
7547   else
7548    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7572 | rm -f core conftest.err conftest.$ac_obj
7572   fi
7573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7574   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7575 +
7576 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7577 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7578 + if ${lt_cv_ld_force_load+:} false; then :
7579 +  $as_echo_n "(cached) " >&6
7580 + else
7581 +  lt_cv_ld_force_load=no
7582 +      cat > conftest.c << _LT_EOF
7583 + int forced_loaded() { return 2;}
7584 + _LT_EOF
7585 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7586 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7587 +      echo "$AR cru libconftest.a conftest.o" >&5
7588 +      $AR cru libconftest.a conftest.o 2>&5
7589 +      echo "$RANLIB libconftest.a" >&5
7590 +      $RANLIB libconftest.a 2>&5
7591 +      cat > conftest.c << _LT_EOF
7592 + int main() { return 0;}
7593 + _LT_EOF
7594 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7595 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7596 +      _lt_result=$?
7597 +      if test -s conftest.err && $GREP force_load conftest.err; then
7598 +        cat conftest.err >&5
7599 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7600 +        lt_cv_ld_force_load=yes
7601 +      else
7602 +        cat conftest.err >&5
7603 +      fi
7604 +        rm -f conftest.err libconftest.a conftest conftest.c
7605 +        rm -rf conftest.dSYM
7606 +
7607 + fi
7608 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7609 + $as_echo "$lt_cv_ld_force_load" >&6; }
7610      case $host_os in
7611      rhapsody* | darwin1.[012])
7612        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7073 | Line 7634 | $as_echo "$lt_cv_ld_exported_symbols_lis
7634      else
7635        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7636      fi
7637 <    if test "$DSYMUTIL" != ":"; then
7637 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7638        _lt_dsymutil='~$DSYMUTIL $lib || :'
7639      else
7640        _lt_dsymutil=
# Line 7093 | Line 7654 | if test -n "$CPP" && test -d "$CPP"; the
7654    CPP=
7655   fi
7656   if test -z "$CPP"; then
7657 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7657 >  if ${ac_cv_prog_CPP+:} false; then :
7658    $as_echo_n "(cached) " >&6
7659   else
7660        # Double quotes because CPP needs to be expanded
# Line 7123 | Line 7684 | else
7684    # Broken: fails on valid input.
7685   continue
7686   fi
7687 < rm -f conftest.err conftest.$ac_ext
7687 > rm -f conftest.err conftest.i conftest.$ac_ext
7688  
7689    # OK, works on sane cases.  Now check whether nonexistent headers
7690    # can be detected and how.
# Line 7139 | Line 7700 | else
7700   ac_preproc_ok=:
7701   break
7702   fi
7703 < rm -f conftest.err conftest.$ac_ext
7703 > rm -f conftest.err conftest.i conftest.$ac_ext
7704  
7705   done
7706   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7707 < rm -f conftest.err conftest.$ac_ext
7707 > rm -f conftest.i conftest.err conftest.$ac_ext
7708   if $ac_preproc_ok; then :
7709    break
7710   fi
# Line 7182 | Line 7743 | else
7743    # Broken: fails on valid input.
7744   continue
7745   fi
7746 < rm -f conftest.err conftest.$ac_ext
7746 > rm -f conftest.err conftest.i conftest.$ac_ext
7747  
7748    # OK, works on sane cases.  Now check whether nonexistent headers
7749    # can be detected and how.
# Line 7198 | Line 7759 | else
7759   ac_preproc_ok=:
7760   break
7761   fi
7762 < rm -f conftest.err conftest.$ac_ext
7762 > rm -f conftest.err conftest.i conftest.$ac_ext
7763  
7764   done
7765   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7766 < rm -f conftest.err conftest.$ac_ext
7766 > rm -f conftest.i conftest.err conftest.$ac_ext
7767   if $ac_preproc_ok; then :
7768  
7769   else
7770    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7771   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7772 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7773 < See \`config.log' for more details." "$LINENO" 5; }
7772 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7773 > See \`config.log' for more details" "$LINENO" 5; }
7774   fi
7775  
7776   ac_ext=c
# Line 7221 | Line 7782 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7782  
7783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7784   $as_echo_n "checking for ANSI C header files... " >&6; }
7785 < if test "${ac_cv_header_stdc+set}" = set; then :
7785 > if ${ac_cv_header_stdc+:} false; then :
7786    $as_echo_n "(cached) " >&6
7787   else
7788    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7338 | Line 7899 | do :
7899    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7900   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7901   "
7902 < eval as_val=\$$as_ac_Header
7342 <   if test "x$as_val" = x""yes; then :
7902 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7903    cat >>confdefs.h <<_ACEOF
7904   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7905   _ACEOF
# Line 7353 | Line 7913 | for ac_header in dlfcn.h
7913   do :
7914    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7915   "
7916 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7916 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7917    cat >>confdefs.h <<_ACEOF
7918   #define HAVE_DLFCN_H 1
7919   _ACEOF
# Line 7364 | Line 7924 | done
7924  
7925  
7926  
7367 # Set options
7368 enable_dlopen=yes
7369
7370
7371
7372
7373  enable_win32_dll=no
7927  
7928  
7929 <            # Check whether --enable-shared was given.
7930 < if test "${enable_shared+set}" = set; then :
7931 <  enableval=$enable_shared; p=${PACKAGE-default}
7929 > # Set options
7930 > enable_dlopen=yes
7931 > # Check whether --enable-static was given.
7932 > if test "${enable_static+set}" = set; then :
7933 >  enableval=$enable_static; p=${PACKAGE-default}
7934      case $enableval in
7935 <    yes) enable_shared=yes ;;
7936 <    no) enable_shared=no ;;
7935 >    yes) enable_static=yes ;;
7936 >    no) enable_static=no ;;
7937      *)
7938 <      enable_shared=no
7938 >     enable_static=no
7939        # Look at the argument we got.  We use all the common list separators.
7940        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7941        for pkg in $enableval; do
7942          IFS="$lt_save_ifs"
7943          if test "X$pkg" = "X$p"; then
7944 <          enable_shared=yes
7944 >          enable_static=yes
7945          fi
7946        done
7947        IFS="$lt_save_ifs"
7948        ;;
7949      esac
7950   else
7951 <  enable_shared=yes
7951 >  enable_static=no
7952   fi
7953  
7954  
# Line 7404 | Line 7959 | fi
7959  
7960  
7961  
7962 <  # Check whether --enable-static was given.
7963 < if test "${enable_static+set}" = set; then :
7964 <  enableval=$enable_static; p=${PACKAGE-default}
7962 >
7963 >
7964 >  enable_win32_dll=no
7965 >
7966 >
7967 >            # Check whether --enable-shared was given.
7968 > if test "${enable_shared+set}" = set; then :
7969 >  enableval=$enable_shared; p=${PACKAGE-default}
7970      case $enableval in
7971 <    yes) enable_static=yes ;;
7972 <    no) enable_static=no ;;
7971 >    yes) enable_shared=yes ;;
7972 >    no) enable_shared=no ;;
7973      *)
7974 <     enable_static=no
7974 >      enable_shared=no
7975        # Look at the argument we got.  We use all the common list separators.
7976        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7977        for pkg in $enableval; do
7978          IFS="$lt_save_ifs"
7979          if test "X$pkg" = "X$p"; then
7980 <          enable_static=yes
7980 >          enable_shared=yes
7981          fi
7982        done
7983        IFS="$lt_save_ifs"
7984        ;;
7985      esac
7986   else
7987 <  enable_static=yes
7987 >  enable_shared=yes
7988   fi
7989  
7990  
# Line 7436 | Line 7996 | fi
7996  
7997  
7998  
7999 +
8000   # Check whether --with-pic was given.
8001   if test "${with_pic+set}" = set; then :
8002 <  withval=$with_pic; pic_mode="$withval"
8002 >  withval=$with_pic; lt_p=${PACKAGE-default}
8003 >    case $withval in
8004 >    yes|no) pic_mode=$withval ;;
8005 >    *)
8006 >      pic_mode=default
8007 >      # Look at the argument we got.  We use all the common list separators.
8008 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009 >      for lt_pkg in $withval; do
8010 >        IFS="$lt_save_ifs"
8011 >        if test "X$lt_pkg" = "X$lt_p"; then
8012 >          pic_mode=yes
8013 >        fi
8014 >      done
8015 >      IFS="$lt_save_ifs"
8016 >      ;;
8017 >    esac
8018   else
8019    pic_mode=default
8020   fi
# Line 7515 | Line 8091 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8091  
8092  
8093  
8094 +
8095 +
8096 +
8097 +
8098 +
8099   test -z "$LN_S" && LN_S="ln -s"
8100  
8101  
# Line 7536 | Line 8117 | fi
8117  
8118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8119   $as_echo_n "checking for objdir... " >&6; }
8120 < if test "${lt_cv_objdir+set}" = set; then :
8120 > if ${lt_cv_objdir+:} false; then :
8121    $as_echo_n "(cached) " >&6
8122   else
8123    rm -f .libs 2>/dev/null
# Line 7564 | Line 8145 | _ACEOF
8145  
8146  
8147  
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
8148   case $host_os in
8149   aix3*)
8150    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7589 | Line 8157 | aix3*)
8157    ;;
8158   esac
8159  
7592 # Sed substitution that helps us do robust quoting.  It backslashifies
7593 # metacharacters that are still active within double-quoted strings.
7594 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7595
7596 # Same as above, but do not quote variable references.
7597 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7598
7599 # Sed substitution to delay expansion of an escaped shell variable in a
7600 # double_quote_subst'ed string.
7601 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7602
7603 # Sed substitution to delay expansion of an escaped single quote.
7604 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7605
7606 # Sed substitution to avoid accidental globbing in evaled expressions
7607 no_glob_subst='s/\*/\\\*/g'
7608
8160   # Global variables:
8161   ofile=libtool
8162   can_build_shared=yes
# Line 7634 | Line 8185 | for cc_temp in $compiler""; do
8185      *) break;;
8186    esac
8187   done
8188 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8188 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8189  
8190  
8191   # Only perform the check for file, if the check method requires it
# Line 7644 | Line 8195 | file_magic*)
8195    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8196      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8197   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8198 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8198 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8199    $as_echo_n "(cached) " >&6
8200   else
8201    case $MAGIC_CMD in
# Line 7710 | Line 8261 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8261    if test -n "$ac_tool_prefix"; then
8262      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8263   $as_echo_n "checking for file... " >&6; }
8264 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8264 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8265    $as_echo_n "(cached) " >&6
8266   else
8267    case $MAGIC_CMD in
# Line 7839 | Line 8390 | if test -n "$compiler"; then
8390   lt_prog_compiler_no_builtin_flag=
8391  
8392   if test "$GCC" = yes; then
8393 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8393 >  case $cc_basename in
8394 >  nvcc*)
8395 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8396 >  *)
8397 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8398 >  esac
8399  
8400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8401   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8402 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8402 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8403    $as_echo_n "(cached) " >&6
8404   else
8405    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7859 | Line 8415 | else
8415     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8416     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8417     -e 's:$: $lt_compiler_flag:'`
8418 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
8418 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8419     (eval "$lt_compile" 2>conftest.err)
8420     ac_status=$?
8421     cat conftest.err >&5
8422 <   echo "$as_me:7866: \$? = $ac_status" >&5
8422 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423     if (exit $ac_status) && test -s "$ac_outfile"; then
8424       # The compiler can only warn and ignore the option if not recognized
8425       # So say no if there are warnings other than the usual output.
8426 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8426 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8427       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8428       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8429         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7896 | Line 8452 | fi
8452   lt_prog_compiler_pic=
8453   lt_prog_compiler_static=
8454  
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7900 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8455  
8456    if test "$GCC" = yes; then
8457      lt_prog_compiler_wl='-Wl,'
# Line 7945 | Line 8499 | $as_echo_n "checking for $compiler optio
8499        lt_prog_compiler_pic='-fno-common'
8500        ;;
8501  
8502 +    haiku*)
8503 +      # PIC is the default for Haiku.
8504 +      # The "-static" flag exists, but is broken.
8505 +      lt_prog_compiler_static=
8506 +      ;;
8507 +
8508      hpux*)
8509        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8510        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7987 | Line 8547 | $as_echo_n "checking for $compiler optio
8547        lt_prog_compiler_pic='-fPIC'
8548        ;;
8549      esac
8550 +
8551 +    case $cc_basename in
8552 +    nvcc*) # Cuda Compiler Driver 2.2
8553 +      lt_prog_compiler_wl='-Xlinker '
8554 +      if test -n "$lt_prog_compiler_pic"; then
8555 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8556 +      fi
8557 +      ;;
8558 +    esac
8559    else
8560      # PORTME Check for flag to pass linker flags through the system compiler.
8561      case $host_os in
# Line 8028 | Line 8597 | $as_echo_n "checking for $compiler optio
8597        lt_prog_compiler_static='-non_shared'
8598        ;;
8599  
8600 <    linux* | k*bsd*-gnu)
8600 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8601        case $cc_basename in
8602        # old Intel for x86_64 which still supported -KPIC.
8603        ecc*)
# Line 8049 | Line 8618 | $as_echo_n "checking for $compiler optio
8618          lt_prog_compiler_pic='--shared'
8619          lt_prog_compiler_static='--static'
8620          ;;
8621 <      pgcc* | pgf77* | pgf90* | pgf95*)
8621 >      nagfor*)
8622 >        # NAG Fortran compiler
8623 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8624 >        lt_prog_compiler_pic='-PIC'
8625 >        lt_prog_compiler_static='-Bstatic'
8626 >        ;;
8627 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8628          # Portland Group compilers (*not* the Pentium gcc compiler,
8629          # which looks to be a dead project)
8630          lt_prog_compiler_wl='-Wl,'
# Line 8061 | Line 8636 | $as_echo_n "checking for $compiler optio
8636          # All Alpha code is PIC.
8637          lt_prog_compiler_static='-non_shared'
8638          ;;
8639 <      xl*)
8640 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8639 >      xl* | bgxl* | bgf* | mpixl*)
8640 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8641          lt_prog_compiler_wl='-Wl,'
8642          lt_prog_compiler_pic='-qpic'
8643          lt_prog_compiler_static='-qstaticlink'
8644          ;;
8645        *)
8646          case `$CC -V 2>&1 | sed 5q` in
8647 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8648 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8649 +          lt_prog_compiler_pic='-KPIC'
8650 +          lt_prog_compiler_static='-Bstatic'
8651 +          lt_prog_compiler_wl=''
8652 +          ;;
8653 +        *Sun\ F* | *Sun*Fortran*)
8654 +          lt_prog_compiler_pic='-KPIC'
8655 +          lt_prog_compiler_static='-Bstatic'
8656 +          lt_prog_compiler_wl='-Qoption ld '
8657 +          ;;
8658          *Sun\ C*)
8659            # Sun C 5.9
8660            lt_prog_compiler_pic='-KPIC'
8661            lt_prog_compiler_static='-Bstatic'
8662            lt_prog_compiler_wl='-Wl,'
8663            ;;
8664 <        *Sun\ F*)
8665 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8666 <          lt_prog_compiler_pic='-KPIC'
8664 >        *Intel*\ [CF]*Compiler*)
8665 >          lt_prog_compiler_wl='-Wl,'
8666 >          lt_prog_compiler_pic='-fPIC'
8667 >          lt_prog_compiler_static='-static'
8668 >          ;;
8669 >        *Portland\ Group*)
8670 >          lt_prog_compiler_wl='-Wl,'
8671 >          lt_prog_compiler_pic='-fpic'
8672            lt_prog_compiler_static='-Bstatic'
8082          lt_prog_compiler_wl=''
8673            ;;
8674          esac
8675          ;;
# Line 8111 | Line 8701 | $as_echo_n "checking for $compiler optio
8701        lt_prog_compiler_pic='-KPIC'
8702        lt_prog_compiler_static='-Bstatic'
8703        case $cc_basename in
8704 <      f77* | f90* | f95*)
8704 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8705          lt_prog_compiler_wl='-Qoption ld ';;
8706        *)
8707          lt_prog_compiler_wl='-Wl,';;
# Line 8168 | Line 8758 | case $host_os in
8758      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8759      ;;
8760   esac
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8172 $as_echo "$lt_prog_compiler_pic" >&6; }
8173
8174
8175
8176
8761  
8762 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8763 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8764 + if ${lt_cv_prog_compiler_pic+:} false; then :
8765 +  $as_echo_n "(cached) " >&6
8766 + else
8767 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8768 + fi
8769 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8770 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8771 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8772  
8773   #
8774   # Check to make sure the PIC flag actually works.
# Line 8182 | Line 8776 | $as_echo "$lt_prog_compiler_pic" >&6; }
8776   if test -n "$lt_prog_compiler_pic"; then
8777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8778   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8779 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8779 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8780    $as_echo_n "(cached) " >&6
8781   else
8782    lt_cv_prog_compiler_pic_works=no
# Line 8198 | Line 8792 | else
8792     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8793     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8794     -e 's:$: $lt_compiler_flag:'`
8795 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8795 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8796     (eval "$lt_compile" 2>conftest.err)
8797     ac_status=$?
8798     cat conftest.err >&5
8799 <   echo "$as_me:8205: \$? = $ac_status" >&5
8799 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800     if (exit $ac_status) && test -s "$ac_outfile"; then
8801       # The compiler can only warn and ignore the option if not recognized
8802       # So say no if there are warnings other than the usual output.
8803 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8803 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8804       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8805       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8806         lt_cv_prog_compiler_pic_works=yes
# Line 8235 | Line 8829 | fi
8829  
8830  
8831  
8832 +
8833 +
8834 +
8835 +
8836 +
8837   #
8838   # Check to make sure the static flag actually works.
8839   #
8840   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8842   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8843 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8843 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8844    $as_echo_n "(cached) " >&6
8845   else
8846    lt_cv_prog_compiler_static_works=no
# Line 8254 | Line 8853 | else
8853       if test -s conftest.err; then
8854         # Append any errors to the config.log.
8855         cat conftest.err 1>&5
8856 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8856 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8857         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8858         if diff conftest.exp conftest.er2 >/dev/null; then
8859           lt_cv_prog_compiler_static_works=yes
# Line 8284 | Line 8883 | fi
8883  
8884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8885   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8886 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8886 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8887    $as_echo_n "(cached) " >&6
8888   else
8889    lt_cv_prog_compiler_c_o=no
# Line 8303 | Line 8902 | else
8902     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8903     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8904     -e 's:$: $lt_compiler_flag:'`
8905 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8905 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8906     (eval "$lt_compile" 2>out/conftest.err)
8907     ac_status=$?
8908     cat out/conftest.err >&5
8909 <   echo "$as_me:8310: \$? = $ac_status" >&5
8909 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8911     then
8912       # The compiler can only warn and ignore the option if not recognized
8913       # So say no if there are warnings
8914 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8914 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8915       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8916       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8917         lt_cv_prog_compiler_c_o=yes
# Line 8339 | Line 8938 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8938  
8939    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8940   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8941 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8941 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8942    $as_echo_n "(cached) " >&6
8943   else
8944    lt_cv_prog_compiler_c_o=no
# Line 8358 | Line 8957 | else
8957     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8958     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8959     -e 's:$: $lt_compiler_flag:'`
8960 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8960 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8961     (eval "$lt_compile" 2>out/conftest.err)
8962     ac_status=$?
8963     cat out/conftest.err >&5
8964 <   echo "$as_me:8365: \$? = $ac_status" >&5
8964 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8966     then
8967       # The compiler can only warn and ignore the option if not recognized
8968       # So say no if there are warnings
8969 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8969 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8970       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8971       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8972         lt_cv_prog_compiler_c_o=yes
# Line 8433 | Line 9032 | $as_echo_n "checking whether the $compil
9032    hardcode_direct=no
9033    hardcode_direct_absolute=no
9034    hardcode_libdir_flag_spec=
8436  hardcode_libdir_flag_spec_ld=
9035    hardcode_libdir_separator=
9036    hardcode_minus_L=no
9037    hardcode_shlibpath_var=unsupported
# Line 8480 | Line 9078 | $as_echo_n "checking whether the $compil
9078    esac
9079  
9080    ld_shlibs=yes
9081 +
9082 +  # On some targets, GNU ld is compatible enough with the native linker
9083 +  # that we're better off using the native interface for both.
9084 +  lt_use_gnu_ld_interface=no
9085    if test "$with_gnu_ld" = yes; then
9086 +    case $host_os in
9087 +      aix*)
9088 +        # The AIX port of GNU ld has always aspired to compatibility
9089 +        # with the native linker.  However, as the warning in the GNU ld
9090 +        # block says, versions before 2.19.5* couldn't really create working
9091 +        # shared libraries, regardless of the interface used.
9092 +        case `$LD -v 2>&1` in
9093 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9094 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9095 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9096 +          *)
9097 +            lt_use_gnu_ld_interface=yes
9098 +            ;;
9099 +        esac
9100 +        ;;
9101 +      *)
9102 +        lt_use_gnu_ld_interface=yes
9103 +        ;;
9104 +    esac
9105 +  fi
9106 +
9107 +  if test "$lt_use_gnu_ld_interface" = yes; then
9108      # If archive_cmds runs LD, not CC, wlarc should be empty
9109      wlarc='${wl}'
9110  
# Line 8498 | Line 9122 | $as_echo_n "checking whether the $compil
9122      fi
9123      supports_anon_versioning=no
9124      case `$LD -v 2>&1` in
9125 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9126        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9127        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9128        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8513 | Line 9138 | $as_echo_n "checking whether the $compil
9138          ld_shlibs=no
9139          cat <<_LT_EOF 1>&2
9140  
9141 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9141 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9142   *** to be unable to reliably create shared libraries on AIX.
9143   *** Therefore, libtool is disabling shared libraries support.  If you
9144 < *** really care for shared libraries, you may want to modify your PATH
9145 < *** so that a non-GNU linker is found, and then restart.
9144 > *** really care for shared libraries, you may want to install binutils
9145 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9146 > *** You will then need to restart the configuration process.
9147  
9148   _LT_EOF
9149        fi
# Line 8553 | Line 9179 | _LT_EOF
9179        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9180        # as there is no search path for DLLs.
9181        hardcode_libdir_flag_spec='-L$libdir'
9182 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9183        allow_undefined_flag=unsupported
9184        always_export_symbols=no
9185        enable_shared_with_static_runtimes=yes
9186 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9186 >      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'
9187 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9188  
9189        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9190          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8574 | Line 9202 | _LT_EOF
9202        fi
9203        ;;
9204  
9205 +    haiku*)
9206 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207 +      link_all_deplibs=yes
9208 +      ;;
9209 +
9210      interix[3-9]*)
9211        hardcode_direct=no
9212        hardcode_shlibpath_var=no
# Line 8589 | Line 9222 | _LT_EOF
9222        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'
9223        ;;
9224  
9225 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9225 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9226        tmp_diet=no
9227        if test "$host_os" = linux-dietlibc; then
9228          case $cc_basename in
# Line 8599 | Line 9232 | _LT_EOF
9232        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9233           && test "$tmp_diet" = no
9234        then
9235 <        tmp_addflag=
9235 >        tmp_addflag=' $pic_flag'
9236          tmp_sharedflag='-shared'
9237          case $cc_basename,$host_cpu in
9238          pgcc*)                          # Portland Group C compiler
9239 <          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'
9239 >          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'
9240            tmp_addflag=' $pic_flag'
9241            ;;
9242 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
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'
9242 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9243 >                                        # Portland Group f77 and f90 compilers
9244 >          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'
9245            tmp_addflag=' $pic_flag -Mnomain' ;;
9246          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9247            tmp_addflag=' -i_dynamic' ;;
# Line 8618 | Line 9252 | _LT_EOF
9252          lf95*)                          # Lahey Fortran 8.1
9253            whole_archive_flag_spec=
9254            tmp_sharedflag='--shared' ;;
9255 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9255 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9256            tmp_sharedflag='-qmkshrobj'
9257            tmp_addflag= ;;
9258 +        nvcc*)  # Cuda Compiler Driver 2.2
9259 +          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'
9260 +          compiler_needs_object=yes
9261 +          ;;
9262          esac
9263          case `$CC -V 2>&1 | sed 5q` in
9264          *Sun\ C*)                       # Sun C 5.9
9265 <          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'
9265 >          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'
9266            compiler_needs_object=yes
9267            tmp_sharedflag='-G' ;;
9268          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8640 | Line 9278 | _LT_EOF
9278          fi
9279  
9280          case $cc_basename in
9281 <        xlf*)
9281 >        xlf* | bgf* | bgxlf* | mpixlf*)
9282            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9283            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9284 <          hardcode_libdir_flag_spec=
9285 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8648 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9284 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9285 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9286            if test "x$supports_anon_versioning" = xyes; then
9287              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9288                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9289                echo "local: *; };" >> $output_objdir/$libname.ver~
9290 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9290 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9291            fi
9292            ;;
9293          esac
# Line 8664 | Line 9301 | _LT_EOF
9301          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9302          wlarc=
9303        else
9304 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9304 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9306        fi
9307        ;;
9308  
# Line 8683 | Line 9320 | _LT_EOF
9320  
9321   _LT_EOF
9322        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9323 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9325        else
9326          ld_shlibs=no
9327        fi
# Line 8730 | Line 9367 | _LT_EOF
9367  
9368      *)
9369        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9372        else
9373          ld_shlibs=no
9374        fi
# Line 8771 | Line 9408 | _LT_EOF
9408        else
9409          # If we're using GNU nm, then we don't want the "-C" option.
9410          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9411 +        # Also, AIX nm treats weak defined symbols like other global
9412 +        # defined symbols, whereas GNU nm marks them as "W".
9413          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9414 <          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'
9414 >          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'
9415          else
9416            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'
9417          fi
# Line 8834 | Line 9473 | _LT_EOF
9473          if test "$aix_use_runtimelinking" = yes; then
9474            shared_flag="$shared_flag "'${wl}-G'
9475          fi
8837        link_all_deplibs=no
9476        else
9477          # not using gcc
9478          if test "$host_cpu" = ia64; then
# Line 8860 | Line 9498 | _LT_EOF
9498          allow_undefined_flag='-berok'
9499          # Determine the default libpath from the value encoded in an
9500          # empty executable.
9501 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 >        if test "${lt_cv_aix_libpath+set}" = set; then
9502 >  aix_libpath=$lt_cv_aix_libpath
9503 > else
9504 >  if ${lt_cv_aix_libpath_+:} false; then :
9505 >  $as_echo_n "(cached) " >&6
9506 > else
9507 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508   /* end confdefs.h.  */
9509  
9510   int
# Line 8873 | Line 9517 | main ()
9517   _ACEOF
9518   if ac_fn_c_try_link "$LINENO"; then :
9519  
9520 < lt_aix_libpath_sed='
9521 <    /Import File Strings/,/^$/ {
9522 <        /^0/ {
9523 <            s/^0  *\(.*\)$/\1/
9524 <            p
9525 <        }
9526 <    }'
9527 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9528 < # Check for a 64-bit object if we didn't find anything.
9529 < if test -z "$aix_libpath"; then
9530 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9531 < fi
9520 >  lt_aix_libpath_sed='
9521 >      /Import File Strings/,/^$/ {
9522 >          /^0/ {
9523 >              s/^0  *\([^ ]*\) *$/\1/
9524 >              p
9525 >          }
9526 >      }'
9527 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9528 >  # Check for a 64-bit object if we didn't find anything.
9529 >  if test -z "$lt_cv_aix_libpath_"; then
9530 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9531 >  fi
9532   fi
9533   rm -f core conftest.err conftest.$ac_objext \
9534      conftest$ac_exeext conftest.$ac_ext
9535 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9535 >  if test -z "$lt_cv_aix_libpath_"; then
9536 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9537 >  fi
9538 >
9539 > fi
9540 >
9541 >  aix_libpath=$lt_cv_aix_libpath_
9542 > fi
9543  
9544          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9545 <        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"
9545 >        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"
9546        else
9547          if test "$host_cpu" = ia64; then
9548            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8900 | Line 9551 | if test -z "$aix_libpath"; then aix_libp
9551          else
9552           # Determine the default libpath from the value encoded in an
9553           # empty executable.
9554 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 >         if test "${lt_cv_aix_libpath+set}" = set; then
9555 >  aix_libpath=$lt_cv_aix_libpath
9556 > else
9557 >  if ${lt_cv_aix_libpath_+:} false; then :
9558 >  $as_echo_n "(cached) " >&6
9559 > else
9560 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561   /* end confdefs.h.  */
9562  
9563   int
# Line 8913 | Line 9570 | main ()
9570   _ACEOF
9571   if ac_fn_c_try_link "$LINENO"; then :
9572  
9573 < lt_aix_libpath_sed='
9574 <    /Import File Strings/,/^$/ {
9575 <        /^0/ {
9576 <            s/^0  *\(.*\)$/\1/
9577 <            p
9578 <        }
9579 <    }'
9580 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 < # Check for a 64-bit object if we didn't find anything.
9582 < if test -z "$aix_libpath"; then
9583 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9584 < fi
9573 >  lt_aix_libpath_sed='
9574 >      /Import File Strings/,/^$/ {
9575 >          /^0/ {
9576 >              s/^0  *\([^ ]*\) *$/\1/
9577 >              p
9578 >          }
9579 >      }'
9580 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 >  # Check for a 64-bit object if we didn't find anything.
9582 >  if test -z "$lt_cv_aix_libpath_"; then
9583 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9584 >  fi
9585   fi
9586   rm -f core conftest.err conftest.$ac_objext \
9587      conftest$ac_exeext conftest.$ac_ext
9588 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9588 >  if test -z "$lt_cv_aix_libpath_"; then
9589 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9590 >  fi
9591 >
9592 > fi
9593 >
9594 >  aix_libpath=$lt_cv_aix_libpath_
9595 > fi
9596  
9597           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598            # Warning - without using the other run time loading flags,
9599            # -berok will link without error, but may produce a broken library.
9600            no_undefined_flag=' ${wl}-bernotok'
9601            allow_undefined_flag=' ${wl}-berok'
9602 <          # Exported symbols can be pulled into shared objects from archives
9603 <          whole_archive_flag_spec='$convenience'
9602 >          if test "$with_gnu_ld" = yes; then
9603 >            # We only use this code for GNU lds that support --whole-archive.
9604 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 >          else
9606 >            # Exported symbols can be pulled into shared objects from archives
9607 >            whole_archive_flag_spec='$convenience'
9608 >          fi
9609            archive_cmds_need_lc=yes
9610            # This is similar to how AIX traditionally builds its shared libraries.
9611            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 8968 | Line 9637 | if test -z "$aix_libpath"; then aix_libp
9637        # Microsoft Visual C++.
9638        # hardcode_libdir_flag_spec is actually meaningless, as there is
9639        # no search path for DLLs.
9640 <      hardcode_libdir_flag_spec=' '
9641 <      allow_undefined_flag=unsupported
9642 <      # Tell ltmain to make .lib files, not .a files.
9643 <      libext=lib
9644 <      # Tell ltmain to make .dll files, not .so files.
9645 <      shrext_cmds=".dll"
9646 <      # FIXME: Setting linknames here is a bad hack.
9647 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9648 <      # The linker will automatically build a .lib file if we build a DLL.
9649 <      old_archive_from_new_cmds='true'
9650 <      # FIXME: Should let the user specify the lib program.
9651 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 <      enable_shared_with_static_runtimes=yes
9640 >      case $cc_basename in
9641 >      cl*)
9642 >        # Native MSVC
9643 >        hardcode_libdir_flag_spec=' '
9644 >        allow_undefined_flag=unsupported
9645 >        always_export_symbols=yes
9646 >        file_list_spec='@'
9647 >        # Tell ltmain to make .lib files, not .a files.
9648 >        libext=lib
9649 >        # Tell ltmain to make .dll files, not .so files.
9650 >        shrext_cmds=".dll"
9651 >        # FIXME: Setting linknames here is a bad hack.
9652 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9653 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9654 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9655 >          else
9656 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9657 >          fi~
9658 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9659 >          linknames='
9660 >        # The linker will not automatically build a static lib if we build a DLL.
9661 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9662 >        enable_shared_with_static_runtimes=yes
9663 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9664 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9665 >        # Don't use ranlib
9666 >        old_postinstall_cmds='chmod 644 $oldlib'
9667 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9668 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9669 >          case $lt_outputfile in
9670 >            *.exe|*.EXE) ;;
9671 >            *)
9672 >              lt_outputfile="$lt_outputfile.exe"
9673 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9674 >              ;;
9675 >          esac~
9676 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9677 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9678 >            $RM "$lt_outputfile.manifest";
9679 >          fi'
9680 >        ;;
9681 >      *)
9682 >        # Assume MSVC wrapper
9683 >        hardcode_libdir_flag_spec=' '
9684 >        allow_undefined_flag=unsupported
9685 >        # Tell ltmain to make .lib files, not .a files.
9686 >        libext=lib
9687 >        # Tell ltmain to make .dll files, not .so files.
9688 >        shrext_cmds=".dll"
9689 >        # FIXME: Setting linknames here is a bad hack.
9690 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 >        # The linker will automatically build a .lib file if we build a DLL.
9692 >        old_archive_from_new_cmds='true'
9693 >        # FIXME: Should let the user specify the lib program.
9694 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 >        enable_shared_with_static_runtimes=yes
9696 >        ;;
9697 >      esac
9698        ;;
9699  
9700      darwin* | rhapsody*)
# Line 8991 | Line 9704 | if test -z "$aix_libpath"; then aix_libp
9704    hardcode_direct=no
9705    hardcode_automatic=yes
9706    hardcode_shlibpath_var=unsupported
9707 <  whole_archive_flag_spec=''
9707 >  if test "$lt_cv_ld_force_load" = "yes"; then
9708 >    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\"`'
9709 >
9710 >  else
9711 >    whole_archive_flag_spec=''
9712 >  fi
9713    link_all_deplibs=yes
9714    allow_undefined_flag="$_lt_dar_allow_undefined"
9715    case $cc_basename in
# Line 8999 | Line 9717 | if test -z "$aix_libpath"; then aix_libp
9717       *) _lt_dar_can_shared=$GCC ;;
9718    esac
9719    if test "$_lt_dar_can_shared" = "yes"; then
9720 <    output_verbose_link_cmd=echo
9720 >    output_verbose_link_cmd=func_echo_all
9721      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9722      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9723      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 9017 | Line 9735 | if test -z "$aix_libpath"; then aix_libp
9735        hardcode_shlibpath_var=no
9736        ;;
9737  
9020    freebsd1*)
9021      ld_shlibs=no
9022      ;;
9023
9738      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9739      # support.  Future versions do this automatically, but an explicit c++rt0.o
9740      # does not break anything, and helps significantly (at the cost of a little
# Line 9033 | Line 9747 | if test -z "$aix_libpath"; then aix_libp
9747        ;;
9748  
9749      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9750 <    freebsd2*)
9750 >    freebsd2.*)
9751        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9752        hardcode_direct=yes
9753        hardcode_minus_L=yes
# Line 9042 | Line 9756 | if test -z "$aix_libpath"; then aix_libp
9756  
9757      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9758      freebsd* | dragonfly*)
9759 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9759 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9760        hardcode_libdir_flag_spec='-R$libdir'
9761        hardcode_direct=yes
9762        hardcode_shlibpath_var=no
# Line 9050 | Line 9764 | if test -z "$aix_libpath"; then aix_libp
9764  
9765      hpux9*)
9766        if test "$GCC" = yes; then
9767 <        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'
9767 >        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'
9768        else
9769          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'
9770        fi
# Line 9065 | Line 9779 | if test -z "$aix_libpath"; then aix_libp
9779        ;;
9780  
9781      hpux10*)
9782 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9783 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9783 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784        else
9785          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9786        fi
9787        if test "$with_gnu_ld" = no; then
9788          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075        hardcode_libdir_flag_spec_ld='+b $libdir'
9789          hardcode_libdir_separator=:
9790          hardcode_direct=yes
9791          hardcode_direct_absolute=yes
# Line 9084 | Line 9797 | if test -z "$aix_libpath"; then aix_libp
9797        ;;
9798  
9799      hpux11*)
9800 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9800 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9801          case $host_cpu in
9802          hppa*64*)
9803            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804            ;;
9805          ia64*)
9806 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9807            ;;
9808          *)
9809 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810            ;;
9811          esac
9812        else
# Line 9105 | Line 9818 | if test -z "$aix_libpath"; then aix_libp
9818            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819            ;;
9820          *)
9821 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9821 >
9822 >          # Older versions of the 11.00 compiler do not understand -b yet
9823 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9824 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9825 > $as_echo_n "checking if $CC understands -b... " >&6; }
9826 > if ${lt_cv_prog_compiler__b+:} false; then :
9827 >  $as_echo_n "(cached) " >&6
9828 > else
9829 >  lt_cv_prog_compiler__b=no
9830 >   save_LDFLAGS="$LDFLAGS"
9831 >   LDFLAGS="$LDFLAGS -b"
9832 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9833 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9834 >     # The linker can only warn and ignore the option if not recognized
9835 >     # So say no if there are warnings
9836 >     if test -s conftest.err; then
9837 >       # Append any errors to the config.log.
9838 >       cat conftest.err 1>&5
9839 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9840 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9841 >       if diff conftest.exp conftest.er2 >/dev/null; then
9842 >         lt_cv_prog_compiler__b=yes
9843 >       fi
9844 >     else
9845 >       lt_cv_prog_compiler__b=yes
9846 >     fi
9847 >   fi
9848 >   $RM -r conftest*
9849 >   LDFLAGS="$save_LDFLAGS"
9850 >
9851 > fi
9852 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9853 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9854 >
9855 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9856 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857 > else
9858 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9859 > fi
9860 >
9861            ;;
9862          esac
9863        fi
# Line 9133 | Line 9885 | if test -z "$aix_libpath"; then aix_libp
9885  
9886      irix5* | irix6* | nonstopux*)
9887        if test "$GCC" = yes; then
9888 <        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'
9888 >        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'
9889          # Try to use the -exported_symbol ld option, if it does not
9890          # work, assume that -exports_file does not work either and
9891          # implicitly export all symbols.
9892 <        save_LDFLAGS="$LDFLAGS"
9893 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9894 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 >        # This should be the same for all languages, so no per-tag cache variable.
9893 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9894 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9895 > if ${lt_cv_irix_exported_symbol+:} false; then :
9896 >  $as_echo_n "(cached) " >&6
9897 > else
9898 >  save_LDFLAGS="$LDFLAGS"
9899 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9900 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901   /* end confdefs.h.  */
9902 < int foo(void) {}
9902 > int foo (void) { return 0; }
9903   _ACEOF
9904   if ac_fn_c_try_link "$LINENO"; then :
9905 <  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'
9906 <
9905 >  lt_cv_irix_exported_symbol=yes
9906 > else
9907 >  lt_cv_irix_exported_symbol=no
9908   fi
9909   rm -f core conftest.err conftest.$ac_objext \
9910      conftest$ac_exeext conftest.$ac_ext
9911 <        LDFLAGS="$save_LDFLAGS"
9911 >           LDFLAGS="$save_LDFLAGS"
9912 > fi
9913 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9914 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9915 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9916 >          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'
9917 >        fi
9918        else
9919 <        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'
9920 <        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'
9919 >        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'
9920 >        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'
9921        fi
9922        archive_cmds_need_lc='no'
9923        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9214 | Line 9979 | rm -f core conftest.err conftest.$ac_obj
9979        hardcode_libdir_flag_spec='-L$libdir'
9980        hardcode_minus_L=yes
9981        allow_undefined_flag=unsupported
9982 <      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'
9982 >      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'
9983        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9984        ;;
9985  
9986      osf3*)
9987        if test "$GCC" = yes; then
9988          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9989 <        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'
9989 >        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'
9990        else
9991          allow_undefined_flag=' -expect_unresolved \*'
9992 <        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'
9992 >        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'
9993        fi
9994        archive_cmds_need_lc='no'
9995        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9234 | Line 9999 | rm -f core conftest.err conftest.$ac_obj
9999      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10000        if test "$GCC" = yes; then
10001          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10002 <        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'
10002 >        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'
10003          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10004        else
10005          allow_undefined_flag=' -expect_unresolved \*'
10006 <        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'
10006 >        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'
10007          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~
10008 <        $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'
10008 >        $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'
10009  
10010          # Both c and cxx compiler support -rpath directly
10011          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9253 | Line 10018 | rm -f core conftest.err conftest.$ac_obj
10018        no_undefined_flag=' -z defs'
10019        if test "$GCC" = yes; then
10020          wlarc='${wl}'
10021 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10021 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10022          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10023 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10023 >          $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'
10024        else
10025          case `$CC -V 2>&1` in
10026          *"Compilers 5.0"*)
# Line 9443 | Line 10208 | x|xyes)
10208        # to ld, don't add -lc before -lgcc.
10209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10210   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10211 <      $RM conftest*
10212 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10211 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10212 >  $as_echo_n "(cached) " >&6
10213 > else
10214 >  $RM conftest*
10215 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10216  
10217 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10217 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10218    (eval $ac_compile) 2>&5
10219    ac_status=$?
10220    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10221    test $ac_status = 0; } 2>conftest.err; then
10222 <        soname=conftest
10223 <        lib=conftest
10224 <        libobjs=conftest.$ac_objext
10225 <        deplibs=
10226 <        wl=$lt_prog_compiler_wl
10227 <        pic_flag=$lt_prog_compiler_pic
10228 <        compiler_flags=-v
10229 <        linker_flags=-v
10230 <        verstring=
10231 <        output_objdir=.
10232 <        libname=conftest
10233 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10234 <        allow_undefined_flag=
10235 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10222 >          soname=conftest
10223 >          lib=conftest
10224 >          libobjs=conftest.$ac_objext
10225 >          deplibs=
10226 >          wl=$lt_prog_compiler_wl
10227 >          pic_flag=$lt_prog_compiler_pic
10228 >          compiler_flags=-v
10229 >          linker_flags=-v
10230 >          verstring=
10231 >          output_objdir=.
10232 >          libname=conftest
10233 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10234 >          allow_undefined_flag=
10235 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10236    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10237    ac_status=$?
10238    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10239    test $ac_status = 0; }
10240 <        then
10241 <          archive_cmds_need_lc=no
10242 <        else
10243 <          archive_cmds_need_lc=yes
10244 <        fi
10245 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10246 <      else
10247 <        cat conftest.err 1>&5
10248 <      fi
10249 <      $RM conftest*
10250 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10251 < $as_echo "$archive_cmds_need_lc" >&6; }
10240 >          then
10241 >            lt_cv_archive_cmds_need_lc=no
10242 >          else
10243 >            lt_cv_archive_cmds_need_lc=yes
10244 >          fi
10245 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10246 >        else
10247 >          cat conftest.err 1>&5
10248 >        fi
10249 >        $RM conftest*
10250 >
10251 > fi
10252 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10253 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10254 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10255        ;;
10256      esac
10257    fi
# Line 9638 | Line 10409 | esac
10409  
10410  
10411  
9641
9642
9643
9644
9645
10412    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10413   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10414  
# Line 9651 | Line 10417 | if test "$GCC" = yes; then
10417      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10418      *) lt_awk_arg="/^libraries:/" ;;
10419    esac
10420 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10421 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10420 >  case $host_os in
10421 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10422 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10423 >  esac
10424 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10425 >  case $lt_search_path_spec in
10426 >  *\;*)
10427      # if the path contains ";" then we assume it to be the separator
10428      # otherwise default to the standard path separator (i.e. ":") - it is
10429      # assumed that no part of a normal pathname contains ";" but that should
10430      # okay in the real world where ";" in dirpaths is itself problematic.
10431 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10432 <  else
10433 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10434 <  fi
10431 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10432 >    ;;
10433 >  *)
10434 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10435 >    ;;
10436 >  esac
10437    # Ok, now we have the path, separated by spaces, we can step through it
10438    # and add multilib dir if necessary.
10439    lt_tmp_lt_search_path_spec=
# Line 9673 | Line 10446 | if test "$GCC" = yes; then
10446          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10447      fi
10448    done
10449 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10449 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10450   BEGIN {RS=" "; FS="/|\n";} {
10451    lt_foo="";
10452    lt_count=0;
# Line 9693 | Line 10466 | BEGIN {RS=" "; FS="/|\n";} {
10466    if (lt_foo != "") { lt_freq[lt_foo]++; }
10467    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10468   }'`
10469 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10469 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10470 >  # for these hosts.
10471 >  case $host_os in
10472 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10473 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10474 >  esac
10475 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10476   else
10477    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10478   fi
# Line 9719 | Line 10498 | need_version=unknown
10498  
10499   case $host_os in
10500   aix3*)
10501 <  version_type=linux
10501 >  version_type=linux # correct to gnu/linux during the next big refactor
10502    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10503    shlibpath_var=LIBPATH
10504  
# Line 9728 | Line 10507 | aix3*)
10507    ;;
10508  
10509   aix[4-9]*)
10510 <  version_type=linux
10510 >  version_type=linux # correct to gnu/linux during the next big refactor
10511    need_lib_prefix=no
10512    need_version=no
10513    hardcode_into_libs=yes
# Line 9781 | Line 10560 | amigaos*)
10560    m68k)
10561      library_names_spec='$libname.ixlibrary $libname.a'
10562      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10563 <    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'
10563 >    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'
10564      ;;
10565    esac
10566    ;;
# Line 9793 | Line 10572 | beos*)
10572    ;;
10573  
10574   bsdi[45]*)
10575 <  version_type=linux
10575 >  version_type=linux # correct to gnu/linux during the next big refactor
10576    need_version=no
10577    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9812 | Line 10591 | cygwin* | mingw* | pw32* | cegcc*)
10591    need_version=no
10592    need_lib_prefix=no
10593  
10594 <  case $GCC,$host_os in
10595 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10594 >  case $GCC,$cc_basename in
10595 >  yes,*)
10596 >    # gcc
10597      library_names_spec='$libname.dll.a'
10598      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10599      postinstall_cmds='base_file=`basename \${file}`~
# Line 9834 | Line 10614 | cygwin* | mingw* | pw32* | cegcc*)
10614      cygwin*)
10615        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10616        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10617 >
10618 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10619        ;;
10620      mingw* | cegcc*)
10621        # MinGW DLLs use traditional 'lib' prefix
10622        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9842      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9843      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9844        # It is most probably a Windows format PATH printed by
9845        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9846        # path with ; separators, and with drive letters. We can handle the
9847        # drive letters (cygwin fileutils understands them), so leave them,
9848        # especially as we might pass files found there to a mingw objdump,
9849        # which wouldn't understand a cygwinified path. Ahh.
9850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9851      else
9852        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9853      fi
10623        ;;
10624      pw32*)
10625        # pw32 DLLs use 'pw' prefix rather than 'lib'
10626        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627        ;;
10628      esac
10629 +    dynamic_linker='Win32 ld.exe'
10630 +    ;;
10631 +
10632 +  *,cl*)
10633 +    # Native MSVC
10634 +    libname_spec='$name'
10635 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10636 +    library_names_spec='${libname}.dll.lib'
10637 +
10638 +    case $build_os in
10639 +    mingw*)
10640 +      sys_lib_search_path_spec=
10641 +      lt_save_ifs=$IFS
10642 +      IFS=';'
10643 +      for lt_path in $LIB
10644 +      do
10645 +        IFS=$lt_save_ifs
10646 +        # Let DOS variable expansion print the short 8.3 style file name.
10647 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10648 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10649 +      done
10650 +      IFS=$lt_save_ifs
10651 +      # Convert to MSYS style.
10652 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10653 +      ;;
10654 +    cygwin*)
10655 +      # Convert to unix form, then to dos form, then back to unix form
10656 +      # but this time dos style (no spaces!) so that the unix form looks
10657 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10658 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10659 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10660 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10661 +      ;;
10662 +    *)
10663 +      sys_lib_search_path_spec="$LIB"
10664 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10665 +        # It is most probably a Windows format PATH.
10666 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10667 +      else
10668 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10669 +      fi
10670 +      # FIXME: find the short name or the path components, as spaces are
10671 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10672 +      ;;
10673 +    esac
10674 +
10675 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10676 +    postinstall_cmds='base_file=`basename \${file}`~
10677 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10678 +      dldir=$destdir/`dirname \$dlpath`~
10679 +      test -d \$dldir || mkdir -p \$dldir~
10680 +      $install_prog $dir/$dlname \$dldir/$dlname'
10681 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10682 +      dlpath=$dir/\$dldll~
10683 +       $RM \$dlpath'
10684 +    shlibpath_overrides_runpath=yes
10685 +    dynamic_linker='Win32 link.exe'
10686      ;;
10687  
10688    *)
10689 +    # Assume MSVC wrapper
10690      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10691 +    dynamic_linker='Win32 ld.exe'
10692      ;;
10693    esac
9866  dynamic_linker='Win32 ld.exe'
10694    # FIXME: first we should search . and the directory the executable is in
10695    shlibpath_var=PATH
10696    ;;
# Line 9884 | Line 10711 | darwin* | rhapsody*)
10711    ;;
10712  
10713   dgux*)
10714 <  version_type=linux
10714 >  version_type=linux # correct to gnu/linux during the next big refactor
10715    need_lib_prefix=no
10716    need_version=no
10717    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9892 | Line 10719 | dgux*)
10719    shlibpath_var=LD_LIBRARY_PATH
10720    ;;
10721  
9895 freebsd1*)
9896  dynamic_linker=no
9897  ;;
9898
10722   freebsd* | dragonfly*)
10723    # DragonFly does not have aout.  When/if they implement a new
10724    # versioning mechanism, adjust this.
# Line 9903 | Line 10726 | freebsd* | dragonfly*)
10726      objformat=`/usr/bin/objformat`
10727    else
10728      case $host_os in
10729 <    freebsd[123]*) objformat=aout ;;
10729 >    freebsd[23].*) objformat=aout ;;
10730      *) objformat=elf ;;
10731      esac
10732    fi
# Line 9921 | Line 10744 | freebsd* | dragonfly*)
10744    esac
10745    shlibpath_var=LD_LIBRARY_PATH
10746    case $host_os in
10747 <  freebsd2*)
10747 >  freebsd2.*)
10748      shlibpath_overrides_runpath=yes
10749      ;;
10750    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9941 | Line 10764 | freebsd* | dragonfly*)
10764    ;;
10765  
10766   gnu*)
10767 <  version_type=linux
10767 >  version_type=linux # correct to gnu/linux during the next big refactor
10768    need_lib_prefix=no
10769    need_version=no
10770    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771    soname_spec='${libname}${release}${shared_ext}$major'
10772    shlibpath_var=LD_LIBRARY_PATH
10773 +  shlibpath_overrides_runpath=no
10774 +  hardcode_into_libs=yes
10775 +  ;;
10776 +
10777 + haiku*)
10778 +  version_type=linux # correct to gnu/linux during the next big refactor
10779 +  need_lib_prefix=no
10780 +  need_version=no
10781 +  dynamic_linker="$host_os runtime_loader"
10782 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 +  soname_spec='${libname}${release}${shared_ext}$major'
10784 +  shlibpath_var=LIBRARY_PATH
10785 +  shlibpath_overrides_runpath=yes
10786 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10787    hardcode_into_libs=yes
10788    ;;
10789  
# Line 9992 | Line 10829 | hpux9* | hpux10* | hpux11*)
10829      soname_spec='${libname}${release}${shared_ext}$major'
10830      ;;
10831    esac
10832 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10832 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10833    postinstall_cmds='chmod 555 $lib'
10834 +  # or fails outright, so override atomically:
10835 +  install_override_mode=555
10836    ;;
10837  
10838   interix[3-9]*)
10839 <  version_type=linux
10839 >  version_type=linux # correct to gnu/linux during the next big refactor
10840    need_lib_prefix=no
10841    need_version=no
10842    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10013 | Line 10852 | irix5* | irix6* | nonstopux*)
10852      nonstopux*) version_type=nonstopux ;;
10853      *)
10854          if test "$lt_cv_prog_gnu_ld" = yes; then
10855 <                version_type=linux
10855 >                version_type=linux # correct to gnu/linux during the next big refactor
10856          else
10857                  version_type=irix
10858          fi ;;
# Line 10050 | Line 10889 | linux*oldld* | linux*aout* | linux*coff*
10889    dynamic_linker=no
10890    ;;
10891  
10892 < # This must be Linux ELF.
10893 < linux* | k*bsd*-gnu)
10894 <  version_type=linux
10892 > # This must be glibc/ELF.
10893 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10894 >  version_type=linux # correct to gnu/linux during the next big refactor
10895    need_lib_prefix=no
10896    need_version=no
10897    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10060 | Line 10899 | linux* | k*bsd*-gnu)
10899    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10900    shlibpath_var=LD_LIBRARY_PATH
10901    shlibpath_overrides_runpath=no
10902 +
10903    # Some binutils ld are patched to set DT_RUNPATH
10904 <  save_LDFLAGS=$LDFLAGS
10905 <  save_libdir=$libdir
10906 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10907 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10908 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10905 >  $as_echo_n "(cached) " >&6
10906 > else
10907 >  lt_cv_shlibpath_overrides_runpath=no
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
10913   /* end confdefs.h.  */
10914  
10915   int
# Line 10078 | Line 10922 | main ()
10922   _ACEOF
10923   if ac_fn_c_try_link "$LINENO"; then :
10924    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 <  shlibpath_overrides_runpath=yes
10925 >  lt_cv_shlibpath_overrides_runpath=yes
10926   fi
10927   fi
10928   rm -f core conftest.err conftest.$ac_objext \
10929      conftest$ac_exeext conftest.$ac_ext
10930 <  LDFLAGS=$save_LDFLAGS
10931 <  libdir=$save_libdir
10930 >    LDFLAGS=$save_LDFLAGS
10931 >    libdir=$save_libdir
10932 >
10933 > fi
10934 >
10935 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936  
10937    # This implies no fast_install, which is unacceptable.
10938    # Some rework will be needed to allow for fast_install
10939    # before this can be enabled.
10940    hardcode_into_libs=yes
10941  
10094  # find out which ABI we are using
10095  libsuff=
10096  case "$host_cpu" in
10097  x86_64*|s390x*|powerpc64*)
10098    echo '#line 10098 "configure"' > conftest.$ac_ext
10099    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100  (eval $ac_compile) 2>&5
10101  ac_status=$?
10102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103  test $ac_status = 0; }; then
10104      case `/usr/bin/file conftest.$ac_objext` in
10105      *64-bit*)
10106        libsuff=64
10107        ;;
10108      esac
10109    fi
10110    rm -rf conftest*
10111    ;;
10112  esac
10113
10114  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10115
10942    # Append ld.so.conf contents to the search path
10943    if test -f /etc/ld.so.conf; then
10944 <    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' ' '`
10945 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10944 >    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' ' '`
10945 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10946    fi
10947  
10948    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10147 | Line 10973 | netbsd*)
10973    ;;
10974  
10975   newsos6)
10976 <  version_type=linux
10976 >  version_type=linux # correct to gnu/linux during the next big refactor
10977    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978    shlibpath_var=LD_LIBRARY_PATH
10979    shlibpath_overrides_runpath=yes
# Line 10216 | Line 11042 | rdos*)
11042    ;;
11043  
11044   solaris*)
11045 <  version_type=linux
11045 >  version_type=linux # correct to gnu/linux during the next big refactor
11046    need_lib_prefix=no
11047    need_version=no
11048    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10241 | Line 11067 | sunos4*)
11067    ;;
11068  
11069   sysv4 | sysv4.3*)
11070 <  version_type=linux
11070 >  version_type=linux # correct to gnu/linux during the next big refactor
11071    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072    soname_spec='${libname}${release}${shared_ext}$major'
11073    shlibpath_var=LD_LIBRARY_PATH
# Line 10265 | Line 11091 | sysv4 | sysv4.3*)
11091  
11092   sysv4*MP*)
11093    if test -d /usr/nec ;then
11094 <    version_type=linux
11094 >    version_type=linux # correct to gnu/linux during the next big refactor
11095      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096      soname_spec='$libname${shared_ext}.$major'
11097      shlibpath_var=LD_LIBRARY_PATH
# Line 10296 | Line 11122 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11122  
11123   tpf*)
11124    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11125 <  version_type=linux
11125 >  version_type=linux # correct to gnu/linux during the next big refactor
11126    need_lib_prefix=no
11127    need_version=no
11128    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10306 | Line 11132 | tpf*)
11132    ;;
11133  
11134   uts4*)
11135 <  version_type=linux
11135 >  version_type=linux # correct to gnu/linux during the next big refactor
11136    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137    soname_spec='${libname}${release}${shared_ext}$major'
11138    shlibpath_var=LD_LIBRARY_PATH
# Line 10418 | Line 11244 | fi
11244  
11245  
11246  
11247 +
11248 +
11249 +
11250 +
11251 +
11252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254   hardcode_action=
# Line 10490 | Line 11321 | else
11321    # if libdl is installed we need to link against it
11322      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11324 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11325    $as_echo_n "(cached) " >&6
11326   else
11327    ac_check_lib_save_LIBS=$LIBS
# Line 10524 | Line 11355 | LIBS=$ac_check_lib_save_LIBS
11355   fi
11356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11357   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11358 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11359    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360   else
11361  
# Line 10538 | Line 11369 | fi
11369  
11370    *)
11371      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11372 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11372 > if test "x$ac_cv_func_shl_load" = xyes; then :
11373    lt_cv_dlopen="shl_load"
11374   else
11375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11376   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11377 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11377 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11378    $as_echo_n "(cached) " >&6
11379   else
11380    ac_check_lib_save_LIBS=$LIBS
# Line 10577 | Line 11408 | LIBS=$ac_check_lib_save_LIBS
11408   fi
11409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11410   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11411 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11411 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11412    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11413   else
11414    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11415 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11415 > if test "x$ac_cv_func_dlopen" = xyes; then :
11416    lt_cv_dlopen="dlopen"
11417   else
11418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11419   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11420 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11420 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11421    $as_echo_n "(cached) " >&6
11422   else
11423    ac_check_lib_save_LIBS=$LIBS
# Line 10620 | Line 11451 | LIBS=$ac_check_lib_save_LIBS
11451   fi
11452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11453   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11454 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11454 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11455    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11456   else
11457    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11458   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11459 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11459 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11460    $as_echo_n "(cached) " >&6
11461   else
11462    ac_check_lib_save_LIBS=$LIBS
# Line 10659 | Line 11490 | LIBS=$ac_check_lib_save_LIBS
11490   fi
11491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11492   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11493 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11493 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11494    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11495   else
11496    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11497   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11498 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11498 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11499    $as_echo_n "(cached) " >&6
11500   else
11501    ac_check_lib_save_LIBS=$LIBS
# Line 10698 | Line 11529 | LIBS=$ac_check_lib_save_LIBS
11529   fi
11530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11531   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11532 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11532 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11533    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11534   fi
11535  
# Line 10739 | Line 11570 | fi
11570  
11571      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11572   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11573 < if test "${lt_cv_dlopen_self+set}" = set; then :
11573 > if ${lt_cv_dlopen_self+:} false; then :
11574    $as_echo_n "(cached) " >&6
11575   else
11576            if test "$cross_compiling" = yes; then :
# Line 10748 | Line 11579 | else
11579    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11580    lt_status=$lt_dlunknown
11581    cat > conftest.$ac_ext <<_LT_EOF
11582 < #line 10751 "configure"
11582 > #line $LINENO "configure"
11583   #include "confdefs.h"
11584  
11585   #if HAVE_DLFCN_H
# Line 10789 | Line 11620 | else
11620   #  endif
11621   #endif
11622  
11623 < void fnord() { int i=42;}
11623 > /* When -fvisbility=hidden is used, assume the code has been annotated
11624 >   correspondingly for the symbols needed.  */
11625 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11626 > int fnord () __attribute__((visibility("default")));
11627 > #endif
11628 >
11629 > int fnord () { return 42; }
11630   int main ()
11631   {
11632    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10798 | Line 11635 | int main ()
11635    if (self)
11636      {
11637        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11638 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11638 >      else
11639 >        {
11640 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11641 >          else puts (dlerror ());
11642 >        }
11643        /* dlclose (self); */
11644      }
11645    else
# Line 10835 | Line 11676 | $as_echo "$lt_cv_dlopen_self" >&6; }
11676        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11677        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11678   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11679 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11679 > if ${lt_cv_dlopen_self_static+:} false; then :
11680    $as_echo_n "(cached) " >&6
11681   else
11682            if test "$cross_compiling" = yes; then :
# Line 10844 | Line 11685 | else
11685    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11686    lt_status=$lt_dlunknown
11687    cat > conftest.$ac_ext <<_LT_EOF
11688 < #line 10847 "configure"
11688 > #line $LINENO "configure"
11689   #include "confdefs.h"
11690  
11691   #if HAVE_DLFCN_H
# Line 10885 | Line 11726 | else
11726   #  endif
11727   #endif
11728  
11729 < void fnord() { int i=42;}
11729 > /* When -fvisbility=hidden is used, assume the code has been annotated
11730 >   correspondingly for the symbols needed.  */
11731 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11732 > int fnord () __attribute__((visibility("default")));
11733 > #endif
11734 >
11735 > int fnord () { return 42; }
11736   int main ()
11737   {
11738    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10894 | Line 11741 | int main ()
11741    if (self)
11742      {
11743        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11744 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11744 >      else
11745 >        {
11746 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11747 >          else puts (dlerror ());
11748 >        }
11749        /* dlclose (self); */
11750      }
11751    else
# Line 11063 | Line 11914 | CC="$lt_save_CC"
11914  
11915  
11916  
11917 +
11918 +
11919          ac_config_commands="$ac_config_commands libtool"
11920  
11921  
# Line 11073 | Line 11926 | CC="$lt_save_CC"
11926  
11927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11928   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11929 < if test "${libltdl_cv_shlibext+set}" = set; then :
11929 > if ${libltdl_cv_shlibext+:} false; then :
11930    $as_echo_n "(cached) " >&6
11931   else
11932  
11933   module=yes
11934   eval libltdl_cv_shlibext=$shrext_cmds
11935 + module=no
11936 + eval libltdl_cv_shrext=$shrext_cmds
11937  
11938   fi
11939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11090 | Line 11945 | cat >>confdefs.h <<_ACEOF
11945   _ACEOF
11946  
11947   fi
11948 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11949 +
11950 + cat >>confdefs.h <<_ACEOF
11951 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11952 + _ACEOF
11953 +
11954 + fi
11955  
11956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11957   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11958 < if test "${lt_cv_module_path_var+set}" = set; then :
11958 > if ${lt_cv_module_path_var+:} false; then :
11959    $as_echo_n "(cached) " >&6
11960   else
11961    lt_cv_module_path_var="$shlibpath_var"
# Line 11110 | Line 11972 | fi
11972  
11973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11974   $as_echo_n "checking for the default library search path... " >&6; }
11975 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11975 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11976    $as_echo_n "(cached) " >&6
11977   else
11978    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11147 | Line 12009 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12009   LIBADD_DLOPEN=
12010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12011   $as_echo_n "checking for library containing dlopen... " >&6; }
12012 < if test "${ac_cv_search_dlopen+set}" = set; then :
12012 > if ${ac_cv_search_dlopen+:} false; then :
12013    $as_echo_n "(cached) " >&6
12014   else
12015    ac_func_search_save_LIBS=$LIBS
# Line 11181 | Line 12043 | for ac_lib in '' dl; do
12043   fi
12044   rm -f core conftest.err conftest.$ac_objext \
12045      conftest$ac_exeext
12046 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12046 >  if ${ac_cv_search_dlopen+:} false; then :
12047    break
12048   fi
12049   done
12050 < if test "${ac_cv_search_dlopen+set}" = set; then :
12050 > if ${ac_cv_search_dlopen+:} false; then :
12051  
12052   else
12053    ac_cv_search_dlopen=no
# Line 11230 | Line 12092 | $as_echo "#define HAVE_LIBDL 1" >>confde
12092   else
12093    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12094   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12095 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12095 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12096    $as_echo_n "(cached) " >&6
12097   else
12098    ac_check_lib_save_LIBS=$LIBS
# Line 11264 | Line 12126 | LIBS=$ac_check_lib_save_LIBS
12126   fi
12127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12128   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12129 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12129 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12130  
12131   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12132  
# Line 11284 | Line 12146 | then
12146    for ac_func in dlerror
12147   do :
12148    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12149 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12149 > if test "x$ac_cv_func_dlerror" = xyes; then :
12150    cat >>confdefs.h <<_ACEOF
12151   #define HAVE_DLERROR 1
12152   _ACEOF
# Line 11298 | Line 12160 | fi
12160  
12161   LIBADD_SHL_LOAD=
12162   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12163 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12163 > if test "x$ac_cv_func_shl_load" = xyes; then :
12164  
12165   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12166  
# Line 11306 | Line 12168 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12168   else
12169    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12170   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12171 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12171 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12172    $as_echo_n "(cached) " >&6
12173   else
12174    ac_check_lib_save_LIBS=$LIBS
# Line 11340 | Line 12202 | LIBS=$ac_check_lib_save_LIBS
12202   fi
12203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12204   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12205 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12205 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12206  
12207   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12208  
# Line 11356 | Line 12218 | case $host_os in
12218   darwin[1567].*)
12219   # We only want this for pre-Mac OS X 10.4.
12220    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12221 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12221 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12222  
12223   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12224  
# Line 11370 | Line 12232 | beos*)
12232   cygwin* | mingw* | os2* | pw32*)
12233    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12234   "
12235 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12235 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12236    ac_have_decl=1
12237   else
12238    ac_have_decl=0
# Line 11386 | Line 12248 | esac
12248  
12249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12250   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12251 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12251 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12252    $as_echo_n "(cached) " >&6
12253   else
12254    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12282 | LIBS=$ac_check_lib_save_LIBS
12282   fi
12283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12284   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12285 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12285 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12286  
12287   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12288  
# Line 11454 | Line 12316 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12316  
12317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12318   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12319 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12319 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12320    $as_echo_n "(cached) " >&6
12321   else
12322    lt_cv_sys_symbol_underscore=no
# Line 11504 | Line 12366 | if test x"$lt_cv_sys_symbol_underscore"
12366       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12367          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12368   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12369 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12369 > if ${libltdl_cv_need_uscore+:} false; then :
12370    $as_echo_n "(cached) " >&6
12371   else
12372    libltdl_cv_need_uscore=unknown
# Line 11516 | Line 12378 | else
12378    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12379    lt_status=$lt_dlunknown
12380    cat > conftest.$ac_ext <<_LT_EOF
12381 < #line 11519 "configure"
12381 > #line $LINENO "configure"
12382   #include "confdefs.h"
12383  
12384   #if HAVE_DLFCN_H
# Line 11557 | Line 12419 | else
12419   #  endif
12420   #endif
12421  
12422 < void fnord() { int i=42;}
12422 > /* When -fvisbility=hidden is used, assume the code has been annotated
12423 >   correspondingly for the symbols needed.  */
12424 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12425 > int fnord () __attribute__((visibility("default")));
12426 > #endif
12427 >
12428 > int fnord () { return 42; }
12429   int main ()
12430   {
12431    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11566 | Line 12434 | int main ()
12434    if (self)
12435      {
12436        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12437 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12437 >      else
12438 >        {
12439 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12440 >          else puts (dlerror ());
12441 >        }
12442        /* dlclose (self); */
12443      }
12444    else
# Line 11610 | Line 12482 | fi
12482  
12483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12484   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12485 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12485 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12486    $as_echo_n "(cached) " >&6
12487   else
12488    # PORTME does your system automatically load deplibs for dlopen?
# Line 11642 | Line 12514 | else
12514    freebsd* | dragonfly*)
12515      lt_cv_sys_dlopen_deplibs=yes
12516      ;;
12517 <  gnu* | linux* | k*bsd*-gnu)
12517 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12518      # GNU and its variants, using gnu ld.so (Glibc)
12519      lt_cv_sys_dlopen_deplibs=yes
12520      ;;
# Line 11716 | Line 12588 | for ac_header in argz.h
12588   do :
12589    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12590   "
12591 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12591 > if test "x$ac_cv_header_argz_h" = xyes; then :
12592    cat >>confdefs.h <<_ACEOF
12593   #define HAVE_ARGZ_H 1
12594   _ACEOF
# Line 11730 | Line 12602 | ac_fn_c_check_type "$LINENO" "error_t" "
12602   #  include <argz.h>
12603   #endif
12604   "
12605 < if test "x$ac_cv_type_error_t" = x""yes; then :
12605 > if test "x$ac_cv_type_error_t" = xyes; then :
12606  
12607   cat >>confdefs.h <<_ACEOF
12608   #define HAVE_ERROR_T 1
# Line 11753 | Line 12625 | for ac_func in argz_add argz_append argz
12625   do :
12626    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12627   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12628 < eval as_val=\$$as_ac_var
11757 <   if test "x$as_val" = x""yes; then :
12628 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12629    cat >>confdefs.h <<_ACEOF
12630   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12631   _ACEOF
# Line 11771 | Line 12642 | done
12642   if test -z "$ARGZ_H"; then :
12643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12644   $as_echo_n "checking if argz actually works... " >&6; }
12645 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12645 > if ${lt_cv_sys_argz_works+:} false; then :
12646    $as_echo_n "(cached) " >&6
12647   else
12648    case $host_os in #(
# Line 11802 | Line 12673 | else
12673   fi
12674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12675   $as_echo "$lt_cv_sys_argz_works" >&6; }
12676 <     if test $lt_cv_sys_argz_works = yes; then :
12676 >     if test "$lt_cv_sys_argz_works" = yes; then :
12677  
12678   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12679  
# Line 11819 | Line 12690 | fi
12690  
12691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12692   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12693 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12693 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12694    $as_echo_n "(cached) " >&6
12695   else
12696    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11837 | Line 12708 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12708  
12709   fi
12710  
11840
11841
12711   # Set options
12712  
12713  
# Line 11851 | Line 12720 | fi
12720  
12721  
12722  
11854
12723   # Check whether --with-included_ltdl was given.
12724   if test "${with_included_ltdl+set}" = set; then :
12725    withval=$with_included_ltdl;
# Line 11864 | Line 12732 | if test "x$with_included_ltdl" != xyes;
12732    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12733  
12734   "
12735 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12735 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12736    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12737              #include <ltdl.h>
12738   "
12739 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12739 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12741   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12742 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12742 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12743    $as_echo_n "(cached) " >&6
12744   else
12745    ac_check_lib_save_LIBS=$LIBS
# Line 11905 | Line 12773 | LIBS=$ac_check_lib_save_LIBS
12773   fi
12774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12775   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12776 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12776 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12777    with_included_ltdl=no
12778   else
12779    with_included_ltdl=yes
# Line 11925 | Line 12793 | fi
12793  
12794  
12795  
11928
11929
11930
11931
11932
12796   # Check whether --with-ltdl_include was given.
12797   if test "${with_ltdl_include+set}" = set; then :
12798    withval=$with_ltdl_include;
# Line 11939 | Line 12802 | fi
12802   if test -n "$with_ltdl_include"; then
12803    if test -f "$with_ltdl_include/ltdl.h"; then :
12804    else
12805 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12805 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12806    fi
12807   else
12808    with_ltdl_include=no
# Line 11955 | Line 12818 | fi
12818   if test -n "$with_ltdl_lib"; then
12819    if test -f "$with_ltdl_lib/libltdl.la"; then :
12820    else
12821 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12821 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12822    fi
12823   else
12824    with_ltdl_lib=no
# Line 11964 | Line 12827 | fi
12827   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12828    ,yes,no,no,)
12829          case $enable_ltdl_convenience in
12830 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12830 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12831    "") enable_ltdl_convenience=yes
12832        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12833   esac
# Line 11992 | Line 12855 | $as_echo "#define HAVE_LTDL 1" >>confdef
12855          LTDLINCL=
12856          ;;
12857    ,no*,no,*)
12858 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12858 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12859          ;;
12860    *)    with_included_ltdl=no
12861          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12043 | Line 12906 | fi
12906  
12907  
12908  
12046    subdirs="$subdirs libltdl"
12047
12048
12909  
12910  
12911  
# Line 12062 | Line 12922 | do :
12922    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12923   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12924   "
12925 < eval as_val=\$$as_ac_Header
12066 <   if test "x$as_val" = x""yes; then :
12925 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12926    cat >>confdefs.h <<_ACEOF
12927   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928   _ACEOF
# Line 12077 | Line 12936 | for ac_func in closedir opendir readdir
12936   do :
12937    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12938   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12939 < eval as_val=\$$as_ac_var
12081 <   if test "x$as_val" = x""yes; then :
12939 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12940    cat >>confdefs.h <<_ACEOF
12941   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12942   _ACEOF
# Line 12095 | Line 12953 | for ac_func in strlcat strlcpy
12953   do :
12954    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12955   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12956 < eval as_val=\$$as_ac_var
12099 <   if test "x$as_val" = x""yes; then :
12956 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12957    cat >>confdefs.h <<_ACEOF
12958   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12959   _ACEOF
# Line 12116 | Line 12973 | cat >>confdefs.h <<_ACEOF
12973   _ACEOF
12974  
12975  
12976 + name=
12977 + eval "lt_libprefix=\"$libname_spec\""
12978 +
12979 + cat >>confdefs.h <<_ACEOF
12980 + #define LT_LIBPREFIX "$lt_libprefix"
12981 + _ACEOF
12982 +
12983 +
12984   name=ltdl
12985 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12985 > eval "LTDLOPEN=\"$libname_spec\""
12986  
12987  
12988  
# Line 12131 | Line 12996 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12996  
12997   LIBTOOL="$LIBTOOL --silent"
12998  
12134
12999   # Checks for libraries.
13000  
13001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13002   $as_echo_n "checking for library containing socket... " >&6; }
13003 < if test "${ac_cv_search_socket+set}" = set; then :
13003 > if ${ac_cv_search_socket+:} false; then :
13004    $as_echo_n "(cached) " >&6
13005   else
13006    ac_func_search_save_LIBS=$LIBS
# Line 12170 | Line 13034 | for ac_lib in '' socket; do
13034   fi
13035   rm -f core conftest.err conftest.$ac_objext \
13036      conftest$ac_exeext
13037 <  if test "${ac_cv_search_socket+set}" = set; then :
13037 >  if ${ac_cv_search_socket+:} false; then :
13038    break
13039   fi
13040   done
13041 < if test "${ac_cv_search_socket+set}" = set; then :
13041 > if ${ac_cv_search_socket+:} false; then :
13042  
13043   else
13044    ac_cv_search_socket=no
# Line 12189 | Line 13053 | if test "$ac_res" != no; then :
13053    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13054  
13055   else
13056 <  as_fn_error "socket library not found" "$LINENO" 5
13056 >  as_fn_error $? "socket library not found" "$LINENO" 5
13057 > fi
13058 >
13059 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13060 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13061 > if ${ac_cv_search_inet_ntoa+:} false; then :
13062 >  $as_echo_n "(cached) " >&6
13063 > else
13064 >  ac_func_search_save_LIBS=$LIBS
13065 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 > /* end confdefs.h.  */
13067 >
13068 > /* Override any GCC internal prototype to avoid an error.
13069 >   Use char because int might match the return type of a GCC
13070 >   builtin and then its argument prototype would still apply.  */
13071 > #ifdef __cplusplus
13072 > extern "C"
13073 > #endif
13074 > char inet_ntoa ();
13075 > int
13076 > main ()
13077 > {
13078 > return inet_ntoa ();
13079 >  ;
13080 >  return 0;
13081 > }
13082 > _ACEOF
13083 > for ac_lib in '' nsl; do
13084 >  if test -z "$ac_lib"; then
13085 >    ac_res="none required"
13086 >  else
13087 >    ac_res=-l$ac_lib
13088 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13089 >  fi
13090 >  if ac_fn_c_try_link "$LINENO"; then :
13091 >  ac_cv_search_inet_ntoa=$ac_res
13092 > fi
13093 > rm -f core conftest.err conftest.$ac_objext \
13094 >    conftest$ac_exeext
13095 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13096 >  break
13097 > fi
13098 > done
13099 > if ${ac_cv_search_inet_ntoa+:} false; then :
13100 >
13101 > else
13102 >  ac_cv_search_inet_ntoa=no
13103 > fi
13104 > rm conftest.$ac_ext
13105 > LIBS=$ac_func_search_save_LIBS
13106 > fi
13107 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13108 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13109 > ac_res=$ac_cv_search_inet_ntoa
13110 > if test "$ac_res" != no; then :
13111 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13112 >
13113 > fi
13114 >
13115 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13116 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13117 > if ${ac_cv_search_inet_aton+:} false; then :
13118 >  $as_echo_n "(cached) " >&6
13119 > else
13120 >  ac_func_search_save_LIBS=$LIBS
13121 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 > /* end confdefs.h.  */
13123 >
13124 > /* Override any GCC internal prototype to avoid an error.
13125 >   Use char because int might match the return type of a GCC
13126 >   builtin and then its argument prototype would still apply.  */
13127 > #ifdef __cplusplus
13128 > extern "C"
13129 > #endif
13130 > char inet_aton ();
13131 > int
13132 > main ()
13133 > {
13134 > return inet_aton ();
13135 >  ;
13136 >  return 0;
13137 > }
13138 > _ACEOF
13139 > for ac_lib in '' resolv; do
13140 >  if test -z "$ac_lib"; then
13141 >    ac_res="none required"
13142 >  else
13143 >    ac_res=-l$ac_lib
13144 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13145 >  fi
13146 >  if ac_fn_c_try_link "$LINENO"; then :
13147 >  ac_cv_search_inet_aton=$ac_res
13148 > fi
13149 > rm -f core conftest.err conftest.$ac_objext \
13150 >    conftest$ac_exeext
13151 >  if ${ac_cv_search_inet_aton+:} false; then :
13152 >  break
13153 > fi
13154 > done
13155 > if ${ac_cv_search_inet_aton+:} false; then :
13156 >
13157 > else
13158 >  ac_cv_search_inet_aton=no
13159 > fi
13160 > rm conftest.$ac_ext
13161 > LIBS=$ac_func_search_save_LIBS
13162 > fi
13163 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13164 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13165 > ac_res=$ac_cv_search_inet_aton
13166 > if test "$ac_res" != no; then :
13167 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13168 >
13169   fi
13170  
13171    for ac_func in inet_aton inet_ntop inet_pton
13172   do :
13173    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13174   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13175 < eval as_val=\$$as_ac_var
12200 <   if test "x$as_val" = x""yes; then :
13175 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13176    cat >>confdefs.h <<_ACEOF
13177   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13178   _ACEOF
# Line 12210 | Line 13185 | done
13185     #include <netdb.h>
13186  
13187   "
13188 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13188 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13189  
13190   cat >>confdefs.h <<_ACEOF
13191   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12223 | Line 13198 | ac_fn_c_check_type "$LINENO" "struct soc
13198     #include <netdb.h>
13199  
13200   "
13201 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13201 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13202  
13203   cat >>confdefs.h <<_ACEOF
13204   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12236 | Line 13211 | ac_fn_c_check_type "$LINENO" "struct add
13211     #include <netdb.h>
13212  
13213   "
13214 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13214 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13215  
13216   cat >>confdefs.h <<_ACEOF
13217   #define HAVE_STRUCT_ADDRINFO 1
# Line 12248 | Line 13223 | fi
13223    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13224    <sys/socket.h>
13225   "
13226 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13226 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13227  
13228   cat >>confdefs.h <<_ACEOF
13229   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12259 | Line 13234 | fi
13234  
13235  
13236  
13237 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13238 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13239 <
12265 < cat >>confdefs.h <<_ACEOF
12266 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12267 < _ACEOF
12268 <
12269 <
12270 < else
13237 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13238 > "
13239 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13240  
13241   $as_echo "#define IPV6 1" >>confdefs.h
13242  
# Line 12275 | Line 13244 | fi
13244  
13245  
13246  
12278
13247   # Checks for typedefs, structures, and compiler characteristics.
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12281 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12282 if test "${ac_cv_c_const+set}" = set; then :
12283  $as_echo_n "(cached) " >&6
12284 else
12285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 int
12289 main ()
12290 {
12291 /* FIXME: Include the comments suggested by Paul. */
12292 #ifndef __cplusplus
12293  /* Ultrix mips cc rejects this.  */
12294  typedef int charset[2];
12295  const charset cs;
12296  /* SunOS 4.1.1 cc rejects this.  */
12297  char const *const *pcpcc;
12298  char **ppc;
12299  /* NEC SVR4.0.2 mips cc rejects this.  */
12300  struct point {int x, y;};
12301  static struct point const zero = {0,0};
12302  /* AIX XL C 1.02.0.0 rejects this.
12303     It does not let you subtract one const X* pointer from another in
12304     an arm of an if-expression whose if-part is not a constant
12305     expression */
12306  const char *g = "string";
12307  pcpcc = &g + (g ? g-g : 0);
12308  /* HPUX 7.0 cc rejects these. */
12309  ++pcpcc;
12310  ppc = (char**) pcpcc;
12311  pcpcc = (char const *const *) ppc;
12312  { /* SCO 3.2v4 cc rejects this.  */
12313    char *t;
12314    char const *s = 0 ? (char *) 0 : (char const *) 0;
12315
12316    *t++ = 0;
12317    if (s) return 0;
12318  }
12319  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12320    int x[] = {25, 17};
12321    const int *foo = &x[0];
12322    ++foo;
12323  }
12324  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12325    typedef const int *iptr;
12326    iptr p = 0;
12327    ++p;
12328  }
12329  { /* AIX XL C 1.02.0.0 rejects this saying
12330       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12331    struct s { int j; const int *ap[3]; };
12332    struct s *b; b->j = 5;
12333  }
12334  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12335    const int foo = 10;
12336    if (!foo) return 0;
12337  }
12338  return !cs[0] && !zero.x;
12339 #endif
12340
12341  ;
12342  return 0;
12343 }
12344 _ACEOF
12345 if ac_fn_c_try_compile "$LINENO"; then :
12346  ac_cv_c_const=yes
12347 else
12348  ac_cv_c_const=no
12349 fi
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 fi
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12353 $as_echo "$ac_cv_c_const" >&6; }
12354 if test $ac_cv_c_const = no; then
12355
12356 $as_echo "#define const /**/" >>confdefs.h
12357
12358 fi
12359
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12361 $as_echo_n "checking for inline... " >&6; }
12362 if test "${ac_cv_c_inline+set}" = set; then :
12363  $as_echo_n "(cached) " >&6
12364 else
12365  ac_cv_c_inline=no
12366 for ac_kw in inline __inline__ __inline; do
12367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h.  */
12369 #ifndef __cplusplus
12370 typedef int foo_t;
12371 static $ac_kw foo_t static_foo () {return 0; }
12372 $ac_kw foo_t foo () {return 0; }
12373 #endif
12374
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377  ac_cv_c_inline=$ac_kw
12378 fi
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380  test "$ac_cv_c_inline" != no && break
12381 done
12382
12383 fi
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12385 $as_echo "$ac_cv_c_inline" >&6; }
12386
12387 case $ac_cv_c_inline in
12388  inline | yes) ;;
12389  *)
12390    case $ac_cv_c_inline in
12391      no) ac_val=;;
12392      *) ac_val=$ac_cv_c_inline;;
12393    esac
12394    cat >>confdefs.h <<_ACEOF
12395 #ifndef __cplusplus
12396 #define inline $ac_val
12397 #endif
12398 _ACEOF
12399    ;;
12400 esac
12401
13248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13249   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13250 < if test "${ac_cv_c_bigendian+set}" = set; then :
13250 > if ${ac_cv_c_bigendian+:} false; then :
13251    $as_echo_n "(cached) " >&6
13252   else
13253    ac_cv_c_bigendian=unknown
# Line 12619 | Line 13465 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13465  
13466       ;; #(
13467     *)
13468 <     as_fn_error "unknown endianness
13468 >     as_fn_error $? "unknown endianness
13469   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13470   esac
13471  
13472  
12627 # The cast to long int works around a bug in the HP C Compiler
12628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12630 # This bug is HP SR number 8606223364.
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12632 $as_echo_n "checking size of int64_t... " >&6; }
12633 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635 else
12636  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12637
12638 else
12639  if test "$ac_cv_type_int64_t" = yes; then
12640     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12642 { as_fn_set_status 77
12643 as_fn_error "cannot compute sizeof (int64_t)
12644 See \`config.log' for more details." "$LINENO" 5; }; }
12645   else
12646     ac_cv_sizeof_int64_t=0
12647   fi
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12652 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12653
12654
12655
12656 cat >>confdefs.h <<_ACEOF
12657 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12658 _ACEOF
12659
12660
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12666 $as_echo_n "checking size of long long... " >&6; }
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12668  $as_echo_n "(cached) " >&6
12669 else
12670  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12671
12672 else
12673  if test "$ac_cv_type_long_long" = yes; then
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 { as_fn_set_status 77
12677 as_fn_error "cannot compute sizeof (long long)
12678 See \`config.log' for more details." "$LINENO" 5; }; }
12679   else
12680     ac_cv_sizeof_long_long=0
12681   fi
12682 fi
12683
12684 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12686 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12687
12688
12689
12690 cat >>confdefs.h <<_ACEOF
12691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12692 _ACEOF
12693
12694
12695
12696 if test "$ac_cv_sizeof_int64_t" = 8; then
12697  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12698 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12699
12700 fi
12701
12702  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_int64_t" = x""yes; then :
12704
12705 fi
12706
12707 elif test "$ac_cv_sizeof_long_long" = 8; then
12708  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12709 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12710
12711 else
12712
12713 cat >>confdefs.h <<_ACEOF
12714 #define uint64_t unsigned long long
12715 _ACEOF
12716
12717 fi
12718
12719  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12720 if test "x$ac_cv_type_int64_t" = x""yes; then :
12721
12722 else
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define int64_t long long
12726 _ACEOF
12727
12728 fi
12729
12730 else
12731  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12732 fi
12733
12734
13473   # Checks for library functions.
13474  
13475  
# Line 12740 | Line 13478 | fi
13478   do :
13479    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13480   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13481 < eval as_val=\$$as_ac_var
12744 <   if test "x$as_val" = x""yes; then :
13481 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13482    cat >>confdefs.h <<_ACEOF
13483   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13484   _ACEOF
# Line 12761 | Line 13498 | done
13498  
13499  
13500  
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
13501   # Checks for header files.
13502  
13503  
# Line 12780 | Line 13507 | do :
13507    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13508   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13509   "
13510 < eval as_val=\$$as_ac_Header
12784 <   if test "x$as_val" = x""yes; then :
13510 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13511    cat >>confdefs.h <<_ACEOF
13512   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13513   _ACEOF
# Line 12806 | Line 13532 | done
13532  
13533  
13534  
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12824 $as_echo_n "checking for /dev/null... " >&6; }
12825 if test -c /dev/null ; then
12826
12827 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12828
12829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12830 $as_echo "yes" >&6; }
12831 else
12832
12833 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12834
12835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12836 $as_echo "no - using devnull.log" >&6; }
12837 fi
12838
12839
13535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13536   $as_echo_n "checking for library containing crypt... " >&6; }
13537 < if test "${ac_cv_search_crypt+set}" = set; then :
13537 > if ${ac_cv_search_crypt+:} false; then :
13538    $as_echo_n "(cached) " >&6
13539   else
13540    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13556 | return crypt ();
13556    return 0;
13557   }
13558   _ACEOF
13559 < for ac_lib in '' crypt descrypt; do
13559 > for ac_lib in '' crypt; do
13560    if test -z "$ac_lib"; then
13561      ac_res="none required"
13562    else
# Line 12873 | Line 13568 | for ac_lib in '' crypt descrypt; do
13568   fi
13569   rm -f core conftest.err conftest.$ac_objext \
13570      conftest$ac_exeext
13571 <  if test "${ac_cv_search_crypt+set}" = set; then :
13571 >  if ${ac_cv_search_crypt+:} false; then :
13572    break
13573   fi
13574   done
13575 < if test "${ac_cv_search_crypt+set}" = set; then :
13575 > if ${ac_cv_search_crypt+:} false; then :
13576  
13577   else
13578    ac_cv_search_crypt=no
# Line 12893 | Line 13588 | if test "$ac_res" != no; then :
13588  
13589   fi
13590  
12896 if test "$ac_cv_search_crypt" = "none required"; then
12897  HAVE_CRYPT_TRUE=
12898  HAVE_CRYPT_FALSE='#'
12899 else
12900  HAVE_CRYPT_TRUE='#'
12901  HAVE_CRYPT_FALSE=
12902 fi
12903
12904
12905
12906
12907 # Check whether --with-zlib-path was given.
12908 if test "${with_zlib_path+set}" = set; then :
12909  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12910 fi
12911
12912
12913 # Check whether --enable-zlib was given.
12914 if test "${enable_zlib+set}" = set; then :
12915  enableval=$enable_zlib; zlib=$enableval
12916 else
12917  zlib=yes
12918 fi
12919
13591  
13592 < if test "$zlib" = yes; then
13593 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13594 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13595 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13596 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13597 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13592 > # Check whether --enable-libpcre was given.
13593 > if test "${enable_libpcre+set}" = set; then :
13594 >  enableval=$enable_libpcre;
13595 > else
13596 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13597 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13598 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13599 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13600 > if ${ac_cv_search_pcre_study+:} false; then :
13601    $as_echo_n "(cached) " >&6
13602   else
13603 <  ac_check_lib_save_LIBS=$LIBS
12930 < LIBS="-lz  $LIBS"
13603 >  ac_func_search_save_LIBS=$LIBS
13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605   /* end confdefs.h.  */
13606  
# Line 12937 | Line 13610 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13610   #ifdef __cplusplus
13611   extern "C"
13612   #endif
13613 < char zlibVersion ();
13613 > char pcre_study ();
13614   int
13615   main ()
13616   {
13617 < return zlibVersion ();
13617 > return pcre_study ();
13618    ;
13619    return 0;
13620   }
13621   _ACEOF
13622 < if ac_fn_c_try_link "$LINENO"; then :
13623 <  ac_cv_lib_z_zlibVersion=yes
13624 < else
13625 <  ac_cv_lib_z_zlibVersion=no
13622 > for ac_lib in '' pcre; do
13623 >  if test -z "$ac_lib"; then
13624 >    ac_res="none required"
13625 >  else
13626 >    ac_res=-l$ac_lib
13627 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13628 >  fi
13629 >  if ac_fn_c_try_link "$LINENO"; then :
13630 >  ac_cv_search_pcre_study=$ac_res
13631   fi
13632   rm -f core conftest.err conftest.$ac_objext \
13633 <    conftest$ac_exeext conftest.$ac_ext
13634 < LIBS=$ac_check_lib_save_LIBS
13633 >    conftest$ac_exeext
13634 >  if ${ac_cv_search_pcre_study+:} false; then :
13635 >  break
13636   fi
13637 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13638 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12960 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12961 <
12962 <      LIBS="-lz $LIBS"
12963 <
12964 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12965 <
13637 > done
13638 > if ${ac_cv_search_pcre_study+:} false; then :
13639  
13640   else
13641 <  zlib=no
13641 >  ac_cv_search_pcre_study=no
13642   fi
13643 + rm conftest.$ac_ext
13644 + LIBS=$ac_func_search_save_LIBS
13645 + fi
13646 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13647 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13648 + ac_res=$ac_cv_search_pcre_study
13649 + if test "$ac_res" != no; then :
13650 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13651  
13652 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13653 +
13654 + fi
13655  
12972 else
12973  zlib=no
13656   fi
13657  
13658  
# Line 13016 | Line 13698 | if test "$cf_enable_openssl" != "no"; th
13698    fi
13699  
13700        if test ! -z "$cf_openssl_basedir"; then
13019    LIBS="-lcrypto -lssl $LIBS"
13701      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13702   $as_echo "$cf_openssl_basedir" >&6; }
13703      cf_enable_openssl="yes"
13023
13024 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13025
13704    else
13705 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13706 < $as_echo "not found.  Please check your path." >&6; }
13705 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13706 > $as_echo "not found. Please check your path." >&6; }
13707      cf_enable_openssl="no"
13708    fi
13709    unset cf_openssl_basedir
# Line 13033 | Line 13711 | else
13711      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13712   $as_echo "disabled" >&6; }
13713   fi
13714 < if test "$cf_enable_openssl" = yes; then
13714 >
13715 > if test "$cf_enable_openssl" != "no"; then :
13716 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13717 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13718 >  if test "$cross_compiling" = yes; then :
13719 >  cf_openssl_version_ok=no
13720 > else
13721 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 > /* end confdefs.h.  */
13723 >
13724 >
13725 >    #include <openssl/opensslv.h>
13726 >    #include <stdlib.h>
13727 > int
13728 > main ()
13729 > {
13730 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13731 >  ;
13732 >  return 0;
13733 > }
13734 > _ACEOF
13735 > if ac_fn_c_try_run "$LINENO"; then :
13736 >  cf_openssl_version_ok=yes
13737 > else
13738 >  cf_openssl_version_ok=no
13739 > fi
13740 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13741 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13742 > fi
13743 >
13744 >
13745 >  if test "$cf_openssl_version_ok" = "yes"; then :
13746 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13747 > $as_echo "found" >&6; }
13748 >
13749 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13750 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13751 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13752 >  $as_echo_n "(cached) " >&6
13753 > else
13754 >  ac_check_lib_save_LIBS=$LIBS
13755 > LIBS="-lssl  $LIBS"
13756 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 > /* end confdefs.h.  */
13758 >
13759 > /* Override any GCC internal prototype to avoid an error.
13760 >   Use char because int might match the return type of a GCC
13761 >   builtin and then its argument prototype would still apply.  */
13762 > #ifdef __cplusplus
13763 > extern "C"
13764 > #endif
13765 > char SSL_connect ();
13766 > int
13767 > main ()
13768 > {
13769 > return SSL_connect ();
13770 >  ;
13771 >  return 0;
13772 > }
13773 > _ACEOF
13774 > if ac_fn_c_try_link "$LINENO"; then :
13775 >  ac_cv_lib_ssl_SSL_connect=yes
13776 > else
13777 >  ac_cv_lib_ssl_SSL_connect=no
13778 > fi
13779 > rm -f core conftest.err conftest.$ac_objext \
13780 >    conftest$ac_exeext conftest.$ac_ext
13781 > LIBS=$ac_check_lib_save_LIBS
13782 > fi
13783 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13784 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13785 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13786 >  cat >>confdefs.h <<_ACEOF
13787 > #define HAVE_LIBSSL 1
13788 > _ACEOF
13789 >
13790 >  LIBS="-lssl $LIBS"
13791 >
13792 > fi
13793 >
13794 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13795 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13796 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13797 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13798 >  $as_echo_n "(cached) " >&6
13799 > else
13800 >  ac_check_lib_save_LIBS=$LIBS
13801 > LIBS="-lcrypto  $LIBS"
13802 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 > /* end confdefs.h.  */
13804 >
13805 > /* Override any GCC internal prototype to avoid an error.
13806 >   Use char because int might match the return type of a GCC
13807 >   builtin and then its argument prototype would still apply.  */
13808 > #ifdef __cplusplus
13809 > extern "C"
13810 > #endif
13811 > char RSA_free ();
13812 > int
13813 > main ()
13814 > {
13815 > return RSA_free ();
13816 >  ;
13817 >  return 0;
13818 > }
13819 > _ACEOF
13820 > if ac_fn_c_try_link "$LINENO"; then :
13821 >  ac_cv_lib_crypto_RSA_free=yes
13822 > else
13823 >  ac_cv_lib_crypto_RSA_free=no
13824 > fi
13825 > rm -f core conftest.err conftest.$ac_objext \
13826 >    conftest$ac_exeext conftest.$ac_ext
13827 > LIBS=$ac_check_lib_save_LIBS
13828 > fi
13829 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13830 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13831 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13832 >  cat >>confdefs.h <<_ACEOF
13833 > #define HAVE_LIBCRYPTO 1
13834 > _ACEOF
13835 >
13836 >  LIBS="-lcrypto $LIBS"
13837 >
13838 > fi
13839 >
13840 > fi
13841 >
13842 > else
13843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13844 > $as_echo "no - OpenSSL support disabled" >&6; }
13845 >    cf_enable_openssl="no"
13846 > fi
13847 > fi
13848 >
13849 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13850    ENABLE_SSL_TRUE=
13851    ENABLE_SSL_FALSE='#'
13852   else
# Line 13050 | Line 13863 | else
13863    assert=no
13864   fi
13865  
13866 < if test "$assert" = no; then
13866 >
13867 > if test "$assert" = "no"; then :
13868  
13869   $as_echo "#define NDEBUG 1" >>confdefs.h
13870  
# Line 13065 | Line 13879 | else
13879   fi
13880  
13881  
13882 < if test "$small_net" = yes; then
13882 > if test "$small_net" = "yes"; then :
13883 >
13884  
13885   $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13886  
# Line 13090 | Line 13905 | $as_echo "#define TOPIC_HEAP_SIZE 256" >
13905  
13906   $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13907  
13908 +
13909 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13910 +
13911 +
13912 + $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13913 +
13914   else
13915  
13916 +
13917 +
13918   $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13919  
13920  
# Line 13115 | Line 13938 | $as_echo "#define TOPIC_HEAP_SIZE 1024"
13938  
13939   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13940  
13941 +
13942 + $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13943 +
13944 +
13945 + $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13946 +
13947   fi
13948  
13949  
# Line 13222 | Line 14051 | _ACEOF
14051    if test "$cross_compiling" = yes; then :
14052    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14053   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14054 < as_fn_error "cannot run test program while cross compiling
14055 < See \`config.log' for more details." "$LINENO" 5; }
14054 > as_fn_error $? "cannot run test program while cross compiling
14055 > See \`config.log' for more details" "$LINENO" 5; }
14056   else
14057    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058   /* end confdefs.h.  */
# Line 13256 | Line 14085 | else
14085   #endif
14086   _syscall1(int, epoll_create, int, size)
14087   #endif
13259 main() { return epoll_create(256) == -1 ? 1 : 0; }
14088  
14089 + int
14090 + main ()
14091 + {
14092 + return epoll_create(256) == -1 ? 1 : 0
14093 +  ;
14094 +  return 0;
14095 + }
14096   _ACEOF
14097   if ac_fn_c_try_run "$LINENO"; then :
14098    is_epoll_mechanism_available="yes"
# Line 13327 | Line 14162 | _ACEOF
14162    if test "$cross_compiling" = yes; then :
14163    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14164   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14165 < as_fn_error "cannot run test program while cross compiling
14166 < See \`config.log' for more details." "$LINENO" 5; }
14165 > as_fn_error $? "cannot run test program while cross compiling
14166 > See \`config.log' for more details" "$LINENO" 5; }
14167   else
14168    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169   /* end confdefs.h.  */
14170  
14171 + #define _GNU_SOURCE
14172   #include <fcntl.h>
14173 < #ifdef F_SETSIG
13338 < main () { return 0; } /* F_SETSIG defined */
13339 < #else
13340 < main () { return 1; } /* F_SETSIG not defined */
13341 < #endif
14173 > static unsigned int have_f_setsig = 0;
14174  
14175   int
14176   main ()
14177   {
14178  
14179 + #ifdef F_SETSIG
14180 +  have_f_setsig = 1;
14181 + #endif
14182 +  return have_f_setsig == 0;
14183 +
14184    ;
14185    return 0;
14186   }
# Line 13477 | Line 14314 | rm -f core conftest.err conftest.$ac_obj
14314      if test "$optimal_iopoll_mechanism" = "none" ; then
14315        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14316   $as_echo "none" >&6; }
14317 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14317 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14318      else
14319        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14320        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13492 | Line 14329 | $as_echo "$selected_iopoll_mechanism" >&
14329      else
14330        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14331   $as_echo "none" >&6; }
14332 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14332 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14333      fi
14334    fi
14335        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13528 | Line 14365 | fi
14365  
14366  
14367   cat >>confdefs.h <<_ACEOF
14368 < #define TOPICLEN ($topiclen+1)
13532 < _ACEOF
13533 <
13534 <
13535 <
13536 <
13537 < # Check whether --with-syslog-facility was given.
13538 < if test "${with_syslog_facility+set}" = set; then :
13539 <  withval=$with_syslog_facility; syslog_facility="$withval"
13540 < else
13541 <  syslog_facility="LOG_LOCAL4"
13542 < fi
13543 <
13544 <
13545 < cat >>confdefs.h <<_ACEOF
13546 < #define LOG_FACILITY $syslog_facility
14368 > #define TOPICLEN ($topiclen)
14369   _ACEOF
14370  
14371  
# Line 13560 | Line 14382 | fi
14382  
14383   $as_echo "#define EFNET 1" >>confdefs.h
14384  
13563
13564 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13565
14385          else
13567
13568 $as_echo "#define INVARIANTS 1" >>confdefs.h
13569
14386                  use_efnet="no"
14387    fi
14388     if test "$use_efnet" = "yes"; then
# Line 13604 | Line 14420 | fi
14420  
14421   $as_echo "#define DEBUG 1" >>confdefs.h
14422  
14423 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
14423 >    CFLAGS="-Wall -g -O0"
14424    else
14425  
14426   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13620 | Line 14436 | else
14436   fi
14437  
14438    if test "$warnings" = "yes" ; then
14439 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13624 <  fi
13625 <
13626 <
13627 <  for ac_header in syslog.h sys/syslog.h
13628 < do :
13629 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13630 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13631 < eval as_val=\$$as_ac_Header
13632 <   if test "x$as_val" = x""yes; then :
13633 <  cat >>confdefs.h <<_ACEOF
13634 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13635 < _ACEOF
13636 <
13637 < fi
13638 <
13639 < done
13640 <
13641 <  # Check whether --enable-syslog was given.
13642 < if test "${enable_syslog+set}" = set; then :
13643 <  enableval=$enable_syslog; syslog="$enableval"
13644 < else
13645 <  syslog="no"
13646 < fi
13647 <
13648 <  if test "$enableval" != "no" ; then
13649 <    for option in $enableval ; do
13650 <      case "$option" in
13651 <        users)
13652 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13653 < ;;
13654 <        oper)
13655 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13656 < ;;
13657 <        yes) : ;;
13658 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13659 <      esac
13660 <    done
13661 <
13662 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13663 <
14439 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14440    fi
14441  
14442  
# Line 13750 | Line 14526 | _ACEOF
14526    test "$exec_prefix_NONE" && exec_prefix=NONE
14527  
14528  
14529 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
14529 > 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"
14530  
14531  
14532   cat >confcache <<\_ACEOF
# Line 13817 | Line 14593 | $as_echo "$as_me: WARNING: cache variabl
14593       :end' >>confcache
14594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14595    if test -w "$cache_file"; then
14596 <    test "x$cache_file" != "x/dev/null" &&
14596 >    if test "x$cache_file" != "x/dev/null"; then
14597        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14598   $as_echo "$as_me: updating cache $cache_file" >&6;}
14599 <    cat confcache >$cache_file
14599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14600 >        cat confcache >"$cache_file"
14601 >      else
14602 >        case $cache_file in #(
14603 >        */* | ?:*)
14604 >          mv -f confcache "$cache_file"$$ &&
14605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14606 >        *)
14607 >          mv -f confcache "$cache_file" ;;
14608 >        esac
14609 >      fi
14610 >    fi
14611    else
14612      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13836 | Line 14623 | DEFS=-DHAVE_CONFIG_H
14623  
14624   ac_libobjs=
14625   ac_ltlibobjs=
14626 + U=
14627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14628    # 1. Remove the extension, and $U if already installed.
14629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13859 | Line 14647 | else
14647   fi
14648  
14649   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14650 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14650 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14651   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14652   fi
14653   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14654 <  as_fn_error "conditional \"AMDEP\" was never defined.
14654 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14655   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14656   fi
14657   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14658 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14658 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14659   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660   fi
14661   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14662 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14662 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14663   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664   fi
14665   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14666 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14666 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14667   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668   fi
14669   LT_CONFIG_H=config.h
# Line 13896 | Line 14684 | LT_CONFIG_H=config.h
14684  
14685  
14686  
13899 if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13900  as_fn_error "conditional \"HAVE_CRYPT\" was never defined.
13901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13902 fi
14687   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14688 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14688 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14689   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14690   fi
14691   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14692 <  as_fn_error "conditional \"EFNET\" was never defined.
14692 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14693   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14694   fi
14695  
14696 < : ${CONFIG_STATUS=./config.status}
14696 > : "${CONFIG_STATUS=./config.status}"
14697   ac_write_fail=0
14698   ac_clean_files_save=$ac_clean_files
14699   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14010 | Line 14794 | fi
14794   IFS=" ""        $as_nl"
14795  
14796   # Find who we are.  Look in the path if we contain no directory separator.
14797 + as_myself=
14798   case $0 in #((
14799    *[\\/]* ) as_myself=$0 ;;
14800    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14055 | Line 14840 | export LANGUAGE
14840   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14841  
14842  
14843 < # as_fn_error ERROR [LINENO LOG_FD]
14844 < # ---------------------------------
14843 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14844 > # ----------------------------------------
14845   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14846   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14847 < # script with status $?, using 1 if that was 0.
14847 > # script with STATUS, using 1 if that was 0.
14848   as_fn_error ()
14849   {
14850 <  as_status=$?; test $as_status -eq 0 && as_status=1
14851 <  if test "$3"; then
14852 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14853 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14850 >  as_status=$1; test $as_status -eq 0 && as_status=1
14851 >  if test "$4"; then
14852 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14853 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14854    fi
14855 <  $as_echo "$as_me: error: $1" >&2
14855 >  $as_echo "$as_me: error: $2" >&2
14856    as_fn_exit $as_status
14857   } # as_fn_error
14858  
# Line 14263 | Line 15048 | $as_echo X"$as_dir" |
15048        test -d "$as_dir" && break
15049      done
15050      test -z "$as_dirs" || eval "mkdir $as_dirs"
15051 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15051 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15052  
15053  
15054   } # as_fn_mkdir_p
# Line 14316 | Line 15101 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15101   # report actual input values of CONFIG_FILES etc. instead of their
15102   # values after options handling.
15103   ac_log="
15104 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15105 < generated by GNU Autoconf 2.64.  Invocation command line was
15104 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15105 > generated by GNU Autoconf 2.68.  Invocation command line was
15106  
15107    CONFIG_FILES    = $CONFIG_FILES
15108    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14357 | Line 15142 | Usage: $0 [OPTION]... [TAG]...
15142  
15143    -h, --help       print this help, then exit
15144    -V, --version    print version number and configuration settings, then exit
15145 +      --config     print configuration, then exit
15146    -q, --quiet, --silent
15147                     do not print progress messages
15148    -d, --debug      don't remove temporary files
# Line 14375 | Line 15161 | $config_headers
15161   Configuration commands:
15162   $config_commands
15163  
15164 < Report bugs to the package provider."
15164 > Report bugs to <bugs@ircd-hybrid.org>."
15165  
15166   _ACEOF
15167   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15168 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15169   ac_cs_version="\\
15170 < ircd-hybrid config.status 7.2.4
15171 < configured by $0, generated by GNU Autoconf 2.64,
15172 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15170 > ircd-hybrid config.status 8beta1
15171 > configured by $0, generated by GNU Autoconf 2.68,
15172 >  with options \\"\$ac_cs_config\\"
15173  
15174 < Copyright (C) 2009 Free Software Foundation, Inc.
15174 > Copyright (C) 2010 Free Software Foundation, Inc.
15175   This config.status script is free software; the Free Software Foundation
15176   gives unlimited permission to copy, distribute and modify it."
15177  
# Line 14402 | Line 15189 | ac_need_defaults=:
15189   while test $# != 0
15190   do
15191    case $1 in
15192 <  --*=*)
15192 >  --*=?*)
15193      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15194      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15195      ac_shift=:
15196      ;;
15197 +  --*=)
15198 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15199 +    ac_optarg=
15200 +    ac_shift=:
15201 +    ;;
15202    *)
15203      ac_option=$1
15204      ac_optarg=$2
# Line 14420 | Line 15212 | do
15212      ac_cs_recheck=: ;;
15213    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15214      $as_echo "$ac_cs_version"; exit ;;
15215 +  --config | --confi | --conf | --con | --co | --c )
15216 +    $as_echo "$ac_cs_config"; exit ;;
15217    --debug | --debu | --deb | --de | --d | -d )
15218      debug=: ;;
15219    --file | --fil | --fi | --f )
15220      $ac_shift
15221      case $ac_optarg in
15222      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15223 +    '') as_fn_error $? "missing file argument" ;;
15224      esac
15225      as_fn_append CONFIG_FILES " '$ac_optarg'"
15226      ac_need_defaults=false;;
# Line 14438 | Line 15233 | do
15233      ac_need_defaults=false;;
15234    --he | --h)
15235      # Conflict between --help and --header
15236 <    as_fn_error "ambiguous option: \`$1'
15236 >    as_fn_error $? "ambiguous option: \`$1'
15237   Try \`$0 --help' for more information.";;
15238    --help | --hel | -h )
15239      $as_echo "$ac_cs_usage"; exit ;;
# Line 14447 | Line 15242 | Try \`$0 --help' for more information.";
15242      ac_cs_silent=: ;;
15243  
15244    # This is an error.
15245 <  -*) as_fn_error "unrecognized option: \`$1'
15245 >  -*) as_fn_error $? "unrecognized option: \`$1'
15246   Try \`$0 --help' for more information." ;;
15247  
15248    *) as_fn_append ac_config_targets " $1"
# Line 14501 | Line 15296 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15296   sed_quote_subst='$sed_quote_subst'
15297   double_quote_subst='$double_quote_subst'
15298   delay_variable_subst='$delay_variable_subst'
15299 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15300 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15301 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15302 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15303 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15304 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15305 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15306 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15307 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15308 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15309 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15310 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15311 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15312 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15313 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15314 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15315 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15316 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15317 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15318 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15319 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15320 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15321 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15322 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15323 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15324 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15325 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15326 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15327 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15328 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15329 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15330 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15331 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15332 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15333 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15334 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15335 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15336 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15337 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15338 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15339 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15340 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15341 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15342 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15343 < 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"`'
15344 < 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"`'
15345 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15346 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15347 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15348 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15349 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15350 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15351 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15352 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15353 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15354 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15355 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15356 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15357 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15358 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15359 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15360 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15361 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15362 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15363 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15364 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15365 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15366 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15367 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15368 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15369 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15370 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15371 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15372 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15373 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15374 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15375 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15376 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15377 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15378 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15379 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15380 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15381 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15382 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15383 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15384 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15385 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15386 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15387 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15388 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15389 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15390 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15391 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15392 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15393 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15394 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15395 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15396 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15397 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15398 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15399 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15400 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15401 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15402 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15403 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15404 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15405 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15406 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15407 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15408 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15409 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15410 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15411 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15412 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15413 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15414 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15415 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15416 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15299 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15300 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15301 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15302 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15303 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15304 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15305 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15306 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15307 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15308 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15309 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15310 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15311 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15312 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15313 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15314 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15315 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15316 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15317 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15318 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15319 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15320 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15321 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15322 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15323 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15324 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15325 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15326 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15327 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15328 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15329 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15330 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15331 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15332 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15333 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15334 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15335 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15336 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15337 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15338 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15339 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15340 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15341 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15342 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15343 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15344 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15345 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15346 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15347 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15348 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15349 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15350 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15351 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15352 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15353 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15354 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15355 > 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"`'
15356 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15357 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15358 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15359 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15360 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15361 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15362 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15363 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15364 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15365 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15366 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15367 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15368 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15369 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15370 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15371 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15372 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15373 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15374 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15375 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15376 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15377 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15378 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15379 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15380 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15381 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15382 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15383 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15384 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15385 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15386 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15387 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15388 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15389 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15390 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15391 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15392 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15393 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15394 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15395 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15396 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15397 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15398 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15399 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15400 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15401 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15402 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15403 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15404 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15405 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15406 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15407 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15408 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15409 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15410 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15411 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15412 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15413 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15414 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15415 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15416 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15417 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15418 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15419 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15420 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15421 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15422 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15423 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15424 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15425 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15426 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15427 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15428 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15429  
15430   LTCC='$LTCC'
15431   LTCFLAGS='$LTCFLAGS'
15432   compiler='$compiler_DEFAULT'
15433  
15434 + # A function that is used when there is no print builtin or printf.
15435 + func_fallback_echo ()
15436 + {
15437 +  eval 'cat <<_LTECHO_EOF
15438 + \$1
15439 + _LTECHO_EOF'
15440 + }
15441 +
15442   # Quote evaled strings.
15443 < for var in SED \
15443 > for var in SHELL \
15444 > ECHO \
15445 > PATH_SEPARATOR \
15446 > SED \
15447   GREP \
15448   EGREP \
15449   FGREP \
# Line 14638 | Line 15456 | reload_flag \
15456   OBJDUMP \
15457   deplibs_check_method \
15458   file_magic_cmd \
15459 + file_magic_glob \
15460 + want_nocaseglob \
15461 + DLLTOOL \
15462 + sharedlib_from_linklib_cmd \
15463   AR \
15464   AR_FLAGS \
15465 + archiver_list_spec \
15466   STRIP \
15467   RANLIB \
15468   CC \
# Line 14649 | Line 15472 | lt_cv_sys_global_symbol_pipe \
15472   lt_cv_sys_global_symbol_to_cdecl \
15473   lt_cv_sys_global_symbol_to_c_name_address \
15474   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15475 < SHELL \
14653 < ECHO \
15475 > nm_file_list_spec \
15476   lt_prog_compiler_no_builtin_flag \
14655 lt_prog_compiler_wl \
15477   lt_prog_compiler_pic \
15478 + lt_prog_compiler_wl \
15479   lt_prog_compiler_static \
15480   lt_cv_prog_compiler_c_o \
15481   need_locks \
15482 + MANIFEST_TOOL \
15483   DSYMUTIL \
15484   NMEDIT \
15485   LIPO \
# Line 14670 | Line 15493 | with_gnu_ld \
15493   allow_undefined_flag \
15494   no_undefined_flag \
15495   hardcode_libdir_flag_spec \
14673 hardcode_libdir_flag_spec_ld \
15496   hardcode_libdir_separator \
14675 fix_srcfile_path \
15497   exclude_expsyms \
15498   include_expsyms \
15499   file_list_spec \
# Line 14680 | Line 15501 | variables_saved_for_relink \
15501   libname_spec \
15502   library_names_spec \
15503   soname_spec \
15504 + install_override_mode \
15505   finish_eval \
15506   old_striplib \
15507   striplib; do
15508 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15508 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15509      *[\\\\\\\`\\"\\\$]*)
15510 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15510 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15511        ;;
15512      *)
15513        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14707 | Line 15529 | module_cmds \
15529   module_expsym_cmds \
15530   export_symbols_cmds \
15531   prelink_cmds \
15532 + postlink_cmds \
15533   postinstall_cmds \
15534   postuninstall_cmds \
15535   finish_cmds \
15536   sys_lib_search_path_spec \
15537   sys_lib_dlsearch_path_spec; do
15538 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15538 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15539      *[\\\\\\\`\\"\\\$]*)
15540 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15540 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15541        ;;
15542      *)
15543        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14722 | Line 15545 | sys_lib_dlsearch_path_spec; do
15545      esac
15546   done
15547  
14725 # Fix-up fallback echo if it was mangled by the above quoting rules.
14726 case \$lt_ECHO in
14727 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14728  ;;
14729 esac
14730
15548   ac_aux_dir='$ac_aux_dir'
15549   xsi_shell='$xsi_shell'
15550   lt_shell_append='$lt_shell_append'
# Line 14760 | Line 15577 | do
15577      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15578      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15579      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14763    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14764    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14765    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14766    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14767    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15580      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15581      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15582      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15583 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15584      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15585      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15586      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14775 | Line 15588 | do
15588      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15589      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15590      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14778    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14779    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
15591      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15592  
15593 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15593 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15594    esac
15595   done
15596  
# Line 14802 | Line 15613 | fi
15613   # after its creation but before its name has been assigned to `$tmp'.
15614   $debug ||
15615   {
15616 <  tmp=
15616 >  tmp= ac_tmp=
15617    trap 'exit_status=$?
15618 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15618 >  : "${ac_tmp:=$tmp}"
15619 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15620   ' 0
15621    trap 'as_fn_exit 1' 1 2 13 15
15622   }
# Line 14812 | Line 15624 | $debug ||
15624  
15625   {
15626    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15627 <  test -n "$tmp" && test -d "$tmp"
15627 >  test -d "$tmp"
15628   }  ||
15629   {
15630    tmp=./conf$$-$RANDOM
15631    (umask 077 && mkdir "$tmp")
15632 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15632 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15633 > ac_tmp=$tmp
15634  
15635   # Set up the scripts for CONFIG_FILES section.
15636   # No need to generate them if there are no CONFIG_FILES.
# Line 14834 | Line 15647 | if test "x$ac_cr" = x; then
15647   fi
15648   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15649   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15650 <  ac_cs_awk_cr='\r'
15650 >  ac_cs_awk_cr='\\r'
15651   else
15652    ac_cs_awk_cr=$ac_cr
15653   fi
15654  
15655 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15655 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15656   _ACEOF
15657  
15658  
# Line 14848 | Line 15661 | _ACEOF
15661    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15662    echo "_ACEOF"
15663   } >conf$$subs.sh ||
15664 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15665 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15664 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15665 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15666   ac_delim='%!_!# '
15667   for ac_last_try in false false false false false :; do
15668    . ./conf$$subs.sh ||
15669 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15669 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15670  
15671    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15672    if test $ac_delim_n = $ac_delim_num; then
15673      break
15674    elif $ac_last_try; then
15675 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15675 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15676    else
15677      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15678    fi
# Line 14867 | Line 15680 | done
15680   rm -f conf$$subs.sh
15681  
15682   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15683 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15683 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15684   _ACEOF
15685   sed -n '
15686   h
# Line 14881 | Line 15694 | s/'"$ac_delim"'$//
15694   t delim
15695   :nl
15696   h
15697 < s/\(.\{148\}\).*/\1/
15697 > s/\(.\{148\}\)..*/\1/
15698   t more1
15699   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15700   p
# Line 14895 | Line 15708 | s/.\{148\}//
15708   t nl
15709   :delim
15710   h
15711 < s/\(.\{148\}\).*/\1/
15711 > s/\(.\{148\}\)..*/\1/
15712   t more2
15713   s/["\\]/\\&/g; s/^/"/; s/$/"/
15714   p
# Line 14915 | Line 15728 | t delim
15728   rm -f conf$$subs.awk
15729   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15730   _ACAWK
15731 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15731 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15732    for (key in S) S_is_set[key] = 1
15733    FS = ""
15734  
# Line 14947 | Line 15760 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15760    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15761   else
15762    cat
15763 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15764 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15763 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15764 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15765   _ACEOF
15766  
15767 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15768 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15767 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15768 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15769   # trailing colons and then remove the whole line if VPATH becomes empty
15770   # (actually we leave an empty line to preserve line numbers).
15771   if test "x$srcdir" = x.; then
15772 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15773 < s/:*\$(srcdir):*/:/
15774 < s/:*\${srcdir}:*/:/
15775 < s/:*@srcdir@:*/:/
15776 < s/^\([^=]*=[     ]*\):*/\1/
15772 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15773 > h
15774 > s///
15775 > s/^/:/
15776 > s/[      ]*$/:/
15777 > s/:\$(srcdir):/:/g
15778 > s/:\${srcdir}:/:/g
15779 > s/:@srcdir@:/:/g
15780 > s/^:*//
15781   s/:*$//
15782 + x
15783 + s/\(=[   ]*\).*/\1/
15784 + G
15785 + s/\n//
15786   s/^[^=]*=[       ]*$//
15787   }'
15788   fi
# Line 14973 | Line 15794 | fi # test -n "$CONFIG_FILES"
15794   # No need to generate them if there are no CONFIG_HEADERS.
15795   # This happens for instance with `./config.status Makefile'.
15796   if test -n "$CONFIG_HEADERS"; then
15797 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15797 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15798   BEGIN {
15799   _ACEOF
15800  
# Line 14985 | Line 15806 | _ACEOF
15806   # handling of long lines.
15807   ac_delim='%!_!# '
15808   for ac_last_try in false false :; do
15809 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15810 <  if test -z "$ac_t"; then
15809 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15810 >  if test -z "$ac_tt"; then
15811      break
15812    elif $ac_last_try; then
15813 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15813 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15814    else
15815      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15816    fi
# Line 15074 | Line 15895 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15895   _ACAWK
15896   _ACEOF
15897   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15898 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15898 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15899   fi # test -n "$CONFIG_HEADERS"
15900  
15901  
# Line 15087 | Line 15908 | do
15908    esac
15909    case $ac_mode$ac_tag in
15910    :[FHL]*:*);;
15911 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15911 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15912    :[FH]-) ac_tag=-:-;;
15913    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15914    esac
# Line 15106 | Line 15927 | do
15927      for ac_f
15928      do
15929        case $ac_f in
15930 <      -) ac_f="$tmp/stdin";;
15930 >      -) ac_f="$ac_tmp/stdin";;
15931        *) # Look for the file first in the build tree, then in the source tree
15932           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15933           # because $ac_f cannot contain `:'.
# Line 15115 | Line 15936 | do
15936             [\\/$]*) false;;
15937             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15938             esac ||
15939 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15939 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15940        esac
15941        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15942        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15141 | Line 15962 | $as_echo "$as_me: creating $ac_file" >&6
15962      esac
15963  
15964      case $ac_tag in
15965 <    *:-:* | *:-) cat >"$tmp/stdin" \
15966 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15965 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15966 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15967      esac
15968      ;;
15969    esac
# Line 15278 | Line 16099 | s&@INSTALL@&$ac_INSTALL&;t t
16099   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16100   $ac_datarootdir_hack
16101   "
16102 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16103 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16102 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16103 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16104  
16105   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16106 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16107 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16106 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16107 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16108 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16109    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16110 < which seems to be undefined.  Please make sure it is defined." >&5
16110 > which seems to be undefined.  Please make sure it is defined" >&5
16111   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16112 < which seems to be undefined.  Please make sure it is defined." >&2;}
16112 > which seems to be undefined.  Please make sure it is defined" >&2;}
16113  
16114 <  rm -f "$tmp/stdin"
16114 >  rm -f "$ac_tmp/stdin"
16115    case $ac_file in
16116 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16117 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16116 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16117 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16118    esac \
16119 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16119 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16120   ;;
16121    :H)
16122    #
# Line 15303 | Line 16125 | which seems to be undefined.  Please mak
16125    if test x"$ac_file" != x-; then
16126      {
16127        $as_echo "/* $configure_input  */" \
16128 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16129 <    } >"$tmp/config.h" \
16130 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16131 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16128 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16129 >    } >"$ac_tmp/config.h" \
16130 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16131 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16132        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16133   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16134      else
16135        rm -f "$ac_file"
16136 <      mv "$tmp/config.h" "$ac_file" \
16137 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16136 >      mv "$ac_tmp/config.h" "$ac_file" \
16137 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16138      fi
16139    else
16140      $as_echo "/* $configure_input  */" \
16141 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16142 <      || as_fn_error "could not create -" "$LINENO" 5
16141 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16142 >      || as_fn_error $? "could not create -" "$LINENO" 5
16143    fi
16144   # Compute "$ac_file"'s index in $config_headers.
16145   _am_arg="$ac_file"
# Line 15478 | Line 16300 | $as_echo X"$file" |
16300   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16301   #
16302   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16303 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16303 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16304 > #                 Foundation, Inc.
16305   #   Written by Gordon Matzigkeit, 1996
16306   #
16307   #   This file is part of GNU Libtool.
# Line 15514 | Line 16337 | available_tags=""
16337   macro_version=$macro_version
16338   macro_revision=$macro_revision
16339  
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15519
16340   # Whether or not to build static libraries.
16341   build_old_libs=$enable_static
16342  
16343 + # Whether or not to build shared libraries.
16344 + build_libtool_libs=$enable_shared
16345 +
16346   # What type of objects to build.
16347   pic_mode=$pic_mode
16348  
16349   # Whether or not to optimize for fast installation.
16350   fast_install=$enable_fast_install
16351  
16352 + # Shell to use when invoking shell scripts.
16353 + SHELL=$lt_SHELL
16354 +
16355 + # An echo program that protects backslashes.
16356 + ECHO=$lt_ECHO
16357 +
16358 + # The PATH separator for the build system.
16359 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16360 +
16361   # The host system.
16362   host_alias=$host_alias
16363   host=$host
# Line 15575 | Line 16407 | SP2NL=$lt_lt_SP2NL
16407   # turn newlines into spaces.
16408   NL2SP=$lt_lt_NL2SP
16409  
16410 < # How to create reloadable object files.
16411 < reload_flag=$lt_reload_flag
16412 < reload_cmds=$lt_reload_cmds
16410 > # convert \$build file names to \$host format.
16411 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16412 >
16413 > # convert \$build files to toolchain format.
16414 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16415  
16416   # An object symbol dumper.
16417   OBJDUMP=$lt_OBJDUMP
# Line 15585 | Line 16419 | OBJDUMP=$lt_OBJDUMP
16419   # Method to check whether dependent libraries are shared objects.
16420   deplibs_check_method=$lt_deplibs_check_method
16421  
16422 < # Command to use when deplibs_check_method == "file_magic".
16422 > # Command to use when deplibs_check_method = "file_magic".
16423   file_magic_cmd=$lt_file_magic_cmd
16424  
16425 + # How to find potential files when deplibs_check_method = "file_magic".
16426 + file_magic_glob=$lt_file_magic_glob
16427 +
16428 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16429 + want_nocaseglob=$lt_want_nocaseglob
16430 +
16431 + # DLL creation program.
16432 + DLLTOOL=$lt_DLLTOOL
16433 +
16434 + # Command to associate shared and link libraries.
16435 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16436 +
16437   # The archiver.
16438   AR=$lt_AR
16439 +
16440 + # Flags to create an archive.
16441   AR_FLAGS=$lt_AR_FLAGS
16442  
16443 + # How to feed a file listing to the archiver.
16444 + archiver_list_spec=$lt_archiver_list_spec
16445 +
16446   # A symbol stripping program.
16447   STRIP=$lt_STRIP
16448  
# Line 15600 | Line 16451 | RANLIB=$lt_RANLIB
16451   old_postinstall_cmds=$lt_old_postinstall_cmds
16452   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16453  
16454 + # Whether to use a lock for old archive extraction.
16455 + lock_old_archive_extraction=$lock_old_archive_extraction
16456 +
16457   # A C compiler.
16458   LTCC=$lt_CC
16459  
# Line 15618 | Line 16472 | global_symbol_to_c_name_address=$lt_lt_c
16472   # Transform the output of nm in a C name address pair when lib prefix is needed.
16473   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16474  
16475 < # The name of the directory that contains temporary libtool files.
16476 < objdir=$objdir
16475 > # Specify filename containing input files for \$NM.
16476 > nm_file_list_spec=$lt_nm_file_list_spec
16477  
16478 < # Shell to use when invoking shell scripts.
16479 < SHELL=$lt_SHELL
16478 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16479 > lt_sysroot=$lt_sysroot
16480  
16481 < # An echo program that does not interpret backslashes.
16482 < ECHO=$lt_ECHO
16481 > # The name of the directory that contains temporary libtool files.
16482 > objdir=$objdir
16483  
16484   # Used to examine libraries when file_magic_cmd begins with "file".
16485   MAGIC_CMD=$MAGIC_CMD
# Line 15633 | Line 16487 | MAGIC_CMD=$MAGIC_CMD
16487   # Must we lock files when doing compilation?
16488   need_locks=$lt_need_locks
16489  
16490 + # Manifest tool.
16491 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16492 +
16493   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16494   DSYMUTIL=$lt_DSYMUTIL
16495  
# Line 15689 | Line 16546 | library_names_spec=$lt_library_names_spe
16546   # The coded name of the library, if different from the real name.
16547   soname_spec=$lt_soname_spec
16548  
16549 + # Permission mode override for installation of shared libraries.
16550 + install_override_mode=$lt_install_override_mode
16551 +
16552   # Command to use after installation of a shared archive.
16553   postinstall_cmds=$lt_postinstall_cmds
16554  
# Line 15728 | Line 16588 | striplib=$lt_striplib
16588   # The linker used to build libraries.
16589   LD=$lt_LD
16590  
16591 + # How to create reloadable object files.
16592 + reload_flag=$lt_reload_flag
16593 + reload_cmds=$lt_reload_cmds
16594 +
16595   # Commands used to build an old-style archive.
16596   old_archive_cmds=$lt_old_archive_cmds
16597  
# Line 15740 | Line 16604 | with_gcc=$GCC
16604   # Compiler flag to turn off builtin functions.
16605   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16606  
15743 # How to pass a linker flag through the compiler.
15744 wl=$lt_lt_prog_compiler_wl
15745
16607   # Additional compiler flags for building library objects.
16608   pic_flag=$lt_lt_prog_compiler_pic
16609  
16610 + # How to pass a linker flag through the compiler.
16611 + wl=$lt_lt_prog_compiler_wl
16612 +
16613   # Compiler flag to prevent dynamic linking.
16614   link_static_flag=$lt_lt_prog_compiler_static
16615  
# Line 15795 | Line 16659 | no_undefined_flag=$lt_no_undefined_flag
16659   # This must work even if \$libdir does not exist
16660   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16661  
15798 # If ld is used when linking, flag to hardcode \$libdir into a binary
15799 # during linking.  This must work even if \$libdir does not exist.
15800 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15801
16662   # Whether we need a single "-rpath" flag with a separated argument.
16663   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16664  
# Line 15832 | Line 16692 | inherit_rpath=$inherit_rpath
16692   # Whether libtool must link a program against all its dependency libraries.
16693   link_all_deplibs=$link_all_deplibs
16694  
15835 # Fix the shell variable \$srcfile for the compiler.
15836 fix_srcfile_path=$lt_fix_srcfile_path
15837
16695   # Set to "yes" if exported symbols are required.
16696   always_export_symbols=$always_export_symbols
16697  
# Line 15850 | Line 16707 | include_expsyms=$lt_include_expsyms
16707   # Commands necessary for linking programs (against libraries) with templates.
16708   prelink_cmds=$lt_prelink_cmds
16709  
16710 + # Commands necessary for finishing linking programs.
16711 + postlink_cmds=$lt_postlink_cmds
16712 +
16713   # Specify filename containing input files.
16714   file_list_spec=$lt_file_list_spec
16715  
# Line 15882 | Line 16742 | ltmain="$ac_aux_dir/ltmain.sh"
16742    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16743    # text mode, it properly converts lines to CR/LF.  This bash problem
16744    # is reportedly fixed, but why not run on old versions too?
16745 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16746 <    || (rm -f "$cfgfile"; exit 1)
15887 <
15888 <  case $xsi_shell in
15889 <  yes)
15890 <    cat << \_LT_EOF >> "$cfgfile"
15891 <
15892 < # func_dirname file append nondir_replacement
15893 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15894 < # otherwise set result to NONDIR_REPLACEMENT.
15895 < func_dirname ()
15896 < {
15897 <  case ${1} in
15898 <    */*) func_dirname_result="${1%/*}${2}" ;;
15899 <    *  ) func_dirname_result="${3}" ;;
15900 <  esac
15901 < }
15902 <
15903 < # func_basename file
15904 < func_basename ()
15905 < {
15906 <  func_basename_result="${1##*/}"
15907 < }
15908 <
15909 < # func_dirname_and_basename file append nondir_replacement
15910 < # perform func_basename and func_dirname in a single function
15911 < # call:
15912 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15913 < #             add APPEND to the result, otherwise set result
15914 < #             to NONDIR_REPLACEMENT.
15915 < #             value returned in "$func_dirname_result"
15916 < #   basename: Compute filename of FILE.
15917 < #             value retuned in "$func_basename_result"
15918 < # Implementation must be kept synchronized with func_dirname
15919 < # and func_basename. For efficiency, we do not delegate to
15920 < # those functions but instead duplicate the functionality here.
15921 < func_dirname_and_basename ()
15922 < {
15923 <  case ${1} in
15924 <    */*) func_dirname_result="${1%/*}${2}" ;;
15925 <    *  ) func_dirname_result="${3}" ;;
15926 <  esac
15927 <  func_basename_result="${1##*/}"
15928 < }
15929 <
15930 < # func_stripname prefix suffix name
15931 < # strip PREFIX and SUFFIX off of NAME.
15932 < # PREFIX and SUFFIX must not contain globbing or regex special
15933 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15934 < # dot (in which case that matches only a dot).
15935 < func_stripname ()
15936 < {
15937 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15938 <  # positional parameters, so assign one to ordinary parameter first.
15939 <  func_stripname_result=${3}
15940 <  func_stripname_result=${func_stripname_result#"${1}"}
15941 <  func_stripname_result=${func_stripname_result%"${2}"}
15942 < }
15943 <
15944 < # func_opt_split
15945 < func_opt_split ()
15946 < {
15947 <  func_opt_split_opt=${1%%=*}
15948 <  func_opt_split_arg=${1#*=}
15949 < }
15950 <
15951 < # func_lo2o object
15952 < func_lo2o ()
15953 < {
15954 <  case ${1} in
15955 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15956 <    *)    func_lo2o_result=${1} ;;
15957 <  esac
15958 < }
15959 <
15960 < # func_xform libobj-or-source
15961 < func_xform ()
15962 < {
15963 <  func_xform_result=${1%.*}.lo
15964 < }
15965 <
15966 < # func_arith arithmetic-term...
15967 < func_arith ()
15968 < {
15969 <  func_arith_result=$(( $* ))
15970 < }
15971 <
15972 < # func_len string
15973 < # STRING may not start with a hyphen.
15974 < func_len ()
15975 < {
15976 <  func_len_result=${#1}
15977 < }
15978 <
15979 < _LT_EOF
15980 <    ;;
15981 <  *) # Bourne compatible functions.
15982 <    cat << \_LT_EOF >> "$cfgfile"
15983 <
15984 < # func_dirname file append nondir_replacement
15985 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15986 < # otherwise set result to NONDIR_REPLACEMENT.
15987 < func_dirname ()
15988 < {
15989 <  # Extract subdirectory from the argument.
15990 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15991 <  if test "X$func_dirname_result" = "X${1}"; then
15992 <    func_dirname_result="${3}"
15993 <  else
15994 <    func_dirname_result="$func_dirname_result${2}"
15995 <  fi
15996 < }
15997 <
15998 < # func_basename file
15999 < func_basename ()
16000 < {
16001 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16002 < }
16003 <
16004 <
16005 < # func_stripname prefix suffix name
16006 < # strip PREFIX and SUFFIX off of NAME.
16007 < # PREFIX and SUFFIX must not contain globbing or regex special
16008 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16009 < # dot (in which case that matches only a dot).
16010 < # func_strip_suffix prefix name
16011 < func_stripname ()
16012 < {
16013 <  case ${2} in
16014 <    .*) func_stripname_result=`$ECHO "X${3}" \
16015 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16016 <    *)  func_stripname_result=`$ECHO "X${3}" \
16017 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16018 <  esac
16019 < }
16020 <
16021 < # sed scripts:
16022 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16023 < my_sed_long_arg='1s/^-[^=]*=//'
16024 <
16025 < # func_opt_split
16026 < func_opt_split ()
16027 < {
16028 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16029 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16030 < }
16031 <
16032 < # func_lo2o object
16033 < func_lo2o ()
16034 < {
16035 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16036 < }
16037 <
16038 < # func_xform libobj-or-source
16039 < func_xform ()
16040 < {
16041 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16042 < }
16043 <
16044 < # func_arith arithmetic-term...
16045 < func_arith ()
16046 < {
16047 <  func_arith_result=`expr "$@"`
16048 < }
16049 <
16050 < # func_len string
16051 < # STRING may not start with a hyphen.
16052 < func_len ()
16053 < {
16054 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16055 < }
16056 <
16057 < _LT_EOF
16058 < esac
16059 <
16060 < case $lt_shell_append in
16061 <  yes)
16062 <    cat << \_LT_EOF >> "$cfgfile"
16063 <
16064 < # func_append var value
16065 < # Append VALUE to the end of shell variable VAR.
16066 < func_append ()
16067 < {
16068 <  eval "$1+=\$2"
16069 < }
16070 < _LT_EOF
16071 <    ;;
16072 <  *)
16073 <    cat << \_LT_EOF >> "$cfgfile"
16074 <
16075 < # func_append var value
16076 < # Append VALUE to the end of shell variable VAR.
16077 < func_append ()
16078 < {
16079 <  eval "$1=\$$1\$2"
16080 < }
16081 <
16082 < _LT_EOF
16083 <    ;;
16084 <  esac
16745 >  sed '$q' "$ltmain" >> "$cfgfile" \
16746 >     || (rm -f "$cfgfile"; exit 1)
16747  
16748 +  if test x"$xsi_shell" = xyes; then
16749 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16750 + func_dirname ()\
16751 + {\
16752 + \    case ${1} in\
16753 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16754 + \      *  ) func_dirname_result="${3}" ;;\
16755 + \    esac\
16756 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16757 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759 + test 0 -eq $? || _lt_function_replace_fail=:
16760 +
16761 +
16762 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16763 + func_basename ()\
16764 + {\
16765 + \    func_basename_result="${1##*/}"\
16766 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16767 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16768 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769 + test 0 -eq $? || _lt_function_replace_fail=:
16770 +
16771 +
16772 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16773 + func_dirname_and_basename ()\
16774 + {\
16775 + \    case ${1} in\
16776 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16777 + \      *  ) func_dirname_result="${3}" ;;\
16778 + \    esac\
16779 + \    func_basename_result="${1##*/}"\
16780 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16781 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16782 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16783 + test 0 -eq $? || _lt_function_replace_fail=:
16784 +
16785 +
16786 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16787 + func_stripname ()\
16788 + {\
16789 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16790 + \    # positional parameters, so assign one to ordinary parameter first.\
16791 + \    func_stripname_result=${3}\
16792 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16793 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16794 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16795 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16796 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16797 + test 0 -eq $? || _lt_function_replace_fail=:
16798 +
16799 +
16800 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16801 + func_split_long_opt ()\
16802 + {\
16803 + \    func_split_long_opt_name=${1%%=*}\
16804 + \    func_split_long_opt_arg=${1#*=}\
16805 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16806 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16807 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16808 + test 0 -eq $? || _lt_function_replace_fail=:
16809 +
16810 +
16811 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16812 + func_split_short_opt ()\
16813 + {\
16814 + \    func_split_short_opt_arg=${1#??}\
16815 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16816 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16817 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16818 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16819 + test 0 -eq $? || _lt_function_replace_fail=:
16820 +
16821 +
16822 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16823 + func_lo2o ()\
16824 + {\
16825 + \    case ${1} in\
16826 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16827 + \      *)    func_lo2o_result=${1} ;;\
16828 + \    esac\
16829 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16830 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16831 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16832 + test 0 -eq $? || _lt_function_replace_fail=:
16833 +
16834 +
16835 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16836 + func_xform ()\
16837 + {\
16838 +    func_xform_result=${1%.*}.lo\
16839 + } # Extended-shell func_xform 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_arith ()$/,/^} # func_arith /c\
16846 + func_arith ()\
16847 + {\
16848 +    func_arith_result=$(( $* ))\
16849 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16850 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16851 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16852 + test 0 -eq $? || _lt_function_replace_fail=:
16853 +
16854 +
16855 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16856 + func_len ()\
16857 + {\
16858 +    func_len_result=${#1}\
16859 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16860 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16861 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16862 + test 0 -eq $? || _lt_function_replace_fail=:
16863 +
16864 + fi
16865 +
16866 + if test x"$lt_shell_append" = xyes; then
16867 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16868 + func_append ()\
16869 + {\
16870 +    eval "${1}+=\\${2}"\
16871 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16872 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16873 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16874 + test 0 -eq $? || _lt_function_replace_fail=:
16875 +
16876 +
16877 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16878 + func_append_quoted ()\
16879 + {\
16880 + \    func_quote_for_eval "${2}"\
16881 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16882 + } # Extended-shell func_append_quoted 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 +
16888 +  # Save a `func_append' function call where possible by direct use of '+='
16889 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16890 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16891 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16892 +  test 0 -eq $? || _lt_function_replace_fail=:
16893 + else
16894 +  # Save a `func_append' function call even when '+=' is not available
16895 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16896 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16897 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16898 +  test 0 -eq $? || _lt_function_replace_fail=:
16899 + fi
16900 +
16901 + if test x"$_lt_function_replace_fail" = x":"; then
16902 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16903 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16904 + fi
16905  
16087  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16088    || (rm -f "$cfgfile"; exit 1)
16906  
16907 <  mv -f "$cfgfile" "$ofile" ||
16907 >   mv -f "$cfgfile" "$ofile" ||
16908      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16909    chmod +x "$ofile"
16910  
# Line 16102 | Line 16919 | _ACEOF
16919   ac_clean_files=$ac_clean_files_save
16920  
16921   test $ac_write_fail = 0 ||
16922 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16922 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16923  
16924  
16925   # configure is writing to config.log, and then calls config.status.
# Line 16123 | Line 16940 | if test "$no_create" != yes; then
16940    exec 5>>config.log
16941    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16942    # would make configure fail if this is the last instruction.
16943 <  $ac_cs_success || as_fn_exit $?
16127 < fi
16128 <
16129 < #
16130 < # CONFIG_SUBDIRS section.
16131 < #
16132 < if test "$no_recursion" != yes; then
16133 <
16134 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16135 <  # so they do not pile up.
16136 <  ac_sub_configure_args=
16137 <  ac_prev=
16138 <  eval "set x $ac_configure_args"
16139 <  shift
16140 <  for ac_arg
16141 <  do
16142 <    if test -n "$ac_prev"; then
16143 <      ac_prev=
16144 <      continue
16145 <    fi
16146 <    case $ac_arg in
16147 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16148 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16149 <      ac_prev=cache_file ;;
16150 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16151 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16152 <    | --c=*)
16153 <      ;;
16154 <    --config-cache | -C)
16155 <      ;;
16156 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16157 <      ac_prev=srcdir ;;
16158 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16159 <      ;;
16160 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16161 <      ac_prev=prefix ;;
16162 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16163 <      ;;
16164 <    --disable-option-checking)
16165 <      ;;
16166 <    *)
16167 <      case $ac_arg in
16168 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16169 <      esac
16170 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16171 <    esac
16172 <  done
16173 <
16174 <  # Always prepend --prefix to ensure using the same prefix
16175 <  # in subdir configurations.
16176 <  ac_arg="--prefix=$prefix"
16177 <  case $ac_arg in
16178 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179 <  esac
16180 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16181 <
16182 <  # Pass --silent
16183 <  if test "$silent" = yes; then
16184 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16185 <  fi
16186 <
16187 <  # Always prepend --disable-option-checking to silence warnings, since
16188 <  # different subdirs can have different --enable and --with options.
16189 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16190 <
16191 <  ac_popdir=`pwd`
16192 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16193 <
16194 <    # Do not complain, so a configure script can configure whichever
16195 <    # parts of a large source tree are present.
16196 <    test -d "$srcdir/$ac_dir" || continue
16197 <
16198 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16199 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16200 <    $as_echo "$ac_msg" >&6
16201 <    as_dir="$ac_dir"; as_fn_mkdir_p
16202 <    ac_builddir=.
16203 <
16204 < case "$ac_dir" in
16205 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16206 < *)
16207 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16208 <  # A ".." for each directory in $ac_dir_suffix.
16209 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16210 <  case $ac_top_builddir_sub in
16211 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16212 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16213 <  esac ;;
16214 < esac
16215 < ac_abs_top_builddir=$ac_pwd
16216 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16217 < # for backward compatibility:
16218 < ac_top_builddir=$ac_top_build_prefix
16219 <
16220 < case $srcdir in
16221 <  .)  # We are building in place.
16222 <    ac_srcdir=.
16223 <    ac_top_srcdir=$ac_top_builddir_sub
16224 <    ac_abs_top_srcdir=$ac_pwd ;;
16225 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16226 <    ac_srcdir=$srcdir$ac_dir_suffix;
16227 <    ac_top_srcdir=$srcdir
16228 <    ac_abs_top_srcdir=$srcdir ;;
16229 <  *) # Relative name.
16230 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16231 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16232 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16233 < esac
16234 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16235 <
16236 <
16237 <    cd "$ac_dir"
16238 <
16239 <    # Check for guested configure; otherwise get Cygnus style configure.
16240 <    if test -f "$ac_srcdir/configure.gnu"; then
16241 <      ac_sub_configure=$ac_srcdir/configure.gnu
16242 <    elif test -f "$ac_srcdir/configure"; then
16243 <      ac_sub_configure=$ac_srcdir/configure
16244 <    elif test -f "$ac_srcdir/configure.in"; then
16245 <      # This should be Cygnus configure.
16246 <      ac_sub_configure=$ac_aux_dir/configure
16247 <    else
16248 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16249 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16250 <      ac_sub_configure=
16251 <    fi
16252 <
16253 <    # The recursion is here.
16254 <    if test -n "$ac_sub_configure"; then
16255 <      # Make the cache file name correct relative to the subdirectory.
16256 <      case $cache_file in
16257 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16258 <      *) # Relative name.
16259 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16260 <      esac
16261 <
16262 <      { $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
16263 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16264 <      # The eval makes quoting arguments work.
16265 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16266 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16267 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16268 <    fi
16269 <
16270 <    cd "$ac_popdir"
16271 <  done
16943 >  $ac_cs_success || as_fn_exit 1
16944   fi
16945   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16946    { $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)