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

Comparing ircd-hybrid-7.3/configure (file contents):
Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
Revision 1111 by michael, Fri Nov 26 20:01:41 2010 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 1107 2010-11-02 15:19:41Z 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 7.3-rc1.
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 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 766 | Line 777 | enable_shared
777   with_pic
778   enable_fast_install
779   with_gnu_ld
780 + with_sysroot
781   enable_libtool_lock
782   with_included_ltdl
783   with_ltdl_include
# Line 866 | Line 878 | do
878    fi
879  
880    case $ac_option in
881 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 <  *)    ac_optarg=yes ;;
881 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 >  *=)   ac_optarg= ;;
883 >  *)    ac_optarg=yes ;;
884    esac
885  
886    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 912 | Line 925 | do
925      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926      # Reject names that are not valid shell variable names.
927      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 <      as_fn_error "invalid feature name: $ac_useropt"
928 >      as_fn_error $? "invalid feature name: $ac_useropt"
929      ac_useropt_orig=$ac_useropt
930      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931      case $ac_user_opts in
# Line 938 | Line 951 | do
951      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952      # Reject names that are not valid shell variable names.
953      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 <      as_fn_error "invalid feature name: $ac_useropt"
954 >      as_fn_error $? "invalid feature name: $ac_useropt"
955      ac_useropt_orig=$ac_useropt
956      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957      case $ac_user_opts in
# Line 1142 | Line 1155 | do
1155      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156      # Reject names that are not valid shell variable names.
1157      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158 <      as_fn_error "invalid package name: $ac_useropt"
1158 >      as_fn_error $? "invalid package name: $ac_useropt"
1159      ac_useropt_orig=$ac_useropt
1160      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161      case $ac_user_opts in
# Line 1158 | Line 1171 | do
1171      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172      # Reject names that are not valid shell variable names.
1173      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 <      as_fn_error "invalid package name: $ac_useropt"
1174 >      as_fn_error $? "invalid package name: $ac_useropt"
1175      ac_useropt_orig=$ac_useropt
1176      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177      case $ac_user_opts in
# Line 1188 | Line 1201 | do
1201    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1202      x_libraries=$ac_optarg ;;
1203  
1204 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1205 < Try \`$0 --help' for more information."
1204 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1205 > Try \`$0 --help' for more information"
1206      ;;
1207  
1208    *=*)
# Line 1197 | Line 1210 | Try \`$0 --help' for more information."
1210      # Reject names that are not valid shell variable names.
1211      case $ac_envvar in #(
1212        '' | [0-9]* | *[!_$as_cr_alnum]* )
1213 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1213 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1214      esac
1215      eval $ac_envvar=\$ac_optarg
1216      export $ac_envvar ;;
# Line 1207 | Line 1220 | Try \`$0 --help' for more information."
1220      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1223 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224      ;;
1225  
1226    esac
# Line 1215 | Line 1228 | done
1228  
1229   if test -n "$ac_prev"; then
1230    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1231 <  as_fn_error "missing argument to $ac_option"
1231 >  as_fn_error $? "missing argument to $ac_option"
1232   fi
1233  
1234   if test -n "$ac_unrecognized_opts"; then
1235    case $enable_option_checking in
1236      no) ;;
1237 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1237 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1238      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239    esac
1240   fi
# Line 1244 | Line 1257 | do
1257      [\\/$]* | ?:[\\/]* )  continue;;
1258      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259    esac
1260 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1260 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1261   done
1262  
1263   # There might be people who depend on the old broken behavior: `$host'
# Line 1258 | Line 1271 | target=$target_alias
1271   if test "x$host_alias" != x; then
1272    if test "x$build_alias" = x; then
1273      cross_compiling=maybe
1274 <    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1275 <    If a cross compiler is detected then cross compile mode will be used." >&2
1274 >    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1275 >    If a cross compiler is detected then cross compile mode will be used" >&2
1276    elif test "x$build_alias" != "x$host_alias"; then
1277      cross_compiling=yes
1278    fi
# Line 1274 | Line 1287 | test "$silent" = yes && exec 6>/dev/null
1287   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288   ac_ls_di=`ls -di .` &&
1289   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290 <  as_fn_error "working directory cannot be determined"
1290 >  as_fn_error $? "working directory cannot be determined"
1291   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 <  as_fn_error "pwd does not report name of working directory"
1292 >  as_fn_error $? "pwd does not report name of working directory"
1293  
1294  
1295   # Find the source files, if location was not specified.
# Line 1315 | Line 1328 | else
1328   fi
1329   if test ! -r "$srcdir/$ac_unique_file"; then
1330    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1331 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332   fi
1333   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334   ac_abs_confdir=`(
1335 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1335 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336          pwd)`
1337   # When building in place, set srcdir=.
1338   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1359 | Line 1372 | Configuration:
1372        --help=short        display options specific to this package
1373        --help=recursive    display the short help of all the included packages
1374    -V, --version           display version information and exit
1375 <  -q, --quiet, --silent   do not print \`checking...' messages
1375 >  -q, --quiet, --silent   do not print \`checking ...' messages
1376        --cache-file=FILE   cache test results in FILE [disabled]
1377    -C, --config-cache      alias for \`--cache-file=config.cache'
1378    -n, --no-create         do not create output files
# Line 1459 | Line 1472 | Optional Packages:
1472    --with-pic              try to use only PIC/non-PIC objects [default=use
1473                            both]
1474    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1475 +  --with-sysroot=DIR Search for dependent libraries within DIR
1476 +                        (or the compiler's sysroot if not specified).
1477    --with-included-ltdl    use the GNU ltdl sources included here
1478    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1479    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1478 | Line 1493 | Some influential environment variables:
1493    LIBS        libraries to pass to the linker, e.g. -l<library>
1494    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1495                you have headers in a nonstandard directory <include dir>
1496 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1497 <              the first program found out of: `bison -y', `byacc', `yacc'.
1496 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1497 >              Defaults to the first program found out of: `bison -y', `byacc',
1498 >              `yacc'.
1499    YFLAGS      The list of arguments that will be passed by default to $YACC.
1500                This script will default YFLAGS to the empty string to avoid a
1501                default value of `-d' given by some make applications.
# Line 1552 | Line 1568 | test -n "$ac_init_help" && exit $ac_stat
1568   if $ac_init_version; then
1569    cat <<\_ACEOF
1570   ircd-hybrid configure 7.3-rc1
1571 < generated by GNU Autoconf 2.65
1571 > generated by GNU Autoconf 2.68
1572  
1573 < Copyright (C) 2009 Free Software Foundation, Inc.
1573 > Copyright (C) 2010 Free Software Foundation, Inc.
1574   This configure script is free software; the Free Software Foundation
1575   gives unlimited permission to copy, distribute and modify it.
1576   _ACEOF
# Line 1598 | Line 1614 | sed 's/^/| /' conftest.$ac_ext >&5
1614  
1615          ac_retval=1
1616   fi
1617 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618    as_fn_set_status $ac_retval
1619  
1620   } # ac_fn_c_try_compile
# Line 1644 | Line 1660 | fi
1660    # interfere with the next link command; also delete a directory that is
1661    # left behind by Apple's compiler.  We do this before executing the actions.
1662    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1663 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664    as_fn_set_status $ac_retval
1665  
1666   } # ac_fn_c_try_link
# Line 1658 | Line 1674 | ac_fn_c_check_header_compile ()
1674    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676   $as_echo_n "checking for $2... " >&6; }
1677 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 > if eval \${$3+:} false; then :
1678    $as_echo_n "(cached) " >&6
1679   else
1680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1676 | Line 1692 | fi
1692   eval ac_res=\$$3
1693                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694   $as_echo "$ac_res" >&6; }
1695 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  
1697   } # ac_fn_c_check_header_compile
1698  
# Line 1701 | Line 1717 | $as_echo "$ac_try_echo"; } >&5
1717      mv -f conftest.er1 conftest.err
1718    fi
1719    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 <  test $ac_status = 0; } >/dev/null && {
1720 >  test $ac_status = 0; } > conftest.i && {
1721           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722           test ! -s conftest.err
1723         }; then :
# Line 1712 | Line 1728 | sed 's/^/| /' conftest.$ac_ext >&5
1728  
1729      ac_retval=1
1730   fi
1731 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732    as_fn_set_status $ac_retval
1733  
1734   } # ac_fn_c_try_cpp
# Line 1754 | Line 1770 | sed 's/^/| /' conftest.$ac_ext >&5
1770         ac_retval=$ac_status
1771   fi
1772    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774    as_fn_set_status $ac_retval
1775  
1776   } # ac_fn_c_try_run
# Line 1767 | Line 1783 | ac_fn_c_check_func ()
1783    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785   $as_echo_n "checking for $2... " >&6; }
1786 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 > if eval \${$3+:} false; then :
1787    $as_echo_n "(cached) " >&6
1788   else
1789    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1822 | Line 1838 | fi
1838   eval ac_res=\$$3
1839                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840   $as_echo "$ac_res" >&6; }
1841 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842  
1843   } # ac_fn_c_check_func
1844  
1845 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1846 < # ------------------------------------
1847 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1845 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1846 > # ---------------------------------------------
1847 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1848 > # accordingly.
1849   ac_fn_c_check_decl ()
1850   {
1851    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1853 < $as_echo_n "checking whether $2 is declared... " >&6; }
1854 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1852 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1853 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1854 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1855 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1856 > if eval \${$3+:} false; then :
1857    $as_echo_n "(cached) " >&6
1858   else
1859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1843 | Line 1862 | $4
1862   int
1863   main ()
1864   {
1865 < #ifndef $2
1866 <  (void) $2;
1865 > #ifndef $as_decl_name
1866 > #ifdef __cplusplus
1867 >  (void) $as_decl_use;
1868 > #else
1869 >  (void) $as_decl_name;
1870 > #endif
1871   #endif
1872  
1873    ;
# Line 1861 | Line 1884 | fi
1884   eval ac_res=\$$3
1885                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886   $as_echo "$ac_res" >&6; }
1887 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888  
1889   } # ac_fn_c_check_decl
1890  
# Line 1874 | Line 1897 | ac_fn_c_check_type ()
1897    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899   $as_echo_n "checking for $2... " >&6; }
1900 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 > if eval \${$3+:} false; then :
1901    $as_echo_n "(cached) " >&6
1902   else
1903    eval "$3=no"
# Line 1915 | Line 1938 | fi
1938   eval ac_res=\$$3
1939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940   $as_echo "$ac_res" >&6; }
1941 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942  
1943   } # ac_fn_c_check_type
1944  
# Line 1928 | Line 1951 | ac_fn_c_check_member ()
1951    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1953   $as_echo_n "checking for $2.$3... " >&6; }
1954 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 > if eval \${$4+:} false; then :
1955    $as_echo_n "(cached) " >&6
1956   else
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1972 | Line 1995 | fi
1995   eval ac_res=\$$4
1996                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997   $as_echo "$ac_res" >&6; }
1998 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999  
2000   } # ac_fn_c_check_member
2001  
# Line 1984 | Line 2007 | $as_echo "$ac_res" >&6; }
2007   ac_fn_c_check_header_mongrel ()
2008   {
2009    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 >  if eval \${$3+:} false; then :
2011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012   $as_echo_n "checking for $2... " >&6; }
2013 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2013 > if eval \${$3+:} false; then :
2014    $as_echo_n "(cached) " >&6
2015   fi
2016   eval ac_res=\$$3
# Line 2023 | Line 2046 | if ac_fn_c_try_cpp "$LINENO"; then :
2046   else
2047    ac_header_preproc=no
2048   fi
2049 < rm -f conftest.err conftest.$ac_ext
2049 > rm -f conftest.err conftest.i conftest.$ac_ext
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2051   $as_echo "$ac_header_preproc" >&6; }
2052  
# Line 2046 | Line 2069 | $as_echo "$as_me: WARNING: $2: see the A
2069   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2070      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2071   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2072 < ( cat <<\_ASBOX
2050 < ## ----------------------------------- ##
2072 > ( $as_echo "## ----------------------------------- ##
2073   ## Report this to bugs@ircd-hybrid.org ##
2074 < ## ----------------------------------- ##
2053 < _ASBOX
2074 > ## ----------------------------------- ##"
2075       ) | sed "s/^/$as_me: WARNING:     /" >&2
2076      ;;
2077   esac
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079   $as_echo_n "checking for $2... " >&6; }
2080 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 > if eval \${$3+:} false; then :
2081    $as_echo_n "(cached) " >&6
2082   else
2083    eval "$3=\$ac_header_compiler"
# Line 2065 | Line 2086 | eval ac_res=\$$3
2086                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087   $as_echo "$ac_res" >&6; }
2088   fi
2089 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090  
2091   } # ac_fn_c_check_header_mongrel
2092   cat >config.log <<_ACEOF
# Line 2073 | Line 2094 | This file contains any messages produced
2094   running configure, to aid debugging if configure makes a mistake.
2095  
2096   It was created by ircd-hybrid $as_me 7.3-rc1, which was
2097 < generated by GNU Autoconf 2.65.  Invocation command line was
2097 > generated by GNU Autoconf 2.68.  Invocation command line was
2098  
2099    $ $0 $@
2100  
# Line 2183 | Line 2204 | trap 'exit_status=$?
2204    {
2205      echo
2206  
2207 <    cat <<\_ASBOX
2187 < ## ---------------- ##
2207 >    $as_echo "## ---------------- ##
2208   ## Cache variables. ##
2209 < ## ---------------- ##
2190 < _ASBOX
2209 > ## ---------------- ##"
2210      echo
2211      # The following way of writing the cache mishandles newlines in values,
2212   (
# Line 2221 | Line 2240 | $as_echo "$as_me: WARNING: cache variabl
2240   )
2241      echo
2242  
2243 <    cat <<\_ASBOX
2225 < ## ----------------- ##
2243 >    $as_echo "## ----------------- ##
2244   ## Output variables. ##
2245 < ## ----------------- ##
2228 < _ASBOX
2245 > ## ----------------- ##"
2246      echo
2247      for ac_var in $ac_subst_vars
2248      do
# Line 2238 | Line 2255 | _ASBOX
2255      echo
2256  
2257      if test -n "$ac_subst_files"; then
2258 <      cat <<\_ASBOX
2242 < ## ------------------- ##
2258 >      $as_echo "## ------------------- ##
2259   ## File substitutions. ##
2260 < ## ------------------- ##
2245 < _ASBOX
2260 > ## ------------------- ##"
2261        echo
2262        for ac_var in $ac_subst_files
2263        do
# Line 2256 | Line 2271 | _ASBOX
2271      fi
2272  
2273      if test -s confdefs.h; then
2274 <      cat <<\_ASBOX
2260 < ## ----------- ##
2274 >      $as_echo "## ----------- ##
2275   ## confdefs.h. ##
2276 < ## ----------- ##
2263 < _ASBOX
2276 > ## ----------- ##"
2277        echo
2278        cat confdefs.h
2279        echo
# Line 2315 | Line 2328 | _ACEOF
2328   ac_site_file1=NONE
2329   ac_site_file2=NONE
2330   if test -n "$CONFIG_SITE"; then
2331 <  ac_site_file1=$CONFIG_SITE
2331 >  # We do not want a PATH search for config.site.
2332 >  case $CONFIG_SITE in #((
2333 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2334 >    */*) ac_site_file1=$CONFIG_SITE;;
2335 >    *)   ac_site_file1=./$CONFIG_SITE;;
2336 >  esac
2337   elif test "x$prefix" != xNONE; then
2338    ac_site_file1=$prefix/share/config.site
2339    ac_site_file2=$prefix/etc/config.site
# Line 2330 | Line 2348 | do
2348      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2350      sed 's/^/| /' "$ac_site_file" >&5
2351 <    . "$ac_site_file"
2351 >    . "$ac_site_file" \
2352 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354 > as_fn_error $? "failed to load site script $ac_site_file
2355 > See \`config.log' for more details" "$LINENO" 5; }
2356    fi
2357   done
2358  
# Line 2356 | Line 2378 | as_fn_append ac_func_list " strtok_r"
2378   as_fn_append ac_func_list " usleep"
2379   as_fn_append ac_func_list " strlcat"
2380   as_fn_append ac_func_list " strlcpy"
2381 + as_fn_append ac_func_list " socketpair"
2382   as_fn_append ac_header_list " crypt.h"
2383   as_fn_append ac_header_list " inttypes.h"
2384   as_fn_append ac_header_list " stdint.h"
# Line 2423 | Line 2446 | if $ac_cache_corrupted; then
2446   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2448   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2449 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450   fi
2451   ## -------------------- ##
2452   ## Main body of script. ##
# Line 2440 | Line 2463 | am__api_version='1.11'
2463  
2464   ac_aux_dir=
2465   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466 <  for ac_t in install-sh install.sh shtool; do
2467 <    if test -f "$ac_dir/$ac_t"; then
2468 <      ac_aux_dir=$ac_dir
2469 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2470 <      break 2
2471 <    fi
2472 <  done
2466 >  if test -f "$ac_dir/install-sh"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2469 >    break
2470 >  elif test -f "$ac_dir/install.sh"; then
2471 >    ac_aux_dir=$ac_dir
2472 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2473 >    break
2474 >  elif test -f "$ac_dir/shtool"; then
2475 >    ac_aux_dir=$ac_dir
2476 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2477 >    break
2478 >  fi
2479   done
2480   if test -z "$ac_aux_dir"; then
2481 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482   fi
2483  
2484   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2507 | ac_configure="$SHELL $ac_aux_dir/configu
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2509   if test -z "$INSTALL"; then
2510 < if test "${ac_cv_path_install+set}" = set; then :
2510 > if ${ac_cv_path_install+:} false; then :
2511    $as_echo_n "(cached) " >&6
2512   else
2513    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2565 | Line 2594 | am_lf='
2594   '
2595   case `pwd` in
2596    *[\\\"\#\$\&\'\`$am_lf]*)
2597 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2597 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2598   esac
2599   case $srcdir in
2600    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2601 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2601 >    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2602   esac
2603  
2604   # Do `set' in a subshell so we don't clobber the current shell's
# Line 2591 | Line 2620 | if (
2620        # if, for instance, CONFIG_SHELL is bash and it inherits a
2621        # broken ls alias from the environment.  This has actually
2622        # happened.  Such a system could not be considered "sane".
2623 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2623 >      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2624   alias in your environment" "$LINENO" 5
2625     fi
2626  
# Line 2601 | Line 2630 | then
2630     # Ok.
2631     :
2632   else
2633 <   as_fn_error "newly created file is older than distributed files!
2633 >   as_fn_error $? "newly created file is older than distributed files!
2634   Check your system clock" "$LINENO" 5
2635   fi
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 2655 | Line 2684 | if test "$cross_compiling" != no; then
2684   set dummy ${ac_tool_prefix}strip; ac_word=$2
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686   $as_echo_n "checking for $ac_word... " >&6; }
2687 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2687 > if ${ac_cv_prog_STRIP+:} false; then :
2688    $as_echo_n "(cached) " >&6
2689   else
2690    if test -n "$STRIP"; then
# Line 2695 | Line 2724 | if test -z "$ac_cv_prog_STRIP"; then
2724   set dummy strip; ac_word=$2
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726   $as_echo_n "checking for $ac_word... " >&6; }
2727 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2727 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2728    $as_echo_n "(cached) " >&6
2729   else
2730    if test -n "$ac_ct_STRIP"; then
# Line 2748 | Line 2777 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779   if test -z "$MKDIR_P"; then
2780 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2780 >  if ${ac_cv_path_mkdir+:} false; then :
2781    $as_echo_n "(cached) " >&6
2782   else
2783    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2799 | Line 2828 | do
2828   set dummy $ac_prog; ac_word=$2
2829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830   $as_echo_n "checking for $ac_word... " >&6; }
2831 < if test "${ac_cv_prog_AWK+set}" = set; then :
2831 > if ${ac_cv_prog_AWK+:} false; then :
2832    $as_echo_n "(cached) " >&6
2833   else
2834    if test -n "$AWK"; then
# Line 2839 | Line 2868 | done
2868   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869   set x ${MAKE-make}
2870   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2871 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2871 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2872    $as_echo_n "(cached) " >&6
2873   else
2874    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2876 | SHELL = /bin/sh
2876   all:
2877          @echo '@@@%%%=$(MAKE)=@@@%%%'
2878   _ACEOF
2879 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2879 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2880   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2881    *@@@%%%=?*=@@@%%%*)
2882      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2881 | Line 2910 | if test "`cd $srcdir && pwd`" != "`pwd`"
2910    am__isrc=' -I$(srcdir)'
2911    # test to see if srcdir already configured
2912    if test -f $srcdir/config.status; then
2913 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2913 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2914    fi
2915   fi
2916  
# Line 3037 | Line 3066 | if test -n "$ac_tool_prefix"; then
3066   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068   $as_echo_n "checking for $ac_word... " >&6; }
3069 < if test "${ac_cv_prog_CC+set}" = set; then :
3069 > if ${ac_cv_prog_CC+:} false; then :
3070    $as_echo_n "(cached) " >&6
3071   else
3072    if test -n "$CC"; then
# Line 3077 | Line 3106 | if test -z "$ac_cv_prog_CC"; then
3106   set dummy gcc; ac_word=$2
3107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108   $as_echo_n "checking for $ac_word... " >&6; }
3109 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3109 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3110    $as_echo_n "(cached) " >&6
3111   else
3112    if test -n "$ac_ct_CC"; then
# Line 3130 | Line 3159 | if test -z "$CC"; then
3159   set dummy ${ac_tool_prefix}cc; ac_word=$2
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161   $as_echo_n "checking for $ac_word... " >&6; }
3162 < if test "${ac_cv_prog_CC+set}" = set; then :
3162 > if ${ac_cv_prog_CC+:} false; then :
3163    $as_echo_n "(cached) " >&6
3164   else
3165    if test -n "$CC"; then
# Line 3170 | Line 3199 | if test -z "$CC"; then
3199   set dummy cc; ac_word=$2
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201   $as_echo_n "checking for $ac_word... " >&6; }
3202 < if test "${ac_cv_prog_CC+set}" = set; then :
3202 > if ${ac_cv_prog_CC+:} false; then :
3203    $as_echo_n "(cached) " >&6
3204   else
3205    if test -n "$CC"; then
# Line 3229 | Line 3258 | if test -z "$CC"; then
3258   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260   $as_echo_n "checking for $ac_word... " >&6; }
3261 < if test "${ac_cv_prog_CC+set}" = set; then :
3261 > if ${ac_cv_prog_CC+:} false; then :
3262    $as_echo_n "(cached) " >&6
3263   else
3264    if test -n "$CC"; then
# Line 3273 | Line 3302 | do
3302   set dummy $ac_prog; ac_word=$2
3303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304   $as_echo_n "checking for $ac_word... " >&6; }
3305 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3305 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3306    $as_echo_n "(cached) " >&6
3307   else
3308    if test -n "$ac_ct_CC"; then
# Line 3327 | Line 3356 | fi
3356  
3357   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 < as_fn_error "no acceptable C compiler found in \$PATH
3360 < See \`config.log' for more details." "$LINENO" 5; }
3359 > as_fn_error $? "no acceptable C compiler found in \$PATH
3360 > See \`config.log' for more details" "$LINENO" 5; }
3361  
3362   # Provide some information about the compiler.
3363   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3471 | sed 's/^/| /' conftest.$ac_ext >&5
3471  
3472   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 < { as_fn_set_status 77
3475 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3474 > as_fn_error 77 "C compiler cannot create executables
3475 > See \`config.log' for more details" "$LINENO" 5; }
3476   else
3477    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3478   $as_echo "yes" >&6; }
# Line 3486 | Line 3514 | done
3514   else
3515    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3518 < See \`config.log' for more details." "$LINENO" 5; }
3517 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3518 > See \`config.log' for more details" "$LINENO" 5; }
3519   fi
3520   rm -f conftest conftest$ac_cv_exeext
3521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3572 | $as_echo "$ac_try_echo"; } >&5
3572      else
3573          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3574   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 < as_fn_error "cannot run C compiled programs.
3575 > as_fn_error $? "cannot run C compiled programs.
3576   If you meant to cross compile, use \`--host'.
3577 < See \`config.log' for more details." "$LINENO" 5; }
3577 > See \`config.log' for more details" "$LINENO" 5; }
3578      fi
3579    fi
3580   fi
# Line 3557 | Line 3585 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3585   ac_clean_files=$ac_clean_files_save
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3587   $as_echo_n "checking for suffix of object files... " >&6; }
3588 < if test "${ac_cv_objext+set}" = set; then :
3588 > if ${ac_cv_objext+:} false; then :
3589    $as_echo_n "(cached) " >&6
3590   else
3591    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3625 | sed 's/^/| /' conftest.$ac_ext >&5
3625  
3626   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 < as_fn_error "cannot compute suffix of object files: cannot compile
3629 < See \`config.log' for more details." "$LINENO" 5; }
3628 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3629 > See \`config.log' for more details" "$LINENO" 5; }
3630   fi
3631   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3632   fi
# Line 3608 | Line 3636 | OBJEXT=$ac_cv_objext
3636   ac_objext=$OBJEXT
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3638   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3639 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3639 > if ${ac_cv_c_compiler_gnu+:} false; then :
3640    $as_echo_n "(cached) " >&6
3641   else
3642    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3673 | ac_test_CFLAGS=${CFLAGS+set}
3673   ac_save_CFLAGS=$CFLAGS
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3675   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3676 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3676 > if ${ac_cv_prog_cc_g+:} false; then :
3677    $as_echo_n "(cached) " >&6
3678   else
3679    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3751 | else
3751   fi
3752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3753   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3754 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3754 > if ${ac_cv_prog_cc_c89+:} false; then :
3755    $as_echo_n "(cached) " >&6
3756   else
3757    ac_cv_prog_cc_c89=no
# Line 3822 | Line 3850 | depcc="$CC"   am_compiler_list=
3850  
3851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3852   $as_echo_n "checking dependency style of $depcc... " >&6; }
3853 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3853 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3854    $as_echo_n "(cached) " >&6
3855   else
3856    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3947 | Line 3975 | fi
3975  
3976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3977   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3978 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3978 > if ${ac_cv_prog_cc_c99+:} false; then :
3979    $as_echo_n "(cached) " >&6
3980   else
3981    ac_cv_prog_cc_c99=no
# Line 4123 | Line 4151 | fi
4151  
4152  
4153   if test "$ac_cv_prog_cc_c99" = "no"; then :
4154 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4154 >  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4155   fi
4156   for ac_prog in 'bison -y' byacc
4157   do
# Line 4131 | Line 4159 | do
4159   set dummy $ac_prog; ac_word=$2
4160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161   $as_echo_n "checking for $ac_word... " >&6; }
4162 < if test "${ac_cv_prog_YACC+set}" = set; then :
4162 > if ${ac_cv_prog_YACC+:} false; then :
4163    $as_echo_n "(cached) " >&6
4164   else
4165    if test -n "$YACC"; then
# Line 4175 | Line 4203 | do
4203   set dummy $ac_prog; ac_word=$2
4204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205   $as_echo_n "checking for $ac_word... " >&6; }
4206 < if test "${ac_cv_prog_LEX+set}" = set; then :
4206 > if ${ac_cv_prog_LEX+:} false; then :
4207    $as_echo_n "(cached) " >&6
4208   else
4209    if test -n "$LEX"; then
# Line 4245 | Line 4273 | $as_echo "$ac_try_echo"; } >&5
4273    test $ac_status = 0; }
4274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4275   $as_echo_n "checking lex output file root... " >&6; }
4276 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4276 > if ${ac_cv_prog_lex_root+:} false; then :
4277    $as_echo_n "(cached) " >&6
4278   else
4279  
# Line 4254 | Line 4282 | if test -f lex.yy.c; then
4282   elif test -f lexyy.c; then
4283    ac_cv_prog_lex_root=lexyy
4284   else
4285 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4285 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4286   fi
4287   fi
4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4292 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4292   if test -z "${LEXLIB+set}"; then
4293    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4294   $as_echo_n "checking lex library... " >&6; }
4295 < if test "${ac_cv_lib_lex+set}" = set; then :
4295 > if ${ac_cv_lib_lex+:} false; then :
4296    $as_echo_n "(cached) " >&6
4297   else
4298  
# Line 4294 | Line 4322 | fi
4322  
4323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4324   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4325 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4325 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4326    $as_echo_n "(cached) " >&6
4327   else
4328    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4333 | ac_save_LIBS=$LIBS
4333   LIBS="$LEXLIB $ac_save_LIBS"
4334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335   /* end confdefs.h.  */
4336 < #define YYTEXT_POINTER 1
4336 >
4337 >  #define YYTEXT_POINTER 1
4338   `cat $LEX_OUTPUT_ROOT.c`
4339   _ACEOF
4340   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4376 | esac
4376  
4377  
4378  
4379 < macro_version='2.2.10'
4380 < macro_revision='1.3175'
4379 > macro_version='2.4'
4380 > macro_revision='1.3293'
4381  
4382  
4383  
# Line 4366 | Line 4395 | ltmain="$ac_aux_dir/ltmain.sh"
4395  
4396   # Make sure we can run config.sub.
4397   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4398 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4398 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4399  
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4401   $as_echo_n "checking build system type... " >&6; }
4402 < if test "${ac_cv_build+set}" = set; then :
4402 > if ${ac_cv_build+:} false; then :
4403    $as_echo_n "(cached) " >&6
4404   else
4405    ac_build_alias=$build_alias
4406   test "x$ac_build_alias" = x &&
4407    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4408   test "x$ac_build_alias" = x &&
4409 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4409 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4410   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4411 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4411 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4412  
4413   fi
4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4415   $as_echo "$ac_cv_build" >&6; }
4416   case $ac_cv_build in
4417   *-*-*) ;;
4418 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4418 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4419   esac
4420   build=$ac_cv_build
4421   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4433 | case $build_os in *\ *) build_os=`echo "
4433  
4434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4435   $as_echo_n "checking host system type... " >&6; }
4436 < if test "${ac_cv_host+set}" = set; then :
4436 > if ${ac_cv_host+:} false; then :
4437    $as_echo_n "(cached) " >&6
4438   else
4439    if test "x$host_alias" = x; then
4440    ac_cv_host=$ac_cv_build
4441   else
4442    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4443 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4443 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4444   fi
4445  
4446   fi
# Line 4419 | Line 4448 | fi
4448   $as_echo "$ac_cv_host" >&6; }
4449   case $ac_cv_host in
4450   *-*-*) ;;
4451 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4451 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4452   esac
4453   host=$ac_cv_host
4454   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4488 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4489   $as_echo_n "checking how to print strings... " >&6; }
4490   # Test print first, because it will be a builtin if present.
4491 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4491 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4492     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4493    ECHO='print -r --'
4494   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4535 | esac
4535  
4536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4537   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4538 < if test "${ac_cv_path_SED+set}" = set; then :
4538 > if ${ac_cv_path_SED+:} false; then :
4539    $as_echo_n "(cached) " >&6
4540   else
4541              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4561 | Line 4590 | esac
4590    done
4591   IFS=$as_save_IFS
4592    if test -z "$ac_cv_path_SED"; then
4593 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4593 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4594    fi
4595   else
4596    ac_cv_path_SED=$SED
# Line 4588 | Line 4617 | Xsed="$SED -e 1s/^X//"
4617  
4618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4619   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4620 < if test "${ac_cv_path_GREP+set}" = set; then :
4620 > if ${ac_cv_path_GREP+:} false; then :
4621    $as_echo_n "(cached) " >&6
4622   else
4623    if test -z "$GREP"; then
# Line 4637 | Line 4666 | esac
4666    done
4667   IFS=$as_save_IFS
4668    if test -z "$ac_cv_path_GREP"; then
4669 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4669 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4670    fi
4671   else
4672    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4680 | $as_echo "$ac_cv_path_GREP" >&6; }
4680  
4681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4682   $as_echo_n "checking for egrep... " >&6; }
4683 < if test "${ac_cv_path_EGREP+set}" = set; then :
4683 > if ${ac_cv_path_EGREP+:} false; then :
4684    $as_echo_n "(cached) " >&6
4685   else
4686    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4703 | Line 4732 | esac
4732    done
4733   IFS=$as_save_IFS
4734    if test -z "$ac_cv_path_EGREP"; then
4735 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4736    fi
4737   else
4738    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4747 | $as_echo "$ac_cv_path_EGREP" >&6; }
4747  
4748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4749   $as_echo_n "checking for fgrep... " >&6; }
4750 < if test "${ac_cv_path_FGREP+set}" = set; then :
4750 > if ${ac_cv_path_FGREP+:} false; then :
4751    $as_echo_n "(cached) " >&6
4752   else
4753    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4770 | Line 4799 | esac
4799    done
4800   IFS=$as_save_IFS
4801    if test -z "$ac_cv_path_FGREP"; then
4802 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4802 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4803    fi
4804   else
4805    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 4878 | else
4878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4879   $as_echo_n "checking for non-GNU ld... " >&6; }
4880   fi
4881 < if test "${lt_cv_path_LD+set}" = set; then :
4881 > if ${lt_cv_path_LD+:} false; then :
4882    $as_echo_n "(cached) " >&6
4883   else
4884    if test -z "$LD"; then
# Line 4886 | Line 4915 | else
4915    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916   $as_echo "no" >&6; }
4917   fi
4918 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4918 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4920   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4921 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4921 > if ${lt_cv_prog_gnu_ld+:} false; then :
4922    $as_echo_n "(cached) " >&6
4923   else
4924    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 4945 | with_gnu_ld=$lt_cv_prog_gnu_ld
4945  
4946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4947   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4948 < if test "${lt_cv_path_NM+set}" = set; then :
4948 > if ${lt_cv_path_NM+:} false; then :
4949    $as_echo_n "(cached) " >&6
4950   else
4951    if test -n "$NM"; then
# Line 4979 | Line 5008 | else
5008   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010   $as_echo_n "checking for $ac_word... " >&6; }
5011 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5011 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5012    $as_echo_n "(cached) " >&6
5013   else
5014    if test -n "$DUMPBIN"; then
# Line 5023 | Line 5052 | do
5052   set dummy $ac_prog; ac_word=$2
5053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054   $as_echo_n "checking for $ac_word... " >&6; }
5055 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5055 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5056    $as_echo_n "(cached) " >&6
5057   else
5058    if test -n "$ac_ct_DUMPBIN"; then
# Line 5095 | Line 5124 | test -z "$NM" && NM=nm
5124  
5125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5126   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5127 < if test "${lt_cv_nm_interface+set}" = set; then :
5127 > if ${lt_cv_nm_interface+:} false; then :
5128    $as_echo_n "(cached) " >&6
5129   else
5130    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5159 | fi
5159   # find the maximum length of command line arguments
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5161   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5162 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5162 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5163    $as_echo_n "(cached) " >&6
5164   else
5165      i=0
# Line 5275 | Line 5304 | $as_echo_n "checking whether the shell u
5304   # Try some XSI features
5305   xsi_shell=no
5306   ( _lt_dummy="a/b/c"
5307 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5308 <      = c,a/b,, \
5307 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5308 >      = c,a/b,b/c, \
5309      && eval 'test $(( 1 + 1 )) -eq 2 \
5310      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5311    && xsi_shell=yes
# Line 5325 | Line 5354 | esac
5354  
5355  
5356  
5357 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5358 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5359 + if ${lt_cv_to_host_file_cmd+:} false; then :
5360 +  $as_echo_n "(cached) " >&6
5361 + else
5362 +  case $host in
5363 +  *-*-mingw* )
5364 +    case $build in
5365 +      *-*-mingw* ) # actually msys
5366 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5367 +        ;;
5368 +      *-*-cygwin* )
5369 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5370 +        ;;
5371 +      * ) # otherwise, assume *nix
5372 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5373 +        ;;
5374 +    esac
5375 +    ;;
5376 +  *-*-cygwin* )
5377 +    case $build in
5378 +      *-*-mingw* ) # actually msys
5379 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5380 +        ;;
5381 +      *-*-cygwin* )
5382 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5383 +        ;;
5384 +      * ) # otherwise, assume *nix
5385 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5386 +        ;;
5387 +    esac
5388 +    ;;
5389 +  * ) # unhandled hosts (and "normal" native builds)
5390 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5391 +    ;;
5392 + esac
5393 +
5394 + fi
5395 +
5396 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5398 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5399 +
5400 +
5401 +
5402 +
5403 +
5404 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5405 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5406 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5407 +  $as_echo_n "(cached) " >&6
5408 + else
5409 +  #assume ordinary cross tools, or native build.
5410 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5411 + case $host in
5412 +  *-*-mingw* )
5413 +    case $build in
5414 +      *-*-mingw* ) # actually msys
5415 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5416 +        ;;
5417 +    esac
5418 +    ;;
5419 + esac
5420 +
5421 + fi
5422 +
5423 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5424 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5425 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5426 +
5427 +
5428 +
5429 +
5430 +
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5432   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5433 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5433 > if ${lt_cv_ld_reload_flag+:} false; then :
5434    $as_echo_n "(cached) " >&6
5435   else
5436    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5444 | case $reload_flag in
5444   esac
5445   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5446   case $host_os in
5447 +  cygwin* | mingw* | pw32* | cegcc*)
5448 +    if test "$GCC" != yes; then
5449 +      reload_cmds=false
5450 +    fi
5451 +    ;;
5452    darwin*)
5453      if test "$GCC" = yes; then
5454        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5471 | if test -n "$ac_tool_prefix"; then
5471   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473   $as_echo_n "checking for $ac_word... " >&6; }
5474 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5474 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5475    $as_echo_n "(cached) " >&6
5476   else
5477    if test -n "$OBJDUMP"; then
# Line 5403 | Line 5511 | if test -z "$ac_cv_prog_OBJDUMP"; then
5511   set dummy objdump; ac_word=$2
5512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513   $as_echo_n "checking for $ac_word... " >&6; }
5514 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5514 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5515    $as_echo_n "(cached) " >&6
5516   else
5517    if test -n "$ac_ct_OBJDUMP"; then
# Line 5462 | Line 5570 | test -z "$OBJDUMP" && OBJDUMP=objdump
5570  
5571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5572   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5573 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5573 > if ${lt_cv_deplibs_check_method+:} false; then :
5574    $as_echo_n "(cached) " >&6
5575   else
5576    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5664 | Line 5772 | esac
5772   fi
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5774   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5775 +
5776 + file_magic_glob=
5777 + want_nocaseglob=no
5778 + if test "$build" = "$host"; then
5779 +  case $host_os in
5780 +  mingw* | pw32*)
5781 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5782 +      want_nocaseglob=yes
5783 +    else
5784 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5785 +    fi
5786 +    ;;
5787 +  esac
5788 + fi
5789 +
5790   file_magic_cmd=$lt_cv_file_magic_cmd
5791   deplibs_check_method=$lt_cv_deplibs_check_method
5792   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5802 | test -z "$deplibs_check_method" && depli
5802  
5803  
5804  
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 +
5812 +
5813 +
5814 +
5815 + if test -n "$ac_tool_prefix"; then
5816 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5817 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5818 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 + $as_echo_n "checking for $ac_word... " >&6; }
5820 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5821 +  $as_echo_n "(cached) " >&6
5822 + else
5823 +  if test -n "$DLLTOOL"; then
5824 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5825 + else
5826 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 + for as_dir in $PATH
5828 + do
5829 +  IFS=$as_save_IFS
5830 +  test -z "$as_dir" && as_dir=.
5831 +    for ac_exec_ext in '' $ac_executable_extensions; do
5832 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5834 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 +    break 2
5836 +  fi
5837 + done
5838 +  done
5839 + IFS=$as_save_IFS
5840 +
5841 + fi
5842 + fi
5843 + DLLTOOL=$ac_cv_prog_DLLTOOL
5844 + if test -n "$DLLTOOL"; then
5845 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5846 + $as_echo "$DLLTOOL" >&6; }
5847 + else
5848 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 + $as_echo "no" >&6; }
5850 + fi
5851 +
5852 +
5853 + fi
5854 + if test -z "$ac_cv_prog_DLLTOOL"; then
5855 +  ac_ct_DLLTOOL=$DLLTOOL
5856 +  # Extract the first word of "dlltool", so it can be a program name with args.
5857 + set dummy dlltool; ac_word=$2
5858 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 + $as_echo_n "checking for $ac_word... " >&6; }
5860 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5861 +  $as_echo_n "(cached) " >&6
5862 + else
5863 +  if test -n "$ac_ct_DLLTOOL"; then
5864 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5865 + else
5866 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 + for as_dir in $PATH
5868 + do
5869 +  IFS=$as_save_IFS
5870 +  test -z "$as_dir" && as_dir=.
5871 +    for ac_exec_ext in '' $ac_executable_extensions; do
5872 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5874 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 +    break 2
5876 +  fi
5877 + done
5878 +  done
5879 + IFS=$as_save_IFS
5880 +
5881 + fi
5882 + fi
5883 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5884 + if test -n "$ac_ct_DLLTOOL"; then
5885 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5886 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5887 + else
5888 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 + $as_echo "no" >&6; }
5890 + fi
5891 +
5892 +  if test "x$ac_ct_DLLTOOL" = x; then
5893 +    DLLTOOL="false"
5894 +  else
5895 +    case $cross_compiling:$ac_tool_warned in
5896 + yes:)
5897 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5898 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 + ac_tool_warned=yes ;;
5900 + esac
5901 +    DLLTOOL=$ac_ct_DLLTOOL
5902 +  fi
5903 + else
5904 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5905 + fi
5906 +
5907 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915 +
5916 +
5917 +
5918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5919 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5920 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5921 +  $as_echo_n "(cached) " >&6
5922 + else
5923 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5924 +
5925 + case $host_os in
5926 + cygwin* | mingw* | pw32* | cegcc*)
5927 +  # two different shell functions defined in ltmain.sh
5928 +  # decide which to use based on capabilities of $DLLTOOL
5929 +  case `$DLLTOOL --help 2>&1` in
5930 +  *--identify-strict*)
5931 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5932 +    ;;
5933 +  *)
5934 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5935 +    ;;
5936 +  esac
5937 +  ;;
5938 + *)
5939 +  # fallback: assume linklib IS sharedlib
5940 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5941 +  ;;
5942 + esac
5943 +
5944 + fi
5945 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5946 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5947 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5948 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5949 +
5950 +
5951 +
5952 +
5953 +
5954 +
5955 +
5956   if test -n "$ac_tool_prefix"; then
5957 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5958 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5957 >  for ac_prog in ar
5958 >  do
5959 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5960 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962   $as_echo_n "checking for $ac_word... " >&6; }
5963 < if test "${ac_cv_prog_AR+set}" = set; then :
5963 > if ${ac_cv_prog_AR+:} false; then :
5964    $as_echo_n "(cached) " >&6
5965   else
5966    if test -n "$AR"; then
# Line 5697 | Line 5973 | do
5973    test -z "$as_dir" && as_dir=.
5974      for ac_exec_ext in '' $ac_executable_extensions; do
5975    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5976 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5977      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978      break 2
5979    fi
# Line 5717 | Line 5993 | $as_echo "no" >&6; }
5993   fi
5994  
5995  
5996 +    test -n "$AR" && break
5997 +  done
5998   fi
5999 < if test -z "$ac_cv_prog_AR"; then
5999 > if test -z "$AR"; then
6000    ac_ct_AR=$AR
6001 <  # Extract the first word of "ar", so it can be a program name with args.
6002 < set dummy ar; ac_word=$2
6001 >  for ac_prog in ar
6002 > do
6003 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 > set dummy $ac_prog; ac_word=$2
6005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006   $as_echo_n "checking for $ac_word... " >&6; }
6007 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6007 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6008    $as_echo_n "(cached) " >&6
6009   else
6010    if test -n "$ac_ct_AR"; then
# Line 5737 | Line 6017 | do
6017    test -z "$as_dir" && as_dir=.
6018      for ac_exec_ext in '' $ac_executable_extensions; do
6019    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 <    ac_cv_prog_ac_ct_AR="ar"
6020 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6021      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022      break 2
6023    fi
# Line 5756 | Line 6036 | else
6036   $as_echo "no" >&6; }
6037   fi
6038  
6039 +
6040 +  test -n "$ac_ct_AR" && break
6041 + done
6042 +
6043    if test "x$ac_ct_AR" = x; then
6044      AR="false"
6045    else
# Line 5767 | Line 6051 | ac_tool_warned=yes ;;
6051   esac
6052      AR=$ac_ct_AR
6053    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6054   fi
6055  
6056 < test -z "$AR" && AR=ar
6057 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6056 > : ${AR=ar}
6057 > : ${AR_FLAGS=cru}
6058 >
6059  
6060  
6061  
# Line 5783 | Line 6066 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6066  
6067  
6068  
6069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6070 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6071 + if ${lt_cv_ar_at_file+:} false; then :
6072 +  $as_echo_n "(cached) " >&6
6073 + else
6074 +  lt_cv_ar_at_file=no
6075 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 + /* end confdefs.h.  */
6077 +
6078 + int
6079 + main ()
6080 + {
6081 +
6082 +  ;
6083 +  return 0;
6084 + }
6085 + _ACEOF
6086 + if ac_fn_c_try_compile "$LINENO"; then :
6087 +  echo conftest.$ac_objext > conftest.lst
6088 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6089 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6090 +  (eval $lt_ar_try) 2>&5
6091 +  ac_status=$?
6092 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6093 +  test $ac_status = 0; }
6094 +      if test "$ac_status" -eq 0; then
6095 +        # Ensure the archiver fails upon bogus file names.
6096 +        rm -f conftest.$ac_objext libconftest.a
6097 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6098 +  (eval $lt_ar_try) 2>&5
6099 +  ac_status=$?
6100 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 +  test $ac_status = 0; }
6102 +        if test "$ac_status" -ne 0; then
6103 +          lt_cv_ar_at_file=@
6104 +        fi
6105 +      fi
6106 +      rm -f conftest.* libconftest.a
6107 +
6108 + fi
6109 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 +
6111 + fi
6112 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6113 + $as_echo "$lt_cv_ar_at_file" >&6; }
6114 +
6115 + if test "x$lt_cv_ar_at_file" = xno; then
6116 +  archiver_list_spec=
6117 + else
6118 +  archiver_list_spec=$lt_cv_ar_at_file
6119 + fi
6120 +
6121 +
6122 +
6123 +
6124 +
6125 +
6126  
6127   if test -n "$ac_tool_prefix"; then
6128    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6129   set dummy ${ac_tool_prefix}strip; ac_word=$2
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131   $as_echo_n "checking for $ac_word... " >&6; }
6132 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6132 > if ${ac_cv_prog_STRIP+:} false; then :
6133    $as_echo_n "(cached) " >&6
6134   else
6135    if test -n "$STRIP"; then
# Line 5829 | Line 6169 | if test -z "$ac_cv_prog_STRIP"; then
6169   set dummy strip; ac_word=$2
6170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171   $as_echo_n "checking for $ac_word... " >&6; }
6172 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6172 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6173    $as_echo_n "(cached) " >&6
6174   else
6175    if test -n "$ac_ct_STRIP"; then
# Line 5888 | Line 6228 | if test -n "$ac_tool_prefix"; then
6228   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230   $as_echo_n "checking for $ac_word... " >&6; }
6231 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6231 > if ${ac_cv_prog_RANLIB+:} false; then :
6232    $as_echo_n "(cached) " >&6
6233   else
6234    if test -n "$RANLIB"; then
# Line 5928 | Line 6268 | if test -z "$ac_cv_prog_RANLIB"; then
6268   set dummy ranlib; ac_word=$2
6269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270   $as_echo_n "checking for $ac_word... " >&6; }
6271 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6271 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6272    $as_echo_n "(cached) " >&6
6273   else
6274    if test -n "$ac_ct_RANLIB"; then
# Line 6057 | Line 6397 | compiler=$CC
6397   # Check for command to grab the raw symbol name followed by C symbol from nm.
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6399   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6400 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6400 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6401    $as_echo_n "(cached) " >&6
6402   else
6403  
# Line 6118 | Line 6458 | esac
6458   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6459  
6460   # Transform an extracted symbol line into symbol name and symbol address
6461 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 < 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'"
6461 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 > 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'"
6463  
6464   # Handle CRLF in mingw tool chain
6465   opt_cr=
# Line 6155 | Line 6495 | for ac_symprfx in "" "_"; do
6495    else
6496      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6497    fi
6498 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6499  
6500    # Check to see that the pipe works correctly.
6501    pipe_works=no
# Line 6196 | Line 6537 | _LT_EOF
6537        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6538          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6539            cat <<_LT_EOF > conftest.$ac_ext
6540 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6541 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6542 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6543 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6544 + # define LT_DLSYM_CONST
6545 + #elif defined(__osf__)
6546 + /* This system does not cope well with relocations in const data.  */
6547 + # define LT_DLSYM_CONST
6548 + #else
6549 + # define LT_DLSYM_CONST const
6550 + #endif
6551 +
6552   #ifdef __cplusplus
6553   extern "C" {
6554   #endif
# Line 6207 | Line 6560 | _LT_EOF
6560            cat <<_LT_EOF >> conftest.$ac_ext
6561  
6562   /* The mapping between symbol names and symbols.  */
6563 < const struct {
6563 > LT_DLSYM_CONST struct {
6564    const char *name;
6565    void       *address;
6566   }
# Line 6233 | Line 6586 | static const void *lt_preloaded_setup()
6586   _LT_EOF
6587            # Now try linking the two files.
6588            mv conftest.$ac_objext conftstm.$ac_objext
6589 <          lt_save_LIBS="$LIBS"
6590 <          lt_save_CFLAGS="$CFLAGS"
6589 >          lt_globsym_save_LIBS=$LIBS
6590 >          lt_globsym_save_CFLAGS=$CFLAGS
6591            LIBS="conftstm.$ac_objext"
6592            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6593            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6597 | _LT_EOF
6597    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6598              pipe_works=yes
6599            fi
6600 <          LIBS="$lt_save_LIBS"
6601 <          CFLAGS="$lt_save_CFLAGS"
6600 >          LIBS=$lt_globsym_save_LIBS
6601 >          CFLAGS=$lt_globsym_save_CFLAGS
6602          else
6603            echo "cannot find nm_test_func in $nlist" >&5
6604          fi
# Line 6282 | Line 6635 | else
6635   $as_echo "ok" >&6; }
6636   fi
6637  
6638 + # Response file support.
6639 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6640 +  nm_file_list_spec='@'
6641 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6642 +  nm_file_list_spec='@'
6643 + fi
6644 +
6645 +
6646 +
6647 +
6648  
6649  
6650  
# Line 6303 | Line 6666 | fi
6666  
6667  
6668  
6669 +
6670 +
6671 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6672 + $as_echo_n "checking for sysroot... " >&6; }
6673 +
6674 + # Check whether --with-sysroot was given.
6675 + if test "${with_sysroot+set}" = set; then :
6676 +  withval=$with_sysroot;
6677 + else
6678 +  with_sysroot=no
6679 + fi
6680 +
6681 +
6682 + lt_sysroot=
6683 + case ${with_sysroot} in #(
6684 + yes)
6685 +   if test "$GCC" = yes; then
6686 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6687 +   fi
6688 +   ;; #(
6689 + /*)
6690 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6691 +   ;; #(
6692 + no|'')
6693 +   ;; #(
6694 + *)
6695 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6696 + $as_echo "${with_sysroot}" >&6; }
6697 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6698 +   ;;
6699 + esac
6700 +
6701 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6702 + $as_echo "${lt_sysroot:-no}" >&6; }
6703 +
6704 +
6705 +
6706 +
6707 +
6708   # Check whether --enable-libtool-lock was given.
6709   if test "${enable_libtool_lock+set}" = set; then :
6710    enableval=$enable_libtool_lock;
# Line 6428 | Line 6830 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6830    CFLAGS="$CFLAGS -belf"
6831    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6832   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6833 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6833 > if ${lt_cv_cc_needs_belf+:} false; then :
6834    $as_echo_n "(cached) " >&6
6835   else
6836    ac_ext=c
# Line 6496 | Line 6898 | esac
6898  
6899   need_locks="$enable_libtool_lock"
6900  
6901 + if test -n "$ac_tool_prefix"; then
6902 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6903 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6904 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 + $as_echo_n "checking for $ac_word... " >&6; }
6906 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6907 +  $as_echo_n "(cached) " >&6
6908 + else
6909 +  if test -n "$MANIFEST_TOOL"; then
6910 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6911 + else
6912 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 + for as_dir in $PATH
6914 + do
6915 +  IFS=$as_save_IFS
6916 +  test -z "$as_dir" && as_dir=.
6917 +    for ac_exec_ext in '' $ac_executable_extensions; do
6918 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6920 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 +    break 2
6922 +  fi
6923 + done
6924 +  done
6925 + IFS=$as_save_IFS
6926 +
6927 + fi
6928 + fi
6929 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6930 + if test -n "$MANIFEST_TOOL"; then
6931 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6932 + $as_echo "$MANIFEST_TOOL" >&6; }
6933 + else
6934 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 + $as_echo "no" >&6; }
6936 + fi
6937 +
6938 +
6939 + fi
6940 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6941 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6942 +  # Extract the first word of "mt", so it can be a program name with args.
6943 + set dummy mt; ac_word=$2
6944 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 + $as_echo_n "checking for $ac_word... " >&6; }
6946 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6947 +  $as_echo_n "(cached) " >&6
6948 + else
6949 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6950 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6951 + else
6952 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 + for as_dir in $PATH
6954 + do
6955 +  IFS=$as_save_IFS
6956 +  test -z "$as_dir" && as_dir=.
6957 +    for ac_exec_ext in '' $ac_executable_extensions; do
6958 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6960 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 +    break 2
6962 +  fi
6963 + done
6964 +  done
6965 + IFS=$as_save_IFS
6966 +
6967 + fi
6968 + fi
6969 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6970 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6971 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6972 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6973 + else
6974 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 + $as_echo "no" >&6; }
6976 + fi
6977 +
6978 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6979 +    MANIFEST_TOOL=":"
6980 +  else
6981 +    case $cross_compiling:$ac_tool_warned in
6982 + yes:)
6983 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985 + ac_tool_warned=yes ;;
6986 + esac
6987 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6988 +  fi
6989 + else
6990 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6991 + fi
6992 +
6993 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6994 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6995 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6996 + if ${lt_cv_path_mainfest_tool+:} false; then :
6997 +  $as_echo_n "(cached) " >&6
6998 + else
6999 +  lt_cv_path_mainfest_tool=no
7000 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7001 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7002 +  cat conftest.err >&5
7003 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7004 +    lt_cv_path_mainfest_tool=yes
7005 +  fi
7006 +  rm -f conftest*
7007 + fi
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7009 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7010 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7011 +  MANIFEST_TOOL=:
7012 + fi
7013 +
7014 +
7015 +
7016 +
7017 +
7018  
7019    case $host_os in
7020      rhapsody* | darwin*)
# Line 6504 | Line 7023 | need_locks="$enable_libtool_lock"
7023   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025   $as_echo_n "checking for $ac_word... " >&6; }
7026 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7026 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7027    $as_echo_n "(cached) " >&6
7028   else
7029    if test -n "$DSYMUTIL"; then
# Line 6544 | Line 7063 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7063   set dummy dsymutil; ac_word=$2
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065   $as_echo_n "checking for $ac_word... " >&6; }
7066 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7066 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7067    $as_echo_n "(cached) " >&6
7068   else
7069    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6596 | Line 7115 | fi
7115   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117   $as_echo_n "checking for $ac_word... " >&6; }
7118 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7118 > if ${ac_cv_prog_NMEDIT+:} false; then :
7119    $as_echo_n "(cached) " >&6
7120   else
7121    if test -n "$NMEDIT"; then
# Line 6636 | Line 7155 | if test -z "$ac_cv_prog_NMEDIT"; then
7155   set dummy nmedit; ac_word=$2
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157   $as_echo_n "checking for $ac_word... " >&6; }
7158 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7158 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7159    $as_echo_n "(cached) " >&6
7160   else
7161    if test -n "$ac_ct_NMEDIT"; then
# Line 6688 | Line 7207 | fi
7207   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209   $as_echo_n "checking for $ac_word... " >&6; }
7210 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7210 > if ${ac_cv_prog_LIPO+:} false; then :
7211    $as_echo_n "(cached) " >&6
7212   else
7213    if test -n "$LIPO"; then
# Line 6728 | Line 7247 | if test -z "$ac_cv_prog_LIPO"; then
7247   set dummy lipo; ac_word=$2
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249   $as_echo_n "checking for $ac_word... " >&6; }
7250 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7250 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7251    $as_echo_n "(cached) " >&6
7252   else
7253    if test -n "$ac_ct_LIPO"; then
# Line 6780 | Line 7299 | fi
7299   set dummy ${ac_tool_prefix}otool; ac_word=$2
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301   $as_echo_n "checking for $ac_word... " >&6; }
7302 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7302 > if ${ac_cv_prog_OTOOL+:} false; then :
7303    $as_echo_n "(cached) " >&6
7304   else
7305    if test -n "$OTOOL"; then
# Line 6820 | Line 7339 | if test -z "$ac_cv_prog_OTOOL"; then
7339   set dummy otool; ac_word=$2
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341   $as_echo_n "checking for $ac_word... " >&6; }
7342 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7342 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7343    $as_echo_n "(cached) " >&6
7344   else
7345    if test -n "$ac_ct_OTOOL"; then
# Line 6872 | Line 7391 | fi
7391   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393   $as_echo_n "checking for $ac_word... " >&6; }
7394 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7394 > if ${ac_cv_prog_OTOOL64+:} false; then :
7395    $as_echo_n "(cached) " >&6
7396   else
7397    if test -n "$OTOOL64"; then
# Line 6912 | Line 7431 | if test -z "$ac_cv_prog_OTOOL64"; then
7431   set dummy otool64; ac_word=$2
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433   $as_echo_n "checking for $ac_word... " >&6; }
7434 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7434 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7435    $as_echo_n "(cached) " >&6
7436   else
7437    if test -n "$ac_ct_OTOOL64"; then
# Line 6987 | Line 7506 | fi
7506  
7507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7508   $as_echo_n "checking for -single_module linker flag... " >&6; }
7509 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7509 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7510    $as_echo_n "(cached) " >&6
7511   else
7512    lt_cv_apple_cc_single_mod=no
# Line 7016 | Line 7535 | fi
7535   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7536      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7537   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7538 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7538 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7539    $as_echo_n "(cached) " >&6
7540   else
7541    lt_cv_ld_exported_symbols_list=no
# Line 7048 | Line 7567 | fi
7567   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7569   $as_echo_n "checking for -force_load linker flag... " >&6; }
7570 < if test "${lt_cv_ld_force_load+set}" = set; then :
7570 > if ${lt_cv_ld_force_load+:} false; then :
7571    $as_echo_n "(cached) " >&6
7572   else
7573    lt_cv_ld_force_load=no
# Line 7125 | Line 7644 | if test -n "$CPP" && test -d "$CPP"; the
7644    CPP=
7645   fi
7646   if test -z "$CPP"; then
7647 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7647 >  if ${ac_cv_prog_CPP+:} false; then :
7648    $as_echo_n "(cached) " >&6
7649   else
7650        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7674 | else
7674    # Broken: fails on valid input.
7675   continue
7676   fi
7677 < rm -f conftest.err conftest.$ac_ext
7677 > rm -f conftest.err conftest.i conftest.$ac_ext
7678  
7679    # OK, works on sane cases.  Now check whether nonexistent headers
7680    # can be detected and how.
# Line 7171 | Line 7690 | else
7690   ac_preproc_ok=:
7691   break
7692   fi
7693 < rm -f conftest.err conftest.$ac_ext
7693 > rm -f conftest.err conftest.i conftest.$ac_ext
7694  
7695   done
7696   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7697 < rm -f conftest.err conftest.$ac_ext
7697 > rm -f conftest.i conftest.err conftest.$ac_ext
7698   if $ac_preproc_ok; then :
7699    break
7700   fi
# Line 7214 | Line 7733 | else
7733    # Broken: fails on valid input.
7734   continue
7735   fi
7736 < rm -f conftest.err conftest.$ac_ext
7736 > rm -f conftest.err conftest.i conftest.$ac_ext
7737  
7738    # OK, works on sane cases.  Now check whether nonexistent headers
7739    # can be detected and how.
# Line 7230 | Line 7749 | else
7749   ac_preproc_ok=:
7750   break
7751   fi
7752 < rm -f conftest.err conftest.$ac_ext
7752 > rm -f conftest.err conftest.i conftest.$ac_ext
7753  
7754   done
7755   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7756 < rm -f conftest.err conftest.$ac_ext
7756 > rm -f conftest.i conftest.err conftest.$ac_ext
7757   if $ac_preproc_ok; then :
7758  
7759   else
7760    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7761   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7762 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7763 < See \`config.log' for more details." "$LINENO" 5; }
7762 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7763 > See \`config.log' for more details" "$LINENO" 5; }
7764   fi
7765  
7766   ac_ext=c
# Line 7253 | Line 7772 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7772  
7773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7774   $as_echo_n "checking for ANSI C header files... " >&6; }
7775 < if test "${ac_cv_header_stdc+set}" = set; then :
7775 > if ${ac_cv_header_stdc+:} false; then :
7776    $as_echo_n "(cached) " >&6
7777   else
7778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 7889 | do :
7889    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7890   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7891   "
7892 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
7892 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7893    cat >>confdefs.h <<_ACEOF
7894   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7895   _ACEOF
# Line 7385 | Line 7903 | for ac_header in dlfcn.h
7903   do :
7904    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7905   "
7906 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7906 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7907    cat >>confdefs.h <<_ACEOF
7908   #define HAVE_DLFCN_H 1
7909   _ACEOF
# Line 7570 | Line 8088 | fi
8088  
8089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8090   $as_echo_n "checking for objdir... " >&6; }
8091 < if test "${lt_cv_objdir+set}" = set; then :
8091 > if ${lt_cv_objdir+:} false; then :
8092    $as_echo_n "(cached) " >&6
8093   else
8094    rm -f .libs 2>/dev/null
# Line 7648 | Line 8166 | file_magic*)
8166    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8167      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8168   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8169 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8169 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8170    $as_echo_n "(cached) " >&6
8171   else
8172    case $MAGIC_CMD in
# Line 7714 | Line 8232 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8232    if test -n "$ac_tool_prefix"; then
8233      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8234   $as_echo_n "checking for file... " >&6; }
8235 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8235 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8236    $as_echo_n "(cached) " >&6
8237   else
8238    case $MAGIC_CMD in
# Line 7852 | Line 8370 | if test "$GCC" = yes; then
8370  
8371    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8372   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8373 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8373 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8374    $as_echo_n "(cached) " >&6
8375   else
8376    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8423 | fi
8423   lt_prog_compiler_pic=
8424   lt_prog_compiler_static=
8425  
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; }
8426  
8427    if test "$GCC" = yes; then
8428      lt_prog_compiler_wl='-Wl,'
# Line 8071 | Line 8587 | $as_echo_n "checking for $compiler optio
8587          lt_prog_compiler_pic='--shared'
8588          lt_prog_compiler_static='--static'
8589          ;;
8590 +      nagfor*)
8591 +        # NAG Fortran compiler
8592 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8593 +        lt_prog_compiler_pic='-PIC'
8594 +        lt_prog_compiler_static='-Bstatic'
8595 +        ;;
8596        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8597          # Portland Group compilers (*not* the Pentium gcc compiler,
8598          # which looks to be a dead project)
# Line 8190 | Line 8712 | case $host_os in
8712      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8713      ;;
8714   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
8715  
8716 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8717 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8718 + if ${lt_cv_prog_compiler_pic+:} false; then :
8719 +  $as_echo_n "(cached) " >&6
8720 + else
8721 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8722 + fi
8723 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8724 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8725 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8726  
8727   #
8728   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8730 | $as_echo "$lt_prog_compiler_pic" >&6; }
8730   if test -n "$lt_prog_compiler_pic"; then
8731    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8732   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8733 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8733 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8734    $as_echo_n "(cached) " >&6
8735   else
8736    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 8783 | fi
8783  
8784  
8785  
8786 +
8787 +
8788 +
8789 +
8790 +
8791   #
8792   # Check to make sure the static flag actually works.
8793   #
8794   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8796   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8797 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8797 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8798    $as_echo_n "(cached) " >&6
8799   else
8800    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 8837 | fi
8837  
8838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8839   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8840 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8840 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8841    $as_echo_n "(cached) " >&6
8842   else
8843    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 8892 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8892  
8893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8894   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8895 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8895 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8896    $as_echo_n "(cached) " >&6
8897   else
8898    lt_cv_prog_compiler_c_o=no
# Line 8607 | Line 9138 | _LT_EOF
9138        allow_undefined_flag=unsupported
9139        always_export_symbols=no
9140        enable_shared_with_static_runtimes=yes
9141 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9141 >      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'
9142 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9143  
9144        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9145          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 9187 | _LT_EOF
9187        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9188           && test "$tmp_diet" = no
9189        then
9190 <        tmp_addflag=
9190 >        tmp_addflag=' $pic_flag'
9191          tmp_sharedflag='-shared'
9192          case $cc_basename,$host_cpu in
9193          pgcc*)                          # Portland Group C compiler
# Line 8725 | Line 9257 | _LT_EOF
9257          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9258          wlarc=
9259        else
9260 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9260 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9262        fi
9263        ;;
9264  
# Line 8744 | Line 9276 | _LT_EOF
9276  
9277   _LT_EOF
9278        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9279 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9279 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9281        else
9282          ld_shlibs=no
9283        fi
# Line 8791 | Line 9323 | _LT_EOF
9323  
9324      *)
9325        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9326 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328        else
9329          ld_shlibs=no
9330        fi
# Line 8922 | Line 9454 | _LT_EOF
9454          allow_undefined_flag='-berok'
9455          # Determine the default libpath from the value encoded in an
9456          # empty executable.
9457 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 >        if test "${lt_cv_aix_libpath+set}" = set; then
9458 >  aix_libpath=$lt_cv_aix_libpath
9459 > else
9460 >  if ${lt_cv_aix_libpath_+:} false; then :
9461 >  $as_echo_n "(cached) " >&6
9462 > else
9463 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464   /* end confdefs.h.  */
9465  
9466   int
# Line 8935 | Line 9473 | main ()
9473   _ACEOF
9474   if ac_fn_c_try_link "$LINENO"; then :
9475  
9476 < lt_aix_libpath_sed='
9477 <    /Import File Strings/,/^$/ {
9478 <        /^0/ {
9479 <            s/^0  *\(.*\)$/\1/
9480 <            p
9481 <        }
9482 <    }'
9483 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484 < # Check for a 64-bit object if we didn't find anything.
9485 < if test -z "$aix_libpath"; then
9486 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487 < fi
9476 >  lt_aix_libpath_sed='
9477 >      /Import File Strings/,/^$/ {
9478 >          /^0/ {
9479 >              s/^0  *\([^ ]*\) *$/\1/
9480 >              p
9481 >          }
9482 >      }'
9483 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484 >  # Check for a 64-bit object if we didn't find anything.
9485 >  if test -z "$lt_cv_aix_libpath_"; then
9486 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487 >  fi
9488   fi
9489   rm -f core conftest.err conftest.$ac_objext \
9490      conftest$ac_exeext conftest.$ac_ext
9491 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9491 >  if test -z "$lt_cv_aix_libpath_"; then
9492 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9493 >  fi
9494 >
9495 > fi
9496 >
9497 >  aix_libpath=$lt_cv_aix_libpath_
9498 > fi
9499  
9500          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9501          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 9507 | if test -z "$aix_libpath"; then aix_libp
9507          else
9508           # Determine the default libpath from the value encoded in an
9509           # empty executable.
9510 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 >         if test "${lt_cv_aix_libpath+set}" = set; then
9511 >  aix_libpath=$lt_cv_aix_libpath
9512 > else
9513 >  if ${lt_cv_aix_libpath_+:} false; then :
9514 >  $as_echo_n "(cached) " >&6
9515 > else
9516 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517   /* end confdefs.h.  */
9518  
9519   int
# Line 8975 | Line 9526 | main ()
9526   _ACEOF
9527   if ac_fn_c_try_link "$LINENO"; then :
9528  
9529 < lt_aix_libpath_sed='
9530 <    /Import File Strings/,/^$/ {
9531 <        /^0/ {
9532 <            s/^0  *\(.*\)$/\1/
9533 <            p
9534 <        }
9535 <    }'
9536 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 < # Check for a 64-bit object if we didn't find anything.
9538 < if test -z "$aix_libpath"; then
9539 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540 < fi
9529 >  lt_aix_libpath_sed='
9530 >      /Import File Strings/,/^$/ {
9531 >          /^0/ {
9532 >              s/^0  *\([^ ]*\) *$/\1/
9533 >              p
9534 >          }
9535 >      }'
9536 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 >  # Check for a 64-bit object if we didn't find anything.
9538 >  if test -z "$lt_cv_aix_libpath_"; then
9539 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540 >  fi
9541   fi
9542   rm -f core conftest.err conftest.$ac_objext \
9543      conftest$ac_exeext conftest.$ac_ext
9544 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9544 >  if test -z "$lt_cv_aix_libpath_"; then
9545 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9546 >  fi
9547 >
9548 > fi
9549 >
9550 >  aix_libpath=$lt_cv_aix_libpath_
9551 > fi
9552  
9553           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9593 | if test -z "$aix_libpath"; then aix_libp
9593        # Microsoft Visual C++.
9594        # hardcode_libdir_flag_spec is actually meaningless, as there is
9595        # no search path for DLLs.
9596 <      hardcode_libdir_flag_spec=' '
9597 <      allow_undefined_flag=unsupported
9598 <      # Tell ltmain to make .lib files, not .a files.
9599 <      libext=lib
9600 <      # Tell ltmain to make .dll files, not .so files.
9601 <      shrext_cmds=".dll"
9602 <      # FIXME: Setting linknames here is a bad hack.
9603 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9604 <      # The linker will automatically build a .lib file if we build a DLL.
9605 <      old_archive_from_new_cmds='true'
9606 <      # FIXME: Should let the user specify the lib program.
9607 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9608 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9609 <      enable_shared_with_static_runtimes=yes
9596 >      case $cc_basename in
9597 >      cl*)
9598 >        # Native MSVC
9599 >        hardcode_libdir_flag_spec=' '
9600 >        allow_undefined_flag=unsupported
9601 >        always_export_symbols=yes
9602 >        file_list_spec='@'
9603 >        # Tell ltmain to make .lib files, not .a files.
9604 >        libext=lib
9605 >        # Tell ltmain to make .dll files, not .so files.
9606 >        shrext_cmds=".dll"
9607 >        # FIXME: Setting linknames here is a bad hack.
9608 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9609 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9610 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9611 >          else
9612 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9613 >          fi~
9614 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9615 >          linknames='
9616 >        # The linker will not automatically build a static lib if we build a DLL.
9617 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9618 >        enable_shared_with_static_runtimes=yes
9619 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9620 >        # Don't use ranlib
9621 >        old_postinstall_cmds='chmod 644 $oldlib'
9622 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9623 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9624 >          case $lt_outputfile in
9625 >            *.exe|*.EXE) ;;
9626 >            *)
9627 >              lt_outputfile="$lt_outputfile.exe"
9628 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9629 >              ;;
9630 >          esac~
9631 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9632 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9633 >            $RM "$lt_outputfile.manifest";
9634 >          fi'
9635 >        ;;
9636 >      *)
9637 >        # Assume MSVC wrapper
9638 >        hardcode_libdir_flag_spec=' '
9639 >        allow_undefined_flag=unsupported
9640 >        # Tell ltmain to make .lib files, not .a files.
9641 >        libext=lib
9642 >        # Tell ltmain to make .dll files, not .so files.
9643 >        shrext_cmds=".dll"
9644 >        # FIXME: Setting linknames here is a bad hack.
9645 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9646 >        # The linker will automatically build a .lib file if we build a DLL.
9647 >        old_archive_from_new_cmds='true'
9648 >        # FIXME: Should let the user specify the lib program.
9649 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9650 >        enable_shared_with_static_runtimes=yes
9651 >        ;;
9652 >      esac
9653        ;;
9654  
9655      darwin* | rhapsody*)
# Line 9113 | Line 9714 | if test -z "$aix_libpath"; then aix_libp
9714  
9715      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9716      freebsd* | dragonfly*)
9717 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9717 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718        hardcode_libdir_flag_spec='-R$libdir'
9719        hardcode_direct=yes
9720        hardcode_shlibpath_var=no
# Line 9121 | Line 9722 | if test -z "$aix_libpath"; then aix_libp
9722  
9723      hpux9*)
9724        if test "$GCC" = yes; then
9725 <        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'
9725 >        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'
9726        else
9727          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'
9728        fi
# Line 9137 | Line 9738 | if test -z "$aix_libpath"; then aix_libp
9738  
9739      hpux10*)
9740        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9741 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742        else
9743          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9744        fi
# Line 9161 | Line 9762 | if test -z "$aix_libpath"; then aix_libp
9762            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9763            ;;
9764          ia64*)
9765 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766            ;;
9767          *)
9768 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9769            ;;
9770          esac
9771        else
# Line 9181 | Line 9782 | if test -z "$aix_libpath"; then aix_libp
9782            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9783            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9784   $as_echo_n "checking if $CC understands -b... " >&6; }
9785 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9785 > if ${lt_cv_prog_compiler__b+:} false; then :
9786    $as_echo_n "(cached) " >&6
9787   else
9788    lt_cv_prog_compiler__b=no
# Line 9243 | Line 9844 | fi
9844  
9845      irix5* | irix6* | nonstopux*)
9846        if test "$GCC" = yes; then
9847 <        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'
9847 >        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'
9848          # Try to use the -exported_symbol ld option, if it does not
9849          # work, assume that -exports_file does not work either and
9850          # implicitly export all symbols.
9851 <        save_LDFLAGS="$LDFLAGS"
9852 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9853 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 >        # This should be the same for all languages, so no per-tag cache variable.
9852 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9853 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9854 > if ${lt_cv_irix_exported_symbol+:} false; then :
9855 >  $as_echo_n "(cached) " >&6
9856 > else
9857 >  save_LDFLAGS="$LDFLAGS"
9858 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860   /* end confdefs.h.  */
9861 < int foo(void) {}
9861 > int foo (void) { return 0; }
9862   _ACEOF
9863   if ac_fn_c_try_link "$LINENO"; then :
9864 <  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'
9865 <
9864 >  lt_cv_irix_exported_symbol=yes
9865 > else
9866 >  lt_cv_irix_exported_symbol=no
9867   fi
9868   rm -f core conftest.err conftest.$ac_objext \
9869      conftest$ac_exeext conftest.$ac_ext
9870 <        LDFLAGS="$save_LDFLAGS"
9870 >           LDFLAGS="$save_LDFLAGS"
9871 > fi
9872 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9873 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9874 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9875 >          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'
9876 >        fi
9877        else
9878          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'
9879          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 9958 | rm -f core conftest.err conftest.$ac_obj
9958      osf4* | osf5*)      # as osf3* with the addition of -msym flag
9959        if test "$GCC" = yes; then
9960          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961 <        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'
9961 >        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'
9962          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9963        else
9964          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 9977 | rm -f core conftest.err conftest.$ac_obj
9977        no_undefined_flag=' -z defs'
9978        if test "$GCC" = yes; then
9979          wlarc='${wl}'
9980 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9980 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982 >          $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'
9983        else
9984          case `$CC -V 2>&1` in
9985          *"Compilers 5.0"*)
# Line 9553 | Line 10167 | x|xyes)
10167        # to ld, don't add -lc before -lgcc.
10168        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10169   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10170 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10170 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10171    $as_echo_n "(cached) " >&6
10172   else
10173    $RM conftest*
# Line 9941 | Line 10555 | cygwin* | mingw* | pw32* | cegcc*)
10555    need_version=no
10556    need_lib_prefix=no
10557  
10558 <  case $GCC,$host_os in
10559 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10558 >  case $GCC,$cc_basename in
10559 >  yes,*)
10560 >    # gcc
10561      library_names_spec='$libname.dll.a'
10562      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10563      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10590 | cygwin* | mingw* | pw32* | cegcc*)
10590        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10591        ;;
10592      esac
10593 +    dynamic_linker='Win32 ld.exe'
10594 +    ;;
10595 +
10596 +  *,cl*)
10597 +    # Native MSVC
10598 +    libname_spec='$name'
10599 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10600 +    library_names_spec='${libname}.dll.lib'
10601 +
10602 +    case $build_os in
10603 +    mingw*)
10604 +      sys_lib_search_path_spec=
10605 +      lt_save_ifs=$IFS
10606 +      IFS=';'
10607 +      for lt_path in $LIB
10608 +      do
10609 +        IFS=$lt_save_ifs
10610 +        # Let DOS variable expansion print the short 8.3 style file name.
10611 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10612 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10613 +      done
10614 +      IFS=$lt_save_ifs
10615 +      # Convert to MSYS style.
10616 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10617 +      ;;
10618 +    cygwin*)
10619 +      # Convert to unix form, then to dos form, then back to unix form
10620 +      # but this time dos style (no spaces!) so that the unix form looks
10621 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10622 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10623 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10624 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10625 +      ;;
10626 +    *)
10627 +      sys_lib_search_path_spec="$LIB"
10628 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10629 +        # It is most probably a Windows format PATH.
10630 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10631 +      else
10632 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10633 +      fi
10634 +      # FIXME: find the short name or the path components, as spaces are
10635 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10636 +      ;;
10637 +    esac
10638 +
10639 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10640 +    postinstall_cmds='base_file=`basename \${file}`~
10641 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10642 +      dldir=$destdir/`dirname \$dlpath`~
10643 +      test -d \$dldir || mkdir -p \$dldir~
10644 +      $install_prog $dir/$dlname \$dldir/$dlname'
10645 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10646 +      dlpath=$dir/\$dldll~
10647 +       $RM \$dlpath'
10648 +    shlibpath_overrides_runpath=yes
10649 +    dynamic_linker='Win32 link.exe'
10650      ;;
10651  
10652    *)
10653 +    # Assume MSVC wrapper
10654      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10655 +    dynamic_linker='Win32 ld.exe'
10656      ;;
10657    esac
9984  dynamic_linker='Win32 ld.exe'
10658    # FIXME: first we should search . and the directory the executable is in
10659    shlibpath_var=PATH
10660    ;;
# Line 10195 | Line 10868 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10868    shlibpath_overrides_runpath=no
10869  
10870    # Some binutils ld are patched to set DT_RUNPATH
10871 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10871 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10872    $as_echo_n "(cached) " >&6
10873   else
10874    lt_cv_shlibpath_overrides_runpath=no
# Line 10615 | Line 11288 | else
11288    # if libdl is installed we need to link against it
11289      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11290   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11291 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11291 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11292    $as_echo_n "(cached) " >&6
11293   else
11294    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11322 | LIBS=$ac_check_lib_save_LIBS
11322   fi
11323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11324   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11325 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11325 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11326    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11327   else
11328  
# Line 10663 | Line 11336 | fi
11336  
11337    *)
11338      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11339 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11339 > if test "x$ac_cv_func_shl_load" = xyes; then :
11340    lt_cv_dlopen="shl_load"
11341   else
11342    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11343   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11344 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11344 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11345    $as_echo_n "(cached) " >&6
11346   else
11347    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11375 | LIBS=$ac_check_lib_save_LIBS
11375   fi
11376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11377   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11378 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11378 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11379    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11380   else
11381    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11382 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11382 > if test "x$ac_cv_func_dlopen" = xyes; then :
11383    lt_cv_dlopen="dlopen"
11384   else
11385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11386   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11387 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11387 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11388    $as_echo_n "(cached) " >&6
11389   else
11390    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11418 | LIBS=$ac_check_lib_save_LIBS
11418   fi
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11420   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11421 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11421 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11422    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11423   else
11424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11425   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11426 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11426 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11427    $as_echo_n "(cached) " >&6
11428   else
11429    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11457 | LIBS=$ac_check_lib_save_LIBS
11457   fi
11458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11459   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11460 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11460 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11461    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11462   else
11463    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11464   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11465 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11465 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11466    $as_echo_n "(cached) " >&6
11467   else
11468    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11496 | LIBS=$ac_check_lib_save_LIBS
11496   fi
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11498   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11499 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11499 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11500    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11501   fi
11502  
# Line 10864 | Line 11537 | fi
11537  
11538      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11539   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11540 < if test "${lt_cv_dlopen_self+set}" = set; then :
11540 > if ${lt_cv_dlopen_self+:} false; then :
11541    $as_echo_n "(cached) " >&6
11542   else
11543            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11590 | else
11590   /* When -fvisbility=hidden is used, assume the code has been annotated
11591     correspondingly for the symbols needed.  */
11592   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11593 < void fnord () __attribute__((visibility("default")));
11593 > int fnord () __attribute__((visibility("default")));
11594   #endif
11595  
11596 < void fnord () { int i=42; }
11596 > int fnord () { return 42; }
11597   int main ()
11598   {
11599    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11643 | $as_echo "$lt_cv_dlopen_self" >&6; }
11643        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11645   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11646 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11646 > if ${lt_cv_dlopen_self_static+:} false; then :
11647    $as_echo_n "(cached) " >&6
11648   else
11649            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11696 | else
11696   /* When -fvisbility=hidden is used, assume the code has been annotated
11697     correspondingly for the symbols needed.  */
11698   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11699 < void fnord () __attribute__((visibility("default")));
11699 > int fnord () __attribute__((visibility("default")));
11700   #endif
11701  
11702 < void fnord () { int i=42; }
11702 > int fnord () { return 42; }
11703   int main ()
11704   {
11705    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11218 | Line 11891 | CC="$lt_save_CC"
11891  
11892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11893   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11894 < if test "${libltdl_cv_shlibext+set}" = set; then :
11894 > if ${libltdl_cv_shlibext+:} false; then :
11895    $as_echo_n "(cached) " >&6
11896   else
11897  
# Line 11238 | Line 11911 | fi
11911  
11912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11913   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11914 < if test "${lt_cv_module_path_var+set}" = set; then :
11914 > if ${lt_cv_module_path_var+:} false; then :
11915    $as_echo_n "(cached) " >&6
11916   else
11917    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 11928 | fi
11928  
11929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11930   $as_echo_n "checking for the default library search path... " >&6; }
11931 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11931 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11932    $as_echo_n "(cached) " >&6
11933   else
11934    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 11965 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11965   LIBADD_DLOPEN=
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11967   $as_echo_n "checking for library containing dlopen... " >&6; }
11968 < if test "${ac_cv_search_dlopen+set}" = set; then :
11968 > if ${ac_cv_search_dlopen+:} false; then :
11969    $as_echo_n "(cached) " >&6
11970   else
11971    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 11999 | for ac_lib in '' dl; do
11999   fi
12000   rm -f core conftest.err conftest.$ac_objext \
12001      conftest$ac_exeext
12002 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12002 >  if ${ac_cv_search_dlopen+:} false; then :
12003    break
12004   fi
12005   done
12006 < if test "${ac_cv_search_dlopen+set}" = set; then :
12006 > if ${ac_cv_search_dlopen+:} false; then :
12007  
12008   else
12009    ac_cv_search_dlopen=no
# Line 11375 | Line 12048 | $as_echo "#define HAVE_LIBDL 1" >>confde
12048   else
12049    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12050   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12051 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12051 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12052    $as_echo_n "(cached) " >&6
12053   else
12054    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12082 | LIBS=$ac_check_lib_save_LIBS
12082   fi
12083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12084   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12085 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12085 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12086  
12087   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12088  
# Line 11429 | Line 12102 | then
12102    for ac_func in dlerror
12103   do :
12104    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12105 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12105 > if test "x$ac_cv_func_dlerror" = xyes; then :
12106    cat >>confdefs.h <<_ACEOF
12107   #define HAVE_DLERROR 1
12108   _ACEOF
# Line 11443 | Line 12116 | fi
12116  
12117   LIBADD_SHL_LOAD=
12118   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12119 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12119 > if test "x$ac_cv_func_shl_load" = xyes; then :
12120  
12121   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12122  
# Line 11451 | Line 12124 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12124   else
12125    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12126   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12127 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12127 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12128    $as_echo_n "(cached) " >&6
12129   else
12130    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12158 | LIBS=$ac_check_lib_save_LIBS
12158   fi
12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12160   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12161 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12161 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12162  
12163   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12164  
# Line 11501 | Line 12174 | case $host_os in
12174   darwin[1567].*)
12175   # We only want this for pre-Mac OS X 10.4.
12176    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12177 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12177 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12178  
12179   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12180  
# Line 11515 | Line 12188 | beos*)
12188   cygwin* | mingw* | os2* | pw32*)
12189    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12190   "
12191 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12191 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12192    ac_have_decl=1
12193   else
12194    ac_have_decl=0
# Line 11531 | Line 12204 | esac
12204  
12205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12206   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12207 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12207 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12208    $as_echo_n "(cached) " >&6
12209   else
12210    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12238 | LIBS=$ac_check_lib_save_LIBS
12238   fi
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12240   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12241 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12241 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12242  
12243   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12244  
# Line 11599 | Line 12272 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12272  
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12274   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12275 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12275 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12276    $as_echo_n "(cached) " >&6
12277   else
12278    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12322 | if test x"$lt_cv_sys_symbol_underscore"
12322       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12323          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12324   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12325 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12325 > if ${libltdl_cv_need_uscore+:} false; then :
12326    $as_echo_n "(cached) " >&6
12327   else
12328    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12378 | else
12378   /* When -fvisbility=hidden is used, assume the code has been annotated
12379     correspondingly for the symbols needed.  */
12380   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12381 < void fnord () __attribute__((visibility("default")));
12381 > int fnord () __attribute__((visibility("default")));
12382   #endif
12383  
12384 < void fnord () { int i=42; }
12384 > int fnord () { return 42; }
12385   int main ()
12386   {
12387    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12438 | fi
12438  
12439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12440   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12441 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12441 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12442    $as_echo_n "(cached) " >&6
12443   else
12444    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12544 | for ac_header in argz.h
12544   do :
12545    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12546   "
12547 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12547 > if test "x$ac_cv_header_argz_h" = xyes; then :
12548    cat >>confdefs.h <<_ACEOF
12549   #define HAVE_ARGZ_H 1
12550   _ACEOF
# Line 11885 | Line 12558 | ac_fn_c_check_type "$LINENO" "error_t" "
12558   #  include <argz.h>
12559   #endif
12560   "
12561 < if test "x$ac_cv_type_error_t" = x""yes; then :
12561 > if test "x$ac_cv_type_error_t" = xyes; then :
12562  
12563   cat >>confdefs.h <<_ACEOF
12564   #define HAVE_ERROR_T 1
# Line 11908 | Line 12581 | for ac_func in argz_add argz_append argz
12581   do :
12582    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12583   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12584 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12584 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12585    cat >>confdefs.h <<_ACEOF
12586   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12587   _ACEOF
# Line 11926 | Line 12598 | done
12598   if test -z "$ARGZ_H"; then :
12599    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12600   $as_echo_n "checking if argz actually works... " >&6; }
12601 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12601 > if ${lt_cv_sys_argz_works+:} false; then :
12602    $as_echo_n "(cached) " >&6
12603   else
12604    case $host_os in #(
# Line 11957 | Line 12629 | else
12629   fi
12630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12631   $as_echo "$lt_cv_sys_argz_works" >&6; }
12632 <     if test $lt_cv_sys_argz_works = yes; then :
12632 >     if test "$lt_cv_sys_argz_works" = yes; then :
12633  
12634   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12635  
# Line 11974 | Line 12646 | fi
12646  
12647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12648   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12649 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12649 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12650    $as_echo_n "(cached) " >&6
12651   else
12652    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12688 | if test "x$with_included_ltdl" != xyes;
12688    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12689  
12690   "
12691 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12691 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12692    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12693              #include <ltdl.h>
12694   "
12695 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12695 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12696    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12697   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12698 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12698 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12699    $as_echo_n "(cached) " >&6
12700   else
12701    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12729 | LIBS=$ac_check_lib_save_LIBS
12729   fi
12730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12731   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12732 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12732 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12733    with_included_ltdl=no
12734   else
12735    with_included_ltdl=yes
# Line 12086 | Line 12758 | fi
12758   if test -n "$with_ltdl_include"; then
12759    if test -f "$with_ltdl_include/ltdl.h"; then :
12760    else
12761 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12761 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12762    fi
12763   else
12764    with_ltdl_include=no
# Line 12102 | Line 12774 | fi
12774   if test -n "$with_ltdl_lib"; then
12775    if test -f "$with_ltdl_lib/libltdl.la"; then :
12776    else
12777 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12777 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12778    fi
12779   else
12780    with_ltdl_lib=no
# Line 12111 | Line 12783 | fi
12783   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12784    ,yes,no,no,)
12785          case $enable_ltdl_convenience in
12786 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12786 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12787    "") enable_ltdl_convenience=yes
12788        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12789   esac
# Line 12139 | Line 12811 | $as_echo "#define HAVE_LTDL 1" >>confdef
12811          LTDLINCL=
12812          ;;
12813    ,no*,no,*)
12814 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12814 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12815          ;;
12816    *)    with_included_ltdl=no
12817          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 12878 | do :
12878    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12879   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12880   "
12881 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
12881 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12882    cat >>confdefs.h <<_ACEOF
12883   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12884   _ACEOF
# Line 12221 | Line 12892 | for ac_func in closedir opendir readdir
12892   do :
12893    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12894   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12895 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
12895 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12896    cat >>confdefs.h <<_ACEOF
12897   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12898   _ACEOF
# Line 12239 | Line 12909 | for ac_func in strlcat strlcpy
12909   do :
12910    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12911   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12912 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
12912 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12913    cat >>confdefs.h <<_ACEOF
12914   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12915   _ACEOF
# Line 12260 | Line 12929 | cat >>confdefs.h <<_ACEOF
12929   _ACEOF
12930  
12931  
12932 + name=
12933 + eval "lt_libprefix=\"$libname_spec\""
12934 +
12935 + cat >>confdefs.h <<_ACEOF
12936 + #define LT_LIBPREFIX "$lt_libprefix"
12937 + _ACEOF
12938 +
12939 +
12940   name=ltdl
12941 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12941 > eval "LTDLOPEN=\"$libname_spec\""
12942  
12943  
12944  
# Line 12279 | Line 12956 | LIBTOOL="$LIBTOOL --silent"
12956  
12957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12958   $as_echo_n "checking for library containing socket... " >&6; }
12959 < if test "${ac_cv_search_socket+set}" = set; then :
12959 > if ${ac_cv_search_socket+:} false; then :
12960    $as_echo_n "(cached) " >&6
12961   else
12962    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 12990 | for ac_lib in '' socket; do
12990   fi
12991   rm -f core conftest.err conftest.$ac_objext \
12992      conftest$ac_exeext
12993 <  if test "${ac_cv_search_socket+set}" = set; then :
12993 >  if ${ac_cv_search_socket+:} false; then :
12994    break
12995   fi
12996   done
12997 < if test "${ac_cv_search_socket+set}" = set; then :
12997 > if ${ac_cv_search_socket+:} false; then :
12998  
12999   else
13000    ac_cv_search_socket=no
# Line 12332 | Line 13009 | if test "$ac_res" != no; then :
13009    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13010  
13011   else
13012 <  as_fn_error "socket library not found" "$LINENO" 5
13012 >  as_fn_error $? "socket library not found" "$LINENO" 5
13013 > fi
13014 >
13015 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13016 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13017 > if ${ac_cv_search_inet_ntoa+:} false; then :
13018 >  $as_echo_n "(cached) " >&6
13019 > else
13020 >  ac_func_search_save_LIBS=$LIBS
13021 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 > /* end confdefs.h.  */
13023 >
13024 > /* Override any GCC internal prototype to avoid an error.
13025 >   Use char because int might match the return type of a GCC
13026 >   builtin and then its argument prototype would still apply.  */
13027 > #ifdef __cplusplus
13028 > extern "C"
13029 > #endif
13030 > char inet_ntoa ();
13031 > int
13032 > main ()
13033 > {
13034 > return inet_ntoa ();
13035 >  ;
13036 >  return 0;
13037 > }
13038 > _ACEOF
13039 > for ac_lib in '' nsl; do
13040 >  if test -z "$ac_lib"; then
13041 >    ac_res="none required"
13042 >  else
13043 >    ac_res=-l$ac_lib
13044 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13045 >  fi
13046 >  if ac_fn_c_try_link "$LINENO"; then :
13047 >  ac_cv_search_inet_ntoa=$ac_res
13048 > fi
13049 > rm -f core conftest.err conftest.$ac_objext \
13050 >    conftest$ac_exeext
13051 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13052 >  break
13053 > fi
13054 > done
13055 > if ${ac_cv_search_inet_ntoa+:} false; then :
13056 >
13057 > else
13058 >  ac_cv_search_inet_ntoa=no
13059 > fi
13060 > rm conftest.$ac_ext
13061 > LIBS=$ac_func_search_save_LIBS
13062 > fi
13063 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13064 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13065 > ac_res=$ac_cv_search_inet_ntoa
13066 > if test "$ac_res" != no; then :
13067 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13068 >
13069 > fi
13070 >
13071 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13072 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13073 > if ${ac_cv_search_inet_aton+:} false; then :
13074 >  $as_echo_n "(cached) " >&6
13075 > else
13076 >  ac_func_search_save_LIBS=$LIBS
13077 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 > /* end confdefs.h.  */
13079 >
13080 > /* Override any GCC internal prototype to avoid an error.
13081 >   Use char because int might match the return type of a GCC
13082 >   builtin and then its argument prototype would still apply.  */
13083 > #ifdef __cplusplus
13084 > extern "C"
13085 > #endif
13086 > char inet_aton ();
13087 > int
13088 > main ()
13089 > {
13090 > return inet_aton ();
13091 >  ;
13092 >  return 0;
13093 > }
13094 > _ACEOF
13095 > for ac_lib in '' resolv; do
13096 >  if test -z "$ac_lib"; then
13097 >    ac_res="none required"
13098 >  else
13099 >    ac_res=-l$ac_lib
13100 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13101 >  fi
13102 >  if ac_fn_c_try_link "$LINENO"; then :
13103 >  ac_cv_search_inet_aton=$ac_res
13104 > fi
13105 > rm -f core conftest.err conftest.$ac_objext \
13106 >    conftest$ac_exeext
13107 >  if ${ac_cv_search_inet_aton+:} false; then :
13108 >  break
13109 > fi
13110 > done
13111 > if ${ac_cv_search_inet_aton+:} false; then :
13112 >
13113 > else
13114 >  ac_cv_search_inet_aton=no
13115 > fi
13116 > rm conftest.$ac_ext
13117 > LIBS=$ac_func_search_save_LIBS
13118 > fi
13119 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13120 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13121 > ac_res=$ac_cv_search_inet_aton
13122 > if test "$ac_res" != no; then :
13123 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13124 >
13125   fi
13126  
13127    for ac_func in inet_aton inet_ntop inet_pton
13128   do :
13129    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13131 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
13131 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13132    cat >>confdefs.h <<_ACEOF
13133   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13134   _ACEOF
# Line 12353 | Line 13141 | done
13141     #include <netdb.h>
13142  
13143   "
13144 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13144 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13145  
13146   cat >>confdefs.h <<_ACEOF
13147   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13154 | ac_fn_c_check_type "$LINENO" "struct soc
13154     #include <netdb.h>
13155  
13156   "
13157 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13157 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13158  
13159   cat >>confdefs.h <<_ACEOF
13160   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13167 | ac_fn_c_check_type "$LINENO" "struct add
13167     #include <netdb.h>
13168  
13169   "
13170 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13170 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13171  
13172   cat >>confdefs.h <<_ACEOF
13173   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13179 | fi
13179    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13180    <sys/socket.h>
13181   "
13182 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13182 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13183  
13184   cat >>confdefs.h <<_ACEOF
13185   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12403 | Line 13191 | fi
13191  
13192  
13193    ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13194 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13194 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13195  
13196   cat >>confdefs.h <<_ACEOF
13197   #define HAVE_STRUCT_SOCKADDR_IN6 1
# Line 12421 | Line 13209 | fi
13209   # Checks for typedefs, structures, and compiler characteristics.
13210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13211   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13212 < if test "${ac_cv_c_bigendian+set}" = set; then :
13212 > if ${ac_cv_c_bigendian+:} false; then :
13213    $as_echo_n "(cached) " >&6
13214   else
13215    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13427 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13427  
13428       ;; #(
13429     *)
13430 <     as_fn_error "unknown endianness
13430 >     as_fn_error $? "unknown endianness
13431   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13432   esac
13433  
# Line 12652 | Line 13440 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13440   do :
13441    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13442   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13443 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13443 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13444    cat >>confdefs.h <<_ACEOF
13445   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13446   _ACEOF
# Line 12673 | Line 13460 | done
13460  
13461  
13462  
13463 +
13464 +
13465   # Checks for header files.
13466  
13467  
# Line 12682 | Line 13471 | do :
13471    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13472   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13473   "
13474 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13474 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13475    cat >>confdefs.h <<_ACEOF
13476   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13477   _ACEOF
# Line 12740 | Line 13528 | fi
13528  
13529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13530   $as_echo_n "checking for library containing crypt... " >&6; }
13531 < if test "${ac_cv_search_crypt+set}" = set; then :
13531 > if ${ac_cv_search_crypt+:} false; then :
13532    $as_echo_n "(cached) " >&6
13533   else
13534    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13562 | for ac_lib in '' crypt; do
13562   fi
13563   rm -f core conftest.err conftest.$ac_objext \
13564      conftest$ac_exeext
13565 <  if test "${ac_cv_search_crypt+set}" = set; then :
13565 >  if ${ac_cv_search_crypt+:} false; then :
13566    break
13567   fi
13568   done
13569 < if test "${ac_cv_search_crypt+set}" = set; then :
13569 > if ${ac_cv_search_crypt+:} false; then :
13570  
13571   else
13572    ac_cv_search_crypt=no
# Line 12814 | Line 13602 | fi
13602   if test "$zlib" = "yes"; then :
13603  
13604    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13605 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13605 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13606    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13607   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13608 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13608 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13609    $as_echo_n "(cached) " >&6
13610   else
13611    ac_check_lib_save_LIBS=$LIBS
# Line 12851 | Line 13639 | LIBS=$ac_check_lib_save_LIBS
13639   fi
13640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13641   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13642 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13642 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13643  
13644        LIBS="-lz $LIBS"
13645  
# Line 12889 | Line 13677 | fi
13677   if test "$libpcre" = "yes"; then :
13678  
13679    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13680 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13680 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13682   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13683 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13683 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13684    $as_echo_n "(cached) " >&6
13685   else
13686    ac_check_lib_save_LIBS=$LIBS
# Line 12926 | Line 13714 | LIBS=$ac_check_lib_save_LIBS
13714   fi
13715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13716   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13717 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13717 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13718  
13719        LIBS="-lpcre $LIBS"
13720  
# Line 13021 | Line 13809 | else
13809    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810   /* end confdefs.h.  */
13811  
13812 +
13813      #include <openssl/opensslv.h>
13814      #include <stdlib.h>
13815   int
13816   main ()
13817   {
13818 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13818 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13819    ;
13820    return 0;
13821   }
# Line 13047 | Line 13836 | $as_echo "found" >&6; }
13836  
13837      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13838   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13839 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13839 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13840    $as_echo_n "(cached) " >&6
13841   else
13842    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 13870 | LIBS=$ac_check_lib_save_LIBS
13870   fi
13871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13872   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13873 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13873 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13874    cat >>confdefs.h <<_ACEOF
13875   #define HAVE_LIBCRYPTO 1
13876   _ACEOF
# Line 13100 | Line 13889 | fi
13889   do :
13890    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13891   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13892 < eval as_val=\$$as_ac_var
13104 <   if test "x$as_val" = x""yes; then :
13892 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13893    cat >>confdefs.h <<_ACEOF
13894   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13895   _ACEOF
# Line 13323 | Line 14111 | _ACEOF
14111    if test "$cross_compiling" = yes; then :
14112    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14113   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14114 < as_fn_error "cannot run test program while cross compiling
14115 < See \`config.log' for more details." "$LINENO" 5; }
14114 > as_fn_error $? "cannot run test program while cross compiling
14115 > See \`config.log' for more details" "$LINENO" 5; }
14116   else
14117    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118   /* end confdefs.h.  */
# Line 13357 | Line 14145 | else
14145   #endif
14146   _syscall1(int, epoll_create, int, size)
14147   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14148  
14149 + int
14150 + main ()
14151 + {
14152 + return epoll_create(256) == -1 ? 1 : 0
14153 +  ;
14154 +  return 0;
14155 + }
14156   _ACEOF
14157   if ac_fn_c_try_run "$LINENO"; then :
14158    is_epoll_mechanism_available="yes"
# Line 13428 | Line 14222 | _ACEOF
14222    if test "$cross_compiling" = yes; then :
14223    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14224   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14225 < as_fn_error "cannot run test program while cross compiling
14226 < See \`config.log' for more details." "$LINENO" 5; }
14225 > as_fn_error $? "cannot run test program while cross compiling
14226 > See \`config.log' for more details" "$LINENO" 5; }
14227   else
14228    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229   /* end confdefs.h.  */
14230  
14231 + #define _GNU_SOURCE
14232   #include <fcntl.h>
14233 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
14233 > static unsigned int have_f_setsig = 0;
14234  
14235   int
14236   main ()
14237   {
14238  
14239 + #ifdef F_SETSIG
14240 +  have_f_setsig = 1;
14241 + #endif
14242 +  return have_f_setsig == 0;
14243 +
14244    ;
14245    return 0;
14246   }
# Line 13578 | Line 14374 | rm -f core conftest.err conftest.$ac_obj
14374      if test "$optimal_iopoll_mechanism" = "none" ; then
14375        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14376   $as_echo "none" >&6; }
14377 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14377 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14378      else
14379        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14380        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14389 | $as_echo "$selected_iopoll_mechanism" >&
14389      else
14390        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14391   $as_echo "none" >&6; }
14392 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14392 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14393      fi
14394    fi
14395        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13726 | Line 14522 | fi
14522   do :
14523    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14524   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14525 < eval as_val=\$$as_ac_Header
13730 <   if test "x$as_val" = x""yes; then :
14525 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14526    cat >>confdefs.h <<_ACEOF
14527   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14528   _ACEOF
# Line 13753 | Line 14548 | $as_echo "#define SYSLOG_USERS 1" >>conf
14548   $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14549   ;;
14550          yes) : ;;
14551 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14551 >        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14552        esac
14553      done
14554  
# Line 13915 | Line 14710 | $as_echo "$as_me: WARNING: cache variabl
14710       :end' >>confcache
14711   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14712    if test -w "$cache_file"; then
14713 <    test "x$cache_file" != "x/dev/null" &&
14713 >    if test "x$cache_file" != "x/dev/null"; then
14714        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14715   $as_echo "$as_me: updating cache $cache_file" >&6;}
14716 <    cat confcache >$cache_file
14716 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14717 >        cat confcache >"$cache_file"
14718 >      else
14719 >        case $cache_file in #(
14720 >        */* | ?:*)
14721 >          mv -f confcache "$cache_file"$$ &&
14722 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14723 >        *)
14724 >          mv -f confcache "$cache_file" ;;
14725 >        esac
14726 >      fi
14727 >    fi
14728    else
14729      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14730   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 14740 | DEFS=-DHAVE_CONFIG_H
14740  
14741   ac_libobjs=
14742   ac_ltlibobjs=
14743 + U=
14744   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14745    # 1. Remove the extension, and $U if already installed.
14746    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13957 | Line 14764 | else
14764   fi
14765  
14766   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14767 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14767 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14768   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14769   fi
14770   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14771 <  as_fn_error "conditional \"AMDEP\" was never defined.
14771 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14772   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14773   fi
14774   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14775 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14775 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14776   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14777   fi
14778   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14779 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14779 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14780   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14781   fi
14782   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14783 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14783 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14784   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14785   fi
14786   LT_CONFIG_H=config.h
# Line 13995 | Line 14802 | LT_CONFIG_H=config.h
14802  
14803  
14804   if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14805 <  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
14805 >  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14806   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14807   fi
14808   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14809 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14809 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14810   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14811   fi
14812   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14813 <  as_fn_error "conditional \"EFNET\" was never defined.
14813 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14814   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14815   fi
14816  
14817 < : ${CONFIG_STATUS=./config.status}
14817 > : "${CONFIG_STATUS=./config.status}"
14818   ac_write_fail=0
14819   ac_clean_files_save=$ac_clean_files
14820   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 14915 | fi
14915   IFS=" ""        $as_nl"
14916  
14917   # Find who we are.  Look in the path if we contain no directory separator.
14918 + as_myself=
14919   case $0 in #((
14920    *[\\/]* ) as_myself=$0 ;;
14921    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 14961 | export LANGUAGE
14961   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14962  
14963  
14964 < # as_fn_error ERROR [LINENO LOG_FD]
14965 < # ---------------------------------
14964 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14965 > # ----------------------------------------
14966   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14967   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14968 < # script with status $?, using 1 if that was 0.
14968 > # script with STATUS, using 1 if that was 0.
14969   as_fn_error ()
14970   {
14971 <  as_status=$?; test $as_status -eq 0 && as_status=1
14972 <  if test "$3"; then
14973 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14974 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14971 >  as_status=$1; test $as_status -eq 0 && as_status=1
14972 >  if test "$4"; then
14973 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14974 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14975    fi
14976 <  $as_echo "$as_me: error: $1" >&2
14976 >  $as_echo "$as_me: error: $2" >&2
14977    as_fn_exit $as_status
14978   } # as_fn_error
14979  
# Line 14361 | Line 15169 | $as_echo X"$as_dir" |
15169        test -d "$as_dir" && break
15170      done
15171      test -z "$as_dirs" || eval "mkdir $as_dirs"
15172 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15172 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15173  
15174  
15175   } # as_fn_mkdir_p
# Line 14415 | Line 15223 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15223   # values after options handling.
15224   ac_log="
15225   This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15226 < generated by GNU Autoconf 2.65.  Invocation command line was
15226 > generated by GNU Autoconf 2.68.  Invocation command line was
15227  
15228    CONFIG_FILES    = $CONFIG_FILES
15229    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14481 | Line 15289 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15289   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15290   ac_cs_version="\\
15291   ircd-hybrid config.status 7.3-rc1
15292 < configured by $0, generated by GNU Autoconf 2.65,
15292 > configured by $0, generated by GNU Autoconf 2.68,
15293    with options \\"\$ac_cs_config\\"
15294  
15295 < Copyright (C) 2009 Free Software Foundation, Inc.
15295 > Copyright (C) 2010 Free Software Foundation, Inc.
15296   This config.status script is free software; the Free Software Foundation
15297   gives unlimited permission to copy, distribute and modify it."
15298  
# Line 14502 | Line 15310 | ac_need_defaults=:
15310   while test $# != 0
15311   do
15312    case $1 in
15313 <  --*=*)
15313 >  --*=?*)
15314      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15315      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15316      ac_shift=:
15317      ;;
15318 +  --*=)
15319 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15320 +    ac_optarg=
15321 +    ac_shift=:
15322 +    ;;
15323    *)
15324      ac_option=$1
15325      ac_optarg=$2
# Line 14528 | Line 15341 | do
15341      $ac_shift
15342      case $ac_optarg in
15343      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15344 +    '') as_fn_error $? "missing file argument" ;;
15345      esac
15346      as_fn_append CONFIG_FILES " '$ac_optarg'"
15347      ac_need_defaults=false;;
# Line 14540 | Line 15354 | do
15354      ac_need_defaults=false;;
15355    --he | --h)
15356      # Conflict between --help and --header
15357 <    as_fn_error "ambiguous option: \`$1'
15357 >    as_fn_error $? "ambiguous option: \`$1'
15358   Try \`$0 --help' for more information.";;
15359    --help | --hel | -h )
15360      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 15363 | Try \`$0 --help' for more information.";
15363      ac_cs_silent=: ;;
15364  
15365    # This is an error.
15366 <  -*) as_fn_error "unrecognized option: \`$1'
15366 >  -*) as_fn_error $? "unrecognized option: \`$1'
15367   Try \`$0 --help' for more information." ;;
15368  
15369    *) as_fn_append ac_config_targets " $1"
# Line 14631 | Line 15445 | exeext='`$ECHO "$exeext" | $SED "$delay_
15445   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15446   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15447   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15448 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15449 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15450   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15451   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15452   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15453   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15454   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15455 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15456 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15457 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15458 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15459   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15460   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15461 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15462   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15463   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15464   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 15473 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15473   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15474   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15475   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"`'
15476 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15477 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15478   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15479   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15480   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"`'
15481   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15482 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15483   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15484   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15485   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15486 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15487   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15488   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15489   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15516 | hardcode_shlibpath_var='`$ECHO "$hardcod
15516   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15517   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15518   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"`'
15519   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15520   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15521   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15522   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15523   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15524 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15525   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15526   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15527   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14752 | Line 15576 | reload_flag \
15576   OBJDUMP \
15577   deplibs_check_method \
15578   file_magic_cmd \
15579 + file_magic_glob \
15580 + want_nocaseglob \
15581 + DLLTOOL \
15582 + sharedlib_from_linklib_cmd \
15583   AR \
15584   AR_FLAGS \
15585 + archiver_list_spec \
15586   STRIP \
15587   RANLIB \
15588   CC \
# Line 14763 | Line 15592 | lt_cv_sys_global_symbol_pipe \
15592   lt_cv_sys_global_symbol_to_cdecl \
15593   lt_cv_sys_global_symbol_to_c_name_address \
15594   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15595 + nm_file_list_spec \
15596   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
15597   lt_prog_compiler_pic \
15598 + lt_prog_compiler_wl \
15599   lt_prog_compiler_static \
15600   lt_cv_prog_compiler_c_o \
15601   need_locks \
15602 + MANIFEST_TOOL \
15603   DSYMUTIL \
15604   NMEDIT \
15605   LIPO \
# Line 14784 | Line 15615 | no_undefined_flag \
15615   hardcode_libdir_flag_spec \
15616   hardcode_libdir_flag_spec_ld \
15617   hardcode_libdir_separator \
14787 fix_srcfile_path \
15618   exclude_expsyms \
15619   include_expsyms \
15620   file_list_spec \
# Line 14820 | Line 15650 | module_cmds \
15650   module_expsym_cmds \
15651   export_symbols_cmds \
15652   prelink_cmds \
15653 + postlink_cmds \
15654   postinstall_cmds \
15655   postuninstall_cmds \
15656   finish_cmds \
# Line 14882 | Line 15713 | do
15713      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15714      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15715  
15716 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15716 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15717    esac
15718   done
15719  
# Line 14905 | Line 15736 | fi
15736   # after its creation but before its name has been assigned to `$tmp'.
15737   $debug ||
15738   {
15739 <  tmp=
15739 >  tmp= ac_tmp=
15740    trap 'exit_status=$?
15741 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15741 >  : "${ac_tmp:=$tmp}"
15742 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15743   ' 0
15744    trap 'as_fn_exit 1' 1 2 13 15
15745   }
# Line 14915 | Line 15747 | $debug ||
15747  
15748   {
15749    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15750 <  test -n "$tmp" && test -d "$tmp"
15750 >  test -d "$tmp"
15751   }  ||
15752   {
15753    tmp=./conf$$-$RANDOM
15754    (umask 077 && mkdir "$tmp")
15755 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15755 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15756 > ac_tmp=$tmp
15757  
15758   # Set up the scripts for CONFIG_FILES section.
15759   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 15770 | if test "x$ac_cr" = x; then
15770   fi
15771   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15772   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15773 <  ac_cs_awk_cr='\r'
15773 >  ac_cs_awk_cr='\\r'
15774   else
15775    ac_cs_awk_cr=$ac_cr
15776   fi
15777  
15778 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15778 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15779   _ACEOF
15780  
15781  
# Line 14951 | Line 15784 | _ACEOF
15784    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15785    echo "_ACEOF"
15786   } >conf$$subs.sh ||
15787 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15788 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15787 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15788 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15789   ac_delim='%!_!# '
15790   for ac_last_try in false false false false false :; do
15791    . ./conf$$subs.sh ||
15792 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15792 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15793  
15794    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15795    if test $ac_delim_n = $ac_delim_num; then
15796      break
15797    elif $ac_last_try; then
15798 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15798 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15799    else
15800      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15801    fi
# Line 14970 | Line 15803 | done
15803   rm -f conf$$subs.sh
15804  
15805   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15806 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15806 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15807   _ACEOF
15808   sed -n '
15809   h
# Line 15018 | Line 15851 | t delim
15851   rm -f conf$$subs.awk
15852   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15853   _ACAWK
15854 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15854 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15855    for (key in S) S_is_set[key] = 1
15856    FS = ""
15857  
# Line 15050 | Line 15883 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15883    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15884   else
15885    cat
15886 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15887 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15886 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15887 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15888   _ACEOF
15889  
15890 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15891 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15890 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15891 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15892   # trailing colons and then remove the whole line if VPATH becomes empty
15893   # (actually we leave an empty line to preserve line numbers).
15894   if test "x$srcdir" = x.; then
15895 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15896 < s/:*\$(srcdir):*/:/
15897 < s/:*\${srcdir}:*/:/
15898 < s/:*@srcdir@:*/:/
15899 < s/^\([^=]*=[     ]*\):*/\1/
15895 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15896 > h
15897 > s///
15898 > s/^/:/
15899 > s/[      ]*$/:/
15900 > s/:\$(srcdir):/:/g
15901 > s/:\${srcdir}:/:/g
15902 > s/:@srcdir@:/:/g
15903 > s/^:*//
15904   s/:*$//
15905 + x
15906 + s/\(=[   ]*\).*/\1/
15907 + G
15908 + s/\n//
15909   s/^[^=]*=[       ]*$//
15910   }'
15911   fi
# Line 15076 | Line 15917 | fi # test -n "$CONFIG_FILES"
15917   # No need to generate them if there are no CONFIG_HEADERS.
15918   # This happens for instance with `./config.status Makefile'.
15919   if test -n "$CONFIG_HEADERS"; then
15920 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15920 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15921   BEGIN {
15922   _ACEOF
15923  
# Line 15088 | Line 15929 | _ACEOF
15929   # handling of long lines.
15930   ac_delim='%!_!# '
15931   for ac_last_try in false false :; do
15932 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15933 <  if test -z "$ac_t"; then
15932 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15933 >  if test -z "$ac_tt"; then
15934      break
15935    elif $ac_last_try; then
15936 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15936 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15937    else
15938      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15939    fi
# Line 15177 | Line 16018 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16018   _ACAWK
16019   _ACEOF
16020   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16021 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16021 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16022   fi # test -n "$CONFIG_HEADERS"
16023  
16024  
# Line 15190 | Line 16031 | do
16031    esac
16032    case $ac_mode$ac_tag in
16033    :[FHL]*:*);;
16034 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16034 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16035    :[FH]-) ac_tag=-:-;;
16036    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16037    esac
# Line 15209 | Line 16050 | do
16050      for ac_f
16051      do
16052        case $ac_f in
16053 <      -) ac_f="$tmp/stdin";;
16053 >      -) ac_f="$ac_tmp/stdin";;
16054        *) # Look for the file first in the build tree, then in the source tree
16055           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16056           # because $ac_f cannot contain `:'.
# Line 15218 | Line 16059 | do
16059             [\\/$]*) false;;
16060             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16061             esac ||
16062 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16062 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16063        esac
16064        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16065        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 16085 | $as_echo "$as_me: creating $ac_file" >&6
16085      esac
16086  
16087      case $ac_tag in
16088 <    *:-:* | *:-) cat >"$tmp/stdin" \
16089 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16088 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16089 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16090      esac
16091      ;;
16092    esac
# Line 15381 | Line 16222 | s&@INSTALL@&$ac_INSTALL&;t t
16222   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16223   $ac_datarootdir_hack
16224   "
16225 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16226 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16225 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16226 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16227  
16228   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16229 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16230 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16229 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16230 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16231 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16232    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16233 < which seems to be undefined.  Please make sure it is defined." >&5
16233 > which seems to be undefined.  Please make sure it is defined" >&5
16234   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16235 < which seems to be undefined.  Please make sure it is defined." >&2;}
16235 > which seems to be undefined.  Please make sure it is defined" >&2;}
16236  
16237 <  rm -f "$tmp/stdin"
16237 >  rm -f "$ac_tmp/stdin"
16238    case $ac_file in
16239 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16240 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16239 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16240 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16241    esac \
16242 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16242 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16243   ;;
16244    :H)
16245    #
# Line 15406 | Line 16248 | which seems to be undefined.  Please mak
16248    if test x"$ac_file" != x-; then
16249      {
16250        $as_echo "/* $configure_input  */" \
16251 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16252 <    } >"$tmp/config.h" \
16253 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16254 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16251 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16252 >    } >"$ac_tmp/config.h" \
16253 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16254 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16255        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16256   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16257      else
16258        rm -f "$ac_file"
16259 <      mv "$tmp/config.h" "$ac_file" \
16260 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16259 >      mv "$ac_tmp/config.h" "$ac_file" \
16260 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16261      fi
16262    else
16263      $as_echo "/* $configure_input  */" \
16264 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16265 <      || as_fn_error "could not create -" "$LINENO" 5
16264 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16265 >      || as_fn_error $? "could not create -" "$LINENO" 5
16266    fi
16267   # Compute "$ac_file"'s index in $config_headers.
16268   _am_arg="$ac_file"
# Line 15685 | Line 16527 | SP2NL=$lt_lt_SP2NL
16527   # turn newlines into spaces.
16528   NL2SP=$lt_lt_NL2SP
16529  
16530 + # convert \$build file names to \$host format.
16531 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16532 +
16533 + # convert \$build files to toolchain format.
16534 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16535 +
16536   # An object symbol dumper.
16537   OBJDUMP=$lt_OBJDUMP
16538  
16539   # Method to check whether dependent libraries are shared objects.
16540   deplibs_check_method=$lt_deplibs_check_method
16541  
16542 < # Command to use when deplibs_check_method == "file_magic".
16542 > # Command to use when deplibs_check_method = "file_magic".
16543   file_magic_cmd=$lt_file_magic_cmd
16544  
16545 + # How to find potential files when deplibs_check_method = "file_magic".
16546 + file_magic_glob=$lt_file_magic_glob
16547 +
16548 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16549 + want_nocaseglob=$lt_want_nocaseglob
16550 +
16551 + # DLL creation program.
16552 + DLLTOOL=$lt_DLLTOOL
16553 +
16554 + # Command to associate shared and link libraries.
16555 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16556 +
16557   # The archiver.
16558   AR=$lt_AR
16559 +
16560 + # Flags to create an archive.
16561   AR_FLAGS=$lt_AR_FLAGS
16562  
16563 + # How to feed a file listing to the archiver.
16564 + archiver_list_spec=$lt_archiver_list_spec
16565 +
16566   # A symbol stripping program.
16567   STRIP=$lt_STRIP
16568  
# Line 15727 | Line 16592 | global_symbol_to_c_name_address=$lt_lt_c
16592   # Transform the output of nm in a C name address pair when lib prefix is needed.
16593   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16594  
16595 + # Specify filename containing input files for \$NM.
16596 + nm_file_list_spec=$lt_nm_file_list_spec
16597 +
16598 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16599 + lt_sysroot=$lt_sysroot
16600 +
16601   # The name of the directory that contains temporary libtool files.
16602   objdir=$objdir
16603  
# Line 15736 | Line 16607 | MAGIC_CMD=$MAGIC_CMD
16607   # Must we lock files when doing compilation?
16608   need_locks=$lt_need_locks
16609  
16610 + # Manifest tool.
16611 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16612 +
16613   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16614   DSYMUTIL=$lt_DSYMUTIL
16615  
# Line 15850 | Line 16724 | with_gcc=$GCC
16724   # Compiler flag to turn off builtin functions.
16725   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16726  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
16727   # Additional compiler flags for building library objects.
16728   pic_flag=$lt_lt_prog_compiler_pic
16729  
16730 + # How to pass a linker flag through the compiler.
16731 + wl=$lt_lt_prog_compiler_wl
16732 +
16733   # Compiler flag to prevent dynamic linking.
16734   link_static_flag=$lt_lt_prog_compiler_static
16735  
# Line 15942 | Line 16816 | inherit_rpath=$inherit_rpath
16816   # Whether libtool must link a program against all its dependency libraries.
16817   link_all_deplibs=$link_all_deplibs
16818  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
16819   # Set to "yes" if exported symbols are required.
16820   always_export_symbols=$always_export_symbols
16821  
# Line 15960 | Line 16831 | include_expsyms=$lt_include_expsyms
16831   # Commands necessary for linking programs (against libraries) with templates.
16832   prelink_cmds=$lt_prelink_cmds
16833  
16834 + # Commands necessary for finishing linking programs.
16835 + postlink_cmds=$lt_postlink_cmds
16836 +
16837   # Specify filename containing input files.
16838   file_list_spec=$lt_file_list_spec
16839  
# Line 15992 | Line 16866 | ltmain="$ac_aux_dir/ltmain.sh"
16866    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16867    # text mode, it properly converts lines to CR/LF.  This bash problem
16868    # is reportedly fixed, but why not run on old versions too?
16869 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16870 <    || (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
16869 >  sed '$q' "$ltmain" >> "$cfgfile" \
16870 >     || (rm -f "$cfgfile"; exit 1)
16871  
16872 +  if test x"$xsi_shell" = xyes; then
16873 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16874 + func_dirname ()\
16875 + {\
16876 + \    case ${1} in\
16877 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16878 + \      *  ) func_dirname_result="${3}" ;;\
16879 + \    esac\
16880 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16881 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16882 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16883 + test 0 -eq $? || _lt_function_replace_fail=:
16884 +
16885 +
16886 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16887 + func_basename ()\
16888 + {\
16889 + \    func_basename_result="${1##*/}"\
16890 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16891 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16892 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16893 + test 0 -eq $? || _lt_function_replace_fail=:
16894 +
16895 +
16896 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16897 + func_dirname_and_basename ()\
16898 + {\
16899 + \    case ${1} in\
16900 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16901 + \      *  ) func_dirname_result="${3}" ;;\
16902 + \    esac\
16903 + \    func_basename_result="${1##*/}"\
16904 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16905 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16906 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16907 + test 0 -eq $? || _lt_function_replace_fail=:
16908 +
16909 +
16910 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16911 + func_stripname ()\
16912 + {\
16913 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16914 + \    # positional parameters, so assign one to ordinary parameter first.\
16915 + \    func_stripname_result=${3}\
16916 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16917 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16918 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16919 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16920 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16921 + test 0 -eq $? || _lt_function_replace_fail=:
16922 +
16923 +
16924 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16925 + func_split_long_opt ()\
16926 + {\
16927 + \    func_split_long_opt_name=${1%%=*}\
16928 + \    func_split_long_opt_arg=${1#*=}\
16929 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16930 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16931 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16932 + test 0 -eq $? || _lt_function_replace_fail=:
16933 +
16934 +
16935 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16936 + func_split_short_opt ()\
16937 + {\
16938 + \    func_split_short_opt_arg=${1#??}\
16939 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16940 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16941 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16942 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16943 + test 0 -eq $? || _lt_function_replace_fail=:
16944 +
16945 +
16946 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16947 + func_lo2o ()\
16948 + {\
16949 + \    case ${1} in\
16950 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16951 + \      *)    func_lo2o_result=${1} ;;\
16952 + \    esac\
16953 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16954 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16955 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16956 + test 0 -eq $? || _lt_function_replace_fail=:
16957 +
16958 +
16959 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16960 + func_xform ()\
16961 + {\
16962 +    func_xform_result=${1%.*}.lo\
16963 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16964 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16965 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16966 + test 0 -eq $? || _lt_function_replace_fail=:
16967 +
16968 +
16969 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16970 + func_arith ()\
16971 + {\
16972 +    func_arith_result=$(( $* ))\
16973 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16974 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16975 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16976 + test 0 -eq $? || _lt_function_replace_fail=:
16977 +
16978 +
16979 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16980 + func_len ()\
16981 + {\
16982 +    func_len_result=${#1}\
16983 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16984 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16985 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16986 + test 0 -eq $? || _lt_function_replace_fail=:
16987 +
16988 + fi
16989 +
16990 + if test x"$lt_shell_append" = xyes; then
16991 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16992 + func_append ()\
16993 + {\
16994 +    eval "${1}+=\\${2}"\
16995 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16996 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16997 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16998 + test 0 -eq $? || _lt_function_replace_fail=:
16999 +
17000 +
17001 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17002 + func_append_quoted ()\
17003 + {\
17004 + \    func_quote_for_eval "${2}"\
17005 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17006 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17007 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17008 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17009 + test 0 -eq $? || _lt_function_replace_fail=:
17010 +
17011 +
17012 +  # Save a `func_append' function call where possible by direct use of '+='
17013 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17014 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17015 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17016 +  test 0 -eq $? || _lt_function_replace_fail=:
17017 + else
17018 +  # Save a `func_append' function call even when '+=' is not available
17019 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17020 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17021 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17022 +  test 0 -eq $? || _lt_function_replace_fail=:
17023 + fi
17024 +
17025 + if test x"$_lt_function_replace_fail" = x":"; then
17026 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17027 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17028 + fi
17029  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
17030  
17031 <  mv -f "$cfgfile" "$ofile" ||
17031 >   mv -f "$cfgfile" "$ofile" ||
17032      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17033    chmod +x "$ofile"
17034  
# Line 16210 | Line 17043 | _ACEOF
17043   ac_clean_files=$ac_clean_files_save
17044  
17045   test $ac_write_fail = 0 ||
17046 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17046 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17047  
17048  
17049   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 17064 | if test "$no_create" != yes; then
17064    exec 5>>config.log
17065    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17066    # would make configure fail if this is the last instruction.
17067 <  $ac_cs_success || as_fn_exit $?
17067 >  $ac_cs_success || as_fn_exit 1
17068   fi
17069   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17070    { $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)