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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1338 by michael, Thu Apr 5 11:05:48 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 1329 2012-04-01 12:02:12Z 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 2357 | Line 2368 | as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370   as_fn_append ac_header_list " crypt.h"
2360 as_fn_append ac_header_list " inttypes.h"
2361 as_fn_append ac_header_list " stdint.h"
2371   as_fn_append ac_header_list " sys/resource.h"
2372   as_fn_append ac_header_list " sys/param.h"
2364 as_fn_append ac_header_list " errno.h"
2365 as_fn_append ac_header_list " sys/syslog.h"
2373   as_fn_append ac_header_list " types.h"
2374   as_fn_append ac_header_list " socket.h"
2375   as_fn_append ac_header_list " sys/wait.h"
# Line 2423 | Line 2430 | if $ac_cache_corrupted; then
2430   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2431    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2432   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2433 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2433 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2434   fi
2435   ## -------------------- ##
2436   ## Main body of script. ##
# Line 2440 | Line 2447 | am__api_version='1.11'
2447  
2448   ac_aux_dir=
2449   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2450 <  for ac_t in install-sh install.sh shtool; do
2451 <    if test -f "$ac_dir/$ac_t"; then
2452 <      ac_aux_dir=$ac_dir
2453 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2454 <      break 2
2455 <    fi
2456 <  done
2450 >  if test -f "$ac_dir/install-sh"; then
2451 >    ac_aux_dir=$ac_dir
2452 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2453 >    break
2454 >  elif test -f "$ac_dir/install.sh"; then
2455 >    ac_aux_dir=$ac_dir
2456 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2457 >    break
2458 >  elif test -f "$ac_dir/shtool"; then
2459 >    ac_aux_dir=$ac_dir
2460 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2461 >    break
2462 >  fi
2463   done
2464   if test -z "$ac_aux_dir"; then
2465 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2465 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2466   fi
2467  
2468   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2491 | ac_configure="$SHELL $ac_aux_dir/configu
2491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2492   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2493   if test -z "$INSTALL"; then
2494 < if test "${ac_cv_path_install+set}" = set; then :
2494 > if ${ac_cv_path_install+:} false; then :
2495    $as_echo_n "(cached) " >&6
2496   else
2497    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2565 | Line 2578 | am_lf='
2578   '
2579   case `pwd` in
2580    *[\\\"\#\$\&\'\`$am_lf]*)
2581 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2581 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2582   esac
2583   case $srcdir in
2584    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2585 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2585 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2586   esac
2587  
2588   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2591 | Line 2604 | if (
2604        # if, for instance, CONFIG_SHELL is bash and it inherits a
2605        # broken ls alias from the environment.  This has actually
2606        # happened.  Such a system could not be considered "sane".
2607 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2607 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2608   alias in your environment" "$LINENO" 5
2609     fi
2610  
# Line 2601 | Line 2614 | then
2614     # Ok.
2615     :
2616   else
2617 <   as_fn_error "newly created file is older than distributed files!
2617 >   as_fn_error $? "newly created file is older than distributed files!
2618   Check your system clock" "$LINENO" 5
2619   fi
2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2655 | Line 2668 | if test "$cross_compiling" != no; then
2668   set dummy ${ac_tool_prefix}strip; ac_word=$2
2669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670   $as_echo_n "checking for $ac_word... " >&6; }
2671 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2671 > if ${ac_cv_prog_STRIP+:} false; then :
2672    $as_echo_n "(cached) " >&6
2673   else
2674    if test -n "$STRIP"; then
# Line 2695 | Line 2708 | if test -z "$ac_cv_prog_STRIP"; then
2708   set dummy strip; ac_word=$2
2709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710   $as_echo_n "checking for $ac_word... " >&6; }
2711 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2711 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2712    $as_echo_n "(cached) " >&6
2713   else
2714    if test -n "$ac_ct_STRIP"; then
# Line 2748 | Line 2761 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2762   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2763   if test -z "$MKDIR_P"; then
2764 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2764 >  if ${ac_cv_path_mkdir+:} false; then :
2765    $as_echo_n "(cached) " >&6
2766   else
2767    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2799 | Line 2812 | do
2812   set dummy $ac_prog; ac_word=$2
2813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814   $as_echo_n "checking for $ac_word... " >&6; }
2815 < if test "${ac_cv_prog_AWK+set}" = set; then :
2815 > if ${ac_cv_prog_AWK+:} false; then :
2816    $as_echo_n "(cached) " >&6
2817   else
2818    if test -n "$AWK"; then
# Line 2839 | Line 2852 | done
2852   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2853   set x ${MAKE-make}
2854   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2855 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2855 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2856    $as_echo_n "(cached) " >&6
2857   else
2858    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2860 | SHELL = /bin/sh
2860   all:
2861          @echo '@@@%%%=$(MAKE)=@@@%%%'
2862   _ACEOF
2863 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2863 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2864   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2865    *@@@%%%=?*=@@@%%%*)
2866      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2881 | Line 2894 | if test "`cd $srcdir && pwd`" != "`pwd`"
2894    am__isrc=' -I$(srcdir)'
2895    # test to see if srcdir already configured
2896    if test -f $srcdir/config.status; then
2897 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2897 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2898    fi
2899   fi
2900  
# Line 2897 | Line 2910 | fi
2910  
2911   # Define the identity of the package.
2912   PACKAGE='ircd-hybrid'
2913 < VERSION='7.3-rc1'
2913 > VERSION='8beta1'
2914  
2915  
2916   cat >>confdefs.h <<_ACEOF
# Line 2927 | Line 2940 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2940  
2941   # We need awk for the "check" target.  The system "awk" is bad on
2942   # some platforms.
2943 < # Always define AMTAR for backward compatibility.
2944 <
2945 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2943 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2944 > # in the wild :-(  We should find a proper way to deprecate it ...
2945 > AMTAR='$${TAR-tar}'
2946  
2947 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2947 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2948  
2949  
2950  
# Line 3017 | Line 3030 | fi
3030   if test "x$enable_dependency_tracking" != xno; then
3031    am_depcomp="$ac_aux_dir/depcomp"
3032    AMDEPBACKSLASH='\'
3033 +  am__nodep='_no'
3034   fi
3035   if test "x$enable_dependency_tracking" != xno; then
3036    AMDEP_TRUE=
# Line 3037 | Line 3051 | if test -n "$ac_tool_prefix"; then
3051   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053   $as_echo_n "checking for $ac_word... " >&6; }
3054 < if test "${ac_cv_prog_CC+set}" = set; then :
3054 > if ${ac_cv_prog_CC+:} false; then :
3055    $as_echo_n "(cached) " >&6
3056   else
3057    if test -n "$CC"; then
# Line 3077 | Line 3091 | if test -z "$ac_cv_prog_CC"; then
3091   set dummy gcc; ac_word=$2
3092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093   $as_echo_n "checking for $ac_word... " >&6; }
3094 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3094 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3095    $as_echo_n "(cached) " >&6
3096   else
3097    if test -n "$ac_ct_CC"; then
# Line 3130 | Line 3144 | if test -z "$CC"; then
3144   set dummy ${ac_tool_prefix}cc; ac_word=$2
3145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146   $as_echo_n "checking for $ac_word... " >&6; }
3147 < if test "${ac_cv_prog_CC+set}" = set; then :
3147 > if ${ac_cv_prog_CC+:} false; then :
3148    $as_echo_n "(cached) " >&6
3149   else
3150    if test -n "$CC"; then
# Line 3170 | Line 3184 | if test -z "$CC"; then
3184   set dummy cc; ac_word=$2
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186   $as_echo_n "checking for $ac_word... " >&6; }
3187 < if test "${ac_cv_prog_CC+set}" = set; then :
3187 > if ${ac_cv_prog_CC+:} false; then :
3188    $as_echo_n "(cached) " >&6
3189   else
3190    if test -n "$CC"; then
# Line 3229 | Line 3243 | if test -z "$CC"; then
3243   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245   $as_echo_n "checking for $ac_word... " >&6; }
3246 < if test "${ac_cv_prog_CC+set}" = set; then :
3246 > if ${ac_cv_prog_CC+:} false; then :
3247    $as_echo_n "(cached) " >&6
3248   else
3249    if test -n "$CC"; then
# Line 3273 | Line 3287 | do
3287   set dummy $ac_prog; ac_word=$2
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289   $as_echo_n "checking for $ac_word... " >&6; }
3290 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3290 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3291    $as_echo_n "(cached) " >&6
3292   else
3293    if test -n "$ac_ct_CC"; then
# Line 3327 | Line 3341 | fi
3341  
3342   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 < as_fn_error "no acceptable C compiler found in \$PATH
3345 < See \`config.log' for more details." "$LINENO" 5; }
3344 > as_fn_error $? "no acceptable C compiler found in \$PATH
3345 > See \`config.log' for more details" "$LINENO" 5; }
3346  
3347   # Provide some information about the compiler.
3348   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3456 | sed 's/^/| /' conftest.$ac_ext >&5
3456  
3457   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 < { as_fn_set_status 77
3460 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3459 > as_fn_error 77 "C compiler cannot create executables
3460 > See \`config.log' for more details" "$LINENO" 5; }
3461   else
3462    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3463   $as_echo "yes" >&6; }
# Line 3486 | Line 3499 | done
3499   else
3500    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3503 < See \`config.log' for more details." "$LINENO" 5; }
3502 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3503 > See \`config.log' for more details" "$LINENO" 5; }
3504   fi
3505   rm -f conftest conftest$ac_cv_exeext
3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3557 | $as_echo "$ac_try_echo"; } >&5
3557      else
3558          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 < as_fn_error "cannot run C compiled programs.
3560 > as_fn_error $? "cannot run C compiled programs.
3561   If you meant to cross compile, use \`--host'.
3562 < See \`config.log' for more details." "$LINENO" 5; }
3562 > See \`config.log' for more details" "$LINENO" 5; }
3563      fi
3564    fi
3565   fi
# Line 3557 | Line 3570 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3570   ac_clean_files=$ac_clean_files_save
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3572   $as_echo_n "checking for suffix of object files... " >&6; }
3573 < if test "${ac_cv_objext+set}" = set; then :
3573 > if ${ac_cv_objext+:} false; then :
3574    $as_echo_n "(cached) " >&6
3575   else
3576    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3610 | sed 's/^/| /' conftest.$ac_ext >&5
3610  
3611   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 < as_fn_error "cannot compute suffix of object files: cannot compile
3614 < See \`config.log' for more details." "$LINENO" 5; }
3613 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3614 > See \`config.log' for more details" "$LINENO" 5; }
3615   fi
3616   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3617   fi
# Line 3608 | Line 3621 | OBJEXT=$ac_cv_objext
3621   ac_objext=$OBJEXT
3622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3623   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3624 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3624 > if ${ac_cv_c_compiler_gnu+:} false; then :
3625    $as_echo_n "(cached) " >&6
3626   else
3627    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3658 | ac_test_CFLAGS=${CFLAGS+set}
3658   ac_save_CFLAGS=$CFLAGS
3659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3660   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3661 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3661 > if ${ac_cv_prog_cc_g+:} false; then :
3662    $as_echo_n "(cached) " >&6
3663   else
3664    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3736 | else
3736   fi
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3738   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3739 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3739 > if ${ac_cv_prog_cc_c89+:} false; then :
3740    $as_echo_n "(cached) " >&6
3741   else
3742    ac_cv_prog_cc_c89=no
# Line 3822 | Line 3835 | depcc="$CC"   am_compiler_list=
3835  
3836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3837   $as_echo_n "checking dependency style of $depcc... " >&6; }
3838 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3838 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3839    $as_echo_n "(cached) " >&6
3840   else
3841    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3831 | Line 3844 | else
3844    # instance it was reported that on HP-UX the gcc test will end up
3845    # making a dummy file named `D' -- because `-MD' means `put the output
3846    # in D'.
3847 +  rm -rf conftest.dir
3848    mkdir conftest.dir
3849    # Copy depcomp to subdir because otherwise we won't find it if we're
3850    # using a relative directory.
# Line 3890 | Line 3904 | else
3904          break
3905        fi
3906        ;;
3907 <    msvisualcpp | msvcmsys)
3907 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3908        # This compiler won't grok `-c -o', but also, the minuso test has
3909        # not run yet.  These depmodes are late enough in the game, and
3910        # so weak that their functioning should not be impacted.
# Line 3947 | Line 3961 | fi
3961  
3962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3963   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3964 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3964 > if ${ac_cv_prog_cc_c99+:} false; then :
3965    $as_echo_n "(cached) " >&6
3966   else
3967    ac_cv_prog_cc_c99=no
# Line 4123 | Line 4137 | fi
4137  
4138  
4139   if test "$ac_cv_prog_cc_c99" = "no"; then :
4140 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4140 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4141   fi
4142   for ac_prog in 'bison -y' byacc
4143   do
# Line 4131 | Line 4145 | do
4145   set dummy $ac_prog; ac_word=$2
4146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147   $as_echo_n "checking for $ac_word... " >&6; }
4148 < if test "${ac_cv_prog_YACC+set}" = set; then :
4148 > if ${ac_cv_prog_YACC+:} false; then :
4149    $as_echo_n "(cached) " >&6
4150   else
4151    if test -n "$YACC"; then
# Line 4175 | Line 4189 | do
4189   set dummy $ac_prog; ac_word=$2
4190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191   $as_echo_n "checking for $ac_word... " >&6; }
4192 < if test "${ac_cv_prog_LEX+set}" = set; then :
4192 > if ${ac_cv_prog_LEX+:} false; then :
4193    $as_echo_n "(cached) " >&6
4194   else
4195    if test -n "$LEX"; then
# Line 4245 | Line 4259 | $as_echo "$ac_try_echo"; } >&5
4259    test $ac_status = 0; }
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4261   $as_echo_n "checking lex output file root... " >&6; }
4262 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4262 > if ${ac_cv_prog_lex_root+:} false; then :
4263    $as_echo_n "(cached) " >&6
4264   else
4265  
# Line 4254 | Line 4268 | if test -f lex.yy.c; then
4268   elif test -f lexyy.c; then
4269    ac_cv_prog_lex_root=lexyy
4270   else
4271 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4271 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4272   fi
4273   fi
4274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4278 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4278   if test -z "${LEXLIB+set}"; then
4279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4280   $as_echo_n "checking lex library... " >&6; }
4281 < if test "${ac_cv_lib_lex+set}" = set; then :
4281 > if ${ac_cv_lib_lex+:} false; then :
4282    $as_echo_n "(cached) " >&6
4283   else
4284  
# Line 4294 | Line 4308 | fi
4308  
4309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4310   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4311 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4311 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4312    $as_echo_n "(cached) " >&6
4313   else
4314    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4319 | ac_save_LIBS=$LIBS
4319   LIBS="$LEXLIB $ac_save_LIBS"
4320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321   /* end confdefs.h.  */
4322 < #define YYTEXT_POINTER 1
4322 >
4323 >  #define YYTEXT_POINTER 1
4324   `cat $LEX_OUTPUT_ROOT.c`
4325   _ACEOF
4326   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4362 | esac
4362  
4363  
4364  
4365 < macro_version='2.2.10'
4366 < macro_revision='1.3175'
4365 > macro_version='2.4.2'
4366 > macro_revision='1.3337'
4367  
4368  
4369  
# Line 4366 | Line 4381 | ltmain="$ac_aux_dir/ltmain.sh"
4381  
4382   # Make sure we can run config.sub.
4383   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4384 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4384 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4385  
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4387   $as_echo_n "checking build system type... " >&6; }
4388 < if test "${ac_cv_build+set}" = set; then :
4388 > if ${ac_cv_build+:} false; then :
4389    $as_echo_n "(cached) " >&6
4390   else
4391    ac_build_alias=$build_alias
4392   test "x$ac_build_alias" = x &&
4393    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4394   test "x$ac_build_alias" = x &&
4395 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4395 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4396   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4397 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4397 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4398  
4399   fi
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4401   $as_echo "$ac_cv_build" >&6; }
4402   case $ac_cv_build in
4403   *-*-*) ;;
4404 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4404 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4405   esac
4406   build=$ac_cv_build
4407   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4419 | case $build_os in *\ *) build_os=`echo "
4419  
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4421   $as_echo_n "checking host system type... " >&6; }
4422 < if test "${ac_cv_host+set}" = set; then :
4422 > if ${ac_cv_host+:} false; then :
4423    $as_echo_n "(cached) " >&6
4424   else
4425    if test "x$host_alias" = x; then
4426    ac_cv_host=$ac_cv_build
4427   else
4428    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4429 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4429 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4430   fi
4431  
4432   fi
# Line 4419 | Line 4434 | fi
4434   $as_echo "$ac_cv_host" >&6; }
4435   case $ac_cv_host in
4436   *-*-*) ;;
4437 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4437 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4438   esac
4439   host=$ac_cv_host
4440   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4474 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4475   $as_echo_n "checking how to print strings... " >&6; }
4476   # Test print first, because it will be a builtin if present.
4477 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4477 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4478     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4479    ECHO='print -r --'
4480   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4521 | esac
4521  
4522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4523   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4524 < if test "${ac_cv_path_SED+set}" = set; then :
4524 > if ${ac_cv_path_SED+:} false; then :
4525    $as_echo_n "(cached) " >&6
4526   else
4527              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4561 | Line 4576 | esac
4576    done
4577   IFS=$as_save_IFS
4578    if test -z "$ac_cv_path_SED"; then
4579 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4579 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4580    fi
4581   else
4582    ac_cv_path_SED=$SED
# Line 4588 | Line 4603 | Xsed="$SED -e 1s/^X//"
4603  
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4605   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4606 < if test "${ac_cv_path_GREP+set}" = set; then :
4606 > if ${ac_cv_path_GREP+:} false; then :
4607    $as_echo_n "(cached) " >&6
4608   else
4609    if test -z "$GREP"; then
# Line 4637 | Line 4652 | esac
4652    done
4653   IFS=$as_save_IFS
4654    if test -z "$ac_cv_path_GREP"; then
4655 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656    fi
4657   else
4658    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4666 | $as_echo "$ac_cv_path_GREP" >&6; }
4666  
4667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4668   $as_echo_n "checking for egrep... " >&6; }
4669 < if test "${ac_cv_path_EGREP+set}" = set; then :
4669 > if ${ac_cv_path_EGREP+:} false; then :
4670    $as_echo_n "(cached) " >&6
4671   else
4672    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4703 | Line 4718 | esac
4718    done
4719   IFS=$as_save_IFS
4720    if test -z "$ac_cv_path_EGREP"; then
4721 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4722    fi
4723   else
4724    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4733 | $as_echo "$ac_cv_path_EGREP" >&6; }
4733  
4734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4735   $as_echo_n "checking for fgrep... " >&6; }
4736 < if test "${ac_cv_path_FGREP+set}" = set; then :
4736 > if ${ac_cv_path_FGREP+:} false; then :
4737    $as_echo_n "(cached) " >&6
4738   else
4739    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4770 | Line 4785 | esac
4785    done
4786   IFS=$as_save_IFS
4787    if test -z "$ac_cv_path_FGREP"; then
4788 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4789    fi
4790   else
4791    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 4864 | else
4864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4865   $as_echo_n "checking for non-GNU ld... " >&6; }
4866   fi
4867 < if test "${lt_cv_path_LD+set}" = set; then :
4867 > if ${lt_cv_path_LD+:} false; then :
4868    $as_echo_n "(cached) " >&6
4869   else
4870    if test -z "$LD"; then
# Line 4886 | Line 4901 | else
4901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902   $as_echo "no" >&6; }
4903   fi
4904 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4904 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4906   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4907 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4907 > if ${lt_cv_prog_gnu_ld+:} false; then :
4908    $as_echo_n "(cached) " >&6
4909   else
4910    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 4931 | with_gnu_ld=$lt_cv_prog_gnu_ld
4931  
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4933   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4934 < if test "${lt_cv_path_NM+set}" = set; then :
4934 > if ${lt_cv_path_NM+:} false; then :
4935    $as_echo_n "(cached) " >&6
4936   else
4937    if test -n "$NM"; then
# Line 4979 | Line 4994 | else
4994   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996   $as_echo_n "checking for $ac_word... " >&6; }
4997 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4997 > if ${ac_cv_prog_DUMPBIN+:} false; then :
4998    $as_echo_n "(cached) " >&6
4999   else
5000    if test -n "$DUMPBIN"; then
# Line 5023 | Line 5038 | do
5038   set dummy $ac_prog; ac_word=$2
5039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040   $as_echo_n "checking for $ac_word... " >&6; }
5041 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5041 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5042    $as_echo_n "(cached) " >&6
5043   else
5044    if test -n "$ac_ct_DUMPBIN"; then
# Line 5095 | Line 5110 | test -z "$NM" && NM=nm
5110  
5111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5112   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5113 < if test "${lt_cv_nm_interface+set}" = set; then :
5113 > if ${lt_cv_nm_interface+:} false; then :
5114    $as_echo_n "(cached) " >&6
5115   else
5116    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5145 | fi
5145   # find the maximum length of command line arguments
5146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5147   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5148 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5148 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5149    $as_echo_n "(cached) " >&6
5150   else
5151      i=0
# Line 5193 | Line 5208 | else
5208      lt_cv_sys_max_cmd_len=196608
5209      ;;
5210  
5211 +  os2*)
5212 +    # The test takes a long time on OS/2.
5213 +    lt_cv_sys_max_cmd_len=8192
5214 +    ;;
5215 +
5216    osf*)
5217      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5218      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5252 | else
5252        # If test is not a shell built-in, we'll probably end up computing a
5253        # maximum length that is only half of the actual maximum length, but
5254        # we can't tell.
5255 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5255 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5256                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5257                test $i != 17 # 1/2 MB should be enough
5258        do
# Line 5275 | Line 5295 | $as_echo_n "checking whether the shell u
5295   # Try some XSI features
5296   xsi_shell=no
5297   ( _lt_dummy="a/b/c"
5298 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5299 <      = c,a/b,, \
5298 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5299 >      = c,a/b,b/c, \
5300      && eval 'test $(( 1 + 1 )) -eq 2 \
5301      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5302    && xsi_shell=yes
# Line 5325 | Line 5345 | esac
5345  
5346  
5347  
5348 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5349 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5350 + if ${lt_cv_to_host_file_cmd+:} false; then :
5351 +  $as_echo_n "(cached) " >&6
5352 + else
5353 +  case $host in
5354 +  *-*-mingw* )
5355 +    case $build in
5356 +      *-*-mingw* ) # actually msys
5357 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5358 +        ;;
5359 +      *-*-cygwin* )
5360 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5361 +        ;;
5362 +      * ) # otherwise, assume *nix
5363 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5364 +        ;;
5365 +    esac
5366 +    ;;
5367 +  *-*-cygwin* )
5368 +    case $build in
5369 +      *-*-mingw* ) # actually msys
5370 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5371 +        ;;
5372 +      *-*-cygwin* )
5373 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5374 +        ;;
5375 +      * ) # otherwise, assume *nix
5376 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5377 +        ;;
5378 +    esac
5379 +    ;;
5380 +  * ) # unhandled hosts (and "normal" native builds)
5381 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5382 +    ;;
5383 + esac
5384 +
5385 + fi
5386 +
5387 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5388 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5389 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5390 +
5391 +
5392 +
5393 +
5394 +
5395 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5396 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5397 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5398 +  $as_echo_n "(cached) " >&6
5399 + else
5400 +  #assume ordinary cross tools, or native build.
5401 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5402 + case $host in
5403 +  *-*-mingw* )
5404 +    case $build in
5405 +      *-*-mingw* ) # actually msys
5406 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5407 +        ;;
5408 +    esac
5409 +    ;;
5410 + esac
5411 +
5412 + fi
5413 +
5414 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5415 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5416 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5417 +
5418 +
5419 +
5420 +
5421 +
5422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5423   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5424 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5424 > if ${lt_cv_ld_reload_flag+:} false; then :
5425    $as_echo_n "(cached) " >&6
5426   else
5427    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5435 | case $reload_flag in
5435   esac
5436   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5437   case $host_os in
5438 +  cygwin* | mingw* | pw32* | cegcc*)
5439 +    if test "$GCC" != yes; then
5440 +      reload_cmds=false
5441 +    fi
5442 +    ;;
5443    darwin*)
5444      if test "$GCC" = yes; then
5445        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5462 | if test -n "$ac_tool_prefix"; then
5462   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464   $as_echo_n "checking for $ac_word... " >&6; }
5465 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5465 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5466    $as_echo_n "(cached) " >&6
5467   else
5468    if test -n "$OBJDUMP"; then
# Line 5403 | Line 5502 | if test -z "$ac_cv_prog_OBJDUMP"; then
5502   set dummy objdump; ac_word=$2
5503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504   $as_echo_n "checking for $ac_word... " >&6; }
5505 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5505 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5506    $as_echo_n "(cached) " >&6
5507   else
5508    if test -n "$ac_ct_OBJDUMP"; then
# Line 5462 | Line 5561 | test -z "$OBJDUMP" && OBJDUMP=objdump
5561  
5562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5563   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5564 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5564 > if ${lt_cv_deplibs_check_method+:} false; then :
5565    $as_echo_n "(cached) " >&6
5566   else
5567    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5582 | Line 5681 | irix5* | irix6* | nonstopux*)
5681    lt_cv_deplibs_check_method=pass_all
5682    ;;
5683  
5684 < # This must be Linux ELF.
5684 > # This must be glibc/ELF.
5685   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5686    lt_cv_deplibs_check_method=pass_all
5687    ;;
# Line 5664 | Line 5763 | esac
5763   fi
5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5765   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5766 +
5767 + file_magic_glob=
5768 + want_nocaseglob=no
5769 + if test "$build" = "$host"; then
5770 +  case $host_os in
5771 +  mingw* | pw32*)
5772 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5773 +      want_nocaseglob=yes
5774 +    else
5775 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5776 +    fi
5777 +    ;;
5778 +  esac
5779 + fi
5780 +
5781   file_magic_cmd=$lt_cv_file_magic_cmd
5782   deplibs_check_method=$lt_cv_deplibs_check_method
5783   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5793 | test -z "$deplibs_check_method" && depli
5793  
5794  
5795  
5796 +
5797 +
5798 +
5799 +
5800 +
5801 +
5802 +
5803 +
5804 +
5805 +
5806 + if test -n "$ac_tool_prefix"; then
5807 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5808 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5809 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 + $as_echo_n "checking for $ac_word... " >&6; }
5811 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5812 +  $as_echo_n "(cached) " >&6
5813 + else
5814 +  if test -n "$DLLTOOL"; then
5815 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5816 + else
5817 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 + for as_dir in $PATH
5819 + do
5820 +  IFS=$as_save_IFS
5821 +  test -z "$as_dir" && as_dir=.
5822 +    for ac_exec_ext in '' $ac_executable_extensions; do
5823 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5825 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 +    break 2
5827 +  fi
5828 + done
5829 +  done
5830 + IFS=$as_save_IFS
5831 +
5832 + fi
5833 + fi
5834 + DLLTOOL=$ac_cv_prog_DLLTOOL
5835 + if test -n "$DLLTOOL"; then
5836 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5837 + $as_echo "$DLLTOOL" >&6; }
5838 + else
5839 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 + $as_echo "no" >&6; }
5841 + fi
5842 +
5843 +
5844 + fi
5845 + if test -z "$ac_cv_prog_DLLTOOL"; then
5846 +  ac_ct_DLLTOOL=$DLLTOOL
5847 +  # Extract the first word of "dlltool", so it can be a program name with args.
5848 + set dummy dlltool; ac_word=$2
5849 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 + $as_echo_n "checking for $ac_word... " >&6; }
5851 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5852 +  $as_echo_n "(cached) " >&6
5853 + else
5854 +  if test -n "$ac_ct_DLLTOOL"; then
5855 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5856 + else
5857 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 + for as_dir in $PATH
5859 + do
5860 +  IFS=$as_save_IFS
5861 +  test -z "$as_dir" && as_dir=.
5862 +    for ac_exec_ext in '' $ac_executable_extensions; do
5863 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5865 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 +    break 2
5867 +  fi
5868 + done
5869 +  done
5870 + IFS=$as_save_IFS
5871 +
5872 + fi
5873 + fi
5874 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5875 + if test -n "$ac_ct_DLLTOOL"; then
5876 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5877 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5878 + else
5879 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 + $as_echo "no" >&6; }
5881 + fi
5882 +
5883 +  if test "x$ac_ct_DLLTOOL" = x; then
5884 +    DLLTOOL="false"
5885 +  else
5886 +    case $cross_compiling:$ac_tool_warned in
5887 + yes:)
5888 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 + ac_tool_warned=yes ;;
5891 + esac
5892 +    DLLTOOL=$ac_ct_DLLTOOL
5893 +  fi
5894 + else
5895 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5896 + fi
5897 +
5898 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5899 +
5900 +
5901 +
5902 +
5903 +
5904 +
5905 +
5906 +
5907 +
5908 +
5909 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5910 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5911 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5912 +  $as_echo_n "(cached) " >&6
5913 + else
5914 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5915 +
5916 + case $host_os in
5917 + cygwin* | mingw* | pw32* | cegcc*)
5918 +  # two different shell functions defined in ltmain.sh
5919 +  # decide which to use based on capabilities of $DLLTOOL
5920 +  case `$DLLTOOL --help 2>&1` in
5921 +  *--identify-strict*)
5922 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5923 +    ;;
5924 +  *)
5925 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5926 +    ;;
5927 +  esac
5928 +  ;;
5929 + *)
5930 +  # fallback: assume linklib IS sharedlib
5931 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5932 +  ;;
5933 + esac
5934 +
5935 + fi
5936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5937 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5938 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5939 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5940 +
5941 +
5942 +
5943 +
5944 +
5945 +
5946 +
5947   if test -n "$ac_tool_prefix"; then
5948 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5949 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5948 >  for ac_prog in ar
5949 >  do
5950 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5951 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953   $as_echo_n "checking for $ac_word... " >&6; }
5954 < if test "${ac_cv_prog_AR+set}" = set; then :
5954 > if ${ac_cv_prog_AR+:} false; then :
5955    $as_echo_n "(cached) " >&6
5956   else
5957    if test -n "$AR"; then
# Line 5697 | Line 5964 | do
5964    test -z "$as_dir" && as_dir=.
5965      for ac_exec_ext in '' $ac_executable_extensions; do
5966    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5967 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5968      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969      break 2
5970    fi
# Line 5717 | Line 5984 | $as_echo "no" >&6; }
5984   fi
5985  
5986  
5987 +    test -n "$AR" && break
5988 +  done
5989   fi
5990 < if test -z "$ac_cv_prog_AR"; then
5990 > if test -z "$AR"; then
5991    ac_ct_AR=$AR
5992 <  # Extract the first word of "ar", so it can be a program name with args.
5993 < set dummy ar; ac_word=$2
5992 >  for ac_prog in ar
5993 > do
5994 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 > set dummy $ac_prog; ac_word=$2
5996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997   $as_echo_n "checking for $ac_word... " >&6; }
5998 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5998 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
5999    $as_echo_n "(cached) " >&6
6000   else
6001    if test -n "$ac_ct_AR"; then
# Line 5737 | Line 6008 | do
6008    test -z "$as_dir" && as_dir=.
6009      for ac_exec_ext in '' $ac_executable_extensions; do
6010    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 <    ac_cv_prog_ac_ct_AR="ar"
6011 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6012      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013      break 2
6014    fi
# Line 5756 | Line 6027 | else
6027   $as_echo "no" >&6; }
6028   fi
6029  
6030 +
6031 +  test -n "$ac_ct_AR" && break
6032 + done
6033 +
6034    if test "x$ac_ct_AR" = x; then
6035      AR="false"
6036    else
# Line 5767 | Line 6042 | ac_tool_warned=yes ;;
6042   esac
6043      AR=$ac_ct_AR
6044    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6045   fi
6046  
6047 < test -z "$AR" && AR=ar
6048 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6047 > : ${AR=ar}
6048 > : ${AR_FLAGS=cru}
6049 >
6050 >
6051 >
6052 >
6053 >
6054 >
6055 >
6056 >
6057 >
6058 >
6059 >
6060 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6061 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6062 > if ${lt_cv_ar_at_file+:} false; then :
6063 >  $as_echo_n "(cached) " >&6
6064 > else
6065 >  lt_cv_ar_at_file=no
6066 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 > /* end confdefs.h.  */
6068 >
6069 > int
6070 > main ()
6071 > {
6072  
6073 +  ;
6074 +  return 0;
6075 + }
6076 + _ACEOF
6077 + if ac_fn_c_try_compile "$LINENO"; then :
6078 +  echo conftest.$ac_objext > conftest.lst
6079 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6080 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6081 +  (eval $lt_ar_try) 2>&5
6082 +  ac_status=$?
6083 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6084 +  test $ac_status = 0; }
6085 +      if test "$ac_status" -eq 0; then
6086 +        # Ensure the archiver fails upon bogus file names.
6087 +        rm -f conftest.$ac_objext libconftest.a
6088 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6089 +  (eval $lt_ar_try) 2>&5
6090 +  ac_status=$?
6091 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6092 +  test $ac_status = 0; }
6093 +        if test "$ac_status" -ne 0; then
6094 +          lt_cv_ar_at_file=@
6095 +        fi
6096 +      fi
6097 +      rm -f conftest.* libconftest.a
6098  
6099 + fi
6100 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101  
6102 + fi
6103 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6104 + $as_echo "$lt_cv_ar_at_file" >&6; }
6105  
6106 + if test "x$lt_cv_ar_at_file" = xno; then
6107 +  archiver_list_spec=
6108 + else
6109 +  archiver_list_spec=$lt_cv_ar_at_file
6110 + fi
6111  
6112  
6113  
# Line 5789 | Line 6120 | if test -n "$ac_tool_prefix"; then
6120   set dummy ${ac_tool_prefix}strip; ac_word=$2
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122   $as_echo_n "checking for $ac_word... " >&6; }
6123 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6123 > if ${ac_cv_prog_STRIP+:} false; then :
6124    $as_echo_n "(cached) " >&6
6125   else
6126    if test -n "$STRIP"; then
# Line 5829 | Line 6160 | if test -z "$ac_cv_prog_STRIP"; then
6160   set dummy strip; ac_word=$2
6161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162   $as_echo_n "checking for $ac_word... " >&6; }
6163 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6163 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6164    $as_echo_n "(cached) " >&6
6165   else
6166    if test -n "$ac_ct_STRIP"; then
# Line 5888 | Line 6219 | if test -n "$ac_tool_prefix"; then
6219   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221   $as_echo_n "checking for $ac_word... " >&6; }
6222 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6222 > if ${ac_cv_prog_RANLIB+:} false; then :
6223    $as_echo_n "(cached) " >&6
6224   else
6225    if test -n "$RANLIB"; then
# Line 5928 | Line 6259 | if test -z "$ac_cv_prog_RANLIB"; then
6259   set dummy ranlib; ac_word=$2
6260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261   $as_echo_n "checking for $ac_word... " >&6; }
6262 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6262 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6263    $as_echo_n "(cached) " >&6
6264   else
6265    if test -n "$ac_ct_RANLIB"; then
# Line 5990 | Line 6321 | old_postuninstall_cmds=
6321   if test -n "$RANLIB"; then
6322    case $host_os in
6323    openbsd*)
6324 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6324 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6325      ;;
6326    *)
6327 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6327 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6328      ;;
6329    esac
6330 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6330 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6331   fi
6332  
6333   case $host_os in
# Line 6057 | Line 6388 | compiler=$CC
6388   # Check for command to grab the raw symbol name followed by C symbol from nm.
6389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6390   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6391 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6391 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6392    $as_echo_n "(cached) " >&6
6393   else
6394  
# Line 6118 | Line 6449 | esac
6449   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6450  
6451   # Transform an extracted symbol line into symbol name and symbol address
6452 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6453 < 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'"
6452 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6453 > 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'"
6454  
6455   # Handle CRLF in mingw tool chain
6456   opt_cr=
# Line 6143 | Line 6474 | for ac_symprfx in "" "_"; do
6474      # which start with @ or ?.
6475      lt_cv_sys_global_symbol_pipe="$AWK '"\
6476   "     {last_section=section; section=\$ 3};"\
6477 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6478   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6479   "     \$ 0!~/External *\|/{next};"\
6480   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6487 | for ac_symprfx in "" "_"; do
6487    else
6488      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6489    fi
6490 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6491  
6492    # Check to see that the pipe works correctly.
6493    pipe_works=no
# Line 6196 | Line 6529 | _LT_EOF
6529        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6530          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6531            cat <<_LT_EOF > conftest.$ac_ext
6532 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6533 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6534 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6535 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6536 + # define LT_DLSYM_CONST
6537 + #elif defined(__osf__)
6538 + /* This system does not cope well with relocations in const data.  */
6539 + # define LT_DLSYM_CONST
6540 + #else
6541 + # define LT_DLSYM_CONST const
6542 + #endif
6543 +
6544   #ifdef __cplusplus
6545   extern "C" {
6546   #endif
# Line 6207 | Line 6552 | _LT_EOF
6552            cat <<_LT_EOF >> conftest.$ac_ext
6553  
6554   /* The mapping between symbol names and symbols.  */
6555 < const struct {
6555 > LT_DLSYM_CONST struct {
6556    const char *name;
6557    void       *address;
6558   }
# Line 6233 | Line 6578 | static const void *lt_preloaded_setup()
6578   _LT_EOF
6579            # Now try linking the two files.
6580            mv conftest.$ac_objext conftstm.$ac_objext
6581 <          lt_save_LIBS="$LIBS"
6582 <          lt_save_CFLAGS="$CFLAGS"
6581 >          lt_globsym_save_LIBS=$LIBS
6582 >          lt_globsym_save_CFLAGS=$CFLAGS
6583            LIBS="conftstm.$ac_objext"
6584            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6585            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6589 | _LT_EOF
6589    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6590              pipe_works=yes
6591            fi
6592 <          LIBS="$lt_save_LIBS"
6593 <          CFLAGS="$lt_save_CFLAGS"
6592 >          LIBS=$lt_globsym_save_LIBS
6593 >          CFLAGS=$lt_globsym_save_CFLAGS
6594          else
6595            echo "cannot find nm_test_func in $nlist" >&5
6596          fi
# Line 6282 | Line 6627 | else
6627   $as_echo "ok" >&6; }
6628   fi
6629  
6630 + # Response file support.
6631 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6632 +  nm_file_list_spec='@'
6633 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6634 +  nm_file_list_spec='@'
6635 + fi
6636  
6637  
6638  
# Line 6303 | Line 6654 | fi
6654  
6655  
6656  
6657 +
6658 +
6659 +
6660 +
6661 +
6662 +
6663 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6664 + $as_echo_n "checking for sysroot... " >&6; }
6665 +
6666 + # Check whether --with-sysroot was given.
6667 + if test "${with_sysroot+set}" = set; then :
6668 +  withval=$with_sysroot;
6669 + else
6670 +  with_sysroot=no
6671 + fi
6672 +
6673 +
6674 + lt_sysroot=
6675 + case ${with_sysroot} in #(
6676 + yes)
6677 +   if test "$GCC" = yes; then
6678 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6679 +   fi
6680 +   ;; #(
6681 + /*)
6682 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6683 +   ;; #(
6684 + no|'')
6685 +   ;; #(
6686 + *)
6687 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6688 + $as_echo "${with_sysroot}" >&6; }
6689 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6690 +   ;;
6691 + esac
6692 +
6693 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6694 + $as_echo "${lt_sysroot:-no}" >&6; }
6695 +
6696 +
6697 +
6698 +
6699 +
6700   # Check whether --enable-libtool-lock was given.
6701   if test "${enable_libtool_lock+set}" = set; then :
6702    enableval=$enable_libtool_lock;
# Line 6428 | Line 6822 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6822    CFLAGS="$CFLAGS -belf"
6823    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6824   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6825 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6825 > if ${lt_cv_cc_needs_belf+:} false; then :
6826    $as_echo_n "(cached) " >&6
6827   else
6828    ac_ext=c
# Line 6469 | Line 6863 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6863      CFLAGS="$SAVE_CFLAGS"
6864    fi
6865    ;;
6866 < sparc*-*solaris*)
6866 > *-*solaris*)
6867    # Find out which ABI we are using.
6868    echo 'int i;' > conftest.$ac_ext
6869    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6874 | sparc*-*solaris*)
6874      case `/usr/bin/file conftest.o` in
6875      *64-bit*)
6876        case $lt_cv_prog_gnu_ld in
6877 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6877 >      yes*)
6878 >        case $host in
6879 >        i?86-*-solaris*)
6880 >          LD="${LD-ld} -m elf_x86_64"
6881 >          ;;
6882 >        sparc*-*-solaris*)
6883 >          LD="${LD-ld} -m elf64_sparc"
6884 >          ;;
6885 >        esac
6886 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6887 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6888 >          LD="${LD-ld}_sol2"
6889 >        fi
6890 >        ;;
6891        *)
6892          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6893            LD="${LD-ld} -64"
# Line 6496 | Line 6903 | esac
6903  
6904   need_locks="$enable_libtool_lock"
6905  
6906 + if test -n "$ac_tool_prefix"; then
6907 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6908 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6909 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 + $as_echo_n "checking for $ac_word... " >&6; }
6911 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6912 +  $as_echo_n "(cached) " >&6
6913 + else
6914 +  if test -n "$MANIFEST_TOOL"; then
6915 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6916 + else
6917 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 + for as_dir in $PATH
6919 + do
6920 +  IFS=$as_save_IFS
6921 +  test -z "$as_dir" && as_dir=.
6922 +    for ac_exec_ext in '' $ac_executable_extensions; do
6923 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6925 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 +    break 2
6927 +  fi
6928 + done
6929 +  done
6930 + IFS=$as_save_IFS
6931 +
6932 + fi
6933 + fi
6934 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6935 + if test -n "$MANIFEST_TOOL"; then
6936 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6937 + $as_echo "$MANIFEST_TOOL" >&6; }
6938 + else
6939 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 + $as_echo "no" >&6; }
6941 + fi
6942 +
6943 +
6944 + fi
6945 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6946 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6947 +  # Extract the first word of "mt", so it can be a program name with args.
6948 + set dummy mt; ac_word=$2
6949 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 + $as_echo_n "checking for $ac_word... " >&6; }
6951 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6952 +  $as_echo_n "(cached) " >&6
6953 + else
6954 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6955 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6956 + else
6957 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 + for as_dir in $PATH
6959 + do
6960 +  IFS=$as_save_IFS
6961 +  test -z "$as_dir" && as_dir=.
6962 +    for ac_exec_ext in '' $ac_executable_extensions; do
6963 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6965 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 +    break 2
6967 +  fi
6968 + done
6969 +  done
6970 + IFS=$as_save_IFS
6971 +
6972 + fi
6973 + fi
6974 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6975 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6976 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6977 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6978 + else
6979 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 + $as_echo "no" >&6; }
6981 + fi
6982 +
6983 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6984 +    MANIFEST_TOOL=":"
6985 +  else
6986 +    case $cross_compiling:$ac_tool_warned in
6987 + yes:)
6988 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6989 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6990 + ac_tool_warned=yes ;;
6991 + esac
6992 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6993 +  fi
6994 + else
6995 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6996 + fi
6997 +
6998 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6999 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7000 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7001 + if ${lt_cv_path_mainfest_tool+:} false; then :
7002 +  $as_echo_n "(cached) " >&6
7003 + else
7004 +  lt_cv_path_mainfest_tool=no
7005 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7006 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7007 +  cat conftest.err >&5
7008 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7009 +    lt_cv_path_mainfest_tool=yes
7010 +  fi
7011 +  rm -f conftest*
7012 + fi
7013 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7014 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7015 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7016 +  MANIFEST_TOOL=:
7017 + fi
7018 +
7019 +
7020 +
7021 +
7022 +
7023  
7024    case $host_os in
7025      rhapsody* | darwin*)
# Line 6504 | Line 7028 | need_locks="$enable_libtool_lock"
7028   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030   $as_echo_n "checking for $ac_word... " >&6; }
7031 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7031 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7032    $as_echo_n "(cached) " >&6
7033   else
7034    if test -n "$DSYMUTIL"; then
# Line 6544 | Line 7068 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7068   set dummy dsymutil; ac_word=$2
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070   $as_echo_n "checking for $ac_word... " >&6; }
7071 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7071 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7072    $as_echo_n "(cached) " >&6
7073   else
7074    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6596 | Line 7120 | fi
7120   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122   $as_echo_n "checking for $ac_word... " >&6; }
7123 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7123 > if ${ac_cv_prog_NMEDIT+:} false; then :
7124    $as_echo_n "(cached) " >&6
7125   else
7126    if test -n "$NMEDIT"; then
# Line 6636 | Line 7160 | if test -z "$ac_cv_prog_NMEDIT"; then
7160   set dummy nmedit; ac_word=$2
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162   $as_echo_n "checking for $ac_word... " >&6; }
7163 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7163 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7164    $as_echo_n "(cached) " >&6
7165   else
7166    if test -n "$ac_ct_NMEDIT"; then
# Line 6688 | Line 7212 | fi
7212   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214   $as_echo_n "checking for $ac_word... " >&6; }
7215 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7215 > if ${ac_cv_prog_LIPO+:} false; then :
7216    $as_echo_n "(cached) " >&6
7217   else
7218    if test -n "$LIPO"; then
# Line 6728 | Line 7252 | if test -z "$ac_cv_prog_LIPO"; then
7252   set dummy lipo; ac_word=$2
7253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254   $as_echo_n "checking for $ac_word... " >&6; }
7255 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7255 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7256    $as_echo_n "(cached) " >&6
7257   else
7258    if test -n "$ac_ct_LIPO"; then
# Line 6780 | Line 7304 | fi
7304   set dummy ${ac_tool_prefix}otool; ac_word=$2
7305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306   $as_echo_n "checking for $ac_word... " >&6; }
7307 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7307 > if ${ac_cv_prog_OTOOL+:} false; then :
7308    $as_echo_n "(cached) " >&6
7309   else
7310    if test -n "$OTOOL"; then
# Line 6820 | Line 7344 | if test -z "$ac_cv_prog_OTOOL"; then
7344   set dummy otool; ac_word=$2
7345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7346   $as_echo_n "checking for $ac_word... " >&6; }
7347 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7347 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7348    $as_echo_n "(cached) " >&6
7349   else
7350    if test -n "$ac_ct_OTOOL"; then
# Line 6872 | Line 7396 | fi
7396   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398   $as_echo_n "checking for $ac_word... " >&6; }
7399 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7399 > if ${ac_cv_prog_OTOOL64+:} false; then :
7400    $as_echo_n "(cached) " >&6
7401   else
7402    if test -n "$OTOOL64"; then
# Line 6912 | Line 7436 | if test -z "$ac_cv_prog_OTOOL64"; then
7436   set dummy otool64; ac_word=$2
7437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438   $as_echo_n "checking for $ac_word... " >&6; }
7439 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7439 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7440    $as_echo_n "(cached) " >&6
7441   else
7442    if test -n "$ac_ct_OTOOL64"; then
# Line 6987 | Line 7511 | fi
7511  
7512      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7513   $as_echo_n "checking for -single_module linker flag... " >&6; }
7514 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7514 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7515    $as_echo_n "(cached) " >&6
7516   else
7517    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7527 | else
7527          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7528            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7529          _lt_result=$?
7530 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7530 >        # If there is a non-empty error log, and "single_module"
7531 >        # appears in it, assume the flag caused a linker warning
7532 >        if test -s conftest.err && $GREP single_module conftest.err; then
7533 >          cat conftest.err >&5
7534 >        # Otherwise, if the output was created with a 0 exit code from
7535 >        # the compiler, it worked.
7536 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7537            lt_cv_apple_cc_single_mod=yes
7538          else
7539            cat conftest.err >&5
# Line 7014 | Line 7544 | else
7544   fi
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7546   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7547 +
7548      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7549   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7550 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7550 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7551    $as_echo_n "(cached) " >&6
7552   else
7553    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7577 | rm -f core conftest.err conftest.$ac_obj
7577   fi
7578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7579   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7580 +
7581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7582   $as_echo_n "checking for -force_load linker flag... " >&6; }
7583 < if test "${lt_cv_ld_force_load+set}" = set; then :
7583 > if ${lt_cv_ld_force_load+:} false; then :
7584    $as_echo_n "(cached) " >&6
7585   else
7586    lt_cv_ld_force_load=no
# Line 7067 | Line 7599 | _LT_EOF
7599        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7600        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7601        _lt_result=$?
7602 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7602 >      if test -s conftest.err && $GREP force_load conftest.err; then
7603 >        cat conftest.err >&5
7604 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7605          lt_cv_ld_force_load=yes
7606        else
7607          cat conftest.err >&5
# Line 7125 | Line 7659 | if test -n "$CPP" && test -d "$CPP"; the
7659    CPP=
7660   fi
7661   if test -z "$CPP"; then
7662 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7662 >  if ${ac_cv_prog_CPP+:} false; then :
7663    $as_echo_n "(cached) " >&6
7664   else
7665        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7689 | else
7689    # Broken: fails on valid input.
7690   continue
7691   fi
7692 < rm -f conftest.err conftest.$ac_ext
7692 > rm -f conftest.err conftest.i conftest.$ac_ext
7693  
7694    # OK, works on sane cases.  Now check whether nonexistent headers
7695    # can be detected and how.
# Line 7171 | Line 7705 | else
7705   ac_preproc_ok=:
7706   break
7707   fi
7708 < rm -f conftest.err conftest.$ac_ext
7708 > rm -f conftest.err conftest.i conftest.$ac_ext
7709  
7710   done
7711   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7712 < rm -f conftest.err conftest.$ac_ext
7712 > rm -f conftest.i conftest.err conftest.$ac_ext
7713   if $ac_preproc_ok; then :
7714    break
7715   fi
# Line 7214 | Line 7748 | else
7748    # Broken: fails on valid input.
7749   continue
7750   fi
7751 < rm -f conftest.err conftest.$ac_ext
7751 > rm -f conftest.err conftest.i conftest.$ac_ext
7752  
7753    # OK, works on sane cases.  Now check whether nonexistent headers
7754    # can be detected and how.
# Line 7230 | Line 7764 | else
7764   ac_preproc_ok=:
7765   break
7766   fi
7767 < rm -f conftest.err conftest.$ac_ext
7767 > rm -f conftest.err conftest.i conftest.$ac_ext
7768  
7769   done
7770   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7771 < rm -f conftest.err conftest.$ac_ext
7771 > rm -f conftest.i conftest.err conftest.$ac_ext
7772   if $ac_preproc_ok; then :
7773  
7774   else
7775    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7776   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7777 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7778 < See \`config.log' for more details." "$LINENO" 5; }
7777 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7778 > See \`config.log' for more details" "$LINENO" 5; }
7779   fi
7780  
7781   ac_ext=c
# Line 7253 | Line 7787 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7787  
7788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7789   $as_echo_n "checking for ANSI C header files... " >&6; }
7790 < if test "${ac_cv_header_stdc+set}" = set; then :
7790 > if ${ac_cv_header_stdc+:} false; then :
7791    $as_echo_n "(cached) " >&6
7792   else
7793    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 7904 | do :
7904    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7905   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7906   "
7907 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
7907 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7908    cat >>confdefs.h <<_ACEOF
7909   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7910   _ACEOF
# Line 7385 | Line 7918 | for ac_header in dlfcn.h
7918   do :
7919    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7920   "
7921 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7921 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7922    cat >>confdefs.h <<_ACEOF
7923   #define HAVE_DLFCN_H 1
7924   _ACEOF
# Line 7471 | Line 8004 | fi
8004  
8005   # Check whether --with-pic was given.
8006   if test "${with_pic+set}" = set; then :
8007 <  withval=$with_pic; pic_mode="$withval"
8007 >  withval=$with_pic; lt_p=${PACKAGE-default}
8008 >    case $withval in
8009 >    yes|no) pic_mode=$withval ;;
8010 >    *)
8011 >      pic_mode=default
8012 >      # Look at the argument we got.  We use all the common list separators.
8013 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014 >      for lt_pkg in $withval; do
8015 >        IFS="$lt_save_ifs"
8016 >        if test "X$lt_pkg" = "X$lt_p"; then
8017 >          pic_mode=yes
8018 >        fi
8019 >      done
8020 >      IFS="$lt_save_ifs"
8021 >      ;;
8022 >    esac
8023   else
8024    pic_mode=default
8025   fi
# Line 7549 | Line 8097 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8097  
8098  
8099  
8100 +
8101 +
8102 +
8103 +
8104   test -z "$LN_S" && LN_S="ln -s"
8105  
8106  
# Line 7570 | Line 8122 | fi
8122  
8123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8124   $as_echo_n "checking for objdir... " >&6; }
8125 < if test "${lt_cv_objdir+set}" = set; then :
8125 > if ${lt_cv_objdir+:} false; then :
8126    $as_echo_n "(cached) " >&6
8127   else
8128    rm -f .libs 2>/dev/null
# Line 7648 | Line 8200 | file_magic*)
8200    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8201      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8202   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8203 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8203 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8204    $as_echo_n "(cached) " >&6
8205   else
8206    case $MAGIC_CMD in
# Line 7714 | Line 8266 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8266    if test -n "$ac_tool_prefix"; then
8267      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8268   $as_echo_n "checking for file... " >&6; }
8269 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8269 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8270    $as_echo_n "(cached) " >&6
8271   else
8272    case $MAGIC_CMD in
# Line 7852 | Line 8404 | if test "$GCC" = yes; then
8404  
8405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8406   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8407 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8407 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8408    $as_echo_n "(cached) " >&6
8409   else
8410    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8457 | fi
8457   lt_prog_compiler_pic=
8458   lt_prog_compiler_static=
8459  
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; }
8460  
8461    if test "$GCC" = yes; then
8462      lt_prog_compiler_wl='-Wl,'
# Line 8006 | Line 8556 | $as_echo_n "checking for $compiler optio
8556      case $cc_basename in
8557      nvcc*) # Cuda Compiler Driver 2.2
8558        lt_prog_compiler_wl='-Xlinker '
8559 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8559 >      if test -n "$lt_prog_compiler_pic"; then
8560 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8561 >      fi
8562        ;;
8563      esac
8564    else
# Line 8071 | Line 8623 | $as_echo_n "checking for $compiler optio
8623          lt_prog_compiler_pic='--shared'
8624          lt_prog_compiler_static='--static'
8625          ;;
8626 +      nagfor*)
8627 +        # NAG Fortran compiler
8628 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8629 +        lt_prog_compiler_pic='-PIC'
8630 +        lt_prog_compiler_static='-Bstatic'
8631 +        ;;
8632        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8633          # Portland Group compilers (*not* the Pentium gcc compiler,
8634          # which looks to be a dead project)
# Line 8091 | Line 8649 | $as_echo_n "checking for $compiler optio
8649          ;;
8650        *)
8651          case `$CC -V 2>&1 | sed 5q` in
8652 <        *Sun\ F* | *Sun*Fortran*)
8652 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8653            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8654            lt_prog_compiler_pic='-KPIC'
8655            lt_prog_compiler_static='-Bstatic'
8656            lt_prog_compiler_wl=''
8657            ;;
8658 +        *Sun\ F* | *Sun*Fortran*)
8659 +          lt_prog_compiler_pic='-KPIC'
8660 +          lt_prog_compiler_static='-Bstatic'
8661 +          lt_prog_compiler_wl='-Qoption ld '
8662 +          ;;
8663          *Sun\ C*)
8664            # Sun C 5.9
8665            lt_prog_compiler_pic='-KPIC'
8666            lt_prog_compiler_static='-Bstatic'
8667            lt_prog_compiler_wl='-Wl,'
8668            ;;
8669 +        *Intel*\ [CF]*Compiler*)
8670 +          lt_prog_compiler_wl='-Wl,'
8671 +          lt_prog_compiler_pic='-fPIC'
8672 +          lt_prog_compiler_static='-static'
8673 +          ;;
8674 +        *Portland\ Group*)
8675 +          lt_prog_compiler_wl='-Wl,'
8676 +          lt_prog_compiler_pic='-fpic'
8677 +          lt_prog_compiler_static='-Bstatic'
8678 +          ;;
8679          esac
8680          ;;
8681        esac
# Line 8190 | Line 8763 | case $host_os in
8763      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8764      ;;
8765   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
8766  
8767 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8768 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8769 + if ${lt_cv_prog_compiler_pic+:} false; then :
8770 +  $as_echo_n "(cached) " >&6
8771 + else
8772 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8773 + fi
8774 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8775 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8776 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8777  
8778   #
8779   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8781 | $as_echo "$lt_prog_compiler_pic" >&6; }
8781   if test -n "$lt_prog_compiler_pic"; then
8782    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8783   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8784 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8784 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8785    $as_echo_n "(cached) " >&6
8786   else
8787    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 8834 | fi
8834  
8835  
8836  
8837 +
8838 +
8839 +
8840 +
8841 +
8842   #
8843   # Check to make sure the static flag actually works.
8844   #
8845   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8847   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8848 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8848 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8849    $as_echo_n "(cached) " >&6
8850   else
8851    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 8888 | fi
8888  
8889    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8890   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8891 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8891 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8892    $as_echo_n "(cached) " >&6
8893   else
8894    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 8943 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8943  
8944    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8945   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8946 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8946 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8947    $as_echo_n "(cached) " >&6
8948   else
8949    lt_cv_prog_compiler_c_o=no
# Line 8455 | Line 9037 | $as_echo_n "checking whether the $compil
9037    hardcode_direct=no
9038    hardcode_direct_absolute=no
9039    hardcode_libdir_flag_spec=
8458  hardcode_libdir_flag_spec_ld=
9040    hardcode_libdir_separator=
9041    hardcode_minus_L=no
9042    hardcode_shlibpath_var=unsupported
# Line 8607 | Line 9188 | _LT_EOF
9188        allow_undefined_flag=unsupported
9189        always_export_symbols=no
9190        enable_shared_with_static_runtimes=yes
9191 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9191 >      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'
9192 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9193  
9194        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9195          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 9237 | _LT_EOF
9237        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9238           && test "$tmp_diet" = no
9239        then
9240 <        tmp_addflag=
9240 >        tmp_addflag=' $pic_flag'
9241          tmp_sharedflag='-shared'
9242          case $cc_basename,$host_cpu in
9243          pgcc*)                          # Portland Group C compiler
# Line 8704 | Line 9286 | _LT_EOF
9286          xlf* | bgf* | bgxlf* | mpixlf*)
9287            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9288            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9289 <          hardcode_libdir_flag_spec=
8708 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9289 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9290            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9291            if test "x$supports_anon_versioning" = xyes; then
9292              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8725 | Line 9306 | _LT_EOF
9306          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9307          wlarc=
9308        else
9309 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9309 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9311        fi
9312        ;;
9313  
# Line 8744 | Line 9325 | _LT_EOF
9325  
9326   _LT_EOF
9327        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9328 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330        else
9331          ld_shlibs=no
9332        fi
# Line 8791 | Line 9372 | _LT_EOF
9372  
9373      *)
9374        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377        else
9378          ld_shlibs=no
9379        fi
# Line 8922 | Line 9503 | _LT_EOF
9503          allow_undefined_flag='-berok'
9504          # Determine the default libpath from the value encoded in an
9505          # empty executable.
9506 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 >        if test "${lt_cv_aix_libpath+set}" = set; then
9507 >  aix_libpath=$lt_cv_aix_libpath
9508 > else
9509 >  if ${lt_cv_aix_libpath_+:} false; then :
9510 >  $as_echo_n "(cached) " >&6
9511 > else
9512 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513   /* end confdefs.h.  */
9514  
9515   int
# Line 8935 | Line 9522 | main ()
9522   _ACEOF
9523   if ac_fn_c_try_link "$LINENO"; then :
9524  
9525 < lt_aix_libpath_sed='
9526 <    /Import File Strings/,/^$/ {
9527 <        /^0/ {
9528 <            s/^0  *\(.*\)$/\1/
9529 <            p
9530 <        }
9531 <    }'
9532 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9533 < # Check for a 64-bit object if we didn't find anything.
9534 < if test -z "$aix_libpath"; then
9535 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 < fi
9525 >  lt_aix_libpath_sed='
9526 >      /Import File Strings/,/^$/ {
9527 >          /^0/ {
9528 >              s/^0  *\([^ ]*\) *$/\1/
9529 >              p
9530 >          }
9531 >      }'
9532 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9533 >  # Check for a 64-bit object if we didn't find anything.
9534 >  if test -z "$lt_cv_aix_libpath_"; then
9535 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 >  fi
9537   fi
9538   rm -f core conftest.err conftest.$ac_objext \
9539      conftest$ac_exeext conftest.$ac_ext
9540 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9540 >  if test -z "$lt_cv_aix_libpath_"; then
9541 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9542 >  fi
9543 >
9544 > fi
9545 >
9546 >  aix_libpath=$lt_cv_aix_libpath_
9547 > fi
9548  
9549          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9550          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 9556 | if test -z "$aix_libpath"; then aix_libp
9556          else
9557           # Determine the default libpath from the value encoded in an
9558           # empty executable.
9559 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 >         if test "${lt_cv_aix_libpath+set}" = set; then
9560 >  aix_libpath=$lt_cv_aix_libpath
9561 > else
9562 >  if ${lt_cv_aix_libpath_+:} false; then :
9563 >  $as_echo_n "(cached) " >&6
9564 > else
9565 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566   /* end confdefs.h.  */
9567  
9568   int
# Line 8975 | Line 9575 | main ()
9575   _ACEOF
9576   if ac_fn_c_try_link "$LINENO"; then :
9577  
9578 < lt_aix_libpath_sed='
9579 <    /Import File Strings/,/^$/ {
9580 <        /^0/ {
9581 <            s/^0  *\(.*\)$/\1/
9582 <            p
9583 <        }
9584 <    }'
9585 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 < # Check for a 64-bit object if we didn't find anything.
9587 < if test -z "$aix_libpath"; then
9588 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 < fi
9578 >  lt_aix_libpath_sed='
9579 >      /Import File Strings/,/^$/ {
9580 >          /^0/ {
9581 >              s/^0  *\([^ ]*\) *$/\1/
9582 >              p
9583 >          }
9584 >      }'
9585 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 >  # Check for a 64-bit object if we didn't find anything.
9587 >  if test -z "$lt_cv_aix_libpath_"; then
9588 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 >  fi
9590   fi
9591   rm -f core conftest.err conftest.$ac_objext \
9592      conftest$ac_exeext conftest.$ac_ext
9593 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9593 >  if test -z "$lt_cv_aix_libpath_"; then
9594 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9595 >  fi
9596 >
9597 > fi
9598 >
9599 >  aix_libpath=$lt_cv_aix_libpath_
9600 > fi
9601  
9602           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9603            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9642 | if test -z "$aix_libpath"; then aix_libp
9642        # Microsoft Visual C++.
9643        # hardcode_libdir_flag_spec is actually meaningless, as there is
9644        # no search path for DLLs.
9645 <      hardcode_libdir_flag_spec=' '
9646 <      allow_undefined_flag=unsupported
9647 <      # Tell ltmain to make .lib files, not .a files.
9648 <      libext=lib
9649 <      # Tell ltmain to make .dll files, not .so files.
9650 <      shrext_cmds=".dll"
9651 <      # FIXME: Setting linknames here is a bad hack.
9652 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9653 <      # The linker will automatically build a .lib file if we build a DLL.
9654 <      old_archive_from_new_cmds='true'
9655 <      # FIXME: Should let the user specify the lib program.
9656 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9657 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9658 <      enable_shared_with_static_runtimes=yes
9645 >      case $cc_basename in
9646 >      cl*)
9647 >        # Native MSVC
9648 >        hardcode_libdir_flag_spec=' '
9649 >        allow_undefined_flag=unsupported
9650 >        always_export_symbols=yes
9651 >        file_list_spec='@'
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 $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9658 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9659 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9660 >          else
9661 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9662 >          fi~
9663 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9664 >          linknames='
9665 >        # The linker will not automatically build a static lib if we build a DLL.
9666 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9667 >        enable_shared_with_static_runtimes=yes
9668 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9669 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9670 >        # Don't use ranlib
9671 >        old_postinstall_cmds='chmod 644 $oldlib'
9672 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9673 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9674 >          case $lt_outputfile in
9675 >            *.exe|*.EXE) ;;
9676 >            *)
9677 >              lt_outputfile="$lt_outputfile.exe"
9678 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9679 >              ;;
9680 >          esac~
9681 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9682 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9683 >            $RM "$lt_outputfile.manifest";
9684 >          fi'
9685 >        ;;
9686 >      *)
9687 >        # Assume MSVC wrapper
9688 >        hardcode_libdir_flag_spec=' '
9689 >        allow_undefined_flag=unsupported
9690 >        # Tell ltmain to make .lib files, not .a files.
9691 >        libext=lib
9692 >        # Tell ltmain to make .dll files, not .so files.
9693 >        shrext_cmds=".dll"
9694 >        # FIXME: Setting linknames here is a bad hack.
9695 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9696 >        # The linker will automatically build a .lib file if we build a DLL.
9697 >        old_archive_from_new_cmds='true'
9698 >        # FIXME: Should let the user specify the lib program.
9699 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9700 >        enable_shared_with_static_runtimes=yes
9701 >        ;;
9702 >      esac
9703        ;;
9704  
9705      darwin* | rhapsody*)
# Line 9060 | Line 9711 | if test -z "$aix_libpath"; then aix_libp
9711    hardcode_shlibpath_var=unsupported
9712    if test "$lt_cv_ld_force_load" = "yes"; then
9713      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\"`'
9714 +
9715    else
9716      whole_archive_flag_spec=''
9717    fi
# Line 9088 | Line 9740 | if test -z "$aix_libpath"; then aix_libp
9740        hardcode_shlibpath_var=no
9741        ;;
9742  
9091    freebsd1*)
9092      ld_shlibs=no
9093      ;;
9094
9743      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9744      # support.  Future versions do this automatically, but an explicit c++rt0.o
9745      # does not break anything, and helps significantly (at the cost of a little
# Line 9104 | Line 9752 | if test -z "$aix_libpath"; then aix_libp
9752        ;;
9753  
9754      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9755 <    freebsd2*)
9755 >    freebsd2.*)
9756        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9757        hardcode_direct=yes
9758        hardcode_minus_L=yes
# Line 9113 | Line 9761 | if test -z "$aix_libpath"; then aix_libp
9761  
9762      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9763      freebsd* | dragonfly*)
9764 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9764 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9765        hardcode_libdir_flag_spec='-R$libdir'
9766        hardcode_direct=yes
9767        hardcode_shlibpath_var=no
# Line 9121 | Line 9769 | if test -z "$aix_libpath"; then aix_libp
9769  
9770      hpux9*)
9771        if test "$GCC" = yes; then
9772 <        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'
9772 >        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'
9773        else
9774          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'
9775        fi
# Line 9137 | Line 9785 | if test -z "$aix_libpath"; then aix_libp
9785  
9786      hpux10*)
9787        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9788 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789        else
9790          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791        fi
9792        if test "$with_gnu_ld" = no; then
9793          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9146        hardcode_libdir_flag_spec_ld='+b $libdir'
9794          hardcode_libdir_separator=:
9795          hardcode_direct=yes
9796          hardcode_direct_absolute=yes
# Line 9161 | Line 9808 | if test -z "$aix_libpath"; then aix_libp
9808            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809            ;;
9810          ia64*)
9811 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9811 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9812            ;;
9813          *)
9814 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9815            ;;
9816          esac
9817        else
# Line 9181 | Line 9828 | if test -z "$aix_libpath"; then aix_libp
9828            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9829            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9830   $as_echo_n "checking if $CC understands -b... " >&6; }
9831 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9831 > if ${lt_cv_prog_compiler__b+:} false; then :
9832    $as_echo_n "(cached) " >&6
9833   else
9834    lt_cv_prog_compiler__b=no
# Line 9243 | Line 9890 | fi
9890  
9891      irix5* | irix6* | nonstopux*)
9892        if test "$GCC" = yes; then
9893 <        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'
9893 >        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'
9894          # Try to use the -exported_symbol ld option, if it does not
9895          # work, assume that -exports_file does not work either and
9896          # implicitly export all symbols.
9897 <        save_LDFLAGS="$LDFLAGS"
9898 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9899 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 >        # This should be the same for all languages, so no per-tag cache variable.
9898 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9899 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9900 > if ${lt_cv_irix_exported_symbol+:} false; then :
9901 >  $as_echo_n "(cached) " >&6
9902 > else
9903 >  save_LDFLAGS="$LDFLAGS"
9904 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9905 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906   /* end confdefs.h.  */
9907 < int foo(void) {}
9907 > int foo (void) { return 0; }
9908   _ACEOF
9909   if ac_fn_c_try_link "$LINENO"; then :
9910 <  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'
9911 <
9910 >  lt_cv_irix_exported_symbol=yes
9911 > else
9912 >  lt_cv_irix_exported_symbol=no
9913   fi
9914   rm -f core conftest.err conftest.$ac_objext \
9915      conftest$ac_exeext conftest.$ac_ext
9916 <        LDFLAGS="$save_LDFLAGS"
9916 >           LDFLAGS="$save_LDFLAGS"
9917 > fi
9918 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9919 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9920 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9921 >          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'
9922 >        fi
9923        else
9924          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'
9925          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 10004 | rm -f core conftest.err conftest.$ac_obj
10004      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10005        if test "$GCC" = yes; then
10006          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10007 <        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'
10007 >        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'
10008          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009        else
10010          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 10023 | rm -f core conftest.err conftest.$ac_obj
10023        no_undefined_flag=' -z defs'
10024        if test "$GCC" = yes; then
10025          wlarc='${wl}'
10026 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10026 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10027          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10028 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10028 >          $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'
10029        else
10030          case `$CC -V 2>&1` in
10031          *"Compilers 5.0"*)
# Line 9553 | Line 10213 | x|xyes)
10213        # to ld, don't add -lc before -lgcc.
10214        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10215   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10216 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10216 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10217    $as_echo_n "(cached) " >&6
10218   else
10219    $RM conftest*
# Line 9754 | Line 10414 | esac
10414  
10415  
10416  
9757
9758
9759
9760
9761
10417    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10418   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10419  
# Line 9848 | Line 10503 | need_version=unknown
10503  
10504   case $host_os in
10505   aix3*)
10506 <  version_type=linux
10506 >  version_type=linux # correct to gnu/linux during the next big refactor
10507    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10508    shlibpath_var=LIBPATH
10509  
# Line 9857 | Line 10512 | aix3*)
10512    ;;
10513  
10514   aix[4-9]*)
10515 <  version_type=linux
10515 >  version_type=linux # correct to gnu/linux during the next big refactor
10516    need_lib_prefix=no
10517    need_version=no
10518    hardcode_into_libs=yes
# Line 9922 | Line 10577 | beos*)
10577    ;;
10578  
10579   bsdi[45]*)
10580 <  version_type=linux
10580 >  version_type=linux # correct to gnu/linux during the next big refactor
10581    need_version=no
10582    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9941 | Line 10596 | cygwin* | mingw* | pw32* | cegcc*)
10596    need_version=no
10597    need_lib_prefix=no
10598  
10599 <  case $GCC,$host_os in
10600 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10599 >  case $GCC,$cc_basename in
10600 >  yes,*)
10601 >    # gcc
10602      library_names_spec='$libname.dll.a'
10603      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10604      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10631 | cygwin* | mingw* | pw32* | cegcc*)
10631        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10632        ;;
10633      esac
10634 +    dynamic_linker='Win32 ld.exe'
10635 +    ;;
10636 +
10637 +  *,cl*)
10638 +    # Native MSVC
10639 +    libname_spec='$name'
10640 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641 +    library_names_spec='${libname}.dll.lib'
10642 +
10643 +    case $build_os in
10644 +    mingw*)
10645 +      sys_lib_search_path_spec=
10646 +      lt_save_ifs=$IFS
10647 +      IFS=';'
10648 +      for lt_path in $LIB
10649 +      do
10650 +        IFS=$lt_save_ifs
10651 +        # Let DOS variable expansion print the short 8.3 style file name.
10652 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10653 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10654 +      done
10655 +      IFS=$lt_save_ifs
10656 +      # Convert to MSYS style.
10657 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10658 +      ;;
10659 +    cygwin*)
10660 +      # Convert to unix form, then to dos form, then back to unix form
10661 +      # but this time dos style (no spaces!) so that the unix form looks
10662 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10663 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10664 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10665 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10666 +      ;;
10667 +    *)
10668 +      sys_lib_search_path_spec="$LIB"
10669 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10670 +        # It is most probably a Windows format PATH.
10671 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10672 +      else
10673 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10674 +      fi
10675 +      # FIXME: find the short name or the path components, as spaces are
10676 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10677 +      ;;
10678 +    esac
10679 +
10680 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10681 +    postinstall_cmds='base_file=`basename \${file}`~
10682 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10683 +      dldir=$destdir/`dirname \$dlpath`~
10684 +      test -d \$dldir || mkdir -p \$dldir~
10685 +      $install_prog $dir/$dlname \$dldir/$dlname'
10686 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10687 +      dlpath=$dir/\$dldll~
10688 +       $RM \$dlpath'
10689 +    shlibpath_overrides_runpath=yes
10690 +    dynamic_linker='Win32 link.exe'
10691      ;;
10692  
10693    *)
10694 +    # Assume MSVC wrapper
10695      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10696 +    dynamic_linker='Win32 ld.exe'
10697      ;;
10698    esac
9984  dynamic_linker='Win32 ld.exe'
10699    # FIXME: first we should search . and the directory the executable is in
10700    shlibpath_var=PATH
10701    ;;
# Line 10002 | Line 10716 | darwin* | rhapsody*)
10716    ;;
10717  
10718   dgux*)
10719 <  version_type=linux
10719 >  version_type=linux # correct to gnu/linux during the next big refactor
10720    need_lib_prefix=no
10721    need_version=no
10722    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10010 | Line 10724 | dgux*)
10724    shlibpath_var=LD_LIBRARY_PATH
10725    ;;
10726  
10013 freebsd1*)
10014  dynamic_linker=no
10015  ;;
10016
10727   freebsd* | dragonfly*)
10728    # DragonFly does not have aout.  When/if they implement a new
10729    # versioning mechanism, adjust this.
# Line 10021 | Line 10731 | freebsd* | dragonfly*)
10731      objformat=`/usr/bin/objformat`
10732    else
10733      case $host_os in
10734 <    freebsd[123]*) objformat=aout ;;
10734 >    freebsd[23].*) objformat=aout ;;
10735      *) objformat=elf ;;
10736      esac
10737    fi
# Line 10039 | Line 10749 | freebsd* | dragonfly*)
10749    esac
10750    shlibpath_var=LD_LIBRARY_PATH
10751    case $host_os in
10752 <  freebsd2*)
10752 >  freebsd2.*)
10753      shlibpath_overrides_runpath=yes
10754      ;;
10755    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10059 | Line 10769 | freebsd* | dragonfly*)
10769    ;;
10770  
10771   gnu*)
10772 <  version_type=linux
10772 >  version_type=linux # correct to gnu/linux during the next big refactor
10773    need_lib_prefix=no
10774    need_version=no
10775    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10776    soname_spec='${libname}${release}${shared_ext}$major'
10777    shlibpath_var=LD_LIBRARY_PATH
10778 +  shlibpath_overrides_runpath=no
10779    hardcode_into_libs=yes
10780    ;;
10781  
10782   haiku*)
10783 <  version_type=linux
10783 >  version_type=linux # correct to gnu/linux during the next big refactor
10784    need_lib_prefix=no
10785    need_version=no
10786    dynamic_linker="$host_os runtime_loader"
# Line 10130 | Line 10841 | hpux9* | hpux10* | hpux11*)
10841    ;;
10842  
10843   interix[3-9]*)
10844 <  version_type=linux
10844 >  version_type=linux # correct to gnu/linux during the next big refactor
10845    need_lib_prefix=no
10846    need_version=no
10847    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10146 | Line 10857 | irix5* | irix6* | nonstopux*)
10857      nonstopux*) version_type=nonstopux ;;
10858      *)
10859          if test "$lt_cv_prog_gnu_ld" = yes; then
10860 <                version_type=linux
10860 >                version_type=linux # correct to gnu/linux during the next big refactor
10861          else
10862                  version_type=irix
10863          fi ;;
# Line 10183 | Line 10894 | linux*oldld* | linux*aout* | linux*coff*
10894    dynamic_linker=no
10895    ;;
10896  
10897 < # This must be Linux ELF.
10897 > # This must be glibc/ELF.
10898   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10899 <  version_type=linux
10899 >  version_type=linux # correct to gnu/linux during the next big refactor
10900    need_lib_prefix=no
10901    need_version=no
10902    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10195 | Line 10906 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10906    shlibpath_overrides_runpath=no
10907  
10908    # Some binutils ld are patched to set DT_RUNPATH
10909 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10909 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10910    $as_echo_n "(cached) " >&6
10911   else
10912    lt_cv_shlibpath_overrides_runpath=no
# Line 10267 | Line 10978 | netbsd*)
10978    ;;
10979  
10980   newsos6)
10981 <  version_type=linux
10981 >  version_type=linux # correct to gnu/linux during the next big refactor
10982    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983    shlibpath_var=LD_LIBRARY_PATH
10984    shlibpath_overrides_runpath=yes
# Line 10336 | Line 11047 | rdos*)
11047    ;;
11048  
11049   solaris*)
11050 <  version_type=linux
11050 >  version_type=linux # correct to gnu/linux during the next big refactor
11051    need_lib_prefix=no
11052    need_version=no
11053    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10361 | Line 11072 | sunos4*)
11072    ;;
11073  
11074   sysv4 | sysv4.3*)
11075 <  version_type=linux
11075 >  version_type=linux # correct to gnu/linux during the next big refactor
11076    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077    soname_spec='${libname}${release}${shared_ext}$major'
11078    shlibpath_var=LD_LIBRARY_PATH
# Line 10385 | Line 11096 | sysv4 | sysv4.3*)
11096  
11097   sysv4*MP*)
11098    if test -d /usr/nec ;then
11099 <    version_type=linux
11099 >    version_type=linux # correct to gnu/linux during the next big refactor
11100      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11101      soname_spec='$libname${shared_ext}.$major'
11102      shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11127 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11127  
11128   tpf*)
11129    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11130 <  version_type=linux
11130 >  version_type=linux # correct to gnu/linux during the next big refactor
11131    need_lib_prefix=no
11132    need_version=no
11133    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10426 | Line 11137 | tpf*)
11137    ;;
11138  
11139   uts4*)
11140 <  version_type=linux
11140 >  version_type=linux # correct to gnu/linux during the next big refactor
11141    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142    soname_spec='${libname}${release}${shared_ext}$major'
11143    shlibpath_var=LD_LIBRARY_PATH
# Line 10615 | Line 11326 | else
11326    # if libdl is installed we need to link against it
11327      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11329 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11330    $as_echo_n "(cached) " >&6
11331   else
11332    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11360 | LIBS=$ac_check_lib_save_LIBS
11360   fi
11361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11363 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11364    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365   else
11366  
# Line 10663 | Line 11374 | fi
11374  
11375    *)
11376      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11377 > if test "x$ac_cv_func_shl_load" = xyes; then :
11378    lt_cv_dlopen="shl_load"
11379   else
11380    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11382 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11383    $as_echo_n "(cached) " >&6
11384   else
11385    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11413 | LIBS=$ac_check_lib_save_LIBS
11413   fi
11414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11415   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11416 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11416 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11417    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11418   else
11419    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11420 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11420 > if test "x$ac_cv_func_dlopen" = xyes; then :
11421    lt_cv_dlopen="dlopen"
11422   else
11423    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11424   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11425 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11425 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11426    $as_echo_n "(cached) " >&6
11427   else
11428    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11456 | LIBS=$ac_check_lib_save_LIBS
11456   fi
11457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11458   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11459 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11459 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11460    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11461   else
11462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11463   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11464 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11464 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11465    $as_echo_n "(cached) " >&6
11466   else
11467    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11495 | LIBS=$ac_check_lib_save_LIBS
11495   fi
11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11497   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11498 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11498 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11499    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11500   else
11501    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11502   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11503 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11503 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11504    $as_echo_n "(cached) " >&6
11505   else
11506    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11534 | LIBS=$ac_check_lib_save_LIBS
11534   fi
11535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11536   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11537 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11537 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11538    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11539   fi
11540  
# Line 10864 | Line 11575 | fi
11575  
11576      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11577   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11578 < if test "${lt_cv_dlopen_self+set}" = set; then :
11578 > if ${lt_cv_dlopen_self+:} false; then :
11579    $as_echo_n "(cached) " >&6
11580   else
11581            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11628 | else
11628   /* When -fvisbility=hidden is used, assume the code has been annotated
11629     correspondingly for the symbols needed.  */
11630   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11631 < void fnord () __attribute__((visibility("default")));
11631 > int fnord () __attribute__((visibility("default")));
11632   #endif
11633  
11634 < void fnord () { int i=42; }
11634 > int fnord () { return 42; }
11635   int main ()
11636   {
11637    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11681 | $as_echo "$lt_cv_dlopen_self" >&6; }
11681        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11682        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11683   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11684 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11684 > if ${lt_cv_dlopen_self_static+:} false; then :
11685    $as_echo_n "(cached) " >&6
11686   else
11687            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11734 | else
11734   /* When -fvisbility=hidden is used, assume the code has been annotated
11735     correspondingly for the symbols needed.  */
11736   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11737 < void fnord () __attribute__((visibility("default")));
11737 > int fnord () __attribute__((visibility("default")));
11738   #endif
11739  
11740 < void fnord () { int i=42; }
11740 > int fnord () { return 42; }
11741   int main ()
11742   {
11743    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11208 | Line 11919 | CC="$lt_save_CC"
11919  
11920  
11921  
11922 +
11923 +
11924          ac_config_commands="$ac_config_commands libtool"
11925  
11926  
# Line 11218 | Line 11931 | CC="$lt_save_CC"
11931  
11932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11933   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11934 < if test "${libltdl_cv_shlibext+set}" = set; then :
11934 > if ${libltdl_cv_shlibext+:} false; then :
11935    $as_echo_n "(cached) " >&6
11936   else
11937  
11938   module=yes
11939   eval libltdl_cv_shlibext=$shrext_cmds
11940 + module=no
11941 + eval libltdl_cv_shrext=$shrext_cmds
11942  
11943   fi
11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11235 | Line 11950 | cat >>confdefs.h <<_ACEOF
11950   _ACEOF
11951  
11952   fi
11953 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11954 +
11955 + cat >>confdefs.h <<_ACEOF
11956 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11957 + _ACEOF
11958 +
11959 + fi
11960  
11961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11962   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11963 < if test "${lt_cv_module_path_var+set}" = set; then :
11963 > if ${lt_cv_module_path_var+:} false; then :
11964    $as_echo_n "(cached) " >&6
11965   else
11966    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 11977 | fi
11977  
11978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11979   $as_echo_n "checking for the default library search path... " >&6; }
11980 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11980 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11981    $as_echo_n "(cached) " >&6
11982   else
11983    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 12014 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12014   LIBADD_DLOPEN=
12015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12016   $as_echo_n "checking for library containing dlopen... " >&6; }
12017 < if test "${ac_cv_search_dlopen+set}" = set; then :
12017 > if ${ac_cv_search_dlopen+:} false; then :
12018    $as_echo_n "(cached) " >&6
12019   else
12020    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 12048 | for ac_lib in '' dl; do
12048   fi
12049   rm -f core conftest.err conftest.$ac_objext \
12050      conftest$ac_exeext
12051 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12051 >  if ${ac_cv_search_dlopen+:} false; then :
12052    break
12053   fi
12054   done
12055 < if test "${ac_cv_search_dlopen+set}" = set; then :
12055 > if ${ac_cv_search_dlopen+:} false; then :
12056  
12057   else
12058    ac_cv_search_dlopen=no
# Line 11375 | Line 12097 | $as_echo "#define HAVE_LIBDL 1" >>confde
12097   else
12098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12099   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12100 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12100 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12101    $as_echo_n "(cached) " >&6
12102   else
12103    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12131 | LIBS=$ac_check_lib_save_LIBS
12131   fi
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12133   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12134 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12134 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12135  
12136   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12137  
# Line 11429 | Line 12151 | then
12151    for ac_func in dlerror
12152   do :
12153    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12154 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12154 > if test "x$ac_cv_func_dlerror" = xyes; then :
12155    cat >>confdefs.h <<_ACEOF
12156   #define HAVE_DLERROR 1
12157   _ACEOF
# Line 11443 | Line 12165 | fi
12165  
12166   LIBADD_SHL_LOAD=
12167   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12168 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12168 > if test "x$ac_cv_func_shl_load" = xyes; then :
12169  
12170   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12171  
# Line 11451 | Line 12173 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12173   else
12174    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12175   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12176 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12176 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12177    $as_echo_n "(cached) " >&6
12178   else
12179    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12207 | LIBS=$ac_check_lib_save_LIBS
12207   fi
12208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12209   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12210 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12210 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12211  
12212   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12213  
# Line 11501 | Line 12223 | case $host_os in
12223   darwin[1567].*)
12224   # We only want this for pre-Mac OS X 10.4.
12225    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12226 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12226 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12227  
12228   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12229  
# Line 11515 | Line 12237 | beos*)
12237   cygwin* | mingw* | os2* | pw32*)
12238    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12239   "
12240 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12240 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12241    ac_have_decl=1
12242   else
12243    ac_have_decl=0
# Line 11531 | Line 12253 | esac
12253  
12254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12255   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12256 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12256 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12257    $as_echo_n "(cached) " >&6
12258   else
12259    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12287 | LIBS=$ac_check_lib_save_LIBS
12287   fi
12288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12289   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12290 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12290 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12291  
12292   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12293  
# Line 11599 | Line 12321 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12321  
12322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12323   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12324 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12324 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12325    $as_echo_n "(cached) " >&6
12326   else
12327    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12371 | if test x"$lt_cv_sys_symbol_underscore"
12371       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12372          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12373   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12374 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12374 > if ${libltdl_cv_need_uscore+:} false; then :
12375    $as_echo_n "(cached) " >&6
12376   else
12377    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12427 | else
12427   /* When -fvisbility=hidden is used, assume the code has been annotated
12428     correspondingly for the symbols needed.  */
12429   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12430 < void fnord () __attribute__((visibility("default")));
12430 > int fnord () __attribute__((visibility("default")));
12431   #endif
12432  
12433 < void fnord () { int i=42; }
12433 > int fnord () { return 42; }
12434   int main ()
12435   {
12436    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12487 | fi
12487  
12488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12489   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12490 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12490 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12491    $as_echo_n "(cached) " >&6
12492   else
12493    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12593 | for ac_header in argz.h
12593   do :
12594    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12595   "
12596 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12596 > if test "x$ac_cv_header_argz_h" = xyes; then :
12597    cat >>confdefs.h <<_ACEOF
12598   #define HAVE_ARGZ_H 1
12599   _ACEOF
# Line 11885 | Line 12607 | ac_fn_c_check_type "$LINENO" "error_t" "
12607   #  include <argz.h>
12608   #endif
12609   "
12610 < if test "x$ac_cv_type_error_t" = x""yes; then :
12610 > if test "x$ac_cv_type_error_t" = xyes; then :
12611  
12612   cat >>confdefs.h <<_ACEOF
12613   #define HAVE_ERROR_T 1
# Line 11908 | Line 12630 | for ac_func in argz_add argz_append argz
12630   do :
12631    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12632   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12633 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12633 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12634    cat >>confdefs.h <<_ACEOF
12635   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12636   _ACEOF
# Line 11926 | Line 12647 | done
12647   if test -z "$ARGZ_H"; then :
12648    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12649   $as_echo_n "checking if argz actually works... " >&6; }
12650 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12650 > if ${lt_cv_sys_argz_works+:} false; then :
12651    $as_echo_n "(cached) " >&6
12652   else
12653    case $host_os in #(
# Line 11957 | Line 12678 | else
12678   fi
12679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12680   $as_echo "$lt_cv_sys_argz_works" >&6; }
12681 <     if test $lt_cv_sys_argz_works = yes; then :
12681 >     if test "$lt_cv_sys_argz_works" = yes; then :
12682  
12683   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12684  
# Line 11974 | Line 12695 | fi
12695  
12696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12697   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12698 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12698 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12699    $as_echo_n "(cached) " >&6
12700   else
12701    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12737 | if test "x$with_included_ltdl" != xyes;
12737    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12738  
12739   "
12740 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12740 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12741    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12742              #include <ltdl.h>
12743   "
12744 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12744 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12745    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12746   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12747 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12747 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12748    $as_echo_n "(cached) " >&6
12749   else
12750    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12778 | LIBS=$ac_check_lib_save_LIBS
12778   fi
12779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12780   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12781 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12781 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12782    with_included_ltdl=no
12783   else
12784    with_included_ltdl=yes
# Line 12086 | Line 12807 | fi
12807   if test -n "$with_ltdl_include"; then
12808    if test -f "$with_ltdl_include/ltdl.h"; then :
12809    else
12810 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12810 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12811    fi
12812   else
12813    with_ltdl_include=no
# Line 12102 | Line 12823 | fi
12823   if test -n "$with_ltdl_lib"; then
12824    if test -f "$with_ltdl_lib/libltdl.la"; then :
12825    else
12826 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12826 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12827    fi
12828   else
12829    with_ltdl_lib=no
# Line 12111 | Line 12832 | fi
12832   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12833    ,yes,no,no,)
12834          case $enable_ltdl_convenience in
12835 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12835 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12836    "") enable_ltdl_convenience=yes
12837        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12838   esac
# Line 12139 | Line 12860 | $as_echo "#define HAVE_LTDL 1" >>confdef
12860          LTDLINCL=
12861          ;;
12862    ,no*,no,*)
12863 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12863 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12864          ;;
12865    *)    with_included_ltdl=no
12866          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 12927 | do :
12927    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12929   "
12930 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
12930 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12931    cat >>confdefs.h <<_ACEOF
12932   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12933   _ACEOF
# Line 12221 | Line 12941 | for ac_func in closedir opendir readdir
12941   do :
12942    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12943   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12944 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
12944 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12945    cat >>confdefs.h <<_ACEOF
12946   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12947   _ACEOF
# Line 12239 | Line 12958 | for ac_func in strlcat strlcpy
12958   do :
12959    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12960   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12961 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
12961 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12962    cat >>confdefs.h <<_ACEOF
12963   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12964   _ACEOF
# Line 12260 | Line 12978 | cat >>confdefs.h <<_ACEOF
12978   _ACEOF
12979  
12980  
12981 + name=
12982 + eval "lt_libprefix=\"$libname_spec\""
12983 +
12984 + cat >>confdefs.h <<_ACEOF
12985 + #define LT_LIBPREFIX "$lt_libprefix"
12986 + _ACEOF
12987 +
12988 +
12989   name=ltdl
12990 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12990 > eval "LTDLOPEN=\"$libname_spec\""
12991  
12992  
12993  
# Line 12279 | Line 13005 | LIBTOOL="$LIBTOOL --silent"
13005  
13006    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13007   $as_echo_n "checking for library containing socket... " >&6; }
13008 < if test "${ac_cv_search_socket+set}" = set; then :
13008 > if ${ac_cv_search_socket+:} false; then :
13009    $as_echo_n "(cached) " >&6
13010   else
13011    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 13039 | for ac_lib in '' socket; do
13039   fi
13040   rm -f core conftest.err conftest.$ac_objext \
13041      conftest$ac_exeext
13042 <  if test "${ac_cv_search_socket+set}" = set; then :
13042 >  if ${ac_cv_search_socket+:} false; then :
13043    break
13044   fi
13045   done
13046 < if test "${ac_cv_search_socket+set}" = set; then :
13046 > if ${ac_cv_search_socket+:} false; then :
13047  
13048   else
13049    ac_cv_search_socket=no
# Line 12332 | Line 13058 | if test "$ac_res" != no; then :
13058    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13059  
13060   else
13061 <  as_fn_error "socket library not found" "$LINENO" 5
13061 >  as_fn_error $? "socket library not found" "$LINENO" 5
13062 > fi
13063 >
13064 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13065 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13066 > if ${ac_cv_search_inet_ntoa+:} false; then :
13067 >  $as_echo_n "(cached) " >&6
13068 > else
13069 >  ac_func_search_save_LIBS=$LIBS
13070 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 > /* end confdefs.h.  */
13072 >
13073 > /* Override any GCC internal prototype to avoid an error.
13074 >   Use char because int might match the return type of a GCC
13075 >   builtin and then its argument prototype would still apply.  */
13076 > #ifdef __cplusplus
13077 > extern "C"
13078 > #endif
13079 > char inet_ntoa ();
13080 > int
13081 > main ()
13082 > {
13083 > return inet_ntoa ();
13084 >  ;
13085 >  return 0;
13086 > }
13087 > _ACEOF
13088 > for ac_lib in '' nsl; do
13089 >  if test -z "$ac_lib"; then
13090 >    ac_res="none required"
13091 >  else
13092 >    ac_res=-l$ac_lib
13093 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13094 >  fi
13095 >  if ac_fn_c_try_link "$LINENO"; then :
13096 >  ac_cv_search_inet_ntoa=$ac_res
13097 > fi
13098 > rm -f core conftest.err conftest.$ac_objext \
13099 >    conftest$ac_exeext
13100 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13101 >  break
13102 > fi
13103 > done
13104 > if ${ac_cv_search_inet_ntoa+:} false; then :
13105 >
13106 > else
13107 >  ac_cv_search_inet_ntoa=no
13108 > fi
13109 > rm conftest.$ac_ext
13110 > LIBS=$ac_func_search_save_LIBS
13111 > fi
13112 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13113 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13114 > ac_res=$ac_cv_search_inet_ntoa
13115 > if test "$ac_res" != no; then :
13116 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13117 >
13118 > fi
13119 >
13120 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13121 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13122 > if ${ac_cv_search_inet_aton+:} false; then :
13123 >  $as_echo_n "(cached) " >&6
13124 > else
13125 >  ac_func_search_save_LIBS=$LIBS
13126 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 > /* end confdefs.h.  */
13128 >
13129 > /* Override any GCC internal prototype to avoid an error.
13130 >   Use char because int might match the return type of a GCC
13131 >   builtin and then its argument prototype would still apply.  */
13132 > #ifdef __cplusplus
13133 > extern "C"
13134 > #endif
13135 > char inet_aton ();
13136 > int
13137 > main ()
13138 > {
13139 > return inet_aton ();
13140 >  ;
13141 >  return 0;
13142 > }
13143 > _ACEOF
13144 > for ac_lib in '' resolv; do
13145 >  if test -z "$ac_lib"; then
13146 >    ac_res="none required"
13147 >  else
13148 >    ac_res=-l$ac_lib
13149 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13150 >  fi
13151 >  if ac_fn_c_try_link "$LINENO"; then :
13152 >  ac_cv_search_inet_aton=$ac_res
13153 > fi
13154 > rm -f core conftest.err conftest.$ac_objext \
13155 >    conftest$ac_exeext
13156 >  if ${ac_cv_search_inet_aton+:} false; then :
13157 >  break
13158 > fi
13159 > done
13160 > if ${ac_cv_search_inet_aton+:} false; then :
13161 >
13162 > else
13163 >  ac_cv_search_inet_aton=no
13164 > fi
13165 > rm conftest.$ac_ext
13166 > LIBS=$ac_func_search_save_LIBS
13167 > fi
13168 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13169 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13170 > ac_res=$ac_cv_search_inet_aton
13171 > if test "$ac_res" != no; then :
13172 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13173 >
13174   fi
13175  
13176    for ac_func in inet_aton inet_ntop inet_pton
13177   do :
13178    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13179   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13180 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
13180 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13181    cat >>confdefs.h <<_ACEOF
13182   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13183   _ACEOF
# Line 12353 | Line 13190 | done
13190     #include <netdb.h>
13191  
13192   "
13193 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13193 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13194  
13195   cat >>confdefs.h <<_ACEOF
13196   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13203 | ac_fn_c_check_type "$LINENO" "struct soc
13203     #include <netdb.h>
13204  
13205   "
13206 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13206 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13207  
13208   cat >>confdefs.h <<_ACEOF
13209   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13216 | ac_fn_c_check_type "$LINENO" "struct add
13216     #include <netdb.h>
13217  
13218   "
13219 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13219 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13220  
13221   cat >>confdefs.h <<_ACEOF
13222   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13228 | fi
13228    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13229    <sys/socket.h>
13230   "
13231 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13231 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13232  
13233   cat >>confdefs.h <<_ACEOF
13234   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12402 | Line 13239 | fi
13239  
13240  
13241  
13242 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13243 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13244 <
12408 < cat >>confdefs.h <<_ACEOF
12409 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12410 < _ACEOF
12411 <
12412 <
12413 < else
13242 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13243 > "
13244 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13245  
13246   $as_echo "#define IPV6 1" >>confdefs.h
13247  
# Line 12421 | Line 13252 | fi
13252   # Checks for typedefs, structures, and compiler characteristics.
13253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13254   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13255 < if test "${ac_cv_c_bigendian+set}" = set; then :
13255 > if ${ac_cv_c_bigendian+:} false; then :
13256    $as_echo_n "(cached) " >&6
13257   else
13258    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13470 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13470  
13471       ;; #(
13472     *)
13473 <     as_fn_error "unknown endianness
13473 >     as_fn_error $? "unknown endianness
13474   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13475   esac
13476  
# Line 12652 | Line 13483 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13483   do :
13484    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13485   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13486 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13486 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13487    cat >>confdefs.h <<_ACEOF
13488   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13489   _ACEOF
# Line 12682 | Line 13512 | do :
13512    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13513   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13514   "
13515 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13515 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13516    cat >>confdefs.h <<_ACEOF
13517   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13518   _ACEOF
# Line 12710 | Line 13539 | done
13539  
13540  
13541  
12713
12714
12715
12716
12717
12718
12719
12720
12721 # check for /dev/null so we can use it to hold evil fd's
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12723 $as_echo_n "checking for /dev/null... " >&6; }
12724 if test -c /dev/null; then :
12725
12726
12727 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12728
12729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730 $as_echo "yes" >&6; }
12731 else
12732
12733
12734 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12735
12736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12737 $as_echo "no - using devnull.log" >&6; }
12738 fi
12739
12740
13542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13543   $as_echo_n "checking for library containing crypt... " >&6; }
13544 < if test "${ac_cv_search_crypt+set}" = set; then :
13544 > if ${ac_cv_search_crypt+:} false; then :
13545    $as_echo_n "(cached) " >&6
13546   else
13547    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13575 | for ac_lib in '' crypt; do
13575   fi
13576   rm -f core conftest.err conftest.$ac_objext \
13577      conftest$ac_exeext
13578 <  if test "${ac_cv_search_crypt+set}" = set; then :
13578 >  if ${ac_cv_search_crypt+:} false; then :
13579    break
13580   fi
13581   done
13582 < if test "${ac_cv_search_crypt+set}" = set; then :
13582 > if ${ac_cv_search_crypt+:} false; then :
13583  
13584   else
13585    ac_cv_search_crypt=no
# Line 12797 | Line 13598 | fi
13598  
13599  
13600  
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
13601   # Check whether --with-libpcre-path was given.
13602   if test "${with_libpcre_path+set}" = set; then :
13603    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 12889 | Line 13615 | fi
13615   if test "$libpcre" = "yes"; then :
13616  
13617    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13618 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13618 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13619    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13620   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13621 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13621 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13622    $as_echo_n "(cached) " >&6
13623   else
13624    ac_check_lib_save_LIBS=$LIBS
# Line 12926 | Line 13652 | LIBS=$ac_check_lib_save_LIBS
13652   fi
13653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13654   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13655 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13655 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13656  
13657        LIBS="-lpcre $LIBS"
13658  
# Line 12994 | Line 13720 | if test "$cf_enable_openssl" != "no"; th
13720    fi
13721  
13722        if test ! -z "$cf_openssl_basedir"; then
12997    LIBS="-lcrypto -lssl $LIBS"
13723      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13724   $as_echo "$cf_openssl_basedir" >&6; }
13725      cf_enable_openssl="yes"
13001
13002 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003
13726    else
13727      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13728   $as_echo "not found. Please check your path." >&6; }
# Line 13013 | Line 13735 | $as_echo "disabled" >&6; }
13735   fi
13736  
13737   if test "$cf_enable_openssl" != "no"; then :
13738 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13739 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13738 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13739 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13740    if test "$cross_compiling" = yes; then :
13741    cf_openssl_version_ok=no
13742   else
13743    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744   /* end confdefs.h.  */
13745  
13746 +
13747      #include <openssl/opensslv.h>
13748      #include <stdlib.h>
13749   int
13750   main ()
13751   {
13752 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13752 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13753    ;
13754    return 0;
13755   }
# Line 13045 | Line 13768 | fi
13768    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13769   $as_echo "found" >&6; }
13770  
13771 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13771 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13772 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13773 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13774 >  $as_echo_n "(cached) " >&6
13775 > else
13776 >  ac_check_lib_save_LIBS=$LIBS
13777 > LIBS="-lssl  $LIBS"
13778 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 > /* end confdefs.h.  */
13780 >
13781 > /* Override any GCC internal prototype to avoid an error.
13782 >   Use char because int might match the return type of a GCC
13783 >   builtin and then its argument prototype would still apply.  */
13784 > #ifdef __cplusplus
13785 > extern "C"
13786 > #endif
13787 > char SSL_connect ();
13788 > int
13789 > main ()
13790 > {
13791 > return SSL_connect ();
13792 >  ;
13793 >  return 0;
13794 > }
13795 > _ACEOF
13796 > if ac_fn_c_try_link "$LINENO"; then :
13797 >  ac_cv_lib_ssl_SSL_connect=yes
13798 > else
13799 >  ac_cv_lib_ssl_SSL_connect=no
13800 > fi
13801 > rm -f core conftest.err conftest.$ac_objext \
13802 >    conftest$ac_exeext conftest.$ac_ext
13803 > LIBS=$ac_check_lib_save_LIBS
13804 > fi
13805 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13806 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13807 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13808 >  cat >>confdefs.h <<_ACEOF
13809 > #define HAVE_LIBSSL 1
13810 > _ACEOF
13811 >
13812 >  LIBS="-lssl $LIBS"
13813 >
13814 > fi
13815 >
13816 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13817 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13818   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13819 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13819 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13820    $as_echo_n "(cached) " >&6
13821   else
13822    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 13850 | LIBS=$ac_check_lib_save_LIBS
13850   fi
13851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13852   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13853 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13853 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13854    cat >>confdefs.h <<_ACEOF
13855   #define HAVE_LIBCRYPTO 1
13856   _ACEOF
# Line 13090 | Line 13859 | _ACEOF
13859  
13860   fi
13861  
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
13862   fi
13863  
13864   else
# Line 13118 | Line 13868 | $as_echo "no - OpenSSL support disabled"
13868   fi
13869   fi
13870  
13871 < if test "$cf_enable_openssl" = yes; then
13871 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13872    ENABLE_SSL_TRUE=
13873    ENABLE_SSL_FALSE='#'
13874   else
# Line 13323 | Line 14073 | _ACEOF
14073    if test "$cross_compiling" = yes; then :
14074    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14075   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076 < as_fn_error "cannot run test program while cross compiling
14077 < See \`config.log' for more details." "$LINENO" 5; }
14076 > as_fn_error $? "cannot run test program while cross compiling
14077 > See \`config.log' for more details" "$LINENO" 5; }
14078   else
14079    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080   /* end confdefs.h.  */
# Line 13357 | Line 14107 | else
14107   #endif
14108   _syscall1(int, epoll_create, int, size)
14109   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14110  
14111 + int
14112 + main ()
14113 + {
14114 + return epoll_create(256) == -1 ? 1 : 0
14115 +  ;
14116 +  return 0;
14117 + }
14118   _ACEOF
14119   if ac_fn_c_try_run "$LINENO"; then :
14120    is_epoll_mechanism_available="yes"
# Line 13428 | Line 14184 | _ACEOF
14184    if test "$cross_compiling" = yes; then :
14185    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14186   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14187 < as_fn_error "cannot run test program while cross compiling
14188 < See \`config.log' for more details." "$LINENO" 5; }
14187 > as_fn_error $? "cannot run test program while cross compiling
14188 > See \`config.log' for more details" "$LINENO" 5; }
14189   else
14190    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191   /* end confdefs.h.  */
14192  
14193 + #define _GNU_SOURCE
14194   #include <fcntl.h>
14195 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
14195 > static unsigned int have_f_setsig = 0;
14196  
14197   int
14198   main ()
14199   {
14200  
14201 + #ifdef F_SETSIG
14202 +  have_f_setsig = 1;
14203 + #endif
14204 +  return have_f_setsig == 0;
14205 +
14206    ;
14207    return 0;
14208   }
# Line 13578 | Line 14336 | rm -f core conftest.err conftest.$ac_obj
14336      if test "$optimal_iopoll_mechanism" = "none" ; then
14337        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14338   $as_echo "none" >&6; }
14339 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14339 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14340      else
14341        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14342        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14351 | $as_echo "$selected_iopoll_mechanism" >&
14351      else
14352        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14353   $as_echo "none" >&6; }
14354 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14354 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14355      fi
14356    fi
14357        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13634 | Line 14392 | _ACEOF
14392  
14393  
14394  
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
14395    # Check whether --enable-efnet was given.
14396   if test "${enable_efnet+set}" = set; then :
14397    enableval=$enable_efnet; efnet="$enableval"
# Line 13661 | Line 14404 | fi
14404  
14405   $as_echo "#define EFNET 1" >>confdefs.h
14406  
13664
13665 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13666
14407          else
14408                  use_efnet="no"
14409    fi
# Line 13722 | Line 14462 | fi
14462    fi
14463  
14464  
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
14465  
14466    prefix_NONE=
14467    exec_prefix_NONE=
# Line 13848 | Line 14548 | _ACEOF
14548    test "$exec_prefix_NONE" && exec_prefix=NONE
14549  
14550  
14551 < 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"
14551 > 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"
14552  
14553  
14554   cat >confcache <<\_ACEOF
# Line 13915 | Line 14615 | $as_echo "$as_me: WARNING: cache variabl
14615       :end' >>confcache
14616   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14617    if test -w "$cache_file"; then
14618 <    test "x$cache_file" != "x/dev/null" &&
14618 >    if test "x$cache_file" != "x/dev/null"; then
14619        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14620   $as_echo "$as_me: updating cache $cache_file" >&6;}
14621 <    cat confcache >$cache_file
14621 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14622 >        cat confcache >"$cache_file"
14623 >      else
14624 >        case $cache_file in #(
14625 >        */* | ?:*)
14626 >          mv -f confcache "$cache_file"$$ &&
14627 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14628 >        *)
14629 >          mv -f confcache "$cache_file" ;;
14630 >        esac
14631 >      fi
14632 >    fi
14633    else
14634      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14635   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 14645 | DEFS=-DHAVE_CONFIG_H
14645  
14646   ac_libobjs=
14647   ac_ltlibobjs=
14648 + U=
14649   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14650    # 1. Remove the extension, and $U if already installed.
14651    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13957 | Line 14669 | else
14669   fi
14670  
14671   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14672 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14672 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14673   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14674   fi
14675   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14676 <  as_fn_error "conditional \"AMDEP\" was never defined.
14676 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14677   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14678   fi
14679   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14680 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14680 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14681   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14682   fi
14683   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14684 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14684 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14685   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14686   fi
14687   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14688 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14688 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14689   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14690   fi
14691   LT_CONFIG_H=config.h
# Line 13995 | Line 14707 | LT_CONFIG_H=config.h
14707  
14708  
14709   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14710 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14710 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14711   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14712   fi
14713   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14714 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14714 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14715   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14716   fi
14717   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14718 <  as_fn_error "conditional \"EFNET\" was never defined.
14718 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14719   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14720   fi
14721  
14722 < : ${CONFIG_STATUS=./config.status}
14722 > : "${CONFIG_STATUS=./config.status}"
14723   ac_write_fail=0
14724   ac_clean_files_save=$ac_clean_files
14725   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 14820 | fi
14820   IFS=" ""        $as_nl"
14821  
14822   # Find who we are.  Look in the path if we contain no directory separator.
14823 + as_myself=
14824   case $0 in #((
14825    *[\\/]* ) as_myself=$0 ;;
14826    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 14866 | export LANGUAGE
14866   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14867  
14868  
14869 < # as_fn_error ERROR [LINENO LOG_FD]
14870 < # ---------------------------------
14869 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14870 > # ----------------------------------------
14871   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14872   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14873 < # script with status $?, using 1 if that was 0.
14873 > # script with STATUS, using 1 if that was 0.
14874   as_fn_error ()
14875   {
14876 <  as_status=$?; test $as_status -eq 0 && as_status=1
14877 <  if test "$3"; then
14878 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14879 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14876 >  as_status=$1; test $as_status -eq 0 && as_status=1
14877 >  if test "$4"; then
14878 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14879 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14880    fi
14881 <  $as_echo "$as_me: error: $1" >&2
14881 >  $as_echo "$as_me: error: $2" >&2
14882    as_fn_exit $as_status
14883   } # as_fn_error
14884  
# Line 14361 | Line 15074 | $as_echo X"$as_dir" |
15074        test -d "$as_dir" && break
15075      done
15076      test -z "$as_dirs" || eval "mkdir $as_dirs"
15077 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15077 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15078  
15079  
15080   } # as_fn_mkdir_p
# Line 14414 | Line 15127 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15127   # report actual input values of CONFIG_FILES etc. instead of their
15128   # values after options handling.
15129   ac_log="
15130 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15131 < generated by GNU Autoconf 2.65.  Invocation command line was
15130 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15131 > generated by GNU Autoconf 2.68.  Invocation command line was
15132  
15133    CONFIG_FILES    = $CONFIG_FILES
15134    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14480 | Line 15193 | _ACEOF
15193   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15194   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15195   ac_cs_version="\\
15196 < ircd-hybrid config.status 7.3-rc1
15197 < configured by $0, generated by GNU Autoconf 2.65,
15196 > ircd-hybrid config.status 8beta1
15197 > configured by $0, generated by GNU Autoconf 2.68,
15198    with options \\"\$ac_cs_config\\"
15199  
15200 < Copyright (C) 2009 Free Software Foundation, Inc.
15200 > Copyright (C) 2010 Free Software Foundation, Inc.
15201   This config.status script is free software; the Free Software Foundation
15202   gives unlimited permission to copy, distribute and modify it."
15203  
# Line 14502 | Line 15215 | ac_need_defaults=:
15215   while test $# != 0
15216   do
15217    case $1 in
15218 <  --*=*)
15218 >  --*=?*)
15219      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15220      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15221      ac_shift=:
15222      ;;
15223 +  --*=)
15224 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15225 +    ac_optarg=
15226 +    ac_shift=:
15227 +    ;;
15228    *)
15229      ac_option=$1
15230      ac_optarg=$2
# Line 14528 | Line 15246 | do
15246      $ac_shift
15247      case $ac_optarg in
15248      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15249 +    '') as_fn_error $? "missing file argument" ;;
15250      esac
15251      as_fn_append CONFIG_FILES " '$ac_optarg'"
15252      ac_need_defaults=false;;
# Line 14540 | Line 15259 | do
15259      ac_need_defaults=false;;
15260    --he | --h)
15261      # Conflict between --help and --header
15262 <    as_fn_error "ambiguous option: \`$1'
15262 >    as_fn_error $? "ambiguous option: \`$1'
15263   Try \`$0 --help' for more information.";;
15264    --help | --hel | -h )
15265      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 15268 | Try \`$0 --help' for more information.";
15268      ac_cs_silent=: ;;
15269  
15270    # This is an error.
15271 <  -*) as_fn_error "unrecognized option: \`$1'
15271 >  -*) as_fn_error $? "unrecognized option: \`$1'
15272   Try \`$0 --help' for more information." ;;
15273  
15274    *) as_fn_append ac_config_targets " $1"
# Line 14611 | Line 15330 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15330   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15331   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15332   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15333 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15334   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15335   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15336   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14631 | Line 15351 | exeext='`$ECHO "$exeext" | $SED "$delay_
15351   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15352   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15353   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15354 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15355 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15356   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15357   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15358   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15359   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15360   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15361 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15362 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15363 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15364 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15365   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15366   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15367 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15368   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15369   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15370   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 15379 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15379   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15380   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15381   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"`'
15382 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15383 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15384   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15385   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15386   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"`'
15387   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15388 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15389   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15390   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15391   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15392 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15393   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15394   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15395   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14683 | Line 15413 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15413   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15414   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15415   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"`'
15416   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15417   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15418   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15421 | hardcode_shlibpath_var='`$ECHO "$hardcod
15421   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15422   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15423   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"`'
15424   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15425   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15426   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15427   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15428   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15429 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15430   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15431   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15432   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14739 | Line 15468 | _LTECHO_EOF'
15468   # Quote evaled strings.
15469   for var in SHELL \
15470   ECHO \
15471 + PATH_SEPARATOR \
15472   SED \
15473   GREP \
15474   EGREP \
# Line 14752 | Line 15482 | reload_flag \
15482   OBJDUMP \
15483   deplibs_check_method \
15484   file_magic_cmd \
15485 + file_magic_glob \
15486 + want_nocaseglob \
15487 + DLLTOOL \
15488 + sharedlib_from_linklib_cmd \
15489   AR \
15490   AR_FLAGS \
15491 + archiver_list_spec \
15492   STRIP \
15493   RANLIB \
15494   CC \
# Line 14763 | Line 15498 | lt_cv_sys_global_symbol_pipe \
15498   lt_cv_sys_global_symbol_to_cdecl \
15499   lt_cv_sys_global_symbol_to_c_name_address \
15500   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15501 + nm_file_list_spec \
15502   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
15503   lt_prog_compiler_pic \
15504 + lt_prog_compiler_wl \
15505   lt_prog_compiler_static \
15506   lt_cv_prog_compiler_c_o \
15507   need_locks \
15508 + MANIFEST_TOOL \
15509   DSYMUTIL \
15510   NMEDIT \
15511   LIPO \
# Line 14782 | Line 15519 | with_gnu_ld \
15519   allow_undefined_flag \
15520   no_undefined_flag \
15521   hardcode_libdir_flag_spec \
14785 hardcode_libdir_flag_spec_ld \
15522   hardcode_libdir_separator \
14787 fix_srcfile_path \
15523   exclude_expsyms \
15524   include_expsyms \
15525   file_list_spec \
# Line 14820 | Line 15555 | module_cmds \
15555   module_expsym_cmds \
15556   export_symbols_cmds \
15557   prelink_cmds \
15558 + postlink_cmds \
15559   postinstall_cmds \
15560   postuninstall_cmds \
15561   finish_cmds \
# Line 14867 | Line 15603 | do
15603      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15604      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15605      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14871    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15606      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15607      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15608      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 14882 | Line 15616 | do
15616      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15617      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15618  
15619 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15619 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15620    esac
15621   done
15622  
# Line 14905 | Line 15639 | fi
15639   # after its creation but before its name has been assigned to `$tmp'.
15640   $debug ||
15641   {
15642 <  tmp=
15642 >  tmp= ac_tmp=
15643    trap 'exit_status=$?
15644 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15644 >  : "${ac_tmp:=$tmp}"
15645 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15646   ' 0
15647    trap 'as_fn_exit 1' 1 2 13 15
15648   }
# Line 14915 | Line 15650 | $debug ||
15650  
15651   {
15652    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15653 <  test -n "$tmp" && test -d "$tmp"
15653 >  test -d "$tmp"
15654   }  ||
15655   {
15656    tmp=./conf$$-$RANDOM
15657    (umask 077 && mkdir "$tmp")
15658 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15658 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15659 > ac_tmp=$tmp
15660  
15661   # Set up the scripts for CONFIG_FILES section.
15662   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 15673 | if test "x$ac_cr" = x; then
15673   fi
15674   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15675   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15676 <  ac_cs_awk_cr='\r'
15676 >  ac_cs_awk_cr='\\r'
15677   else
15678    ac_cs_awk_cr=$ac_cr
15679   fi
15680  
15681 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15681 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15682   _ACEOF
15683  
15684  
# Line 14951 | Line 15687 | _ACEOF
15687    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15688    echo "_ACEOF"
15689   } >conf$$subs.sh ||
15690 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15691 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15690 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15691 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15692   ac_delim='%!_!# '
15693   for ac_last_try in false false false false false :; do
15694    . ./conf$$subs.sh ||
15695 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15695 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15696  
15697    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15698    if test $ac_delim_n = $ac_delim_num; then
15699      break
15700    elif $ac_last_try; then
15701 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15701 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15702    else
15703      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15704    fi
# Line 14970 | Line 15706 | done
15706   rm -f conf$$subs.sh
15707  
15708   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15709 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15709 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15710   _ACEOF
15711   sed -n '
15712   h
# Line 15018 | Line 15754 | t delim
15754   rm -f conf$$subs.awk
15755   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15756   _ACAWK
15757 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15757 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15758    for (key in S) S_is_set[key] = 1
15759    FS = ""
15760  
# Line 15050 | Line 15786 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15786    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15787   else
15788    cat
15789 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15790 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15789 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15790 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15791   _ACEOF
15792  
15793 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15794 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15793 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15794 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15795   # trailing colons and then remove the whole line if VPATH becomes empty
15796   # (actually we leave an empty line to preserve line numbers).
15797   if test "x$srcdir" = x.; then
15798 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15799 < s/:*\$(srcdir):*/:/
15800 < s/:*\${srcdir}:*/:/
15801 < s/:*@srcdir@:*/:/
15802 < s/^\([^=]*=[     ]*\):*/\1/
15798 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15799 > h
15800 > s///
15801 > s/^/:/
15802 > s/[      ]*$/:/
15803 > s/:\$(srcdir):/:/g
15804 > s/:\${srcdir}:/:/g
15805 > s/:@srcdir@:/:/g
15806 > s/^:*//
15807   s/:*$//
15808 + x
15809 + s/\(=[   ]*\).*/\1/
15810 + G
15811 + s/\n//
15812   s/^[^=]*=[       ]*$//
15813   }'
15814   fi
# Line 15076 | Line 15820 | fi # test -n "$CONFIG_FILES"
15820   # No need to generate them if there are no CONFIG_HEADERS.
15821   # This happens for instance with `./config.status Makefile'.
15822   if test -n "$CONFIG_HEADERS"; then
15823 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15823 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15824   BEGIN {
15825   _ACEOF
15826  
# Line 15088 | Line 15832 | _ACEOF
15832   # handling of long lines.
15833   ac_delim='%!_!# '
15834   for ac_last_try in false false :; do
15835 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15836 <  if test -z "$ac_t"; then
15835 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15836 >  if test -z "$ac_tt"; then
15837      break
15838    elif $ac_last_try; then
15839 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15839 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15840    else
15841      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15842    fi
# Line 15177 | Line 15921 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15921   _ACAWK
15922   _ACEOF
15923   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15924 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15925   fi # test -n "$CONFIG_HEADERS"
15926  
15927  
# Line 15190 | Line 15934 | do
15934    esac
15935    case $ac_mode$ac_tag in
15936    :[FHL]*:*);;
15937 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15937 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15938    :[FH]-) ac_tag=-:-;;
15939    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15940    esac
# Line 15209 | Line 15953 | do
15953      for ac_f
15954      do
15955        case $ac_f in
15956 <      -) ac_f="$tmp/stdin";;
15956 >      -) ac_f="$ac_tmp/stdin";;
15957        *) # Look for the file first in the build tree, then in the source tree
15958           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15959           # because $ac_f cannot contain `:'.
# Line 15218 | Line 15962 | do
15962             [\\/$]*) false;;
15963             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15964             esac ||
15965 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15965 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15966        esac
15967        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15968        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 15988 | $as_echo "$as_me: creating $ac_file" >&6
15988      esac
15989  
15990      case $ac_tag in
15991 <    *:-:* | *:-) cat >"$tmp/stdin" \
15992 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15991 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15992 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15993      esac
15994      ;;
15995    esac
# Line 15381 | Line 16125 | s&@INSTALL@&$ac_INSTALL&;t t
16125   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16126   $ac_datarootdir_hack
16127   "
16128 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16129 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16128 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16129 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16130  
16131   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16132 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16133 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16132 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16133 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16134 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16135    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16136 < which seems to be undefined.  Please make sure it is defined." >&5
16136 > which seems to be undefined.  Please make sure it is defined" >&5
16137   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16138 < which seems to be undefined.  Please make sure it is defined." >&2;}
16138 > which seems to be undefined.  Please make sure it is defined" >&2;}
16139  
16140 <  rm -f "$tmp/stdin"
16140 >  rm -f "$ac_tmp/stdin"
16141    case $ac_file in
16142 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16143 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16142 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16143 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16144    esac \
16145 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16145 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16146   ;;
16147    :H)
16148    #
# Line 15406 | Line 16151 | which seems to be undefined.  Please mak
16151    if test x"$ac_file" != x-; then
16152      {
16153        $as_echo "/* $configure_input  */" \
16154 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16155 <    } >"$tmp/config.h" \
16156 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16157 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16154 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16155 >    } >"$ac_tmp/config.h" \
16156 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16157 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16158        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16159   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16160      else
16161        rm -f "$ac_file"
16162 <      mv "$tmp/config.h" "$ac_file" \
16163 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16162 >      mv "$ac_tmp/config.h" "$ac_file" \
16163 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16164      fi
16165    else
16166      $as_echo "/* $configure_input  */" \
16167 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16168 <      || as_fn_error "could not create -" "$LINENO" 5
16167 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16168 >      || as_fn_error $? "could not create -" "$LINENO" 5
16169    fi
16170   # Compute "$ac_file"'s index in $config_headers.
16171   _am_arg="$ac_file"
# Line 15581 | Line 16326 | $as_echo X"$file" |
16326   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16327   #
16328   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16329 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16330 < #                 Inc.
16329 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16330 > #                 Foundation, Inc.
16331   #   Written by Gordon Matzigkeit, 1996
16332   #
16333   #   This file is part of GNU Libtool.
# Line 15636 | Line 16381 | SHELL=$lt_SHELL
16381   # An echo program that protects backslashes.
16382   ECHO=$lt_ECHO
16383  
16384 + # The PATH separator for the build system.
16385 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16386 +
16387   # The host system.
16388   host_alias=$host_alias
16389   host=$host
# Line 15685 | Line 16433 | SP2NL=$lt_lt_SP2NL
16433   # turn newlines into spaces.
16434   NL2SP=$lt_lt_NL2SP
16435  
16436 + # convert \$build file names to \$host format.
16437 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16438 +
16439 + # convert \$build files to toolchain format.
16440 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16441 +
16442   # An object symbol dumper.
16443   OBJDUMP=$lt_OBJDUMP
16444  
16445   # Method to check whether dependent libraries are shared objects.
16446   deplibs_check_method=$lt_deplibs_check_method
16447  
16448 < # Command to use when deplibs_check_method == "file_magic".
16448 > # Command to use when deplibs_check_method = "file_magic".
16449   file_magic_cmd=$lt_file_magic_cmd
16450  
16451 + # How to find potential files when deplibs_check_method = "file_magic".
16452 + file_magic_glob=$lt_file_magic_glob
16453 +
16454 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16455 + want_nocaseglob=$lt_want_nocaseglob
16456 +
16457 + # DLL creation program.
16458 + DLLTOOL=$lt_DLLTOOL
16459 +
16460 + # Command to associate shared and link libraries.
16461 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16462 +
16463   # The archiver.
16464   AR=$lt_AR
16465 +
16466 + # Flags to create an archive.
16467   AR_FLAGS=$lt_AR_FLAGS
16468  
16469 + # How to feed a file listing to the archiver.
16470 + archiver_list_spec=$lt_archiver_list_spec
16471 +
16472   # A symbol stripping program.
16473   STRIP=$lt_STRIP
16474  
# Line 15727 | Line 16498 | global_symbol_to_c_name_address=$lt_lt_c
16498   # Transform the output of nm in a C name address pair when lib prefix is needed.
16499   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16500  
16501 + # Specify filename containing input files for \$NM.
16502 + nm_file_list_spec=$lt_nm_file_list_spec
16503 +
16504 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16505 + lt_sysroot=$lt_sysroot
16506 +
16507   # The name of the directory that contains temporary libtool files.
16508   objdir=$objdir
16509  
# Line 15736 | Line 16513 | MAGIC_CMD=$MAGIC_CMD
16513   # Must we lock files when doing compilation?
16514   need_locks=$lt_need_locks
16515  
16516 + # Manifest tool.
16517 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16518 +
16519   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16520   DSYMUTIL=$lt_DSYMUTIL
16521  
# Line 15850 | Line 16630 | with_gcc=$GCC
16630   # Compiler flag to turn off builtin functions.
16631   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16632  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
16633   # Additional compiler flags for building library objects.
16634   pic_flag=$lt_lt_prog_compiler_pic
16635  
16636 + # How to pass a linker flag through the compiler.
16637 + wl=$lt_lt_prog_compiler_wl
16638 +
16639   # Compiler flag to prevent dynamic linking.
16640   link_static_flag=$lt_lt_prog_compiler_static
16641  
# Line 15905 | Line 16685 | no_undefined_flag=$lt_no_undefined_flag
16685   # This must work even if \$libdir does not exist
16686   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16687  
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
16688   # Whether we need a single "-rpath" flag with a separated argument.
16689   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16690  
# Line 15942 | Line 16718 | inherit_rpath=$inherit_rpath
16718   # Whether libtool must link a program against all its dependency libraries.
16719   link_all_deplibs=$link_all_deplibs
16720  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
16721   # Set to "yes" if exported symbols are required.
16722   always_export_symbols=$always_export_symbols
16723  
# Line 15960 | Line 16733 | include_expsyms=$lt_include_expsyms
16733   # Commands necessary for linking programs (against libraries) with templates.
16734   prelink_cmds=$lt_prelink_cmds
16735  
16736 + # Commands necessary for finishing linking programs.
16737 + postlink_cmds=$lt_postlink_cmds
16738 +
16739   # Specify filename containing input files.
16740   file_list_spec=$lt_file_list_spec
16741  
# Line 15992 | Line 16768 | ltmain="$ac_aux_dir/ltmain.sh"
16768    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16769    # text mode, it properly converts lines to CR/LF.  This bash problem
16770    # is reportedly fixed, but why not run on old versions too?
16771 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16772 <    || (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
16771 >  sed '$q' "$ltmain" >> "$cfgfile" \
16772 >     || (rm -f "$cfgfile"; exit 1)
16773  
16774 +  if test x"$xsi_shell" = xyes; then
16775 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16776 + func_dirname ()\
16777 + {\
16778 + \    case ${1} in\
16779 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16780 + \      *  ) func_dirname_result="${3}" ;;\
16781 + \    esac\
16782 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16783 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16784 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16785 + test 0 -eq $? || _lt_function_replace_fail=:
16786 +
16787 +
16788 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16789 + func_basename ()\
16790 + {\
16791 + \    func_basename_result="${1##*/}"\
16792 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16793 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16794 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16795 + test 0 -eq $? || _lt_function_replace_fail=:
16796 +
16797 +
16798 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16799 + func_dirname_and_basename ()\
16800 + {\
16801 + \    case ${1} in\
16802 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16803 + \      *  ) func_dirname_result="${3}" ;;\
16804 + \    esac\
16805 + \    func_basename_result="${1##*/}"\
16806 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16807 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16808 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16809 + test 0 -eq $? || _lt_function_replace_fail=:
16810 +
16811 +
16812 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16813 + func_stripname ()\
16814 + {\
16815 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16816 + \    # positional parameters, so assign one to ordinary parameter first.\
16817 + \    func_stripname_result=${3}\
16818 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16819 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16820 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16821 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16822 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16823 + test 0 -eq $? || _lt_function_replace_fail=:
16824 +
16825 +
16826 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16827 + func_split_long_opt ()\
16828 + {\
16829 + \    func_split_long_opt_name=${1%%=*}\
16830 + \    func_split_long_opt_arg=${1#*=}\
16831 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16832 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16833 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16834 + test 0 -eq $? || _lt_function_replace_fail=:
16835 +
16836 +
16837 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16838 + func_split_short_opt ()\
16839 + {\
16840 + \    func_split_short_opt_arg=${1#??}\
16841 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16842 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16843 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16844 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16845 + test 0 -eq $? || _lt_function_replace_fail=:
16846 +
16847 +
16848 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16849 + func_lo2o ()\
16850 + {\
16851 + \    case ${1} in\
16852 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16853 + \      *)    func_lo2o_result=${1} ;;\
16854 + \    esac\
16855 + } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
16862 + func_xform ()\
16863 + {\
16864 +    func_xform_result=${1%.*}.lo\
16865 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16866 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16867 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16868 + test 0 -eq $? || _lt_function_replace_fail=:
16869 +
16870 +
16871 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16872 + func_arith ()\
16873 + {\
16874 +    func_arith_result=$(( $* ))\
16875 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16876 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16877 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16878 + test 0 -eq $? || _lt_function_replace_fail=:
16879 +
16880 +
16881 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16882 + func_len ()\
16883 + {\
16884 +    func_len_result=${#1}\
16885 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16886 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16887 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16888 + test 0 -eq $? || _lt_function_replace_fail=:
16889 +
16890 + fi
16891 +
16892 + if test x"$lt_shell_append" = xyes; then
16893 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16894 + func_append ()\
16895 + {\
16896 +    eval "${1}+=\\${2}"\
16897 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16898 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16899 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16900 + test 0 -eq $? || _lt_function_replace_fail=:
16901 +
16902 +
16903 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16904 + func_append_quoted ()\
16905 + {\
16906 + \    func_quote_for_eval "${2}"\
16907 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16908 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16909 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16910 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16911 + test 0 -eq $? || _lt_function_replace_fail=:
16912 +
16913 +
16914 +  # Save a `func_append' function call where possible by direct use of '+='
16915 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16916 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16917 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16918 +  test 0 -eq $? || _lt_function_replace_fail=:
16919 + else
16920 +  # Save a `func_append' function call even when '+=' is not available
16921 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16922 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16923 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16924 +  test 0 -eq $? || _lt_function_replace_fail=:
16925 + fi
16926 +
16927 + if test x"$_lt_function_replace_fail" = x":"; then
16928 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16929 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16930 + fi
16931  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
16932  
16933 <  mv -f "$cfgfile" "$ofile" ||
16933 >   mv -f "$cfgfile" "$ofile" ||
16934      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16935    chmod +x "$ofile"
16936  
# Line 16210 | Line 16945 | _ACEOF
16945   ac_clean_files=$ac_clean_files_save
16946  
16947   test $ac_write_fail = 0 ||
16948 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16948 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16949  
16950  
16951   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 16966 | if test "$no_create" != yes; then
16966    exec 5>>config.log
16967    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16968    # would make configure fail if this is the last instruction.
16969 <  $ac_cs_success || as_fn_exit $?
16969 >  $ac_cs_success || as_fn_exit 1
16970   fi
16971   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16972    { $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)