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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1325 by michael, Sat Mar 31 10:29:02 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael .
2 > # From configure.ac Id: configure.ac 1310 2012-03-26 15:45:02Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 > # Foundation, Inc.
12   #
13   #
14   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 92 | fi
92   IFS=" ""        $as_nl"
93  
94   # Find who we are.  Look in the path if we contain no directory separator.
95 + as_myself=
96   case $0 in #((
97    *[\\/]* ) as_myself=$0 ;;
98    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 225 | 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 328 | 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 368 | 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 546 | Line 554 | 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 565 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.3-rc1'
577 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
# Line 650 | Line 658 | OTOOL
658   LIPO
659   NMEDIT
660   DSYMUTIL
661 + MANIFEST_TOOL
662   RANLIB
663 + ac_ct_AR
664   AR
665 + DLLTOOL
666   OBJDUMP
667   LN_S
668   NM
# Line 679 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 766 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
785   with_ltdl_lib
786   enable_ltdl_install
774 with_zlib_path
775 enable_zlib
787   with_libpcre_path
788   enable_libpcre
789   enable_openssl
# Line 786 | Line 797 | enable_poll
797   enable_select
798   with_nicklen
799   with_topiclen
789 with_syslog_facility
800   enable_efnet
801   enable_halfops
802   enable_debugging
803   enable_warnings
794 enable_syslog
804   '
805        ac_precious_vars='build_alias
806   host_alias
# Line 866 | Line 875 | do
875    fi
876  
877    case $ac_option in
878 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 <  *)    ac_optarg=yes ;;
878 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 >  *=)   ac_optarg= ;;
880 >  *)    ac_optarg=yes ;;
881    esac
882  
883    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 912 | Line 922 | do
922      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923      # Reject names that are not valid shell variable names.
924      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 <      as_fn_error "invalid feature name: $ac_useropt"
925 >      as_fn_error $? "invalid feature name: $ac_useropt"
926      ac_useropt_orig=$ac_useropt
927      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928      case $ac_user_opts in
# Line 938 | Line 948 | do
948      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949      # Reject names that are not valid shell variable names.
950      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 <      as_fn_error "invalid feature name: $ac_useropt"
951 >      as_fn_error $? "invalid feature name: $ac_useropt"
952      ac_useropt_orig=$ac_useropt
953      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954      case $ac_user_opts in
# Line 1142 | Line 1152 | do
1152      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153      # Reject names that are not valid shell variable names.
1154      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 <      as_fn_error "invalid package name: $ac_useropt"
1155 >      as_fn_error $? "invalid package name: $ac_useropt"
1156      ac_useropt_orig=$ac_useropt
1157      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158      case $ac_user_opts in
# Line 1158 | Line 1168 | do
1168      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169      # Reject names that are not valid shell variable names.
1170      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 <      as_fn_error "invalid package name: $ac_useropt"
1171 >      as_fn_error $? "invalid package name: $ac_useropt"
1172      ac_useropt_orig=$ac_useropt
1173      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174      case $ac_user_opts in
# Line 1188 | Line 1198 | do
1198    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1199      x_libraries=$ac_optarg ;;
1200  
1201 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1202 < Try \`$0 --help' for more information."
1201 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1202 > Try \`$0 --help' for more information"
1203      ;;
1204  
1205    *=*)
# Line 1197 | Line 1207 | Try \`$0 --help' for more information."
1207      # Reject names that are not valid shell variable names.
1208      case $ac_envvar in #(
1209        '' | [0-9]* | *[!_$as_cr_alnum]* )
1210 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1210 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1211      esac
1212      eval $ac_envvar=\$ac_optarg
1213      export $ac_envvar ;;
# Line 1207 | Line 1217 | Try \`$0 --help' for more information."
1217      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221      ;;
1222  
1223    esac
# Line 1215 | Line 1225 | done
1225  
1226   if test -n "$ac_prev"; then
1227    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1228 <  as_fn_error "missing argument to $ac_option"
1228 >  as_fn_error $? "missing argument to $ac_option"
1229   fi
1230  
1231   if test -n "$ac_unrecognized_opts"; then
1232    case $enable_option_checking in
1233      no) ;;
1234 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1234 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1235      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236    esac
1237   fi
# Line 1244 | Line 1254 | do
1254      [\\/$]* | ?:[\\/]* )  continue;;
1255      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256    esac
1257 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1257 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1258   done
1259  
1260   # There might be people who depend on the old broken behavior: `$host'
# Line 1258 | Line 1268 | target=$target_alias
1268   if test "x$host_alias" != x; then
1269    if test "x$build_alias" = x; then
1270      cross_compiling=maybe
1271 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 <    If a cross compiler is detected then cross compile mode will be used." >&2
1271 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272 >    If a cross compiler is detected then cross compile mode will be used" >&2
1273    elif test "x$build_alias" != "x$host_alias"; then
1274      cross_compiling=yes
1275    fi
# Line 1274 | Line 1284 | test "$silent" = yes && exec 6>/dev/null
1284   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285   ac_ls_di=`ls -di .` &&
1286   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 <  as_fn_error "working directory cannot be determined"
1287 >  as_fn_error $? "working directory cannot be determined"
1288   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 <  as_fn_error "pwd does not report name of working directory"
1289 >  as_fn_error $? "pwd does not report name of working directory"
1290  
1291  
1292   # Find the source files, if location was not specified.
# Line 1315 | Line 1325 | else
1325   fi
1326   if test ! -r "$srcdir/$ac_unique_file"; then
1327    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1328 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1329   fi
1330   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331   ac_abs_confdir=`(
1332 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333          pwd)`
1334   # When building in place, set srcdir=.
1335   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1345 | Line 1355 | if test "$ac_init_help" = "long"; then
1355    # Omit some internal or obsolete options to make the list less imposing.
1356    # This message is too long to be a string in the A/UX 3.1 sh.
1357    cat <<_ACEOF
1358 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1358 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1359  
1360   Usage: $0 [OPTION]... [VAR=VALUE]...
1361  
# Line 1359 | Line 1369 | Configuration:
1369        --help=short        display options specific to this package
1370        --help=recursive    display the short help of all the included packages
1371    -V, --version           display version information and exit
1372 <  -q, --quiet, --silent   do not print \`checking...' messages
1372 >  -q, --quiet, --silent   do not print \`checking ...' messages
1373        --cache-file=FILE   cache test results in FILE [disabled]
1374    -C, --config-cache      alias for \`--cache-file=config.cache'
1375    -n, --no-create         do not create output files
# Line 1415 | Line 1425 | fi
1425  
1426   if test -n "$ac_init_help"; then
1427    case $ac_init_help in
1428 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1428 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1429     esac
1430    cat <<\_ACEOF
1431  
# Line 1433 | Line 1443 | Optional Features:
1443                            optimize for fast installation [default=yes]
1444    --disable-libtool-lock  avoid locking (might break parallel builds)
1445    --enable-ltdl-install   install libltdl
1436  --disable-zlib          Disable ziplinks support
1446    --disable-libpcre       Disable PCRE support
1447    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1448    --disable-openssl            Disable OpenSSL support.
# Line 1449 | Line 1458 | Optional Features:
1458    --enable-halfops        Enable halfops support.
1459    --enable-debugging      Enable debugging.
1460    --enable-warnings       Enable compiler warnings.
1452  --enable-syslog="EVENTS"
1453                          Enable syslog for events: users oper (space
1454                          separated in quotes; default: disabled).
1461  
1462   Optional Packages:
1463    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1465 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                            both]
1467    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468 +  --with-sysroot=DIR Search for dependent libraries within DIR
1469 +                        (or the compiler's sysroot if not specified).
1470    --with-included-ltdl    use the GNU ltdl sources included here
1471    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1465  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1473    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474    --with-nicklen=<value>  Set nickname length (default 9).
1475    --with-topiclen=<value> Set topic length (default 160).
1469  --with-syslog-facility=LOG
1470                          Define the syslog facility to use (default:
1471                          LOG_LOCAL4)
1476  
1477   Some influential environment variables:
1478    CC          C compiler command
# Line 1478 | Line 1482 | Some influential environment variables:
1482    LIBS        libraries to pass to the linker, e.g. -l<library>
1483    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484                you have headers in a nonstandard directory <include dir>
1485 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1486 <              the first program found out of: `bison -y', `byacc', `yacc'.
1485 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1486 >              Defaults to the first program found out of: `bison -y', `byacc',
1487 >              `yacc'.
1488    YFLAGS      The list of arguments that will be passed by default to $YACC.
1489                This script will default YFLAGS to the empty string to avoid a
1490                default value of `-d' given by some make applications.
# Line 1551 | Line 1556 | fi
1556   test -n "$ac_init_help" && exit $ac_status
1557   if $ac_init_version; then
1558    cat <<\_ACEOF
1559 < ircd-hybrid configure 7.3-rc1
1560 < generated by GNU Autoconf 2.65
1559 > ircd-hybrid configure 8beta1
1560 > generated by GNU Autoconf 2.68
1561  
1562 < Copyright (C) 2009 Free Software Foundation, Inc.
1562 > Copyright (C) 2010 Free Software Foundation, Inc.
1563   This configure script is free software; the Free Software Foundation
1564   gives unlimited permission to copy, distribute and modify it.
1565   _ACEOF
# Line 1598 | Line 1603 | sed 's/^/| /' conftest.$ac_ext >&5
1603  
1604          ac_retval=1
1605   fi
1606 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607    as_fn_set_status $ac_retval
1608  
1609   } # ac_fn_c_try_compile
# Line 1644 | Line 1649 | fi
1649    # interfere with the next link command; also delete a directory that is
1650    # left behind by Apple's compiler.  We do this before executing the actions.
1651    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653    as_fn_set_status $ac_retval
1654  
1655   } # ac_fn_c_try_link
# Line 1658 | Line 1663 | ac_fn_c_check_header_compile ()
1663    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665   $as_echo_n "checking for $2... " >&6; }
1666 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1666 > if eval \${$3+:} false; then :
1667    $as_echo_n "(cached) " >&6
1668   else
1669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1676 | Line 1681 | fi
1681   eval ac_res=\$$3
1682                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683   $as_echo "$ac_res" >&6; }
1684 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  
1686   } # ac_fn_c_check_header_compile
1687  
# Line 1701 | Line 1706 | $as_echo "$ac_try_echo"; } >&5
1706      mv -f conftest.er1 conftest.err
1707    fi
1708    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 <  test $ac_status = 0; } >/dev/null && {
1709 >  test $ac_status = 0; } > conftest.i && {
1710           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1711           test ! -s conftest.err
1712         }; then :
# Line 1712 | Line 1717 | sed 's/^/| /' conftest.$ac_ext >&5
1717  
1718      ac_retval=1
1719   fi
1720 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721    as_fn_set_status $ac_retval
1722  
1723   } # ac_fn_c_try_cpp
# Line 1754 | Line 1759 | sed 's/^/| /' conftest.$ac_ext >&5
1759         ac_retval=$ac_status
1760   fi
1761    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763    as_fn_set_status $ac_retval
1764  
1765   } # ac_fn_c_try_run
# Line 1767 | Line 1772 | ac_fn_c_check_func ()
1772    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774   $as_echo_n "checking for $2... " >&6; }
1775 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775 > if eval \${$3+:} false; then :
1776    $as_echo_n "(cached) " >&6
1777   else
1778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1822 | Line 1827 | fi
1827   eval ac_res=\$$3
1828                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829   $as_echo "$ac_res" >&6; }
1830 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831  
1832   } # ac_fn_c_check_func
1833  
1834 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1835 < # ------------------------------------
1836 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1834 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1835 > # ---------------------------------------------
1836 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1837 > # accordingly.
1838   ac_fn_c_check_decl ()
1839   {
1840    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1842 < $as_echo_n "checking whether $2 is declared... " >&6; }
1843 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1842 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845 > if eval \${$3+:} false; then :
1846    $as_echo_n "(cached) " >&6
1847   else
1848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1843 | Line 1851 | $4
1851   int
1852   main ()
1853   {
1854 < #ifndef $2
1855 <  (void) $2;
1854 > #ifndef $as_decl_name
1855 > #ifdef __cplusplus
1856 >  (void) $as_decl_use;
1857 > #else
1858 >  (void) $as_decl_name;
1859 > #endif
1860   #endif
1861  
1862    ;
# Line 1861 | Line 1873 | fi
1873   eval ac_res=\$$3
1874                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875   $as_echo "$ac_res" >&6; }
1876 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877  
1878   } # ac_fn_c_check_decl
1879  
# Line 1874 | Line 1886 | ac_fn_c_check_type ()
1886    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888   $as_echo_n "checking for $2... " >&6; }
1889 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 > if eval \${$3+:} false; then :
1890    $as_echo_n "(cached) " >&6
1891   else
1892    eval "$3=no"
# Line 1915 | Line 1927 | fi
1927   eval ac_res=\$$3
1928                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929   $as_echo "$ac_res" >&6; }
1930 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  
1932   } # ac_fn_c_check_type
1933  
# Line 1928 | Line 1940 | ac_fn_c_check_member ()
1940    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942   $as_echo_n "checking for $2.$3... " >&6; }
1943 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1943 > if eval \${$4+:} false; then :
1944    $as_echo_n "(cached) " >&6
1945   else
1946    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1972 | Line 1984 | fi
1984   eval ac_res=\$$4
1985                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986   $as_echo "$ac_res" >&6; }
1987 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988  
1989   } # ac_fn_c_check_member
1990  
# Line 1984 | Line 1996 | $as_echo "$ac_res" >&6; }
1996   ac_fn_c_check_header_mongrel ()
1997   {
1998    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 >  if eval \${$3+:} false; then :
2000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001   $as_echo_n "checking for $2... " >&6; }
2002 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2002 > if eval \${$3+:} false; then :
2003    $as_echo_n "(cached) " >&6
2004   fi
2005   eval ac_res=\$$3
# Line 2023 | Line 2035 | if ac_fn_c_try_cpp "$LINENO"; then :
2035   else
2036    ac_header_preproc=no
2037   fi
2038 < rm -f conftest.err conftest.$ac_ext
2038 > rm -f conftest.err conftest.i conftest.$ac_ext
2039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2040   $as_echo "$ac_header_preproc" >&6; }
2041  
# Line 2046 | Line 2058 | $as_echo "$as_me: WARNING: $2: see the A
2058   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2059      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2061 < ( cat <<\_ASBOX
2050 < ## ----------------------------------- ##
2061 > ( $as_echo "## ----------------------------------- ##
2062   ## Report this to bugs@ircd-hybrid.org ##
2063 < ## ----------------------------------- ##
2053 < _ASBOX
2063 > ## ----------------------------------- ##"
2064       ) | sed "s/^/$as_me: WARNING:     /" >&2
2065      ;;
2066   esac
2067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068   $as_echo_n "checking for $2... " >&6; }
2069 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 > if eval \${$3+:} false; then :
2070    $as_echo_n "(cached) " >&6
2071   else
2072    eval "$3=\$ac_header_compiler"
# Line 2065 | Line 2075 | eval ac_res=\$$3
2075                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076   $as_echo "$ac_res" >&6; }
2077   fi
2078 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079  
2080   } # ac_fn_c_check_header_mongrel
2081   cat >config.log <<_ACEOF
2082   This file contains any messages produced by compilers while
2083   running configure, to aid debugging if configure makes a mistake.
2084  
2085 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2086 < generated by GNU Autoconf 2.65.  Invocation command line was
2085 > It was created by ircd-hybrid $as_me 8beta1, which was
2086 > generated by GNU Autoconf 2.68.  Invocation command line was
2087  
2088    $ $0 $@
2089  
# Line 2183 | Line 2193 | trap 'exit_status=$?
2193    {
2194      echo
2195  
2196 <    cat <<\_ASBOX
2187 < ## ---------------- ##
2196 >    $as_echo "## ---------------- ##
2197   ## Cache variables. ##
2198 < ## ---------------- ##
2190 < _ASBOX
2198 > ## ---------------- ##"
2199      echo
2200      # The following way of writing the cache mishandles newlines in values,
2201   (
# Line 2221 | Line 2229 | $as_echo "$as_me: WARNING: cache variabl
2229   )
2230      echo
2231  
2232 <    cat <<\_ASBOX
2225 < ## ----------------- ##
2232 >    $as_echo "## ----------------- ##
2233   ## Output variables. ##
2234 < ## ----------------- ##
2228 < _ASBOX
2234 > ## ----------------- ##"
2235      echo
2236      for ac_var in $ac_subst_vars
2237      do
# Line 2238 | Line 2244 | _ASBOX
2244      echo
2245  
2246      if test -n "$ac_subst_files"; then
2247 <      cat <<\_ASBOX
2242 < ## ------------------- ##
2247 >      $as_echo "## ------------------- ##
2248   ## File substitutions. ##
2249 < ## ------------------- ##
2245 < _ASBOX
2249 > ## ------------------- ##"
2250        echo
2251        for ac_var in $ac_subst_files
2252        do
# Line 2256 | Line 2260 | _ASBOX
2260      fi
2261  
2262      if test -s confdefs.h; then
2263 <      cat <<\_ASBOX
2260 < ## ----------- ##
2263 >      $as_echo "## ----------- ##
2264   ## confdefs.h. ##
2265 < ## ----------- ##
2263 < _ASBOX
2265 > ## ----------- ##"
2266        echo
2267        cat confdefs.h
2268        echo
# Line 2315 | Line 2317 | _ACEOF
2317   ac_site_file1=NONE
2318   ac_site_file2=NONE
2319   if test -n "$CONFIG_SITE"; then
2320 <  ac_site_file1=$CONFIG_SITE
2320 >  # We do not want a PATH search for config.site.
2321 >  case $CONFIG_SITE in #((
2322 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2323 >    */*) ac_site_file1=$CONFIG_SITE;;
2324 >    *)   ac_site_file1=./$CONFIG_SITE;;
2325 >  esac
2326   elif test "x$prefix" != xNONE; then
2327    ac_site_file1=$prefix/share/config.site
2328    ac_site_file2=$prefix/etc/config.site
# Line 2330 | Line 2337 | do
2337      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339      sed 's/^/| /' "$ac_site_file" >&5
2340 <    . "$ac_site_file"
2340 >    . "$ac_site_file" \
2341 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 > as_fn_error $? "failed to load site script $ac_site_file
2344 > See \`config.log' for more details" "$LINENO" 5; }
2345    fi
2346   done
2347  
# Line 2356 | Line 2367 | as_fn_append ac_func_list " strtok_r"
2367   as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370 + as_fn_append ac_func_list " socketpair"
2371   as_fn_append ac_header_list " crypt.h"
2372   as_fn_append ac_header_list " inttypes.h"
2373   as_fn_append ac_header_list " stdint.h"
# Line 2423 | Line 2435 | if $ac_cache_corrupted; then
2435   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2437   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2438 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2438 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439   fi
2440   ## -------------------- ##
2441   ## Main body of script. ##
# Line 2440 | Line 2452 | am__api_version='1.11'
2452  
2453   ac_aux_dir=
2454   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2455 <  for ac_t in install-sh install.sh shtool; do
2456 <    if test -f "$ac_dir/$ac_t"; then
2457 <      ac_aux_dir=$ac_dir
2458 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2459 <      break 2
2460 <    fi
2461 <  done
2455 >  if test -f "$ac_dir/install-sh"; then
2456 >    ac_aux_dir=$ac_dir
2457 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2458 >    break
2459 >  elif test -f "$ac_dir/install.sh"; then
2460 >    ac_aux_dir=$ac_dir
2461 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2462 >    break
2463 >  elif test -f "$ac_dir/shtool"; then
2464 >    ac_aux_dir=$ac_dir
2465 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2466 >    break
2467 >  fi
2468   done
2469   if test -z "$ac_aux_dir"; then
2470 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2470 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2471   fi
2472  
2473   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2496 | ac_configure="$SHELL $ac_aux_dir/configu
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2497   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2498   if test -z "$INSTALL"; then
2499 < if test "${ac_cv_path_install+set}" = set; then :
2499 > if ${ac_cv_path_install+:} false; then :
2500    $as_echo_n "(cached) " >&6
2501   else
2502    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2565 | Line 2583 | am_lf='
2583   '
2584   case `pwd` in
2585    *[\\\"\#\$\&\'\`$am_lf]*)
2586 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2586 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2591 | Line 2609 | if (
2609        # if, for instance, CONFIG_SHELL is bash and it inherits a
2610        # broken ls alias from the environment.  This has actually
2611        # happened.  Such a system could not be considered "sane".
2612 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2612 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613   alias in your environment" "$LINENO" 5
2614     fi
2615  
# Line 2601 | Line 2619 | then
2619     # Ok.
2620     :
2621   else
2622 <   as_fn_error "newly created file is older than distributed files!
2622 >   as_fn_error $? "newly created file is older than distributed files!
2623   Check your system clock" "$LINENO" 5
2624   fi
2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2655 | Line 2673 | if test "$cross_compiling" != no; then
2673   set dummy ${ac_tool_prefix}strip; ac_word=$2
2674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675   $as_echo_n "checking for $ac_word... " >&6; }
2676 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2676 > if ${ac_cv_prog_STRIP+:} false; then :
2677    $as_echo_n "(cached) " >&6
2678   else
2679    if test -n "$STRIP"; then
# Line 2695 | Line 2713 | if test -z "$ac_cv_prog_STRIP"; then
2713   set dummy strip; ac_word=$2
2714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715   $as_echo_n "checking for $ac_word... " >&6; }
2716 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2716 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2717    $as_echo_n "(cached) " >&6
2718   else
2719    if test -n "$ac_ct_STRIP"; then
# Line 2748 | Line 2766 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768   if test -z "$MKDIR_P"; then
2769 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2769 >  if ${ac_cv_path_mkdir+:} false; then :
2770    $as_echo_n "(cached) " >&6
2771   else
2772    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2799 | Line 2817 | do
2817   set dummy $ac_prog; ac_word=$2
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819   $as_echo_n "checking for $ac_word... " >&6; }
2820 < if test "${ac_cv_prog_AWK+set}" = set; then :
2820 > if ${ac_cv_prog_AWK+:} false; then :
2821    $as_echo_n "(cached) " >&6
2822   else
2823    if test -n "$AWK"; then
# Line 2839 | Line 2857 | done
2857   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858   set x ${MAKE-make}
2859   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2860 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2861    $as_echo_n "(cached) " >&6
2862   else
2863    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2865 | SHELL = /bin/sh
2865   all:
2866          @echo '@@@%%%=$(MAKE)=@@@%%%'
2867   _ACEOF
2868 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2868 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2870    *@@@%%%=?*=@@@%%%*)
2871      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2881 | Line 2899 | if test "`cd $srcdir && pwd`" != "`pwd`"
2899    am__isrc=' -I$(srcdir)'
2900    # test to see if srcdir already configured
2901    if test -f $srcdir/config.status; then
2902 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2902 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2903    fi
2904   fi
2905  
# Line 2897 | Line 2915 | fi
2915  
2916   # Define the identity of the package.
2917   PACKAGE='ircd-hybrid'
2918 < VERSION='7.3-rc1'
2918 > VERSION='8beta1'
2919  
2920  
2921   cat >>confdefs.h <<_ACEOF
# Line 2927 | Line 2945 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2945  
2946   # We need awk for the "check" target.  The system "awk" is bad on
2947   # some platforms.
2948 < # Always define AMTAR for backward compatibility.
2949 <
2950 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2948 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2949 > # in the wild :-(  We should find a proper way to deprecate it ...
2950 > AMTAR='$${TAR-tar}'
2951  
2952 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2952 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2953  
2954  
2955  
# Line 3017 | Line 3035 | fi
3035   if test "x$enable_dependency_tracking" != xno; then
3036    am_depcomp="$ac_aux_dir/depcomp"
3037    AMDEPBACKSLASH='\'
3038 +  am__nodep='_no'
3039   fi
3040   if test "x$enable_dependency_tracking" != xno; then
3041    AMDEP_TRUE=
# Line 3037 | Line 3056 | if test -n "$ac_tool_prefix"; then
3056   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058   $as_echo_n "checking for $ac_word... " >&6; }
3059 < if test "${ac_cv_prog_CC+set}" = set; then :
3059 > if ${ac_cv_prog_CC+:} false; then :
3060    $as_echo_n "(cached) " >&6
3061   else
3062    if test -n "$CC"; then
# Line 3077 | Line 3096 | if test -z "$ac_cv_prog_CC"; then
3096   set dummy gcc; ac_word=$2
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098   $as_echo_n "checking for $ac_word... " >&6; }
3099 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3099 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3100    $as_echo_n "(cached) " >&6
3101   else
3102    if test -n "$ac_ct_CC"; then
# Line 3130 | Line 3149 | if test -z "$CC"; then
3149   set dummy ${ac_tool_prefix}cc; ac_word=$2
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151   $as_echo_n "checking for $ac_word... " >&6; }
3152 < if test "${ac_cv_prog_CC+set}" = set; then :
3152 > if ${ac_cv_prog_CC+:} false; then :
3153    $as_echo_n "(cached) " >&6
3154   else
3155    if test -n "$CC"; then
# Line 3170 | Line 3189 | if test -z "$CC"; then
3189   set dummy cc; ac_word=$2
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191   $as_echo_n "checking for $ac_word... " >&6; }
3192 < if test "${ac_cv_prog_CC+set}" = set; then :
3192 > if ${ac_cv_prog_CC+:} false; then :
3193    $as_echo_n "(cached) " >&6
3194   else
3195    if test -n "$CC"; then
# Line 3229 | Line 3248 | if test -z "$CC"; then
3248   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250   $as_echo_n "checking for $ac_word... " >&6; }
3251 < if test "${ac_cv_prog_CC+set}" = set; then :
3251 > if ${ac_cv_prog_CC+:} false; then :
3252    $as_echo_n "(cached) " >&6
3253   else
3254    if test -n "$CC"; then
# Line 3273 | Line 3292 | do
3292   set dummy $ac_prog; ac_word=$2
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294   $as_echo_n "checking for $ac_word... " >&6; }
3295 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3295 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3296    $as_echo_n "(cached) " >&6
3297   else
3298    if test -n "$ac_ct_CC"; then
# Line 3327 | Line 3346 | fi
3346  
3347   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 < as_fn_error "no acceptable C compiler found in \$PATH
3350 < See \`config.log' for more details." "$LINENO" 5; }
3349 > as_fn_error $? "no acceptable C compiler found in \$PATH
3350 > See \`config.log' for more details" "$LINENO" 5; }
3351  
3352   # Provide some information about the compiler.
3353   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3461 | sed 's/^/| /' conftest.$ac_ext >&5
3461  
3462   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 < { as_fn_set_status 77
3465 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3464 > as_fn_error 77 "C compiler cannot create executables
3465 > See \`config.log' for more details" "$LINENO" 5; }
3466   else
3467    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468   $as_echo "yes" >&6; }
# Line 3486 | Line 3504 | done
3504   else
3505    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3508 < See \`config.log' for more details." "$LINENO" 5; }
3507 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3508 > See \`config.log' for more details" "$LINENO" 5; }
3509   fi
3510   rm -f conftest conftest$ac_cv_exeext
3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3562 | $as_echo "$ac_try_echo"; } >&5
3562      else
3563          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 < as_fn_error "cannot run C compiled programs.
3565 > as_fn_error $? "cannot run C compiled programs.
3566   If you meant to cross compile, use \`--host'.
3567 < See \`config.log' for more details." "$LINENO" 5; }
3567 > See \`config.log' for more details" "$LINENO" 5; }
3568      fi
3569    fi
3570   fi
# Line 3557 | Line 3575 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3575   ac_clean_files=$ac_clean_files_save
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3577   $as_echo_n "checking for suffix of object files... " >&6; }
3578 < if test "${ac_cv_objext+set}" = set; then :
3578 > if ${ac_cv_objext+:} false; then :
3579    $as_echo_n "(cached) " >&6
3580   else
3581    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3615 | sed 's/^/| /' conftest.$ac_ext >&5
3615  
3616   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 < as_fn_error "cannot compute suffix of object files: cannot compile
3619 < See \`config.log' for more details." "$LINENO" 5; }
3618 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3619 > See \`config.log' for more details" "$LINENO" 5; }
3620   fi
3621   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3622   fi
# Line 3608 | Line 3626 | OBJEXT=$ac_cv_objext
3626   ac_objext=$OBJEXT
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3628   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3629 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3629 > if ${ac_cv_c_compiler_gnu+:} false; then :
3630    $as_echo_n "(cached) " >&6
3631   else
3632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3663 | ac_test_CFLAGS=${CFLAGS+set}
3663   ac_save_CFLAGS=$CFLAGS
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3665   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3666 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3666 > if ${ac_cv_prog_cc_g+:} false; then :
3667    $as_echo_n "(cached) " >&6
3668   else
3669    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3741 | else
3741   fi
3742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3743   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3744 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3744 > if ${ac_cv_prog_cc_c89+:} false; then :
3745    $as_echo_n "(cached) " >&6
3746   else
3747    ac_cv_prog_cc_c89=no
# Line 3822 | Line 3840 | depcc="$CC"   am_compiler_list=
3840  
3841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3842   $as_echo_n "checking dependency style of $depcc... " >&6; }
3843 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3843 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3844    $as_echo_n "(cached) " >&6
3845   else
3846    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3831 | Line 3849 | else
3849    # instance it was reported that on HP-UX the gcc test will end up
3850    # making a dummy file named `D' -- because `-MD' means `put the output
3851    # in D'.
3852 +  rm -rf conftest.dir
3853    mkdir conftest.dir
3854    # Copy depcomp to subdir because otherwise we won't find it if we're
3855    # using a relative directory.
# Line 3890 | Line 3909 | else
3909          break
3910        fi
3911        ;;
3912 <    msvisualcpp | msvcmsys)
3912 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3913        # This compiler won't grok `-c -o', but also, the minuso test has
3914        # not run yet.  These depmodes are late enough in the game, and
3915        # so weak that their functioning should not be impacted.
# Line 3947 | Line 3966 | fi
3966  
3967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3968   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3969 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3969 > if ${ac_cv_prog_cc_c99+:} false; then :
3970    $as_echo_n "(cached) " >&6
3971   else
3972    ac_cv_prog_cc_c99=no
# Line 4123 | Line 4142 | fi
4142  
4143  
4144   if test "$ac_cv_prog_cc_c99" = "no"; then :
4145 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4145 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4146   fi
4147   for ac_prog in 'bison -y' byacc
4148   do
# Line 4131 | Line 4150 | do
4150   set dummy $ac_prog; ac_word=$2
4151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152   $as_echo_n "checking for $ac_word... " >&6; }
4153 < if test "${ac_cv_prog_YACC+set}" = set; then :
4153 > if ${ac_cv_prog_YACC+:} false; then :
4154    $as_echo_n "(cached) " >&6
4155   else
4156    if test -n "$YACC"; then
# Line 4175 | Line 4194 | do
4194   set dummy $ac_prog; ac_word=$2
4195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196   $as_echo_n "checking for $ac_word... " >&6; }
4197 < if test "${ac_cv_prog_LEX+set}" = set; then :
4197 > if ${ac_cv_prog_LEX+:} false; then :
4198    $as_echo_n "(cached) " >&6
4199   else
4200    if test -n "$LEX"; then
# Line 4245 | Line 4264 | $as_echo "$ac_try_echo"; } >&5
4264    test $ac_status = 0; }
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4266   $as_echo_n "checking lex output file root... " >&6; }
4267 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4267 > if ${ac_cv_prog_lex_root+:} false; then :
4268    $as_echo_n "(cached) " >&6
4269   else
4270  
# Line 4254 | Line 4273 | if test -f lex.yy.c; then
4273   elif test -f lexyy.c; then
4274    ac_cv_prog_lex_root=lexyy
4275   else
4276 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4276 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4277   fi
4278   fi
4279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4283 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4283   if test -z "${LEXLIB+set}"; then
4284    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4285   $as_echo_n "checking lex library... " >&6; }
4286 < if test "${ac_cv_lib_lex+set}" = set; then :
4286 > if ${ac_cv_lib_lex+:} false; then :
4287    $as_echo_n "(cached) " >&6
4288   else
4289  
# Line 4294 | Line 4313 | fi
4313  
4314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4315   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4316 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4316 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4317    $as_echo_n "(cached) " >&6
4318   else
4319    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4324 | ac_save_LIBS=$LIBS
4324   LIBS="$LEXLIB $ac_save_LIBS"
4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326   /* end confdefs.h.  */
4327 < #define YYTEXT_POINTER 1
4327 >
4328 >  #define YYTEXT_POINTER 1
4329   `cat $LEX_OUTPUT_ROOT.c`
4330   _ACEOF
4331   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4367 | esac
4367  
4368  
4369  
4370 < macro_version='2.2.10'
4371 < macro_revision='1.3175'
4370 > macro_version='2.4.2'
4371 > macro_revision='1.3337'
4372  
4373  
4374  
# Line 4366 | Line 4386 | ltmain="$ac_aux_dir/ltmain.sh"
4386  
4387   # Make sure we can run config.sub.
4388   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4389 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4389 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4390  
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4392   $as_echo_n "checking build system type... " >&6; }
4393 < if test "${ac_cv_build+set}" = set; then :
4393 > if ${ac_cv_build+:} false; then :
4394    $as_echo_n "(cached) " >&6
4395   else
4396    ac_build_alias=$build_alias
4397   test "x$ac_build_alias" = x &&
4398    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4399   test "x$ac_build_alias" = x &&
4400 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4400 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4401   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4402 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4402 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4403  
4404   fi
4405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4406   $as_echo "$ac_cv_build" >&6; }
4407   case $ac_cv_build in
4408   *-*-*) ;;
4409 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4409 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4410   esac
4411   build=$ac_cv_build
4412   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4424 | case $build_os in *\ *) build_os=`echo "
4424  
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4426   $as_echo_n "checking host system type... " >&6; }
4427 < if test "${ac_cv_host+set}" = set; then :
4427 > if ${ac_cv_host+:} false; then :
4428    $as_echo_n "(cached) " >&6
4429   else
4430    if test "x$host_alias" = x; then
4431    ac_cv_host=$ac_cv_build
4432   else
4433    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4434 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4434 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4435   fi
4436  
4437   fi
# Line 4419 | Line 4439 | fi
4439   $as_echo "$ac_cv_host" >&6; }
4440   case $ac_cv_host in
4441   *-*-*) ;;
4442 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4442 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4443   esac
4444   host=$ac_cv_host
4445   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4479 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4480   $as_echo_n "checking how to print strings... " >&6; }
4481   # Test print first, because it will be a builtin if present.
4482 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4482 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4483     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4484    ECHO='print -r --'
4485   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4526 | esac
4526  
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4528   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4529 < if test "${ac_cv_path_SED+set}" = set; then :
4529 > if ${ac_cv_path_SED+:} false; then :
4530    $as_echo_n "(cached) " >&6
4531   else
4532              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4561 | Line 4581 | esac
4581    done
4582   IFS=$as_save_IFS
4583    if test -z "$ac_cv_path_SED"; then
4584 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4584 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4585    fi
4586   else
4587    ac_cv_path_SED=$SED
# Line 4588 | Line 4608 | Xsed="$SED -e 1s/^X//"
4608  
4609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4610   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4611 < if test "${ac_cv_path_GREP+set}" = set; then :
4611 > if ${ac_cv_path_GREP+:} false; then :
4612    $as_echo_n "(cached) " >&6
4613   else
4614    if test -z "$GREP"; then
# Line 4637 | Line 4657 | esac
4657    done
4658   IFS=$as_save_IFS
4659    if test -z "$ac_cv_path_GREP"; then
4660 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4661    fi
4662   else
4663    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4671 | $as_echo "$ac_cv_path_GREP" >&6; }
4671  
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4673   $as_echo_n "checking for egrep... " >&6; }
4674 < if test "${ac_cv_path_EGREP+set}" = set; then :
4674 > if ${ac_cv_path_EGREP+:} false; then :
4675    $as_echo_n "(cached) " >&6
4676   else
4677    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4703 | Line 4723 | esac
4723    done
4724   IFS=$as_save_IFS
4725    if test -z "$ac_cv_path_EGREP"; then
4726 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4727    fi
4728   else
4729    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4738 | $as_echo "$ac_cv_path_EGREP" >&6; }
4738  
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4740   $as_echo_n "checking for fgrep... " >&6; }
4741 < if test "${ac_cv_path_FGREP+set}" = set; then :
4741 > if ${ac_cv_path_FGREP+:} false; then :
4742    $as_echo_n "(cached) " >&6
4743   else
4744    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4770 | Line 4790 | esac
4790    done
4791   IFS=$as_save_IFS
4792    if test -z "$ac_cv_path_FGREP"; then
4793 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4793 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4794    fi
4795   else
4796    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 4869 | else
4869    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4870   $as_echo_n "checking for non-GNU ld... " >&6; }
4871   fi
4872 < if test "${lt_cv_path_LD+set}" = set; then :
4872 > if ${lt_cv_path_LD+:} false; then :
4873    $as_echo_n "(cached) " >&6
4874   else
4875    if test -z "$LD"; then
# Line 4886 | Line 4906 | else
4906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907   $as_echo "no" >&6; }
4908   fi
4909 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4909 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4911   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4912 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4912 > if ${lt_cv_prog_gnu_ld+:} false; then :
4913    $as_echo_n "(cached) " >&6
4914   else
4915    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 4936 | with_gnu_ld=$lt_cv_prog_gnu_ld
4936  
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4938   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4939 < if test "${lt_cv_path_NM+set}" = set; then :
4939 > if ${lt_cv_path_NM+:} false; then :
4940    $as_echo_n "(cached) " >&6
4941   else
4942    if test -n "$NM"; then
# Line 4979 | Line 4999 | else
4999   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001   $as_echo_n "checking for $ac_word... " >&6; }
5002 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5002 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5003    $as_echo_n "(cached) " >&6
5004   else
5005    if test -n "$DUMPBIN"; then
# Line 5023 | Line 5043 | do
5043   set dummy $ac_prog; ac_word=$2
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045   $as_echo_n "checking for $ac_word... " >&6; }
5046 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5046 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5047    $as_echo_n "(cached) " >&6
5048   else
5049    if test -n "$ac_ct_DUMPBIN"; then
# Line 5095 | Line 5115 | test -z "$NM" && NM=nm
5115  
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5117   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5118 < if test "${lt_cv_nm_interface+set}" = set; then :
5118 > if ${lt_cv_nm_interface+:} false; then :
5119    $as_echo_n "(cached) " >&6
5120   else
5121    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5150 | fi
5150   # find the maximum length of command line arguments
5151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5152   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5153 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5153 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5154    $as_echo_n "(cached) " >&6
5155   else
5156      i=0
# Line 5193 | Line 5213 | else
5213      lt_cv_sys_max_cmd_len=196608
5214      ;;
5215  
5216 +  os2*)
5217 +    # The test takes a long time on OS/2.
5218 +    lt_cv_sys_max_cmd_len=8192
5219 +    ;;
5220 +
5221    osf*)
5222      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5223      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5257 | else
5257        # If test is not a shell built-in, we'll probably end up computing a
5258        # maximum length that is only half of the actual maximum length, but
5259        # we can't tell.
5260 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5260 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5261                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5262                test $i != 17 # 1/2 MB should be enough
5263        do
# Line 5275 | Line 5300 | $as_echo_n "checking whether the shell u
5300   # Try some XSI features
5301   xsi_shell=no
5302   ( _lt_dummy="a/b/c"
5303 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5304 <      = c,a/b,, \
5303 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5304 >      = c,a/b,b/c, \
5305      && eval 'test $(( 1 + 1 )) -eq 2 \
5306      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5307    && xsi_shell=yes
# Line 5325 | Line 5350 | esac
5350  
5351  
5352  
5353 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5354 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5355 + if ${lt_cv_to_host_file_cmd+:} false; then :
5356 +  $as_echo_n "(cached) " >&6
5357 + else
5358 +  case $host in
5359 +  *-*-mingw* )
5360 +    case $build in
5361 +      *-*-mingw* ) # actually msys
5362 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5363 +        ;;
5364 +      *-*-cygwin* )
5365 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5366 +        ;;
5367 +      * ) # otherwise, assume *nix
5368 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5369 +        ;;
5370 +    esac
5371 +    ;;
5372 +  *-*-cygwin* )
5373 +    case $build in
5374 +      *-*-mingw* ) # actually msys
5375 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5376 +        ;;
5377 +      *-*-cygwin* )
5378 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5379 +        ;;
5380 +      * ) # otherwise, assume *nix
5381 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5382 +        ;;
5383 +    esac
5384 +    ;;
5385 +  * ) # unhandled hosts (and "normal" native builds)
5386 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5387 +    ;;
5388 + esac
5389 +
5390 + fi
5391 +
5392 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5393 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5394 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5395 +
5396 +
5397 +
5398 +
5399 +
5400 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5401 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5402 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5403 +  $as_echo_n "(cached) " >&6
5404 + else
5405 +  #assume ordinary cross tools, or native build.
5406 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5407 + case $host in
5408 +  *-*-mingw* )
5409 +    case $build in
5410 +      *-*-mingw* ) # actually msys
5411 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5412 +        ;;
5413 +    esac
5414 +    ;;
5415 + esac
5416 +
5417 + fi
5418 +
5419 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5421 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5422 +
5423 +
5424 +
5425 +
5426 +
5427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5428   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5429 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5429 > if ${lt_cv_ld_reload_flag+:} false; then :
5430    $as_echo_n "(cached) " >&6
5431   else
5432    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5440 | case $reload_flag in
5440   esac
5441   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5442   case $host_os in
5443 +  cygwin* | mingw* | pw32* | cegcc*)
5444 +    if test "$GCC" != yes; then
5445 +      reload_cmds=false
5446 +    fi
5447 +    ;;
5448    darwin*)
5449      if test "$GCC" = yes; then
5450        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5467 | if test -n "$ac_tool_prefix"; then
5467   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469   $as_echo_n "checking for $ac_word... " >&6; }
5470 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5470 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5471    $as_echo_n "(cached) " >&6
5472   else
5473    if test -n "$OBJDUMP"; then
# Line 5403 | Line 5507 | if test -z "$ac_cv_prog_OBJDUMP"; then
5507   set dummy objdump; ac_word=$2
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509   $as_echo_n "checking for $ac_word... " >&6; }
5510 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5510 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5511    $as_echo_n "(cached) " >&6
5512   else
5513    if test -n "$ac_ct_OBJDUMP"; then
# Line 5462 | Line 5566 | test -z "$OBJDUMP" && OBJDUMP=objdump
5566  
5567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5568   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5569 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5569 > if ${lt_cv_deplibs_check_method+:} false; then :
5570    $as_echo_n "(cached) " >&6
5571   else
5572    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5582 | Line 5686 | irix5* | irix6* | nonstopux*)
5686    lt_cv_deplibs_check_method=pass_all
5687    ;;
5688  
5689 < # This must be Linux ELF.
5689 > # This must be glibc/ELF.
5690   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5691    lt_cv_deplibs_check_method=pass_all
5692    ;;
# Line 5664 | Line 5768 | esac
5768   fi
5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5770   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5771 +
5772 + file_magic_glob=
5773 + want_nocaseglob=no
5774 + if test "$build" = "$host"; then
5775 +  case $host_os in
5776 +  mingw* | pw32*)
5777 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5778 +      want_nocaseglob=yes
5779 +    else
5780 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5781 +    fi
5782 +    ;;
5783 +  esac
5784 + fi
5785 +
5786   file_magic_cmd=$lt_cv_file_magic_cmd
5787   deplibs_check_method=$lt_cv_deplibs_check_method
5788   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5798 | test -z "$deplibs_check_method" && depli
5798  
5799  
5800  
5801 +
5802 +
5803 +
5804 +
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 + if test -n "$ac_tool_prefix"; then
5812 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5813 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 + $as_echo_n "checking for $ac_word... " >&6; }
5816 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5817 +  $as_echo_n "(cached) " >&6
5818 + else
5819 +  if test -n "$DLLTOOL"; then
5820 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5821 + else
5822 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 + for as_dir in $PATH
5824 + do
5825 +  IFS=$as_save_IFS
5826 +  test -z "$as_dir" && as_dir=.
5827 +    for ac_exec_ext in '' $ac_executable_extensions; do
5828 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5830 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 +    break 2
5832 +  fi
5833 + done
5834 +  done
5835 + IFS=$as_save_IFS
5836 +
5837 + fi
5838 + fi
5839 + DLLTOOL=$ac_cv_prog_DLLTOOL
5840 + if test -n "$DLLTOOL"; then
5841 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5842 + $as_echo "$DLLTOOL" >&6; }
5843 + else
5844 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 + $as_echo "no" >&6; }
5846 + fi
5847 +
5848 +
5849 + fi
5850 + if test -z "$ac_cv_prog_DLLTOOL"; then
5851 +  ac_ct_DLLTOOL=$DLLTOOL
5852 +  # Extract the first word of "dlltool", so it can be a program name with args.
5853 + set dummy dlltool; ac_word=$2
5854 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 + $as_echo_n "checking for $ac_word... " >&6; }
5856 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5857 +  $as_echo_n "(cached) " >&6
5858 + else
5859 +  if test -n "$ac_ct_DLLTOOL"; then
5860 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5861 + else
5862 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 + for as_dir in $PATH
5864 + do
5865 +  IFS=$as_save_IFS
5866 +  test -z "$as_dir" && as_dir=.
5867 +    for ac_exec_ext in '' $ac_executable_extensions; do
5868 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5870 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 +    break 2
5872 +  fi
5873 + done
5874 +  done
5875 + IFS=$as_save_IFS
5876 +
5877 + fi
5878 + fi
5879 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5880 + if test -n "$ac_ct_DLLTOOL"; then
5881 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5882 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5883 + else
5884 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 + $as_echo "no" >&6; }
5886 + fi
5887 +
5888 +  if test "x$ac_ct_DLLTOOL" = x; then
5889 +    DLLTOOL="false"
5890 +  else
5891 +    case $cross_compiling:$ac_tool_warned in
5892 + yes:)
5893 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5894 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5895 + ac_tool_warned=yes ;;
5896 + esac
5897 +    DLLTOOL=$ac_ct_DLLTOOL
5898 +  fi
5899 + else
5900 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5901 + fi
5902 +
5903 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5904 +
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5915 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5916 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5917 +  $as_echo_n "(cached) " >&6
5918 + else
5919 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5920 +
5921 + case $host_os in
5922 + cygwin* | mingw* | pw32* | cegcc*)
5923 +  # two different shell functions defined in ltmain.sh
5924 +  # decide which to use based on capabilities of $DLLTOOL
5925 +  case `$DLLTOOL --help 2>&1` in
5926 +  *--identify-strict*)
5927 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5928 +    ;;
5929 +  *)
5930 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5931 +    ;;
5932 +  esac
5933 +  ;;
5934 + *)
5935 +  # fallback: assume linklib IS sharedlib
5936 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5937 +  ;;
5938 + esac
5939 +
5940 + fi
5941 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5942 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5943 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5944 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5945 +
5946 +
5947 +
5948 +
5949 +
5950 +
5951 +
5952   if test -n "$ac_tool_prefix"; then
5953 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5954 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5953 >  for ac_prog in ar
5954 >  do
5955 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958   $as_echo_n "checking for $ac_word... " >&6; }
5959 < if test "${ac_cv_prog_AR+set}" = set; then :
5959 > if ${ac_cv_prog_AR+:} false; then :
5960    $as_echo_n "(cached) " >&6
5961   else
5962    if test -n "$AR"; then
# Line 5697 | Line 5969 | do
5969    test -z "$as_dir" && as_dir=.
5970      for ac_exec_ext in '' $ac_executable_extensions; do
5971    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5972 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974      break 2
5975    fi
# Line 5717 | Line 5989 | $as_echo "no" >&6; }
5989   fi
5990  
5991  
5992 +    test -n "$AR" && break
5993 +  done
5994   fi
5995 < if test -z "$ac_cv_prog_AR"; then
5995 > if test -z "$AR"; then
5996    ac_ct_AR=$AR
5997 <  # Extract the first word of "ar", so it can be a program name with args.
5998 < set dummy ar; ac_word=$2
5997 >  for ac_prog in ar
5998 > do
5999 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 > set dummy $ac_prog; ac_word=$2
6001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002   $as_echo_n "checking for $ac_word... " >&6; }
6003 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6003 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004    $as_echo_n "(cached) " >&6
6005   else
6006    if test -n "$ac_ct_AR"; then
# Line 5737 | Line 6013 | do
6013    test -z "$as_dir" && as_dir=.
6014      for ac_exec_ext in '' $ac_executable_extensions; do
6015    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 <    ac_cv_prog_ac_ct_AR="ar"
6016 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6017      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018      break 2
6019    fi
# Line 5756 | Line 6032 | else
6032   $as_echo "no" >&6; }
6033   fi
6034  
6035 +
6036 +  test -n "$ac_ct_AR" && break
6037 + done
6038 +
6039    if test "x$ac_ct_AR" = x; then
6040      AR="false"
6041    else
# Line 5767 | Line 6047 | ac_tool_warned=yes ;;
6047   esac
6048      AR=$ac_ct_AR
6049    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6050   fi
6051  
6052 < test -z "$AR" && AR=ar
6053 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6052 > : ${AR=ar}
6053 > : ${AR_FLAGS=cru}
6054 >
6055  
6056  
6057  
# Line 5783 | Line 6062 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6062  
6063  
6064  
6065 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6066 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6067 + if ${lt_cv_ar_at_file+:} false; then :
6068 +  $as_echo_n "(cached) " >&6
6069 + else
6070 +  lt_cv_ar_at_file=no
6071 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 + /* end confdefs.h.  */
6073 +
6074 + int
6075 + main ()
6076 + {
6077 +
6078 +  ;
6079 +  return 0;
6080 + }
6081 + _ACEOF
6082 + if ac_fn_c_try_compile "$LINENO"; then :
6083 +  echo conftest.$ac_objext > conftest.lst
6084 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6085 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086 +  (eval $lt_ar_try) 2>&5
6087 +  ac_status=$?
6088 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 +  test $ac_status = 0; }
6090 +      if test "$ac_status" -eq 0; then
6091 +        # Ensure the archiver fails upon bogus file names.
6092 +        rm -f conftest.$ac_objext libconftest.a
6093 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094 +  (eval $lt_ar_try) 2>&5
6095 +  ac_status=$?
6096 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 +  test $ac_status = 0; }
6098 +        if test "$ac_status" -ne 0; then
6099 +          lt_cv_ar_at_file=@
6100 +        fi
6101 +      fi
6102 +      rm -f conftest.* libconftest.a
6103 +
6104 + fi
6105 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 +
6107 + fi
6108 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6109 + $as_echo "$lt_cv_ar_at_file" >&6; }
6110 +
6111 + if test "x$lt_cv_ar_at_file" = xno; then
6112 +  archiver_list_spec=
6113 + else
6114 +  archiver_list_spec=$lt_cv_ar_at_file
6115 + fi
6116 +
6117 +
6118 +
6119 +
6120 +
6121 +
6122  
6123   if test -n "$ac_tool_prefix"; then
6124    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6125   set dummy ${ac_tool_prefix}strip; ac_word=$2
6126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127   $as_echo_n "checking for $ac_word... " >&6; }
6128 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6128 > if ${ac_cv_prog_STRIP+:} false; then :
6129    $as_echo_n "(cached) " >&6
6130   else
6131    if test -n "$STRIP"; then
# Line 5829 | Line 6165 | if test -z "$ac_cv_prog_STRIP"; then
6165   set dummy strip; ac_word=$2
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167   $as_echo_n "checking for $ac_word... " >&6; }
6168 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6168 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6169    $as_echo_n "(cached) " >&6
6170   else
6171    if test -n "$ac_ct_STRIP"; then
# Line 5888 | Line 6224 | if test -n "$ac_tool_prefix"; then
6224   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226   $as_echo_n "checking for $ac_word... " >&6; }
6227 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6227 > if ${ac_cv_prog_RANLIB+:} false; then :
6228    $as_echo_n "(cached) " >&6
6229   else
6230    if test -n "$RANLIB"; then
# Line 5928 | Line 6264 | if test -z "$ac_cv_prog_RANLIB"; then
6264   set dummy ranlib; ac_word=$2
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266   $as_echo_n "checking for $ac_word... " >&6; }
6267 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6267 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6268    $as_echo_n "(cached) " >&6
6269   else
6270    if test -n "$ac_ct_RANLIB"; then
# Line 5990 | Line 6326 | old_postuninstall_cmds=
6326   if test -n "$RANLIB"; then
6327    case $host_os in
6328    openbsd*)
6329 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6329 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6330      ;;
6331    *)
6332 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6332 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6333      ;;
6334    esac
6335 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6335 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6336   fi
6337  
6338   case $host_os in
# Line 6057 | Line 6393 | compiler=$CC
6393   # Check for command to grab the raw symbol name followed by C symbol from nm.
6394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6395   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6396 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6396 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6397    $as_echo_n "(cached) " >&6
6398   else
6399  
# Line 6118 | Line 6454 | esac
6454   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6455  
6456   # Transform an extracted symbol line into symbol name and symbol address
6457 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6457 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6459  
6460   # Handle CRLF in mingw tool chain
6461   opt_cr=
# Line 6143 | Line 6479 | for ac_symprfx in "" "_"; do
6479      # which start with @ or ?.
6480      lt_cv_sys_global_symbol_pipe="$AWK '"\
6481   "     {last_section=section; section=\$ 3};"\
6482 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6483   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6484   "     \$ 0!~/External *\|/{next};"\
6485   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6492 | for ac_symprfx in "" "_"; do
6492    else
6493      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6494    fi
6495 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6496  
6497    # Check to see that the pipe works correctly.
6498    pipe_works=no
# Line 6196 | Line 6534 | _LT_EOF
6534        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6535          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6536            cat <<_LT_EOF > conftest.$ac_ext
6537 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6538 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6539 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6540 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6541 + # define LT_DLSYM_CONST
6542 + #elif defined(__osf__)
6543 + /* This system does not cope well with relocations in const data.  */
6544 + # define LT_DLSYM_CONST
6545 + #else
6546 + # define LT_DLSYM_CONST const
6547 + #endif
6548 +
6549   #ifdef __cplusplus
6550   extern "C" {
6551   #endif
# Line 6207 | Line 6557 | _LT_EOF
6557            cat <<_LT_EOF >> conftest.$ac_ext
6558  
6559   /* The mapping between symbol names and symbols.  */
6560 < const struct {
6560 > LT_DLSYM_CONST struct {
6561    const char *name;
6562    void       *address;
6563   }
# Line 6233 | Line 6583 | static const void *lt_preloaded_setup()
6583   _LT_EOF
6584            # Now try linking the two files.
6585            mv conftest.$ac_objext conftstm.$ac_objext
6586 <          lt_save_LIBS="$LIBS"
6587 <          lt_save_CFLAGS="$CFLAGS"
6586 >          lt_globsym_save_LIBS=$LIBS
6587 >          lt_globsym_save_CFLAGS=$CFLAGS
6588            LIBS="conftstm.$ac_objext"
6589            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6590            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6594 | _LT_EOF
6594    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6595              pipe_works=yes
6596            fi
6597 <          LIBS="$lt_save_LIBS"
6598 <          CFLAGS="$lt_save_CFLAGS"
6597 >          LIBS=$lt_globsym_save_LIBS
6598 >          CFLAGS=$lt_globsym_save_CFLAGS
6599          else
6600            echo "cannot find nm_test_func in $nlist" >&5
6601          fi
# Line 6282 | Line 6632 | else
6632   $as_echo "ok" >&6; }
6633   fi
6634  
6635 + # Response file support.
6636 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6637 +  nm_file_list_spec='@'
6638 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6639 +  nm_file_list_spec='@'
6640 + fi
6641 +
6642 +
6643 +
6644 +
6645 +
6646 +
6647 +
6648 +
6649  
6650  
6651  
# Line 6301 | Line 6665 | fi
6665  
6666  
6667  
6668 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6669 + $as_echo_n "checking for sysroot... " >&6; }
6670 +
6671 + # Check whether --with-sysroot was given.
6672 + if test "${with_sysroot+set}" = set; then :
6673 +  withval=$with_sysroot;
6674 + else
6675 +  with_sysroot=no
6676 + fi
6677 +
6678 +
6679 + lt_sysroot=
6680 + case ${with_sysroot} in #(
6681 + yes)
6682 +   if test "$GCC" = yes; then
6683 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6684 +   fi
6685 +   ;; #(
6686 + /*)
6687 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6688 +   ;; #(
6689 + no|'')
6690 +   ;; #(
6691 + *)
6692 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6693 + $as_echo "${with_sysroot}" >&6; }
6694 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6695 +   ;;
6696 + esac
6697 +
6698 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6699 + $as_echo "${lt_sysroot:-no}" >&6; }
6700 +
6701 +
6702 +
6703  
6704  
6705   # Check whether --enable-libtool-lock was given.
# Line 6428 | Line 6827 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6827    CFLAGS="$CFLAGS -belf"
6828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6829   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6830 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830 > if ${lt_cv_cc_needs_belf+:} false; then :
6831    $as_echo_n "(cached) " >&6
6832   else
6833    ac_ext=c
# Line 6469 | Line 6868 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868      CFLAGS="$SAVE_CFLAGS"
6869    fi
6870    ;;
6871 < sparc*-*solaris*)
6871 > *-*solaris*)
6872    # Find out which ABI we are using.
6873    echo 'int i;' > conftest.$ac_ext
6874    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6879 | sparc*-*solaris*)
6879      case `/usr/bin/file conftest.o` in
6880      *64-bit*)
6881        case $lt_cv_prog_gnu_ld in
6882 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6882 >      yes*)
6883 >        case $host in
6884 >        i?86-*-solaris*)
6885 >          LD="${LD-ld} -m elf_x86_64"
6886 >          ;;
6887 >        sparc*-*-solaris*)
6888 >          LD="${LD-ld} -m elf64_sparc"
6889 >          ;;
6890 >        esac
6891 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6892 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6893 >          LD="${LD-ld}_sol2"
6894 >        fi
6895 >        ;;
6896        *)
6897          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6898            LD="${LD-ld} -64"
# Line 6496 | Line 6908 | esac
6908  
6909   need_locks="$enable_libtool_lock"
6910  
6911 + if test -n "$ac_tool_prefix"; then
6912 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6913 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 + $as_echo_n "checking for $ac_word... " >&6; }
6916 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6917 +  $as_echo_n "(cached) " >&6
6918 + else
6919 +  if test -n "$MANIFEST_TOOL"; then
6920 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6921 + else
6922 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 + for as_dir in $PATH
6924 + do
6925 +  IFS=$as_save_IFS
6926 +  test -z "$as_dir" && as_dir=.
6927 +    for ac_exec_ext in '' $ac_executable_extensions; do
6928 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6930 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 +    break 2
6932 +  fi
6933 + done
6934 +  done
6935 + IFS=$as_save_IFS
6936 +
6937 + fi
6938 + fi
6939 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6940 + if test -n "$MANIFEST_TOOL"; then
6941 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6942 + $as_echo "$MANIFEST_TOOL" >&6; }
6943 + else
6944 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 + $as_echo "no" >&6; }
6946 + fi
6947 +
6948 +
6949 + fi
6950 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6951 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6952 +  # Extract the first word of "mt", so it can be a program name with args.
6953 + set dummy mt; ac_word=$2
6954 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 + $as_echo_n "checking for $ac_word... " >&6; }
6956 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6957 +  $as_echo_n "(cached) " >&6
6958 + else
6959 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6960 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6961 + else
6962 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 + for as_dir in $PATH
6964 + do
6965 +  IFS=$as_save_IFS
6966 +  test -z "$as_dir" && as_dir=.
6967 +    for ac_exec_ext in '' $ac_executable_extensions; do
6968 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6970 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 +    break 2
6972 +  fi
6973 + done
6974 +  done
6975 + IFS=$as_save_IFS
6976 +
6977 + fi
6978 + fi
6979 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6980 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6981 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6982 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6983 + else
6984 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 + $as_echo "no" >&6; }
6986 + fi
6987 +
6988 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6989 +    MANIFEST_TOOL=":"
6990 +  else
6991 +    case $cross_compiling:$ac_tool_warned in
6992 + yes:)
6993 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995 + ac_tool_warned=yes ;;
6996 + esac
6997 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6998 +  fi
6999 + else
7000 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7001 + fi
7002 +
7003 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7004 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7005 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7006 + if ${lt_cv_path_mainfest_tool+:} false; then :
7007 +  $as_echo_n "(cached) " >&6
7008 + else
7009 +  lt_cv_path_mainfest_tool=no
7010 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7011 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7012 +  cat conftest.err >&5
7013 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7014 +    lt_cv_path_mainfest_tool=yes
7015 +  fi
7016 +  rm -f conftest*
7017 + fi
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7019 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7020 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7021 +  MANIFEST_TOOL=:
7022 + fi
7023 +
7024 +
7025 +
7026 +
7027 +
7028  
7029    case $host_os in
7030      rhapsody* | darwin*)
# Line 6504 | Line 7033 | need_locks="$enable_libtool_lock"
7033   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035   $as_echo_n "checking for $ac_word... " >&6; }
7036 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7036 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7037    $as_echo_n "(cached) " >&6
7038   else
7039    if test -n "$DSYMUTIL"; then
# Line 6544 | Line 7073 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7073   set dummy dsymutil; ac_word=$2
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075   $as_echo_n "checking for $ac_word... " >&6; }
7076 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7076 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7077    $as_echo_n "(cached) " >&6
7078   else
7079    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6596 | Line 7125 | fi
7125   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127   $as_echo_n "checking for $ac_word... " >&6; }
7128 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7128 > if ${ac_cv_prog_NMEDIT+:} false; then :
7129    $as_echo_n "(cached) " >&6
7130   else
7131    if test -n "$NMEDIT"; then
# Line 6636 | Line 7165 | if test -z "$ac_cv_prog_NMEDIT"; then
7165   set dummy nmedit; ac_word=$2
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167   $as_echo_n "checking for $ac_word... " >&6; }
7168 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7168 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7169    $as_echo_n "(cached) " >&6
7170   else
7171    if test -n "$ac_ct_NMEDIT"; then
# Line 6688 | Line 7217 | fi
7217   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219   $as_echo_n "checking for $ac_word... " >&6; }
7220 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7220 > if ${ac_cv_prog_LIPO+:} false; then :
7221    $as_echo_n "(cached) " >&6
7222   else
7223    if test -n "$LIPO"; then
# Line 6728 | Line 7257 | if test -z "$ac_cv_prog_LIPO"; then
7257   set dummy lipo; ac_word=$2
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259   $as_echo_n "checking for $ac_word... " >&6; }
7260 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7260 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7261    $as_echo_n "(cached) " >&6
7262   else
7263    if test -n "$ac_ct_LIPO"; then
# Line 6780 | Line 7309 | fi
7309   set dummy ${ac_tool_prefix}otool; ac_word=$2
7310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311   $as_echo_n "checking for $ac_word... " >&6; }
7312 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7312 > if ${ac_cv_prog_OTOOL+:} false; then :
7313    $as_echo_n "(cached) " >&6
7314   else
7315    if test -n "$OTOOL"; then
# Line 6820 | Line 7349 | if test -z "$ac_cv_prog_OTOOL"; then
7349   set dummy otool; ac_word=$2
7350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351   $as_echo_n "checking for $ac_word... " >&6; }
7352 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7352 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7353    $as_echo_n "(cached) " >&6
7354   else
7355    if test -n "$ac_ct_OTOOL"; then
# Line 6872 | Line 7401 | fi
7401   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403   $as_echo_n "checking for $ac_word... " >&6; }
7404 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7404 > if ${ac_cv_prog_OTOOL64+:} false; then :
7405    $as_echo_n "(cached) " >&6
7406   else
7407    if test -n "$OTOOL64"; then
# Line 6912 | Line 7441 | if test -z "$ac_cv_prog_OTOOL64"; then
7441   set dummy otool64; ac_word=$2
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443   $as_echo_n "checking for $ac_word... " >&6; }
7444 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7444 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7445    $as_echo_n "(cached) " >&6
7446   else
7447    if test -n "$ac_ct_OTOOL64"; then
# Line 6987 | Line 7516 | fi
7516  
7517      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7518   $as_echo_n "checking for -single_module linker flag... " >&6; }
7519 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7519 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7520    $as_echo_n "(cached) " >&6
7521   else
7522    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7532 | else
7532          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7533            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7534          _lt_result=$?
7535 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7535 >        # If there is a non-empty error log, and "single_module"
7536 >        # appears in it, assume the flag caused a linker warning
7537 >        if test -s conftest.err && $GREP single_module conftest.err; then
7538 >          cat conftest.err >&5
7539 >        # Otherwise, if the output was created with a 0 exit code from
7540 >        # the compiler, it worked.
7541 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7542            lt_cv_apple_cc_single_mod=yes
7543          else
7544            cat conftest.err >&5
# Line 7014 | Line 7549 | else
7549   fi
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7551   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7552 +
7553      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7554   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7555 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7555 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7556    $as_echo_n "(cached) " >&6
7557   else
7558    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7582 | rm -f core conftest.err conftest.$ac_obj
7582   fi
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7584   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7585 +
7586      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7587   $as_echo_n "checking for -force_load linker flag... " >&6; }
7588 < if test "${lt_cv_ld_force_load+set}" = set; then :
7588 > if ${lt_cv_ld_force_load+:} false; then :
7589    $as_echo_n "(cached) " >&6
7590   else
7591    lt_cv_ld_force_load=no
# Line 7067 | Line 7604 | _LT_EOF
7604        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7605        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7606        _lt_result=$?
7607 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7607 >      if test -s conftest.err && $GREP force_load conftest.err; then
7608 >        cat conftest.err >&5
7609 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7610          lt_cv_ld_force_load=yes
7611        else
7612          cat conftest.err >&5
# Line 7125 | Line 7664 | if test -n "$CPP" && test -d "$CPP"; the
7664    CPP=
7665   fi
7666   if test -z "$CPP"; then
7667 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7667 >  if ${ac_cv_prog_CPP+:} false; then :
7668    $as_echo_n "(cached) " >&6
7669   else
7670        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7694 | else
7694    # Broken: fails on valid input.
7695   continue
7696   fi
7697 < rm -f conftest.err conftest.$ac_ext
7697 > rm -f conftest.err conftest.i conftest.$ac_ext
7698  
7699    # OK, works on sane cases.  Now check whether nonexistent headers
7700    # can be detected and how.
# Line 7171 | Line 7710 | else
7710   ac_preproc_ok=:
7711   break
7712   fi
7713 < rm -f conftest.err conftest.$ac_ext
7713 > rm -f conftest.err conftest.i conftest.$ac_ext
7714  
7715   done
7716   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7717 < rm -f conftest.err conftest.$ac_ext
7717 > rm -f conftest.i conftest.err conftest.$ac_ext
7718   if $ac_preproc_ok; then :
7719    break
7720   fi
# Line 7214 | Line 7753 | else
7753    # Broken: fails on valid input.
7754   continue
7755   fi
7756 < rm -f conftest.err conftest.$ac_ext
7756 > rm -f conftest.err conftest.i conftest.$ac_ext
7757  
7758    # OK, works on sane cases.  Now check whether nonexistent headers
7759    # can be detected and how.
# Line 7230 | Line 7769 | else
7769   ac_preproc_ok=:
7770   break
7771   fi
7772 < rm -f conftest.err conftest.$ac_ext
7772 > rm -f conftest.err conftest.i conftest.$ac_ext
7773  
7774   done
7775   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7776 < rm -f conftest.err conftest.$ac_ext
7776 > rm -f conftest.i conftest.err conftest.$ac_ext
7777   if $ac_preproc_ok; then :
7778  
7779   else
7780    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7781   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7782 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7783 < See \`config.log' for more details." "$LINENO" 5; }
7782 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7783 > See \`config.log' for more details" "$LINENO" 5; }
7784   fi
7785  
7786   ac_ext=c
# Line 7253 | Line 7792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7792  
7793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7794   $as_echo_n "checking for ANSI C header files... " >&6; }
7795 < if test "${ac_cv_header_stdc+set}" = set; then :
7795 > if ${ac_cv_header_stdc+:} false; then :
7796    $as_echo_n "(cached) " >&6
7797   else
7798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 7909 | do :
7909    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7910   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7911   "
7912 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
7912 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7913    cat >>confdefs.h <<_ACEOF
7914   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7915   _ACEOF
# Line 7385 | Line 7923 | for ac_header in dlfcn.h
7923   do :
7924    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925   "
7926 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7927    cat >>confdefs.h <<_ACEOF
7928   #define HAVE_DLFCN_H 1
7929   _ACEOF
# Line 7471 | Line 8009 | fi
8009  
8010   # Check whether --with-pic was given.
8011   if test "${with_pic+set}" = set; then :
8012 <  withval=$with_pic; pic_mode="$withval"
8012 >  withval=$with_pic; lt_p=${PACKAGE-default}
8013 >    case $withval in
8014 >    yes|no) pic_mode=$withval ;;
8015 >    *)
8016 >      pic_mode=default
8017 >      # Look at the argument we got.  We use all the common list separators.
8018 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019 >      for lt_pkg in $withval; do
8020 >        IFS="$lt_save_ifs"
8021 >        if test "X$lt_pkg" = "X$lt_p"; then
8022 >          pic_mode=yes
8023 >        fi
8024 >      done
8025 >      IFS="$lt_save_ifs"
8026 >      ;;
8027 >    esac
8028   else
8029    pic_mode=default
8030   fi
# Line 7549 | Line 8102 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8102  
8103  
8104  
8105 +
8106 +
8107 +
8108 +
8109   test -z "$LN_S" && LN_S="ln -s"
8110  
8111  
# Line 7570 | Line 8127 | fi
8127  
8128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8129   $as_echo_n "checking for objdir... " >&6; }
8130 < if test "${lt_cv_objdir+set}" = set; then :
8130 > if ${lt_cv_objdir+:} false; then :
8131    $as_echo_n "(cached) " >&6
8132   else
8133    rm -f .libs 2>/dev/null
# Line 7648 | Line 8205 | file_magic*)
8205    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8206      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8207   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8208 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8208 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209    $as_echo_n "(cached) " >&6
8210   else
8211    case $MAGIC_CMD in
# Line 7714 | Line 8271 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8271    if test -n "$ac_tool_prefix"; then
8272      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8273   $as_echo_n "checking for file... " >&6; }
8274 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8275    $as_echo_n "(cached) " >&6
8276   else
8277    case $MAGIC_CMD in
# Line 7852 | Line 8409 | if test "$GCC" = yes; then
8409  
8410    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8411   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8412 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8412 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8413    $as_echo_n "(cached) " >&6
8414   else
8415    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8462 | fi
8462   lt_prog_compiler_pic=
8463   lt_prog_compiler_static=
8464  
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7909 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8465  
8466    if test "$GCC" = yes; then
8467      lt_prog_compiler_wl='-Wl,'
# Line 8006 | Line 8561 | $as_echo_n "checking for $compiler optio
8561      case $cc_basename in
8562      nvcc*) # Cuda Compiler Driver 2.2
8563        lt_prog_compiler_wl='-Xlinker '
8564 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8564 >      if test -n "$lt_prog_compiler_pic"; then
8565 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8566 >      fi
8567        ;;
8568      esac
8569    else
# Line 8071 | Line 8628 | $as_echo_n "checking for $compiler optio
8628          lt_prog_compiler_pic='--shared'
8629          lt_prog_compiler_static='--static'
8630          ;;
8631 +      nagfor*)
8632 +        # NAG Fortran compiler
8633 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8634 +        lt_prog_compiler_pic='-PIC'
8635 +        lt_prog_compiler_static='-Bstatic'
8636 +        ;;
8637        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8638          # Portland Group compilers (*not* the Pentium gcc compiler,
8639          # which looks to be a dead project)
# Line 8091 | Line 8654 | $as_echo_n "checking for $compiler optio
8654          ;;
8655        *)
8656          case `$CC -V 2>&1 | sed 5q` in
8657 <        *Sun\ F* | *Sun*Fortran*)
8657 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8658            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8659            lt_prog_compiler_pic='-KPIC'
8660            lt_prog_compiler_static='-Bstatic'
8661            lt_prog_compiler_wl=''
8662            ;;
8663 +        *Sun\ F* | *Sun*Fortran*)
8664 +          lt_prog_compiler_pic='-KPIC'
8665 +          lt_prog_compiler_static='-Bstatic'
8666 +          lt_prog_compiler_wl='-Qoption ld '
8667 +          ;;
8668          *Sun\ C*)
8669            # Sun C 5.9
8670            lt_prog_compiler_pic='-KPIC'
8671            lt_prog_compiler_static='-Bstatic'
8672            lt_prog_compiler_wl='-Wl,'
8673            ;;
8674 +        *Intel*\ [CF]*Compiler*)
8675 +          lt_prog_compiler_wl='-Wl,'
8676 +          lt_prog_compiler_pic='-fPIC'
8677 +          lt_prog_compiler_static='-static'
8678 +          ;;
8679 +        *Portland\ Group*)
8680 +          lt_prog_compiler_wl='-Wl,'
8681 +          lt_prog_compiler_pic='-fpic'
8682 +          lt_prog_compiler_static='-Bstatic'
8683 +          ;;
8684          esac
8685          ;;
8686        esac
# Line 8190 | Line 8768 | case $host_os in
8768      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8769      ;;
8770   esac
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8194 $as_echo "$lt_prog_compiler_pic" >&6; }
8195
8196
8197
8198
8771  
8772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8773 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8774 + if ${lt_cv_prog_compiler_pic+:} false; then :
8775 +  $as_echo_n "(cached) " >&6
8776 + else
8777 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8778 + fi
8779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8780 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8781 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8782  
8783   #
8784   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8786 | $as_echo "$lt_prog_compiler_pic" >&6; }
8786   if test -n "$lt_prog_compiler_pic"; then
8787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8788   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8789 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8789 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8790    $as_echo_n "(cached) " >&6
8791   else
8792    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 8839 | fi
8839  
8840  
8841  
8842 +
8843 +
8844 +
8845 +
8846 +
8847   #
8848   # Check to make sure the static flag actually works.
8849   #
8850   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8852   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8853 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8853 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8854    $as_echo_n "(cached) " >&6
8855   else
8856    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 8893 | fi
8893  
8894    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8895   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8896 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8896 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8897    $as_echo_n "(cached) " >&6
8898   else
8899    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 8948 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8948  
8949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8950   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8951 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8951 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8952    $as_echo_n "(cached) " >&6
8953   else
8954    lt_cv_prog_compiler_c_o=no
# Line 8455 | Line 9042 | $as_echo_n "checking whether the $compil
9042    hardcode_direct=no
9043    hardcode_direct_absolute=no
9044    hardcode_libdir_flag_spec=
8458  hardcode_libdir_flag_spec_ld=
9045    hardcode_libdir_separator=
9046    hardcode_minus_L=no
9047    hardcode_shlibpath_var=unsupported
# Line 8607 | Line 9193 | _LT_EOF
9193        allow_undefined_flag=unsupported
9194        always_export_symbols=no
9195        enable_shared_with_static_runtimes=yes
9196 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9196 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9197 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9198  
9199        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9200          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8655 | Line 9242 | _LT_EOF
9242        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9243           && test "$tmp_diet" = no
9244        then
9245 <        tmp_addflag=
9245 >        tmp_addflag=' $pic_flag'
9246          tmp_sharedflag='-shared'
9247          case $cc_basename,$host_cpu in
9248          pgcc*)                          # Portland Group C compiler
# Line 8704 | Line 9291 | _LT_EOF
9291          xlf* | bgf* | bgxlf* | mpixlf*)
9292            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9293            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9294 <          hardcode_libdir_flag_spec=
8708 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9294 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9295            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9296            if test "x$supports_anon_versioning" = xyes; then
9297              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8725 | Line 9311 | _LT_EOF
9311          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9312          wlarc=
9313        else
9314 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316        fi
9317        ;;
9318  
# Line 8744 | Line 9330 | _LT_EOF
9330  
9331   _LT_EOF
9332        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9333 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335        else
9336          ld_shlibs=no
9337        fi
# Line 8791 | Line 9377 | _LT_EOF
9377  
9378      *)
9379        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9382        else
9383          ld_shlibs=no
9384        fi
# Line 8922 | Line 9508 | _LT_EOF
9508          allow_undefined_flag='-berok'
9509          # Determine the default libpath from the value encoded in an
9510          # empty executable.
9511 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 >        if test "${lt_cv_aix_libpath+set}" = set; then
9512 >  aix_libpath=$lt_cv_aix_libpath
9513 > else
9514 >  if ${lt_cv_aix_libpath_+:} false; then :
9515 >  $as_echo_n "(cached) " >&6
9516 > else
9517 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518   /* end confdefs.h.  */
9519  
9520   int
# Line 8935 | Line 9527 | main ()
9527   _ACEOF
9528   if ac_fn_c_try_link "$LINENO"; then :
9529  
9530 < lt_aix_libpath_sed='
9531 <    /Import File Strings/,/^$/ {
9532 <        /^0/ {
9533 <            s/^0  *\(.*\)$/\1/
9534 <            p
9535 <        }
9536 <    }'
9537 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 < # Check for a 64-bit object if we didn't find anything.
9539 < if test -z "$aix_libpath"; then
9540 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 < fi
9530 >  lt_aix_libpath_sed='
9531 >      /Import File Strings/,/^$/ {
9532 >          /^0/ {
9533 >              s/^0  *\([^ ]*\) *$/\1/
9534 >              p
9535 >          }
9536 >      }'
9537 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 >  # Check for a 64-bit object if we didn't find anything.
9539 >  if test -z "$lt_cv_aix_libpath_"; then
9540 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 >  fi
9542   fi
9543   rm -f core conftest.err conftest.$ac_objext \
9544      conftest$ac_exeext conftest.$ac_ext
9545 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9545 >  if test -z "$lt_cv_aix_libpath_"; then
9546 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9547 >  fi
9548 >
9549 > fi
9550 >
9551 >  aix_libpath=$lt_cv_aix_libpath_
9552 > fi
9553  
9554          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
# Line 8962 | Line 9561 | if test -z "$aix_libpath"; then aix_libp
9561          else
9562           # Determine the default libpath from the value encoded in an
9563           # empty executable.
9564 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 >         if test "${lt_cv_aix_libpath+set}" = set; then
9565 >  aix_libpath=$lt_cv_aix_libpath
9566 > else
9567 >  if ${lt_cv_aix_libpath_+:} false; then :
9568 >  $as_echo_n "(cached) " >&6
9569 > else
9570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571   /* end confdefs.h.  */
9572  
9573   int
# Line 8975 | Line 9580 | main ()
9580   _ACEOF
9581   if ac_fn_c_try_link "$LINENO"; then :
9582  
9583 < lt_aix_libpath_sed='
9584 <    /Import File Strings/,/^$/ {
9585 <        /^0/ {
9586 <            s/^0  *\(.*\)$/\1/
9587 <            p
9588 <        }
9589 <    }'
9590 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 < # Check for a 64-bit object if we didn't find anything.
9592 < if test -z "$aix_libpath"; then
9593 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 < fi
9583 >  lt_aix_libpath_sed='
9584 >      /Import File Strings/,/^$/ {
9585 >          /^0/ {
9586 >              s/^0  *\([^ ]*\) *$/\1/
9587 >              p
9588 >          }
9589 >      }'
9590 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 >  # Check for a 64-bit object if we didn't find anything.
9592 >  if test -z "$lt_cv_aix_libpath_"; then
9593 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 >  fi
9595   fi
9596   rm -f core conftest.err conftest.$ac_objext \
9597      conftest$ac_exeext conftest.$ac_ext
9598 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9598 >  if test -z "$lt_cv_aix_libpath_"; then
9599 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9600 >  fi
9601 >
9602 > fi
9603 >
9604 >  aix_libpath=$lt_cv_aix_libpath_
9605 > fi
9606  
9607           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9647 | if test -z "$aix_libpath"; then aix_libp
9647        # Microsoft Visual C++.
9648        # hardcode_libdir_flag_spec is actually meaningless, as there is
9649        # no search path for DLLs.
9650 <      hardcode_libdir_flag_spec=' '
9651 <      allow_undefined_flag=unsupported
9652 <      # Tell ltmain to make .lib files, not .a files.
9653 <      libext=lib
9654 <      # Tell ltmain to make .dll files, not .so files.
9655 <      shrext_cmds=".dll"
9656 <      # FIXME: Setting linknames here is a bad hack.
9657 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9658 <      # The linker will automatically build a .lib file if we build a DLL.
9659 <      old_archive_from_new_cmds='true'
9660 <      # FIXME: Should let the user specify the lib program.
9661 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9662 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9663 <      enable_shared_with_static_runtimes=yes
9650 >      case $cc_basename in
9651 >      cl*)
9652 >        # Native MSVC
9653 >        hardcode_libdir_flag_spec=' '
9654 >        allow_undefined_flag=unsupported
9655 >        always_export_symbols=yes
9656 >        file_list_spec='@'
9657 >        # Tell ltmain to make .lib files, not .a files.
9658 >        libext=lib
9659 >        # Tell ltmain to make .dll files, not .so files.
9660 >        shrext_cmds=".dll"
9661 >        # FIXME: Setting linknames here is a bad hack.
9662 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9663 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9664 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9665 >          else
9666 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9667 >          fi~
9668 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9669 >          linknames='
9670 >        # The linker will not automatically build a static lib if we build a DLL.
9671 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9672 >        enable_shared_with_static_runtimes=yes
9673 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9674 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9675 >        # Don't use ranlib
9676 >        old_postinstall_cmds='chmod 644 $oldlib'
9677 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9678 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9679 >          case $lt_outputfile in
9680 >            *.exe|*.EXE) ;;
9681 >            *)
9682 >              lt_outputfile="$lt_outputfile.exe"
9683 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9684 >              ;;
9685 >          esac~
9686 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9687 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9688 >            $RM "$lt_outputfile.manifest";
9689 >          fi'
9690 >        ;;
9691 >      *)
9692 >        # Assume MSVC wrapper
9693 >        hardcode_libdir_flag_spec=' '
9694 >        allow_undefined_flag=unsupported
9695 >        # Tell ltmain to make .lib files, not .a files.
9696 >        libext=lib
9697 >        # Tell ltmain to make .dll files, not .so files.
9698 >        shrext_cmds=".dll"
9699 >        # FIXME: Setting linknames here is a bad hack.
9700 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9701 >        # The linker will automatically build a .lib file if we build a DLL.
9702 >        old_archive_from_new_cmds='true'
9703 >        # FIXME: Should let the user specify the lib program.
9704 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705 >        enable_shared_with_static_runtimes=yes
9706 >        ;;
9707 >      esac
9708        ;;
9709  
9710      darwin* | rhapsody*)
# Line 9060 | Line 9716 | if test -z "$aix_libpath"; then aix_libp
9716    hardcode_shlibpath_var=unsupported
9717    if test "$lt_cv_ld_force_load" = "yes"; then
9718      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9719 +
9720    else
9721      whole_archive_flag_spec=''
9722    fi
# Line 9088 | Line 9745 | if test -z "$aix_libpath"; then aix_libp
9745        hardcode_shlibpath_var=no
9746        ;;
9747  
9091    freebsd1*)
9092      ld_shlibs=no
9093      ;;
9094
9748      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9749      # support.  Future versions do this automatically, but an explicit c++rt0.o
9750      # does not break anything, and helps significantly (at the cost of a little
# Line 9104 | Line 9757 | if test -z "$aix_libpath"; then aix_libp
9757        ;;
9758  
9759      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9760 <    freebsd2*)
9760 >    freebsd2.*)
9761        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762        hardcode_direct=yes
9763        hardcode_minus_L=yes
# Line 9113 | Line 9766 | if test -z "$aix_libpath"; then aix_libp
9766  
9767      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9768      freebsd* | dragonfly*)
9769 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9769 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770        hardcode_libdir_flag_spec='-R$libdir'
9771        hardcode_direct=yes
9772        hardcode_shlibpath_var=no
# Line 9121 | Line 9774 | if test -z "$aix_libpath"; then aix_libp
9774  
9775      hpux9*)
9776        if test "$GCC" = yes; then
9777 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9777 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9778        else
9779          archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9780        fi
# Line 9137 | Line 9790 | if test -z "$aix_libpath"; then aix_libp
9790  
9791      hpux10*)
9792        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794        else
9795          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796        fi
9797        if test "$with_gnu_ld" = no; then
9798          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9146        hardcode_libdir_flag_spec_ld='+b $libdir'
9799          hardcode_libdir_separator=:
9800          hardcode_direct=yes
9801          hardcode_direct_absolute=yes
# Line 9161 | Line 9813 | if test -z "$aix_libpath"; then aix_libp
9813            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814            ;;
9815          ia64*)
9816 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9817            ;;
9818          *)
9819 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820            ;;
9821          esac
9822        else
# Line 9181 | Line 9833 | if test -z "$aix_libpath"; then aix_libp
9833            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835   $as_echo_n "checking if $CC understands -b... " >&6; }
9836 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9836 > if ${lt_cv_prog_compiler__b+:} false; then :
9837    $as_echo_n "(cached) " >&6
9838   else
9839    lt_cv_prog_compiler__b=no
# Line 9243 | Line 9895 | fi
9895  
9896      irix5* | irix6* | nonstopux*)
9897        if test "$GCC" = yes; then
9898 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9898 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9899          # Try to use the -exported_symbol ld option, if it does not
9900          # work, assume that -exports_file does not work either and
9901          # implicitly export all symbols.
9902 <        save_LDFLAGS="$LDFLAGS"
9903 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 >        # This should be the same for all languages, so no per-tag cache variable.
9903 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9904 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9905 > if ${lt_cv_irix_exported_symbol+:} false; then :
9906 >  $as_echo_n "(cached) " >&6
9907 > else
9908 >  save_LDFLAGS="$LDFLAGS"
9909 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9910 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911   /* end confdefs.h.  */
9912 < int foo(void) {}
9912 > int foo (void) { return 0; }
9913   _ACEOF
9914   if ac_fn_c_try_link "$LINENO"; then :
9915 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9916 <
9915 >  lt_cv_irix_exported_symbol=yes
9916 > else
9917 >  lt_cv_irix_exported_symbol=no
9918   fi
9919   rm -f core conftest.err conftest.$ac_objext \
9920      conftest$ac_exeext conftest.$ac_ext
9921 <        LDFLAGS="$save_LDFLAGS"
9921 >           LDFLAGS="$save_LDFLAGS"
9922 > fi
9923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9924 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9925 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9926 >          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9927 >        fi
9928        else
9929          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9930          archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
# Line 9344 | Line 10009 | rm -f core conftest.err conftest.$ac_obj
10009      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10010        if test "$GCC" = yes; then
10011          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10012 >        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10013          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014        else
10015          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 10028 | rm -f core conftest.err conftest.$ac_obj
10028        no_undefined_flag=' -z defs'
10029        if test "$GCC" = yes; then
10030          wlarc='${wl}'
10031 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10032          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10033 >          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10034        else
10035          case `$CC -V 2>&1` in
10036          *"Compilers 5.0"*)
# Line 9553 | Line 10218 | x|xyes)
10218        # to ld, don't add -lc before -lgcc.
10219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10220   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10221 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10221 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10222    $as_echo_n "(cached) " >&6
10223   else
10224    $RM conftest*
# Line 9754 | Line 10419 | esac
10419  
10420  
10421  
9757
9758
9759
9760
9761
10422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10423   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10424  
# Line 9848 | Line 10508 | need_version=unknown
10508  
10509   case $host_os in
10510   aix3*)
10511 <  version_type=linux
10511 >  version_type=linux # correct to gnu/linux during the next big refactor
10512    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10513    shlibpath_var=LIBPATH
10514  
# Line 9857 | Line 10517 | aix3*)
10517    ;;
10518  
10519   aix[4-9]*)
10520 <  version_type=linux
10520 >  version_type=linux # correct to gnu/linux during the next big refactor
10521    need_lib_prefix=no
10522    need_version=no
10523    hardcode_into_libs=yes
# Line 9922 | Line 10582 | beos*)
10582    ;;
10583  
10584   bsdi[45]*)
10585 <  version_type=linux
10585 >  version_type=linux # correct to gnu/linux during the next big refactor
10586    need_version=no
10587    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9941 | Line 10601 | cygwin* | mingw* | pw32* | cegcc*)
10601    need_version=no
10602    need_lib_prefix=no
10603  
10604 <  case $GCC,$host_os in
10605 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10604 >  case $GCC,$cc_basename in
10605 >  yes,*)
10606 >    # gcc
10607      library_names_spec='$libname.dll.a'
10608      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10609      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10636 | cygwin* | mingw* | pw32* | cegcc*)
10636        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10637        ;;
10638      esac
10639 +    dynamic_linker='Win32 ld.exe'
10640 +    ;;
10641 +
10642 +  *,cl*)
10643 +    # Native MSVC
10644 +    libname_spec='$name'
10645 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646 +    library_names_spec='${libname}.dll.lib'
10647 +
10648 +    case $build_os in
10649 +    mingw*)
10650 +      sys_lib_search_path_spec=
10651 +      lt_save_ifs=$IFS
10652 +      IFS=';'
10653 +      for lt_path in $LIB
10654 +      do
10655 +        IFS=$lt_save_ifs
10656 +        # Let DOS variable expansion print the short 8.3 style file name.
10657 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10658 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10659 +      done
10660 +      IFS=$lt_save_ifs
10661 +      # Convert to MSYS style.
10662 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10663 +      ;;
10664 +    cygwin*)
10665 +      # Convert to unix form, then to dos form, then back to unix form
10666 +      # but this time dos style (no spaces!) so that the unix form looks
10667 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10668 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10669 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10670 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10671 +      ;;
10672 +    *)
10673 +      sys_lib_search_path_spec="$LIB"
10674 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10675 +        # It is most probably a Windows format PATH.
10676 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10677 +      else
10678 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10679 +      fi
10680 +      # FIXME: find the short name or the path components, as spaces are
10681 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10682 +      ;;
10683 +    esac
10684 +
10685 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10686 +    postinstall_cmds='base_file=`basename \${file}`~
10687 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10688 +      dldir=$destdir/`dirname \$dlpath`~
10689 +      test -d \$dldir || mkdir -p \$dldir~
10690 +      $install_prog $dir/$dlname \$dldir/$dlname'
10691 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10692 +      dlpath=$dir/\$dldll~
10693 +       $RM \$dlpath'
10694 +    shlibpath_overrides_runpath=yes
10695 +    dynamic_linker='Win32 link.exe'
10696      ;;
10697  
10698    *)
10699 +    # Assume MSVC wrapper
10700      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 +    dynamic_linker='Win32 ld.exe'
10702      ;;
10703    esac
9984  dynamic_linker='Win32 ld.exe'
10704    # FIXME: first we should search . and the directory the executable is in
10705    shlibpath_var=PATH
10706    ;;
# Line 10002 | Line 10721 | darwin* | rhapsody*)
10721    ;;
10722  
10723   dgux*)
10724 <  version_type=linux
10724 >  version_type=linux # correct to gnu/linux during the next big refactor
10725    need_lib_prefix=no
10726    need_version=no
10727    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10010 | Line 10729 | dgux*)
10729    shlibpath_var=LD_LIBRARY_PATH
10730    ;;
10731  
10013 freebsd1*)
10014  dynamic_linker=no
10015  ;;
10016
10732   freebsd* | dragonfly*)
10733    # DragonFly does not have aout.  When/if they implement a new
10734    # versioning mechanism, adjust this.
# Line 10021 | Line 10736 | freebsd* | dragonfly*)
10736      objformat=`/usr/bin/objformat`
10737    else
10738      case $host_os in
10739 <    freebsd[123]*) objformat=aout ;;
10739 >    freebsd[23].*) objformat=aout ;;
10740      *) objformat=elf ;;
10741      esac
10742    fi
# Line 10039 | Line 10754 | freebsd* | dragonfly*)
10754    esac
10755    shlibpath_var=LD_LIBRARY_PATH
10756    case $host_os in
10757 <  freebsd2*)
10757 >  freebsd2.*)
10758      shlibpath_overrides_runpath=yes
10759      ;;
10760    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10059 | Line 10774 | freebsd* | dragonfly*)
10774    ;;
10775  
10776   gnu*)
10777 <  version_type=linux
10777 >  version_type=linux # correct to gnu/linux during the next big refactor
10778    need_lib_prefix=no
10779    need_version=no
10780    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781    soname_spec='${libname}${release}${shared_ext}$major'
10782    shlibpath_var=LD_LIBRARY_PATH
10783 +  shlibpath_overrides_runpath=no
10784    hardcode_into_libs=yes
10785    ;;
10786  
10787   haiku*)
10788 <  version_type=linux
10788 >  version_type=linux # correct to gnu/linux during the next big refactor
10789    need_lib_prefix=no
10790    need_version=no
10791    dynamic_linker="$host_os runtime_loader"
# Line 10130 | Line 10846 | hpux9* | hpux10* | hpux11*)
10846    ;;
10847  
10848   interix[3-9]*)
10849 <  version_type=linux
10849 >  version_type=linux # correct to gnu/linux during the next big refactor
10850    need_lib_prefix=no
10851    need_version=no
10852    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10146 | Line 10862 | irix5* | irix6* | nonstopux*)
10862      nonstopux*) version_type=nonstopux ;;
10863      *)
10864          if test "$lt_cv_prog_gnu_ld" = yes; then
10865 <                version_type=linux
10865 >                version_type=linux # correct to gnu/linux during the next big refactor
10866          else
10867                  version_type=irix
10868          fi ;;
# Line 10183 | Line 10899 | linux*oldld* | linux*aout* | linux*coff*
10899    dynamic_linker=no
10900    ;;
10901  
10902 < # This must be Linux ELF.
10902 > # This must be glibc/ELF.
10903   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 <  version_type=linux
10904 >  version_type=linux # correct to gnu/linux during the next big refactor
10905    need_lib_prefix=no
10906    need_version=no
10907    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10195 | Line 10911 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10911    shlibpath_overrides_runpath=no
10912  
10913    # Some binutils ld are patched to set DT_RUNPATH
10914 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10914 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10915    $as_echo_n "(cached) " >&6
10916   else
10917    lt_cv_shlibpath_overrides_runpath=no
# Line 10267 | Line 10983 | netbsd*)
10983    ;;
10984  
10985   newsos6)
10986 <  version_type=linux
10986 >  version_type=linux # correct to gnu/linux during the next big refactor
10987    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988    shlibpath_var=LD_LIBRARY_PATH
10989    shlibpath_overrides_runpath=yes
# Line 10336 | Line 11052 | rdos*)
11052    ;;
11053  
11054   solaris*)
11055 <  version_type=linux
11055 >  version_type=linux # correct to gnu/linux during the next big refactor
11056    need_lib_prefix=no
11057    need_version=no
11058    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10361 | Line 11077 | sunos4*)
11077    ;;
11078  
11079   sysv4 | sysv4.3*)
11080 <  version_type=linux
11080 >  version_type=linux # correct to gnu/linux during the next big refactor
11081    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082    soname_spec='${libname}${release}${shared_ext}$major'
11083    shlibpath_var=LD_LIBRARY_PATH
# Line 10385 | Line 11101 | sysv4 | sysv4.3*)
11101  
11102   sysv4*MP*)
11103    if test -d /usr/nec ;then
11104 <    version_type=linux
11104 >    version_type=linux # correct to gnu/linux during the next big refactor
11105      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11106      soname_spec='$libname${shared_ext}.$major'
11107      shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11132 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11132  
11133   tpf*)
11134    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11135 <  version_type=linux
11135 >  version_type=linux # correct to gnu/linux during the next big refactor
11136    need_lib_prefix=no
11137    need_version=no
11138    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10426 | Line 11142 | tpf*)
11142    ;;
11143  
11144   uts4*)
11145 <  version_type=linux
11145 >  version_type=linux # correct to gnu/linux during the next big refactor
11146    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147    soname_spec='${libname}${release}${shared_ext}$major'
11148    shlibpath_var=LD_LIBRARY_PATH
# Line 10615 | Line 11331 | else
11331    # if libdl is installed we need to link against it
11332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11333   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11334 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11334 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11335    $as_echo_n "(cached) " >&6
11336   else
11337    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11365 | LIBS=$ac_check_lib_save_LIBS
11365   fi
11366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11368 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11369    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370   else
11371  
# Line 10663 | Line 11379 | fi
11379  
11380    *)
11381      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11382 > if test "x$ac_cv_func_shl_load" = xyes; then :
11383    lt_cv_dlopen="shl_load"
11384   else
11385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11387 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11388    $as_echo_n "(cached) " >&6
11389   else
11390    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11418 | LIBS=$ac_check_lib_save_LIBS
11418   fi
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11420   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11421 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11422    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11423   else
11424    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11425 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 > if test "x$ac_cv_func_dlopen" = xyes; then :
11426    lt_cv_dlopen="dlopen"
11427   else
11428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11429   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11430 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11431    $as_echo_n "(cached) " >&6
11432   else
11433    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11461 | LIBS=$ac_check_lib_save_LIBS
11461   fi
11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11463   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11464 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11465    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11466   else
11467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11468   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11469 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11470    $as_echo_n "(cached) " >&6
11471   else
11472    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11500 | LIBS=$ac_check_lib_save_LIBS
11500   fi
11501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11502   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11503 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11503 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11504    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11505   else
11506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11507   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11508 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11508 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11509    $as_echo_n "(cached) " >&6
11510   else
11511    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11539 | LIBS=$ac_check_lib_save_LIBS
11539   fi
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11541   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11542 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11542 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11543    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11544   fi
11545  
# Line 10864 | Line 11580 | fi
11580  
11581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11582   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11583 < if test "${lt_cv_dlopen_self+set}" = set; then :
11583 > if ${lt_cv_dlopen_self+:} false; then :
11584    $as_echo_n "(cached) " >&6
11585   else
11586            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11633 | else
11633   /* When -fvisbility=hidden is used, assume the code has been annotated
11634     correspondingly for the symbols needed.  */
11635   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636 < void fnord () __attribute__((visibility("default")));
11636 > int fnord () __attribute__((visibility("default")));
11637   #endif
11638  
11639 < void fnord () { int i=42; }
11639 > int fnord () { return 42; }
11640   int main ()
11641   {
11642    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11686 | $as_echo "$lt_cv_dlopen_self" >&6; }
11686        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11687        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11688   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11689 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11689 > if ${lt_cv_dlopen_self_static+:} false; then :
11690    $as_echo_n "(cached) " >&6
11691   else
11692            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11739 | else
11739   /* When -fvisbility=hidden is used, assume the code has been annotated
11740     correspondingly for the symbols needed.  */
11741   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 < void fnord () __attribute__((visibility("default")));
11742 > int fnord () __attribute__((visibility("default")));
11743   #endif
11744  
11745 < void fnord () { int i=42; }
11745 > int fnord () { return 42; }
11746   int main ()
11747   {
11748    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11208 | Line 11924 | CC="$lt_save_CC"
11924  
11925  
11926  
11927 +
11928 +
11929          ac_config_commands="$ac_config_commands libtool"
11930  
11931  
# Line 11218 | Line 11936 | CC="$lt_save_CC"
11936  
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11938   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11939 < if test "${libltdl_cv_shlibext+set}" = set; then :
11939 > if ${libltdl_cv_shlibext+:} false; then :
11940    $as_echo_n "(cached) " >&6
11941   else
11942  
11943   module=yes
11944   eval libltdl_cv_shlibext=$shrext_cmds
11945 + module=no
11946 + eval libltdl_cv_shrext=$shrext_cmds
11947  
11948   fi
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11235 | Line 11955 | cat >>confdefs.h <<_ACEOF
11955   _ACEOF
11956  
11957   fi
11958 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11959 +
11960 + cat >>confdefs.h <<_ACEOF
11961 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11962 + _ACEOF
11963 +
11964 + fi
11965  
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11967   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11968 < if test "${lt_cv_module_path_var+set}" = set; then :
11968 > if ${lt_cv_module_path_var+:} false; then :
11969    $as_echo_n "(cached) " >&6
11970   else
11971    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 11982 | fi
11982  
11983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11984   $as_echo_n "checking for the default library search path... " >&6; }
11985 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11985 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11986    $as_echo_n "(cached) " >&6
11987   else
11988    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 12019 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12019   LIBADD_DLOPEN=
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12021   $as_echo_n "checking for library containing dlopen... " >&6; }
12022 < if test "${ac_cv_search_dlopen+set}" = set; then :
12022 > if ${ac_cv_search_dlopen+:} false; then :
12023    $as_echo_n "(cached) " >&6
12024   else
12025    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 12053 | for ac_lib in '' dl; do
12053   fi
12054   rm -f core conftest.err conftest.$ac_objext \
12055      conftest$ac_exeext
12056 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12056 >  if ${ac_cv_search_dlopen+:} false; then :
12057    break
12058   fi
12059   done
12060 < if test "${ac_cv_search_dlopen+set}" = set; then :
12060 > if ${ac_cv_search_dlopen+:} false; then :
12061  
12062   else
12063    ac_cv_search_dlopen=no
# Line 11375 | Line 12102 | $as_echo "#define HAVE_LIBDL 1" >>confde
12102   else
12103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12104   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12105 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12105 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12106    $as_echo_n "(cached) " >&6
12107   else
12108    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12136 | LIBS=$ac_check_lib_save_LIBS
12136   fi
12137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12138   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12139 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12139 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12140  
12141   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12142  
# Line 11429 | Line 12156 | then
12156    for ac_func in dlerror
12157   do :
12158    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12159 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12159 > if test "x$ac_cv_func_dlerror" = xyes; then :
12160    cat >>confdefs.h <<_ACEOF
12161   #define HAVE_DLERROR 1
12162   _ACEOF
# Line 11443 | Line 12170 | fi
12170  
12171   LIBADD_SHL_LOAD=
12172   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12173 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12173 > if test "x$ac_cv_func_shl_load" = xyes; then :
12174  
12175   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12176  
# Line 11451 | Line 12178 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12178   else
12179    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12180   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12181 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12182    $as_echo_n "(cached) " >&6
12183   else
12184    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12212 | LIBS=$ac_check_lib_save_LIBS
12212   fi
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12214   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12215 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12215 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12216  
12217   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12218  
# Line 11501 | Line 12228 | case $host_os in
12228   darwin[1567].*)
12229   # We only want this for pre-Mac OS X 10.4.
12230    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12231 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12231 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12232  
12233   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12234  
# Line 11515 | Line 12242 | beos*)
12242   cygwin* | mingw* | os2* | pw32*)
12243    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12244   "
12245 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12245 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12246    ac_have_decl=1
12247   else
12248    ac_have_decl=0
# Line 11531 | Line 12258 | esac
12258  
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12260   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12261 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12261 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12262    $as_echo_n "(cached) " >&6
12263   else
12264    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12292 | LIBS=$ac_check_lib_save_LIBS
12292   fi
12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12294   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12295 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12295 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12296  
12297   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12298  
# Line 11599 | Line 12326 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12326  
12327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12328   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12329 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12329 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12330    $as_echo_n "(cached) " >&6
12331   else
12332    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12376 | if test x"$lt_cv_sys_symbol_underscore"
12376       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12377          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12378   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12379 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12379 > if ${libltdl_cv_need_uscore+:} false; then :
12380    $as_echo_n "(cached) " >&6
12381   else
12382    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12432 | else
12432   /* When -fvisbility=hidden is used, assume the code has been annotated
12433     correspondingly for the symbols needed.  */
12434   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12435 < void fnord () __attribute__((visibility("default")));
12435 > int fnord () __attribute__((visibility("default")));
12436   #endif
12437  
12438 < void fnord () { int i=42; }
12438 > int fnord () { return 42; }
12439   int main ()
12440   {
12441    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12492 | fi
12492  
12493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12494   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12495 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12495 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12496    $as_echo_n "(cached) " >&6
12497   else
12498    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12598 | for ac_header in argz.h
12598   do :
12599    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12600   "
12601 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12601 > if test "x$ac_cv_header_argz_h" = xyes; then :
12602    cat >>confdefs.h <<_ACEOF
12603   #define HAVE_ARGZ_H 1
12604   _ACEOF
# Line 11885 | Line 12612 | ac_fn_c_check_type "$LINENO" "error_t" "
12612   #  include <argz.h>
12613   #endif
12614   "
12615 < if test "x$ac_cv_type_error_t" = x""yes; then :
12615 > if test "x$ac_cv_type_error_t" = xyes; then :
12616  
12617   cat >>confdefs.h <<_ACEOF
12618   #define HAVE_ERROR_T 1
# Line 11908 | Line 12635 | for ac_func in argz_add argz_append argz
12635   do :
12636    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12637   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12638 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12638 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12639    cat >>confdefs.h <<_ACEOF
12640   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12641   _ACEOF
# Line 11926 | Line 12652 | done
12652   if test -z "$ARGZ_H"; then :
12653    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12654   $as_echo_n "checking if argz actually works... " >&6; }
12655 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12655 > if ${lt_cv_sys_argz_works+:} false; then :
12656    $as_echo_n "(cached) " >&6
12657   else
12658    case $host_os in #(
# Line 11957 | Line 12683 | else
12683   fi
12684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12685   $as_echo "$lt_cv_sys_argz_works" >&6; }
12686 <     if test $lt_cv_sys_argz_works = yes; then :
12686 >     if test "$lt_cv_sys_argz_works" = yes; then :
12687  
12688   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12689  
# Line 11974 | Line 12700 | fi
12700  
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12702   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12703 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12703 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12704    $as_echo_n "(cached) " >&6
12705   else
12706    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12742 | if test "x$with_included_ltdl" != xyes;
12742    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12743  
12744   "
12745 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12745 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12746    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12747              #include <ltdl.h>
12748   "
12749 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12749 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12751   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12752 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12752 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12753    $as_echo_n "(cached) " >&6
12754   else
12755    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12783 | LIBS=$ac_check_lib_save_LIBS
12783   fi
12784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12785   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12786 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12786 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12787    with_included_ltdl=no
12788   else
12789    with_included_ltdl=yes
# Line 12086 | Line 12812 | fi
12812   if test -n "$with_ltdl_include"; then
12813    if test -f "$with_ltdl_include/ltdl.h"; then :
12814    else
12815 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12815 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12816    fi
12817   else
12818    with_ltdl_include=no
# Line 12102 | Line 12828 | fi
12828   if test -n "$with_ltdl_lib"; then
12829    if test -f "$with_ltdl_lib/libltdl.la"; then :
12830    else
12831 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12831 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12832    fi
12833   else
12834    with_ltdl_lib=no
# Line 12111 | Line 12837 | fi
12837   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12838    ,yes,no,no,)
12839          case $enable_ltdl_convenience in
12840 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12840 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12841    "") enable_ltdl_convenience=yes
12842        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12843   esac
# Line 12139 | Line 12865 | $as_echo "#define HAVE_LTDL 1" >>confdef
12865          LTDLINCL=
12866          ;;
12867    ,no*,no,*)
12868 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12868 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12869          ;;
12870    *)    with_included_ltdl=no
12871          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 12932 | do :
12932    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12933   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12934   "
12935 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
12935 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936    cat >>confdefs.h <<_ACEOF
12937   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938   _ACEOF
# Line 12221 | Line 12946 | for ac_func in closedir opendir readdir
12946   do :
12947    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12948   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12949 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
12949 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12950    cat >>confdefs.h <<_ACEOF
12951   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12952   _ACEOF
# Line 12239 | Line 12963 | for ac_func in strlcat strlcpy
12963   do :
12964    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12965   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12966 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
12966 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12967    cat >>confdefs.h <<_ACEOF
12968   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12969   _ACEOF
# Line 12260 | Line 12983 | cat >>confdefs.h <<_ACEOF
12983   _ACEOF
12984  
12985  
12986 + name=
12987 + eval "lt_libprefix=\"$libname_spec\""
12988 +
12989 + cat >>confdefs.h <<_ACEOF
12990 + #define LT_LIBPREFIX "$lt_libprefix"
12991 + _ACEOF
12992 +
12993 +
12994   name=ltdl
12995 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12995 > eval "LTDLOPEN=\"$libname_spec\""
12996  
12997  
12998  
# Line 12279 | Line 13010 | LIBTOOL="$LIBTOOL --silent"
13010  
13011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13012   $as_echo_n "checking for library containing socket... " >&6; }
13013 < if test "${ac_cv_search_socket+set}" = set; then :
13013 > if ${ac_cv_search_socket+:} false; then :
13014    $as_echo_n "(cached) " >&6
13015   else
13016    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 13044 | for ac_lib in '' socket; do
13044   fi
13045   rm -f core conftest.err conftest.$ac_objext \
13046      conftest$ac_exeext
13047 <  if test "${ac_cv_search_socket+set}" = set; then :
13047 >  if ${ac_cv_search_socket+:} false; then :
13048    break
13049   fi
13050   done
13051 < if test "${ac_cv_search_socket+set}" = set; then :
13051 > if ${ac_cv_search_socket+:} false; then :
13052  
13053   else
13054    ac_cv_search_socket=no
# Line 12332 | Line 13063 | if test "$ac_res" != no; then :
13063    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13064  
13065   else
13066 <  as_fn_error "socket library not found" "$LINENO" 5
13066 >  as_fn_error $? "socket library not found" "$LINENO" 5
13067 > fi
13068 >
13069 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13070 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13071 > if ${ac_cv_search_inet_ntoa+:} false; then :
13072 >  $as_echo_n "(cached) " >&6
13073 > else
13074 >  ac_func_search_save_LIBS=$LIBS
13075 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 > /* end confdefs.h.  */
13077 >
13078 > /* Override any GCC internal prototype to avoid an error.
13079 >   Use char because int might match the return type of a GCC
13080 >   builtin and then its argument prototype would still apply.  */
13081 > #ifdef __cplusplus
13082 > extern "C"
13083 > #endif
13084 > char inet_ntoa ();
13085 > int
13086 > main ()
13087 > {
13088 > return inet_ntoa ();
13089 >  ;
13090 >  return 0;
13091 > }
13092 > _ACEOF
13093 > for ac_lib in '' nsl; do
13094 >  if test -z "$ac_lib"; then
13095 >    ac_res="none required"
13096 >  else
13097 >    ac_res=-l$ac_lib
13098 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13099 >  fi
13100 >  if ac_fn_c_try_link "$LINENO"; then :
13101 >  ac_cv_search_inet_ntoa=$ac_res
13102 > fi
13103 > rm -f core conftest.err conftest.$ac_objext \
13104 >    conftest$ac_exeext
13105 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13106 >  break
13107 > fi
13108 > done
13109 > if ${ac_cv_search_inet_ntoa+:} false; then :
13110 >
13111 > else
13112 >  ac_cv_search_inet_ntoa=no
13113 > fi
13114 > rm conftest.$ac_ext
13115 > LIBS=$ac_func_search_save_LIBS
13116 > fi
13117 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13118 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13119 > ac_res=$ac_cv_search_inet_ntoa
13120 > if test "$ac_res" != no; then :
13121 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13122 >
13123 > fi
13124 >
13125 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13126 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13127 > if ${ac_cv_search_inet_aton+:} false; then :
13128 >  $as_echo_n "(cached) " >&6
13129 > else
13130 >  ac_func_search_save_LIBS=$LIBS
13131 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 > /* end confdefs.h.  */
13133 >
13134 > /* Override any GCC internal prototype to avoid an error.
13135 >   Use char because int might match the return type of a GCC
13136 >   builtin and then its argument prototype would still apply.  */
13137 > #ifdef __cplusplus
13138 > extern "C"
13139 > #endif
13140 > char inet_aton ();
13141 > int
13142 > main ()
13143 > {
13144 > return inet_aton ();
13145 >  ;
13146 >  return 0;
13147 > }
13148 > _ACEOF
13149 > for ac_lib in '' resolv; do
13150 >  if test -z "$ac_lib"; then
13151 >    ac_res="none required"
13152 >  else
13153 >    ac_res=-l$ac_lib
13154 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13155 >  fi
13156 >  if ac_fn_c_try_link "$LINENO"; then :
13157 >  ac_cv_search_inet_aton=$ac_res
13158 > fi
13159 > rm -f core conftest.err conftest.$ac_objext \
13160 >    conftest$ac_exeext
13161 >  if ${ac_cv_search_inet_aton+:} false; then :
13162 >  break
13163 > fi
13164 > done
13165 > if ${ac_cv_search_inet_aton+:} false; then :
13166 >
13167 > else
13168 >  ac_cv_search_inet_aton=no
13169 > fi
13170 > rm conftest.$ac_ext
13171 > LIBS=$ac_func_search_save_LIBS
13172 > fi
13173 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13174 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13175 > ac_res=$ac_cv_search_inet_aton
13176 > if test "$ac_res" != no; then :
13177 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13178 >
13179   fi
13180  
13181    for ac_func in inet_aton inet_ntop inet_pton
13182   do :
13183    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13184   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13185 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
13185 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13186    cat >>confdefs.h <<_ACEOF
13187   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13188   _ACEOF
# Line 12353 | Line 13195 | done
13195     #include <netdb.h>
13196  
13197   "
13198 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13198 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13199  
13200   cat >>confdefs.h <<_ACEOF
13201   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13208 | ac_fn_c_check_type "$LINENO" "struct soc
13208     #include <netdb.h>
13209  
13210   "
13211 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13211 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13212  
13213   cat >>confdefs.h <<_ACEOF
13214   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13221 | ac_fn_c_check_type "$LINENO" "struct add
13221     #include <netdb.h>
13222  
13223   "
13224 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13224 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13225  
13226   cat >>confdefs.h <<_ACEOF
13227   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13233 | fi
13233    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13234    <sys/socket.h>
13235   "
13236 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13236 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13237  
13238   cat >>confdefs.h <<_ACEOF
13239   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12402 | Line 13244 | fi
13244  
13245  
13246  
13247 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13248 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13249 <
12408 < cat >>confdefs.h <<_ACEOF
12409 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12410 < _ACEOF
12411 <
12412 <
12413 < else
13247 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13248 > "
13249 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13250  
13251   $as_echo "#define IPV6 1" >>confdefs.h
13252  
# Line 12421 | Line 13257 | fi
13257   # Checks for typedefs, structures, and compiler characteristics.
13258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13259   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13260 < if test "${ac_cv_c_bigendian+set}" = set; then :
13260 > if ${ac_cv_c_bigendian+:} false; then :
13261    $as_echo_n "(cached) " >&6
13262   else
13263    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13475 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13475  
13476       ;; #(
13477     *)
13478 <     as_fn_error "unknown endianness
13478 >     as_fn_error $? "unknown endianness
13479   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13480   esac
13481  
# Line 12652 | Line 13488 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13488   do :
13489    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13490   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13491 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13491 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13492    cat >>confdefs.h <<_ACEOF
13493   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13494   _ACEOF
# Line 12673 | Line 13508 | done
13508  
13509  
13510  
13511 +
13512 +
13513   # Checks for header files.
13514  
13515  
# Line 12682 | Line 13519 | do :
13519    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13520   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13521   "
13522 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13522 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13523    cat >>confdefs.h <<_ACEOF
13524   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13525   _ACEOF
# Line 12740 | Line 13576 | fi
13576  
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13578   $as_echo_n "checking for library containing crypt... " >&6; }
13579 < if test "${ac_cv_search_crypt+set}" = set; then :
13579 > if ${ac_cv_search_crypt+:} false; then :
13580    $as_echo_n "(cached) " >&6
13581   else
13582    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13610 | for ac_lib in '' crypt; do
13610   fi
13611   rm -f core conftest.err conftest.$ac_objext \
13612      conftest$ac_exeext
13613 <  if test "${ac_cv_search_crypt+set}" = set; then :
13613 >  if ${ac_cv_search_crypt+:} false; then :
13614    break
13615   fi
13616   done
13617 < if test "${ac_cv_search_crypt+set}" = set; then :
13617 > if ${ac_cv_search_crypt+:} false; then :
13618  
13619   else
13620    ac_cv_search_crypt=no
# Line 12797 | Line 13633 | fi
13633  
13634  
13635  
12800 # Check whether --with-zlib-path was given.
12801 if test "${with_zlib_path+set}" = set; then :
12802  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12803 fi
12804
12805
12806 # Check whether --enable-zlib was given.
12807 if test "${enable_zlib+set}" = set; then :
12808  enableval=$enable_zlib; zlib=$enableval
12809 else
12810  zlib=yes
12811 fi
12812
12813
12814 if test "$zlib" = "yes"; then :
12815
12816  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12817 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12819 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12820 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12821  $as_echo_n "(cached) " >&6
12822 else
12823  ac_check_lib_save_LIBS=$LIBS
12824 LIBS="-lz  $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h.  */
12827
12828 /* Override any GCC internal prototype to avoid an error.
12829   Use char because int might match the return type of a GCC
12830   builtin and then its argument prototype would still apply.  */
12831 #ifdef __cplusplus
12832 extern "C"
12833 #endif
12834 char zlibVersion ();
12835 int
12836 main ()
12837 {
12838 return zlibVersion ();
12839  ;
12840  return 0;
12841 }
12842 _ACEOF
12843 if ac_fn_c_try_link "$LINENO"; then :
12844  ac_cv_lib_z_zlibVersion=yes
12845 else
12846  ac_cv_lib_z_zlibVersion=no
12847 fi
12848 rm -f core conftest.err conftest.$ac_objext \
12849    conftest$ac_exeext conftest.$ac_ext
12850 LIBS=$ac_check_lib_save_LIBS
12851 fi
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12853 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12854 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12855
12856      LIBS="-lz $LIBS"
12857
12858 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12859
12860
12861 else
12862  zlib=no
12863 fi
12864
12865
12866 else
12867  zlib=no
12868 fi
12869
12870
12871
12872 fi
12873
12874
13636   # Check whether --with-libpcre-path was given.
13637   if test "${with_libpcre_path+set}" = set; then :
13638    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 12889 | Line 13650 | fi
13650   if test "$libpcre" = "yes"; then :
13651  
13652    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13653 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13653 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13654    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13655   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13656 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13656 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13657    $as_echo_n "(cached) " >&6
13658   else
13659    ac_check_lib_save_LIBS=$LIBS
# Line 12926 | Line 13687 | LIBS=$ac_check_lib_save_LIBS
13687   fi
13688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13689   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13690 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13690 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13691  
13692        LIBS="-lpcre $LIBS"
13693  
# Line 12994 | Line 13755 | if test "$cf_enable_openssl" != "no"; th
13755    fi
13756  
13757        if test ! -z "$cf_openssl_basedir"; then
12997    LIBS="-lcrypto -lssl $LIBS"
13758      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13759   $as_echo "$cf_openssl_basedir" >&6; }
13760      cf_enable_openssl="yes"
13001
13002 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003
13761    else
13762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13763   $as_echo "not found. Please check your path." >&6; }
# Line 13013 | Line 13770 | $as_echo "disabled" >&6; }
13770   fi
13771  
13772   if test "$cf_enable_openssl" != "no"; then :
13773 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13774 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13773 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13774 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13775    if test "$cross_compiling" = yes; then :
13776    cf_openssl_version_ok=no
13777   else
13778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779   /* end confdefs.h.  */
13780  
13781 +
13782      #include <openssl/opensslv.h>
13783      #include <stdlib.h>
13784   int
13785   main ()
13786   {
13787 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13787 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13788    ;
13789    return 0;
13790   }
# Line 13045 | Line 13803 | fi
13803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13804   $as_echo "found" >&6; }
13805  
13806 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13806 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13807 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13808 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13809 >  $as_echo_n "(cached) " >&6
13810 > else
13811 >  ac_check_lib_save_LIBS=$LIBS
13812 > LIBS="-lssl  $LIBS"
13813 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 > /* end confdefs.h.  */
13815 >
13816 > /* Override any GCC internal prototype to avoid an error.
13817 >   Use char because int might match the return type of a GCC
13818 >   builtin and then its argument prototype would still apply.  */
13819 > #ifdef __cplusplus
13820 > extern "C"
13821 > #endif
13822 > char SSL_connect ();
13823 > int
13824 > main ()
13825 > {
13826 > return SSL_connect ();
13827 >  ;
13828 >  return 0;
13829 > }
13830 > _ACEOF
13831 > if ac_fn_c_try_link "$LINENO"; then :
13832 >  ac_cv_lib_ssl_SSL_connect=yes
13833 > else
13834 >  ac_cv_lib_ssl_SSL_connect=no
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext \
13837 >    conftest$ac_exeext conftest.$ac_ext
13838 > LIBS=$ac_check_lib_save_LIBS
13839 > fi
13840 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13841 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13842 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13843 >  cat >>confdefs.h <<_ACEOF
13844 > #define HAVE_LIBSSL 1
13845 > _ACEOF
13846 >
13847 >  LIBS="-lssl $LIBS"
13848 >
13849 > fi
13850 >
13851 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13852 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13853   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13854 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13854 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13855    $as_echo_n "(cached) " >&6
13856   else
13857    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 13885 | LIBS=$ac_check_lib_save_LIBS
13885   fi
13886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13887   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13888 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13888 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13889    cat >>confdefs.h <<_ACEOF
13890   #define HAVE_LIBCRYPTO 1
13891   _ACEOF
# Line 13090 | Line 13894 | _ACEOF
13894  
13895   fi
13896  
13093    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13094  for ac_func in EVP_bf_cfb           \
13095                      EVP_cast5_cfb        \
13096                      EVP_idea_cfb         \
13097                      EVP_rc5_32_12_16_cfb \
13098                      EVP_des_ede3_cfb     \
13099                      EVP_des_cfb
13100 do :
13101  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13103 eval as_val=\$$as_ac_var
13104   if test "x$as_val" = x""yes; then :
13105  cat >>confdefs.h <<_ACEOF
13106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13107 _ACEOF
13108
13109 fi
13110 done
13111
13897   fi
13898  
13899   else
# Line 13118 | Line 13903 | $as_echo "no - OpenSSL support disabled"
13903   fi
13904   fi
13905  
13906 < if test "$cf_enable_openssl" = yes; then
13906 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13907    ENABLE_SSL_TRUE=
13908    ENABLE_SSL_FALSE='#'
13909   else
# Line 13323 | Line 14108 | _ACEOF
14108    if test "$cross_compiling" = yes; then :
14109    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14110   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14111 < as_fn_error "cannot run test program while cross compiling
14112 < See \`config.log' for more details." "$LINENO" 5; }
14111 > as_fn_error $? "cannot run test program while cross compiling
14112 > See \`config.log' for more details" "$LINENO" 5; }
14113   else
14114    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115   /* end confdefs.h.  */
# Line 13357 | Line 14142 | else
14142   #endif
14143   _syscall1(int, epoll_create, int, size)
14144   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14145  
14146 + int
14147 + main ()
14148 + {
14149 + return epoll_create(256) == -1 ? 1 : 0
14150 +  ;
14151 +  return 0;
14152 + }
14153   _ACEOF
14154   if ac_fn_c_try_run "$LINENO"; then :
14155    is_epoll_mechanism_available="yes"
# Line 13428 | Line 14219 | _ACEOF
14219    if test "$cross_compiling" = yes; then :
14220    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14221   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14222 < as_fn_error "cannot run test program while cross compiling
14223 < See \`config.log' for more details." "$LINENO" 5; }
14222 > as_fn_error $? "cannot run test program while cross compiling
14223 > See \`config.log' for more details" "$LINENO" 5; }
14224   else
14225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226   /* end confdefs.h.  */
14227  
14228 + #define _GNU_SOURCE
14229   #include <fcntl.h>
14230 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
14230 > static unsigned int have_f_setsig = 0;
14231  
14232   int
14233   main ()
14234   {
14235  
14236 + #ifdef F_SETSIG
14237 +  have_f_setsig = 1;
14238 + #endif
14239 +  return have_f_setsig == 0;
14240 +
14241    ;
14242    return 0;
14243   }
# Line 13578 | Line 14371 | rm -f core conftest.err conftest.$ac_obj
14371      if test "$optimal_iopoll_mechanism" = "none" ; then
14372        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14373   $as_echo "none" >&6; }
14374 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14374 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14375      else
14376        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14377        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14386 | $as_echo "$selected_iopoll_mechanism" >&
14386      else
14387        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14388   $as_echo "none" >&6; }
14389 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14389 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14390      fi
14391    fi
14392        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13634 | Line 14427 | _ACEOF
14427  
14428  
14429  
13637
13638 # Check whether --with-syslog-facility was given.
13639 if test "${with_syslog_facility+set}" = set; then :
13640  withval=$with_syslog_facility; syslog_facility="$withval"
13641 else
13642  syslog_facility="LOG_LOCAL4"
13643 fi
13644
13645
13646 cat >>confdefs.h <<_ACEOF
13647 #define LOG_FACILITY $syslog_facility
13648 _ACEOF
13649
13650
13651
14430    # Check whether --enable-efnet was given.
14431   if test "${enable_efnet+set}" = set; then :
14432    enableval=$enable_efnet; efnet="$enableval"
# Line 13661 | Line 14439 | fi
14439  
14440   $as_echo "#define EFNET 1" >>confdefs.h
14441  
13664
13665 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13666
14442          else
14443                  use_efnet="no"
14444    fi
# Line 13722 | Line 14497 | fi
14497    fi
14498  
14499  
13725  for ac_header in syslog.h sys/syslog.h
13726 do :
13727  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13729 eval as_val=\$$as_ac_Header
13730   if test "x$as_val" = x""yes; then :
13731  cat >>confdefs.h <<_ACEOF
13732 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13733 _ACEOF
13734
13735 fi
13736
13737 done
13738
13739  # Check whether --enable-syslog was given.
13740 if test "${enable_syslog+set}" = set; then :
13741  enableval=$enable_syslog; syslog="$enableval"
13742 else
13743  syslog="no"
13744 fi
13745
13746  if test "$enableval" != "no" ; then
13747    for option in $enableval ; do
13748      case "$option" in
13749        users)
13750 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13751 ;;
13752        oper)
13753 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13754 ;;
13755        yes) : ;;
13756        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13757      esac
13758    done
13759
13760 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13761
13762  fi
13763
13764
14500  
14501    prefix_NONE=
14502    exec_prefix_NONE=
# Line 13848 | Line 14583 | _ACEOF
14583    test "$exec_prefix_NONE" && exec_prefix=NONE
14584  
14585  
14586 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14586 > 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"
14587  
14588  
14589   cat >confcache <<\_ACEOF
# Line 13915 | Line 14650 | $as_echo "$as_me: WARNING: cache variabl
14650       :end' >>confcache
14651   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14652    if test -w "$cache_file"; then
14653 <    test "x$cache_file" != "x/dev/null" &&
14653 >    if test "x$cache_file" != "x/dev/null"; then
14654        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14655   $as_echo "$as_me: updating cache $cache_file" >&6;}
14656 <    cat confcache >$cache_file
14656 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14657 >        cat confcache >"$cache_file"
14658 >      else
14659 >        case $cache_file in #(
14660 >        */* | ?:*)
14661 >          mv -f confcache "$cache_file"$$ &&
14662 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14663 >        *)
14664 >          mv -f confcache "$cache_file" ;;
14665 >        esac
14666 >      fi
14667 >    fi
14668    else
14669      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14670   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 14680 | DEFS=-DHAVE_CONFIG_H
14680  
14681   ac_libobjs=
14682   ac_ltlibobjs=
14683 + U=
14684   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14685    # 1. Remove the extension, and $U if already installed.
14686    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13957 | Line 14704 | else
14704   fi
14705  
14706   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14707 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14707 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14708   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14709   fi
14710   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14711 <  as_fn_error "conditional \"AMDEP\" was never defined.
14711 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14712   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14713   fi
14714   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14715 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14715 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14716   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14717   fi
14718   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14719 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14719 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14720   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14721   fi
14722   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14723 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14723 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14724   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14725   fi
14726   LT_CONFIG_H=config.h
# Line 13995 | Line 14742 | LT_CONFIG_H=config.h
14742  
14743  
14744   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14745 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14745 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14746   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14747   fi
14748   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14749 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14749 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14750   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14751   fi
14752   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14753 <  as_fn_error "conditional \"EFNET\" was never defined.
14753 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14754   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14755   fi
14756  
14757 < : ${CONFIG_STATUS=./config.status}
14757 > : "${CONFIG_STATUS=./config.status}"
14758   ac_write_fail=0
14759   ac_clean_files_save=$ac_clean_files
14760   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 14855 | fi
14855   IFS=" ""        $as_nl"
14856  
14857   # Find who we are.  Look in the path if we contain no directory separator.
14858 + as_myself=
14859   case $0 in #((
14860    *[\\/]* ) as_myself=$0 ;;
14861    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 14901 | export LANGUAGE
14901   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14902  
14903  
14904 < # as_fn_error ERROR [LINENO LOG_FD]
14905 < # ---------------------------------
14904 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14905 > # ----------------------------------------
14906   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14907   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14908 < # script with status $?, using 1 if that was 0.
14908 > # script with STATUS, using 1 if that was 0.
14909   as_fn_error ()
14910   {
14911 <  as_status=$?; test $as_status -eq 0 && as_status=1
14912 <  if test "$3"; then
14913 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14914 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14911 >  as_status=$1; test $as_status -eq 0 && as_status=1
14912 >  if test "$4"; then
14913 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14914 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14915    fi
14916 <  $as_echo "$as_me: error: $1" >&2
14916 >  $as_echo "$as_me: error: $2" >&2
14917    as_fn_exit $as_status
14918   } # as_fn_error
14919  
# Line 14361 | Line 15109 | $as_echo X"$as_dir" |
15109        test -d "$as_dir" && break
15110      done
15111      test -z "$as_dirs" || eval "mkdir $as_dirs"
15112 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15112 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15113  
15114  
15115   } # as_fn_mkdir_p
# Line 14414 | Line 15162 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15162   # report actual input values of CONFIG_FILES etc. instead of their
15163   # values after options handling.
15164   ac_log="
15165 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15166 < generated by GNU Autoconf 2.65.  Invocation command line was
15165 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15166 > generated by GNU Autoconf 2.68.  Invocation command line was
15167  
15168    CONFIG_FILES    = $CONFIG_FILES
15169    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14480 | Line 15228 | _ACEOF
15228   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15229   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15230   ac_cs_version="\\
15231 < ircd-hybrid config.status 7.3-rc1
15232 < configured by $0, generated by GNU Autoconf 2.65,
15231 > ircd-hybrid config.status 8beta1
15232 > configured by $0, generated by GNU Autoconf 2.68,
15233    with options \\"\$ac_cs_config\\"
15234  
15235 < Copyright (C) 2009 Free Software Foundation, Inc.
15235 > Copyright (C) 2010 Free Software Foundation, Inc.
15236   This config.status script is free software; the Free Software Foundation
15237   gives unlimited permission to copy, distribute and modify it."
15238  
# Line 14502 | Line 15250 | ac_need_defaults=:
15250   while test $# != 0
15251   do
15252    case $1 in
15253 <  --*=*)
15253 >  --*=?*)
15254      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15256      ac_shift=:
15257      ;;
15258 +  --*=)
15259 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15260 +    ac_optarg=
15261 +    ac_shift=:
15262 +    ;;
15263    *)
15264      ac_option=$1
15265      ac_optarg=$2
# Line 14528 | Line 15281 | do
15281      $ac_shift
15282      case $ac_optarg in
15283      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15284 +    '') as_fn_error $? "missing file argument" ;;
15285      esac
15286      as_fn_append CONFIG_FILES " '$ac_optarg'"
15287      ac_need_defaults=false;;
# Line 14540 | Line 15294 | do
15294      ac_need_defaults=false;;
15295    --he | --h)
15296      # Conflict between --help and --header
15297 <    as_fn_error "ambiguous option: \`$1'
15297 >    as_fn_error $? "ambiguous option: \`$1'
15298   Try \`$0 --help' for more information.";;
15299    --help | --hel | -h )
15300      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 15303 | Try \`$0 --help' for more information.";
15303      ac_cs_silent=: ;;
15304  
15305    # This is an error.
15306 <  -*) as_fn_error "unrecognized option: \`$1'
15306 >  -*) as_fn_error $? "unrecognized option: \`$1'
15307   Try \`$0 --help' for more information." ;;
15308  
15309    *) as_fn_append ac_config_targets " $1"
# Line 14611 | Line 15365 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15365   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15366   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15367   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15368 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15369   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15370   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15371   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14631 | Line 15386 | exeext='`$ECHO "$exeext" | $SED "$delay_
15386   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15387   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15388   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15389 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15390 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15391   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15392   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15393   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15394   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15395   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15396 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15397 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15398 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15399 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15400   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15401   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15402 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15403   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15404   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15405   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 15414 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15414   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15415   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15416   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15417 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15418 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15419   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15420   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15421   lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14658 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15422   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15423 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15424   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15425   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15426   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15427 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15428   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15429   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15430   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14683 | Line 15448 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15448   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15449   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15450   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14686 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15451   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15452   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15453   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15456 | hardcode_shlibpath_var='`$ECHO "$hardcod
15456   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15457   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15458   link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14695 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15459   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15460   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15461   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15462   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15463   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15464 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15465   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15466   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15467   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14739 | Line 15503 | _LTECHO_EOF'
15503   # Quote evaled strings.
15504   for var in SHELL \
15505   ECHO \
15506 + PATH_SEPARATOR \
15507   SED \
15508   GREP \
15509   EGREP \
# Line 14752 | Line 15517 | reload_flag \
15517   OBJDUMP \
15518   deplibs_check_method \
15519   file_magic_cmd \
15520 + file_magic_glob \
15521 + want_nocaseglob \
15522 + DLLTOOL \
15523 + sharedlib_from_linklib_cmd \
15524   AR \
15525   AR_FLAGS \
15526 + archiver_list_spec \
15527   STRIP \
15528   RANLIB \
15529   CC \
# Line 14763 | Line 15533 | lt_cv_sys_global_symbol_pipe \
15533   lt_cv_sys_global_symbol_to_cdecl \
15534   lt_cv_sys_global_symbol_to_c_name_address \
15535   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15536 + nm_file_list_spec \
15537   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
15538   lt_prog_compiler_pic \
15539 + lt_prog_compiler_wl \
15540   lt_prog_compiler_static \
15541   lt_cv_prog_compiler_c_o \
15542   need_locks \
15543 + MANIFEST_TOOL \
15544   DSYMUTIL \
15545   NMEDIT \
15546   LIPO \
# Line 14782 | Line 15554 | with_gnu_ld \
15554   allow_undefined_flag \
15555   no_undefined_flag \
15556   hardcode_libdir_flag_spec \
14785 hardcode_libdir_flag_spec_ld \
15557   hardcode_libdir_separator \
14787 fix_srcfile_path \
15558   exclude_expsyms \
15559   include_expsyms \
15560   file_list_spec \
# Line 14820 | Line 15590 | module_cmds \
15590   module_expsym_cmds \
15591   export_symbols_cmds \
15592   prelink_cmds \
15593 + postlink_cmds \
15594   postinstall_cmds \
15595   postuninstall_cmds \
15596   finish_cmds \
# Line 14867 | Line 15638 | do
15638      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15639      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15640      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14871    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15641      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15642      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15643      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 14882 | Line 15651 | do
15651      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15652      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15653  
15654 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15654 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15655    esac
15656   done
15657  
# Line 14905 | Line 15674 | fi
15674   # after its creation but before its name has been assigned to `$tmp'.
15675   $debug ||
15676   {
15677 <  tmp=
15677 >  tmp= ac_tmp=
15678    trap 'exit_status=$?
15679 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15679 >  : "${ac_tmp:=$tmp}"
15680 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15681   ' 0
15682    trap 'as_fn_exit 1' 1 2 13 15
15683   }
# Line 14915 | Line 15685 | $debug ||
15685  
15686   {
15687    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15688 <  test -n "$tmp" && test -d "$tmp"
15688 >  test -d "$tmp"
15689   }  ||
15690   {
15691    tmp=./conf$$-$RANDOM
15692    (umask 077 && mkdir "$tmp")
15693 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15693 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15694 > ac_tmp=$tmp
15695  
15696   # Set up the scripts for CONFIG_FILES section.
15697   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 15708 | if test "x$ac_cr" = x; then
15708   fi
15709   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15710   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15711 <  ac_cs_awk_cr='\r'
15711 >  ac_cs_awk_cr='\\r'
15712   else
15713    ac_cs_awk_cr=$ac_cr
15714   fi
15715  
15716 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15716 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15717   _ACEOF
15718  
15719  
# Line 14951 | Line 15722 | _ACEOF
15722    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15723    echo "_ACEOF"
15724   } >conf$$subs.sh ||
15725 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15726 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15725 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15726 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15727   ac_delim='%!_!# '
15728   for ac_last_try in false false false false false :; do
15729    . ./conf$$subs.sh ||
15730 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15730 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15731  
15732    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15733    if test $ac_delim_n = $ac_delim_num; then
15734      break
15735    elif $ac_last_try; then
15736 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15736 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15737    else
15738      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15739    fi
# Line 14970 | Line 15741 | done
15741   rm -f conf$$subs.sh
15742  
15743   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15744 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15745   _ACEOF
15746   sed -n '
15747   h
# Line 15018 | Line 15789 | t delim
15789   rm -f conf$$subs.awk
15790   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791   _ACAWK
15792 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15792 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15793    for (key in S) S_is_set[key] = 1
15794    FS = ""
15795  
# Line 15050 | Line 15821 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15821    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15822   else
15823    cat
15824 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15825 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15824 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15825 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15826   _ACEOF
15827  
15828 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15829 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15828 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15829 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15830   # trailing colons and then remove the whole line if VPATH becomes empty
15831   # (actually we leave an empty line to preserve line numbers).
15832   if test "x$srcdir" = x.; then
15833 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15834 < s/:*\$(srcdir):*/:/
15835 < s/:*\${srcdir}:*/:/
15836 < s/:*@srcdir@:*/:/
15837 < s/^\([^=]*=[     ]*\):*/\1/
15833 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15834 > h
15835 > s///
15836 > s/^/:/
15837 > s/[      ]*$/:/
15838 > s/:\$(srcdir):/:/g
15839 > s/:\${srcdir}:/:/g
15840 > s/:@srcdir@:/:/g
15841 > s/^:*//
15842   s/:*$//
15843 + x
15844 + s/\(=[   ]*\).*/\1/
15845 + G
15846 + s/\n//
15847   s/^[^=]*=[       ]*$//
15848   }'
15849   fi
# Line 15076 | Line 15855 | fi # test -n "$CONFIG_FILES"
15855   # No need to generate them if there are no CONFIG_HEADERS.
15856   # This happens for instance with `./config.status Makefile'.
15857   if test -n "$CONFIG_HEADERS"; then
15858 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15858 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15859   BEGIN {
15860   _ACEOF
15861  
# Line 15088 | Line 15867 | _ACEOF
15867   # handling of long lines.
15868   ac_delim='%!_!# '
15869   for ac_last_try in false false :; do
15870 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15871 <  if test -z "$ac_t"; then
15870 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15871 >  if test -z "$ac_tt"; then
15872      break
15873    elif $ac_last_try; then
15874 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15874 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15875    else
15876      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15877    fi
# Line 15177 | Line 15956 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15956   _ACAWK
15957   _ACEOF
15958   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15959 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15959 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15960   fi # test -n "$CONFIG_HEADERS"
15961  
15962  
# Line 15190 | Line 15969 | do
15969    esac
15970    case $ac_mode$ac_tag in
15971    :[FHL]*:*);;
15972 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15972 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15973    :[FH]-) ac_tag=-:-;;
15974    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15975    esac
# Line 15209 | Line 15988 | do
15988      for ac_f
15989      do
15990        case $ac_f in
15991 <      -) ac_f="$tmp/stdin";;
15991 >      -) ac_f="$ac_tmp/stdin";;
15992        *) # Look for the file first in the build tree, then in the source tree
15993           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15994           # because $ac_f cannot contain `:'.
# Line 15218 | Line 15997 | do
15997             [\\/$]*) false;;
15998             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15999             esac ||
16000 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16000 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16001        esac
16002        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16003        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 16023 | $as_echo "$as_me: creating $ac_file" >&6
16023      esac
16024  
16025      case $ac_tag in
16026 <    *:-:* | *:-) cat >"$tmp/stdin" \
16027 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16026 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16027 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16028      esac
16029      ;;
16030    esac
# Line 15381 | Line 16160 | s&@INSTALL@&$ac_INSTALL&;t t
16160   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16161   $ac_datarootdir_hack
16162   "
16163 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16164 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16163 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16164 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16165  
16166   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16167 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16168 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16167 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16168 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16169 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16170    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16171 < which seems to be undefined.  Please make sure it is defined." >&5
16171 > which seems to be undefined.  Please make sure it is defined" >&5
16172   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16173 < which seems to be undefined.  Please make sure it is defined." >&2;}
16173 > which seems to be undefined.  Please make sure it is defined" >&2;}
16174  
16175 <  rm -f "$tmp/stdin"
16175 >  rm -f "$ac_tmp/stdin"
16176    case $ac_file in
16177 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16178 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16177 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16178 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16179    esac \
16180 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16180 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16181   ;;
16182    :H)
16183    #
# Line 15406 | Line 16186 | which seems to be undefined.  Please mak
16186    if test x"$ac_file" != x-; then
16187      {
16188        $as_echo "/* $configure_input  */" \
16189 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16190 <    } >"$tmp/config.h" \
16191 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16192 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16189 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16190 >    } >"$ac_tmp/config.h" \
16191 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16192 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16193        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16194   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16195      else
16196        rm -f "$ac_file"
16197 <      mv "$tmp/config.h" "$ac_file" \
16198 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16197 >      mv "$ac_tmp/config.h" "$ac_file" \
16198 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16199      fi
16200    else
16201      $as_echo "/* $configure_input  */" \
16202 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16203 <      || as_fn_error "could not create -" "$LINENO" 5
16202 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16203 >      || as_fn_error $? "could not create -" "$LINENO" 5
16204    fi
16205   # Compute "$ac_file"'s index in $config_headers.
16206   _am_arg="$ac_file"
# Line 15581 | Line 16361 | $as_echo X"$file" |
16361   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16362   #
16363   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16364 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16365 < #                 Inc.
16364 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16365 > #                 Foundation, Inc.
16366   #   Written by Gordon Matzigkeit, 1996
16367   #
16368   #   This file is part of GNU Libtool.
# Line 15636 | Line 16416 | SHELL=$lt_SHELL
16416   # An echo program that protects backslashes.
16417   ECHO=$lt_ECHO
16418  
16419 + # The PATH separator for the build system.
16420 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16421 +
16422   # The host system.
16423   host_alias=$host_alias
16424   host=$host
# Line 15685 | Line 16468 | SP2NL=$lt_lt_SP2NL
16468   # turn newlines into spaces.
16469   NL2SP=$lt_lt_NL2SP
16470  
16471 + # convert \$build file names to \$host format.
16472 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16473 +
16474 + # convert \$build files to toolchain format.
16475 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16476 +
16477   # An object symbol dumper.
16478   OBJDUMP=$lt_OBJDUMP
16479  
16480   # Method to check whether dependent libraries are shared objects.
16481   deplibs_check_method=$lt_deplibs_check_method
16482  
16483 < # Command to use when deplibs_check_method == "file_magic".
16483 > # Command to use when deplibs_check_method = "file_magic".
16484   file_magic_cmd=$lt_file_magic_cmd
16485  
16486 + # How to find potential files when deplibs_check_method = "file_magic".
16487 + file_magic_glob=$lt_file_magic_glob
16488 +
16489 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16490 + want_nocaseglob=$lt_want_nocaseglob
16491 +
16492 + # DLL creation program.
16493 + DLLTOOL=$lt_DLLTOOL
16494 +
16495 + # Command to associate shared and link libraries.
16496 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16497 +
16498   # The archiver.
16499   AR=$lt_AR
16500 +
16501 + # Flags to create an archive.
16502   AR_FLAGS=$lt_AR_FLAGS
16503  
16504 + # How to feed a file listing to the archiver.
16505 + archiver_list_spec=$lt_archiver_list_spec
16506 +
16507   # A symbol stripping program.
16508   STRIP=$lt_STRIP
16509  
# Line 15727 | Line 16533 | global_symbol_to_c_name_address=$lt_lt_c
16533   # Transform the output of nm in a C name address pair when lib prefix is needed.
16534   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16535  
16536 + # Specify filename containing input files for \$NM.
16537 + nm_file_list_spec=$lt_nm_file_list_spec
16538 +
16539 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16540 + lt_sysroot=$lt_sysroot
16541 +
16542   # The name of the directory that contains temporary libtool files.
16543   objdir=$objdir
16544  
# Line 15736 | Line 16548 | MAGIC_CMD=$MAGIC_CMD
16548   # Must we lock files when doing compilation?
16549   need_locks=$lt_need_locks
16550  
16551 + # Manifest tool.
16552 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16553 +
16554   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16555   DSYMUTIL=$lt_DSYMUTIL
16556  
# Line 15850 | Line 16665 | with_gcc=$GCC
16665   # Compiler flag to turn off builtin functions.
16666   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16667  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
16668   # Additional compiler flags for building library objects.
16669   pic_flag=$lt_lt_prog_compiler_pic
16670  
16671 + # How to pass a linker flag through the compiler.
16672 + wl=$lt_lt_prog_compiler_wl
16673 +
16674   # Compiler flag to prevent dynamic linking.
16675   link_static_flag=$lt_lt_prog_compiler_static
16676  
# Line 15905 | Line 16720 | no_undefined_flag=$lt_no_undefined_flag
16720   # This must work even if \$libdir does not exist
16721   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16722  
15908 # If ld is used when linking, flag to hardcode \$libdir into a binary
15909 # during linking.  This must work even if \$libdir does not exist.
15910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15911
16723   # Whether we need a single "-rpath" flag with a separated argument.
16724   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16725  
# Line 15942 | Line 16753 | inherit_rpath=$inherit_rpath
16753   # Whether libtool must link a program against all its dependency libraries.
16754   link_all_deplibs=$link_all_deplibs
16755  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
16756   # Set to "yes" if exported symbols are required.
16757   always_export_symbols=$always_export_symbols
16758  
# Line 15960 | Line 16768 | include_expsyms=$lt_include_expsyms
16768   # Commands necessary for linking programs (against libraries) with templates.
16769   prelink_cmds=$lt_prelink_cmds
16770  
16771 + # Commands necessary for finishing linking programs.
16772 + postlink_cmds=$lt_postlink_cmds
16773 +
16774   # Specify filename containing input files.
16775   file_list_spec=$lt_file_list_spec
16776  
# Line 15992 | Line 16803 | ltmain="$ac_aux_dir/ltmain.sh"
16803    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16804    # text mode, it properly converts lines to CR/LF.  This bash problem
16805    # is reportedly fixed, but why not run on old versions too?
16806 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16807 <    || (rm -f "$cfgfile"; exit 1)
15997 <
15998 <  case $xsi_shell in
15999 <  yes)
16000 <    cat << \_LT_EOF >> "$cfgfile"
16001 <
16002 < # func_dirname file append nondir_replacement
16003 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16004 < # otherwise set result to NONDIR_REPLACEMENT.
16005 < func_dirname ()
16006 < {
16007 <  case ${1} in
16008 <    */*) func_dirname_result="${1%/*}${2}" ;;
16009 <    *  ) func_dirname_result="${3}" ;;
16010 <  esac
16011 < }
16012 <
16013 < # func_basename file
16014 < func_basename ()
16015 < {
16016 <  func_basename_result="${1##*/}"
16017 < }
16018 <
16019 < # func_dirname_and_basename file append nondir_replacement
16020 < # perform func_basename and func_dirname in a single function
16021 < # call:
16022 < #   dirname:  Compute the dirname of FILE.  If nonempty,
16023 < #             add APPEND to the result, otherwise set result
16024 < #             to NONDIR_REPLACEMENT.
16025 < #             value returned in "$func_dirname_result"
16026 < #   basename: Compute filename of FILE.
16027 < #             value retuned in "$func_basename_result"
16028 < # Implementation must be kept synchronized with func_dirname
16029 < # and func_basename. For efficiency, we do not delegate to
16030 < # those functions but instead duplicate the functionality here.
16031 < func_dirname_and_basename ()
16032 < {
16033 <  case ${1} in
16034 <    */*) func_dirname_result="${1%/*}${2}" ;;
16035 <    *  ) func_dirname_result="${3}" ;;
16036 <  esac
16037 <  func_basename_result="${1##*/}"
16038 < }
16039 <
16040 < # func_stripname prefix suffix name
16041 < # strip PREFIX and SUFFIX off of NAME.
16042 < # PREFIX and SUFFIX must not contain globbing or regex special
16043 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16044 < # dot (in which case that matches only a dot).
16045 < func_stripname ()
16046 < {
16047 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16048 <  # positional parameters, so assign one to ordinary parameter first.
16049 <  func_stripname_result=${3}
16050 <  func_stripname_result=${func_stripname_result#"${1}"}
16051 <  func_stripname_result=${func_stripname_result%"${2}"}
16052 < }
16053 <
16054 < # func_opt_split
16055 < func_opt_split ()
16056 < {
16057 <  func_opt_split_opt=${1%%=*}
16058 <  func_opt_split_arg=${1#*=}
16059 < }
16060 <
16061 < # func_lo2o object
16062 < func_lo2o ()
16063 < {
16064 <  case ${1} in
16065 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16066 <    *)    func_lo2o_result=${1} ;;
16067 <  esac
16068 < }
16069 <
16070 < # func_xform libobj-or-source
16071 < func_xform ()
16072 < {
16073 <  func_xform_result=${1%.*}.lo
16074 < }
16075 <
16076 < # func_arith arithmetic-term...
16077 < func_arith ()
16078 < {
16079 <  func_arith_result=$(( $* ))
16080 < }
16081 <
16082 < # func_len string
16083 < # STRING may not start with a hyphen.
16084 < func_len ()
16085 < {
16086 <  func_len_result=${#1}
16087 < }
16088 <
16089 < _LT_EOF
16090 <    ;;
16091 <  *) # Bourne compatible functions.
16092 <    cat << \_LT_EOF >> "$cfgfile"
16093 <
16094 < # func_dirname file append nondir_replacement
16095 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16096 < # otherwise set result to NONDIR_REPLACEMENT.
16097 < func_dirname ()
16098 < {
16099 <  # Extract subdirectory from the argument.
16100 <  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16101 <  if test "X$func_dirname_result" = "X${1}"; then
16102 <    func_dirname_result="${3}"
16103 <  else
16104 <    func_dirname_result="$func_dirname_result${2}"
16105 <  fi
16106 < }
16107 <
16108 < # func_basename file
16109 < func_basename ()
16110 < {
16111 <  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16112 < }
16113 <
16114 <
16115 < # func_stripname prefix suffix name
16116 < # strip PREFIX and SUFFIX off of NAME.
16117 < # PREFIX and SUFFIX must not contain globbing or regex special
16118 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16119 < # dot (in which case that matches only a dot).
16120 < # func_strip_suffix prefix name
16121 < func_stripname ()
16122 < {
16123 <  case ${2} in
16124 <    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16125 <    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16126 <  esac
16127 < }
16128 <
16129 < # sed scripts:
16130 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16131 < my_sed_long_arg='1s/^-[^=]*=//'
16132 <
16133 < # func_opt_split
16134 < func_opt_split ()
16135 < {
16136 <  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16137 <  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16138 < }
16139 <
16140 < # func_lo2o object
16141 < func_lo2o ()
16142 < {
16143 <  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16144 < }
16145 <
16146 < # func_xform libobj-or-source
16147 < func_xform ()
16148 < {
16149 <  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16150 < }
16151 <
16152 < # func_arith arithmetic-term...
16153 < func_arith ()
16154 < {
16155 <  func_arith_result=`expr "$@"`
16156 < }
16157 <
16158 < # func_len string
16159 < # STRING may not start with a hyphen.
16160 < func_len ()
16161 < {
16162 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16163 < }
16164 <
16165 < _LT_EOF
16166 < esac
16167 <
16168 < case $lt_shell_append in
16169 <  yes)
16170 <    cat << \_LT_EOF >> "$cfgfile"
16171 <
16172 < # func_append var value
16173 < # Append VALUE to the end of shell variable VAR.
16174 < func_append ()
16175 < {
16176 <  eval "$1+=\$2"
16177 < }
16178 < _LT_EOF
16179 <    ;;
16180 <  *)
16181 <    cat << \_LT_EOF >> "$cfgfile"
16182 <
16183 < # func_append var value
16184 < # Append VALUE to the end of shell variable VAR.
16185 < func_append ()
16186 < {
16187 <  eval "$1=\$$1\$2"
16188 < }
16189 <
16190 < _LT_EOF
16191 <    ;;
16192 <  esac
16806 >  sed '$q' "$ltmain" >> "$cfgfile" \
16807 >     || (rm -f "$cfgfile"; exit 1)
16808  
16809 +  if test x"$xsi_shell" = xyes; then
16810 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16811 + func_dirname ()\
16812 + {\
16813 + \    case ${1} in\
16814 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16815 + \      *  ) func_dirname_result="${3}" ;;\
16816 + \    esac\
16817 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16818 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16819 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16820 + test 0 -eq $? || _lt_function_replace_fail=:
16821 +
16822 +
16823 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16824 + func_basename ()\
16825 + {\
16826 + \    func_basename_result="${1##*/}"\
16827 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16828 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16829 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16830 + test 0 -eq $? || _lt_function_replace_fail=:
16831 +
16832 +
16833 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16834 + func_dirname_and_basename ()\
16835 + {\
16836 + \    case ${1} in\
16837 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16838 + \      *  ) func_dirname_result="${3}" ;;\
16839 + \    esac\
16840 + \    func_basename_result="${1##*/}"\
16841 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16842 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16843 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16844 + test 0 -eq $? || _lt_function_replace_fail=:
16845 +
16846 +
16847 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16848 + func_stripname ()\
16849 + {\
16850 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16851 + \    # positional parameters, so assign one to ordinary parameter first.\
16852 + \    func_stripname_result=${3}\
16853 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16854 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16855 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16856 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16857 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16858 + test 0 -eq $? || _lt_function_replace_fail=:
16859 +
16860 +
16861 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16862 + func_split_long_opt ()\
16863 + {\
16864 + \    func_split_long_opt_name=${1%%=*}\
16865 + \    func_split_long_opt_arg=${1#*=}\
16866 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16867 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16868 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16869 + test 0 -eq $? || _lt_function_replace_fail=:
16870 +
16871 +
16872 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16873 + func_split_short_opt ()\
16874 + {\
16875 + \    func_split_short_opt_arg=${1#??}\
16876 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16877 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16878 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16879 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16880 + test 0 -eq $? || _lt_function_replace_fail=:
16881 +
16882 +
16883 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16884 + func_lo2o ()\
16885 + {\
16886 + \    case ${1} in\
16887 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16888 + \      *)    func_lo2o_result=${1} ;;\
16889 + \    esac\
16890 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16891 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16892 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16893 + test 0 -eq $? || _lt_function_replace_fail=:
16894 +
16895 +
16896 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16897 + func_xform ()\
16898 + {\
16899 +    func_xform_result=${1%.*}.lo\
16900 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16901 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16902 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16903 + test 0 -eq $? || _lt_function_replace_fail=:
16904 +
16905 +
16906 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16907 + func_arith ()\
16908 + {\
16909 +    func_arith_result=$(( $* ))\
16910 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16911 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16912 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16913 + test 0 -eq $? || _lt_function_replace_fail=:
16914 +
16915 +
16916 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16917 + func_len ()\
16918 + {\
16919 +    func_len_result=${#1}\
16920 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16921 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16922 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16923 + test 0 -eq $? || _lt_function_replace_fail=:
16924 +
16925 + fi
16926 +
16927 + if test x"$lt_shell_append" = xyes; then
16928 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16929 + func_append ()\
16930 + {\
16931 +    eval "${1}+=\\${2}"\
16932 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16933 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16934 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16935 + test 0 -eq $? || _lt_function_replace_fail=:
16936 +
16937 +
16938 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16939 + func_append_quoted ()\
16940 + {\
16941 + \    func_quote_for_eval "${2}"\
16942 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16943 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16944 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16945 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 + test 0 -eq $? || _lt_function_replace_fail=:
16947 +
16948 +
16949 +  # Save a `func_append' function call where possible by direct use of '+='
16950 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16951 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16952 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16953 +  test 0 -eq $? || _lt_function_replace_fail=:
16954 + else
16955 +  # Save a `func_append' function call even when '+=' is not available
16956 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16957 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16958 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16959 +  test 0 -eq $? || _lt_function_replace_fail=:
16960 + fi
16961 +
16962 + if test x"$_lt_function_replace_fail" = x":"; then
16963 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16964 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16965 + fi
16966  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
16967  
16968 <  mv -f "$cfgfile" "$ofile" ||
16968 >   mv -f "$cfgfile" "$ofile" ||
16969      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16970    chmod +x "$ofile"
16971  
# Line 16210 | Line 16980 | _ACEOF
16980   ac_clean_files=$ac_clean_files_save
16981  
16982   test $ac_write_fail = 0 ||
16983 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16983 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16984  
16985  
16986   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 17001 | if test "$no_create" != yes; then
17001    exec 5>>config.log
17002    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17003    # would make configure fail if this is the last instruction.
17004 <  $ac_cs_success || as_fn_exit $?
17004 >  $ac_cs_success || as_fn_exit 1
17005   fi
17006   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17007    { $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)