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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1425 by michael, Wed Jun 6 08:44:22 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael .
2 > # From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z 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.69 for ircd-hybrid 8beta1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
# Line 222 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 328 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 368 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 453 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 487 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 508 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
513 < else
514 <  if ls -dL / >/dev/null 2>&1; then
515 <    as_ls_L_option=L
516 <  else
517 <    as_ls_L_option=
518 <  fi
519 <  as_test_x='
520 <    eval sh -c '\''
521 <      if test -d "$1"; then
522 <        test -d "$1/.";
523 <      else
524 <        case $1 in #(
525 <        -*)set "./$1";;
526 <        esac;
527 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 <        ???[sx]*):;;*)false;;esac;fi
529 <    '\'' sh
530 <  '
531 < fi
532 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 546 | Line 574 | test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 565 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='8beta1'
597 > PACKAGE_STRING='ircd-hybrid 8beta1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 620 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
623 EFNET_FALSE
624 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
627 ENABLE_PCRE_FALSE
628 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 650 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 + MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 679 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 701 | Line 729 | AMTAR
729   am__leading_dot
730   SET_MAKE
731   AWK
704 mkdir_p
732   MKDIR_P
733   INSTALL_STRIP_PROGRAM
734   STRIP
# Line 766 | Line 793 | enable_shared
793   with_pic
794   enable_fast_install
795   with_gnu_ld
796 + with_sysroot
797   enable_libtool_lock
798   with_included_ltdl
799   with_ltdl_include
800   with_ltdl_lib
801   enable_ltdl_install
774 with_zlib_path
775 enable_zlib
776 with_libpcre_path
802   enable_libpcre
803   enable_openssl
804   enable_assert
# Line 786 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
789 with_syslog_facility
790 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
794 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 866 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 912 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 938 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1142 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1158 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1188 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1197 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1207 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1215 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1244 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1258 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1261    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1262    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1274 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1315 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1345 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1359 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1415 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1423 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-maintainer-mode
1448 >                          enable make rules and dependencies not useful (and
1449 >                          sometimes confusing) to the casual installer
1450 >  --enable-dependency-tracking
1451 >                          do not reject slow dependency extractors
1452 >  --disable-dependency-tracking
1453 >                          speeds up one-time build
1454    --enable-static[=PKGS]  build static libraries [default=no]
1455    --enable-shared[=PKGS]  build shared libraries [default=yes]
1456    --enable-fast-install[=PKGS]
1457                            optimize for fast installation [default=yes]
1458    --disable-libtool-lock  avoid locking (might break parallel builds)
1459    --enable-ltdl-install   install libltdl
1436  --disable-zlib          Disable ziplinks support
1460    --disable-libpcre       Disable PCRE support
1461    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1462    --disable-openssl            Disable OpenSSL support.
# Line 1445 | Line 1468 | Optional Features:
1468    --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1470    --enable-select         Force select usage.
1448  --enable-efnet          For IRCDs running on EFnet.
1471    --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1452  --enable-syslog="EVENTS"
1453                          Enable syslog for events: users oper (space
1454                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481 +  --with-sysroot=DIR Search for dependent libraries within DIR
1482 +                        (or the compiler's sysroot if not specified).
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1465  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1466  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1486    --with-nicklen=<value>  Set nickname length (default 9).
1487    --with-topiclen=<value> Set topic length (default 160).
1469  --with-syslog-facility=LOG
1470                          Define the syslog facility to use (default:
1471                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1478 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1551 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.3-rc1
1572 < generated by GNU Autoconf 2.65
1571 > ircd-hybrid configure 8beta1
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1598 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619    as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
# Line 1630 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1644 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665    as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
# Line 1658 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1676 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1701 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1712 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733    as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
# Line 1754 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775    as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
# Line 1767 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1822 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1843 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 1861 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 1874 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 1915 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
# Line 1928 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1972 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
# Line 1984 | Line 2008 | $as_echo "$ac_res" >&6; }
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2023 | Line 2047 | if ac_fn_c_try_cpp "$LINENO"; then :
2047   else
2048    ac_header_preproc=no
2049   fi
2050 < rm -f conftest.err conftest.$ac_ext
2050 > rm -f conftest.err conftest.i conftest.$ac_ext
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052   $as_echo "$ac_header_preproc" >&6; }
2053  
# Line 2046 | Line 2070 | $as_echo "$as_me: WARNING: $2: see the A
2070   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 < ( cat <<\_ASBOX
2050 < ## ----------------------------------- ##
2073 > ( $as_echo "## ----------------------------------- ##
2074   ## Report this to bugs@ircd-hybrid.org ##
2075 < ## ----------------------------------- ##
2053 < _ASBOX
2075 > ## ----------------------------------- ##"
2076       ) | sed "s/^/$as_me: WARNING:     /" >&2
2077      ;;
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2065 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2098 < generated by GNU Autoconf 2.65.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8beta1, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2183 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2187 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2190 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2221 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2225 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2228 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2238 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2242 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2245 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2256 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2260 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2263 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2315 | Line 2329 | _ACEOF
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2330 | Line 2349 | do
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
# Line 2357 | Line 2380 | as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2382   as_fn_append ac_header_list " crypt.h"
2360 as_fn_append ac_header_list " inttypes.h"
2361 as_fn_append ac_header_list " stdint.h"
2383   as_fn_append ac_header_list " sys/resource.h"
2384   as_fn_append ac_header_list " sys/param.h"
2364 as_fn_append ac_header_list " errno.h"
2365 as_fn_append ac_header_list " sys/syslog.h"
2385   as_fn_append ac_header_list " types.h"
2386   as_fn_append ac_header_list " socket.h"
2387   as_fn_append ac_header_list " sys/wait.h"
2388   as_fn_append ac_header_list " wait.h"
2370 as_fn_append ac_header_list " link.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2423 | Line 2441 | if $ac_cache_corrupted; then
2441   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445   fi
2446   ## -------------------- ##
2447   ## Main body of script. ##
# Line 2436 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.12'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 <  for ac_t in install-sh install.sh shtool; do
2462 <    if test -f "$ac_dir/$ac_t"; then
2463 <      ac_aux_dir=$ac_dir
2464 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2465 <      break 2
2466 <    fi
2467 <  done
2461 >  if test -f "$ac_dir/install-sh"; then
2462 >    ac_aux_dir=$ac_dir
2463 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2464 >    break
2465 >  elif test -f "$ac_dir/install.sh"; then
2466 >    ac_aux_dir=$ac_dir
2467 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2468 >    break
2469 >  elif test -f "$ac_dir/shtool"; then
2470 >    ac_aux_dir=$ac_dir
2471 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2472 >    break
2473 >  fi
2474   done
2475   if test -z "$ac_aux_dir"; then
2476 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2476 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477   fi
2478  
2479   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2502 | ac_configure="$SHELL $ac_aux_dir/configu
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504   if test -z "$INSTALL"; then
2505 < if test "${ac_cv_path_install+set}" = set; then :
2505 > if ${ac_cv_path_install+:} false; then :
2506    $as_echo_n "(cached) " >&6
2507   else
2508    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2498 | Line 2522 | case $as_dir/ in #((
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2556 | Line 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2580  
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Just in case
2560 sleep 1
2561 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
2586   '
2587   case `pwd` in
2588    *[\\\"\#\$\&\'\`$am_lf]*)
2589 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2589 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2591 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2592 <      # broken ls alias from the environment.  This has actually
2593 <      # happened.  Such a system could not be considered "sane".
2594 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2595 < alias in your environment" "$LINENO" 5
2596 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   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
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2632 | Line 2671 | if eval "$MISSING --run true"; then
2671    am_missing_run="$MISSING --run "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2645 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694   set dummy ${ac_tool_prefix}strip; ac_word=$2
2695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696   $as_echo_n "checking for $ac_word... " >&6; }
2697 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2697 > if ${ac_cv_prog_STRIP+:} false; then :
2698    $as_echo_n "(cached) " >&6
2699   else
2700    if test -n "$STRIP"; then
# Line 2667 | Line 2706 | do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708      for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
# Line 2695 | Line 2734 | if test -z "$ac_cv_prog_STRIP"; then
2734   set dummy strip; ac_word=$2
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736   $as_echo_n "checking for $ac_word... " >&6; }
2737 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2737 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738    $as_echo_n "(cached) " >&6
2739   else
2740    if test -n "$ac_ct_STRIP"; then
# Line 2707 | Line 2746 | do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748      for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
# Line 2748 | Line 2787 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789   if test -z "$MKDIR_P"; then
2790 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2790 >  if ${ac_cv_path_mkdir+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2758 | Line 2797 | do
2797    test -z "$as_dir" && as_dir=.
2798      for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 2787 | Line 2826 | fi
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
2790 mkdir_p="$MKDIR_P"
2791 case $mkdir_p in
2792  [\\/$]* | ?:[\\/]*) ;;
2793  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2794 esac
2795
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
2832   set dummy $ac_prog; ac_word=$2
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834   $as_echo_n "checking for $ac_word... " >&6; }
2835 < if test "${ac_cv_prog_AWK+set}" = set; then :
2835 > if ${ac_cv_prog_AWK+:} false; then :
2836    $as_echo_n "(cached) " >&6
2837   else
2838    if test -n "$AWK"; then
# Line 2811 | Line 2844 | do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
# Line 2839 | Line 2872 | done
2872   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873   set x ${MAKE-make}
2874   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2875 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876    $as_echo_n "(cached) " >&6
2877   else
2878    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2880 | SHELL = /bin/sh
2880   all:
2881          @echo '@@@%%%=$(MAKE)=@@@%%%'
2882   _ACEOF
2883 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2883 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885    *@@@%%%=?*=@@@%%%*)
2886      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2881 | Line 2914 | if test "`cd $srcdir && pwd`" != "`pwd`"
2914    am__isrc=' -I$(srcdir)'
2915    # test to see if srcdir already configured
2916    if test -f $srcdir/config.status; then
2917 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918    fi
2919   fi
2920  
# Line 2897 | Line 2930 | fi
2930  
2931   # Define the identity of the package.
2932   PACKAGE='ircd-hybrid'
2933 < VERSION='7.3-rc1'
2933 > VERSION='8beta1'
2934  
2935  
2936   cat >>confdefs.h <<_ACEOF
# Line 2927 | Line 2960 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2960  
2961   # We need awk for the "check" target.  The system "awk" is bad on
2962   # some platforms.
2963 < # Always define AMTAR for backward compatibility.
2964 <
2965 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2963 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 > # in the wild :-(  We should find a proper way to deprecate it ...
2965 > AMTAR='$${TAR-tar}'
2966  
2967 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2967 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2968  
2969  
2970  
# Line 2984 | Line 3017 | am__quote=
3017   _am_result=none
3018   # First try GNU make style include.
3019   echo "include confinc" > confmf
3020 < # Ignore all kinds of additional output from `make'.
3020 > # Ignore all kinds of additional output from 'make'.
3021   case `$am_make -s -f confmf 2> /dev/null` in #(
3022   *the\ am__doit\ target*)
3023    am__include=include
# Line 3017 | Line 3050 | fi
3050   if test "x$enable_dependency_tracking" != xno; then
3051    am_depcomp="$ac_aux_dir/depcomp"
3052    AMDEPBACKSLASH='\'
3053 +  am__nodep='_no'
3054   fi
3055   if test "x$enable_dependency_tracking" != xno; then
3056    AMDEP_TRUE=
# Line 3037 | Line 3071 | if test -n "$ac_tool_prefix"; then
3071   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073   $as_echo_n "checking for $ac_word... " >&6; }
3074 < if test "${ac_cv_prog_CC+set}" = set; then :
3074 > if ${ac_cv_prog_CC+:} false; then :
3075    $as_echo_n "(cached) " >&6
3076   else
3077    if test -n "$CC"; then
# Line 3049 | Line 3083 | do
3083    IFS=$as_save_IFS
3084    test -z "$as_dir" && as_dir=.
3085      for ac_exec_ext in '' $ac_executable_extensions; do
3086 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3088      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089      break 2
# Line 3077 | Line 3111 | if test -z "$ac_cv_prog_CC"; then
3111   set dummy gcc; ac_word=$2
3112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113   $as_echo_n "checking for $ac_word... " >&6; }
3114 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3114 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3115    $as_echo_n "(cached) " >&6
3116   else
3117    if test -n "$ac_ct_CC"; then
# Line 3089 | Line 3123 | do
3123    IFS=$as_save_IFS
3124    test -z "$as_dir" && as_dir=.
3125      for ac_exec_ext in '' $ac_executable_extensions; do
3126 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127      ac_cv_prog_ac_ct_CC="gcc"
3128      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129      break 2
# Line 3130 | Line 3164 | if test -z "$CC"; then
3164   set dummy ${ac_tool_prefix}cc; ac_word=$2
3165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166   $as_echo_n "checking for $ac_word... " >&6; }
3167 < if test "${ac_cv_prog_CC+set}" = set; then :
3167 > if ${ac_cv_prog_CC+:} false; then :
3168    $as_echo_n "(cached) " >&6
3169   else
3170    if test -n "$CC"; then
# Line 3142 | Line 3176 | do
3176    IFS=$as_save_IFS
3177    test -z "$as_dir" && as_dir=.
3178      for ac_exec_ext in '' $ac_executable_extensions; do
3179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180      ac_cv_prog_CC="${ac_tool_prefix}cc"
3181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182      break 2
# Line 3170 | Line 3204 | if test -z "$CC"; then
3204   set dummy cc; ac_word=$2
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206   $as_echo_n "checking for $ac_word... " >&6; }
3207 < if test "${ac_cv_prog_CC+set}" = set; then :
3207 > if ${ac_cv_prog_CC+:} false; then :
3208    $as_echo_n "(cached) " >&6
3209   else
3210    if test -n "$CC"; then
# Line 3183 | Line 3217 | do
3217    IFS=$as_save_IFS
3218    test -z "$as_dir" && as_dir=.
3219      for ac_exec_ext in '' $ac_executable_extensions; do
3220 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3222         ac_prog_rejected=yes
3223         continue
# Line 3229 | Line 3263 | if test -z "$CC"; then
3263   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265   $as_echo_n "checking for $ac_word... " >&6; }
3266 < if test "${ac_cv_prog_CC+set}" = set; then :
3266 > if ${ac_cv_prog_CC+:} false; then :
3267    $as_echo_n "(cached) " >&6
3268   else
3269    if test -n "$CC"; then
# Line 3241 | Line 3275 | do
3275    IFS=$as_save_IFS
3276    test -z "$as_dir" && as_dir=.
3277      for ac_exec_ext in '' $ac_executable_extensions; do
3278 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3280      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281      break 2
# Line 3273 | Line 3307 | do
3307   set dummy $ac_prog; ac_word=$2
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309   $as_echo_n "checking for $ac_word... " >&6; }
3310 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3310 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3311    $as_echo_n "(cached) " >&6
3312   else
3313    if test -n "$ac_ct_CC"; then
# Line 3285 | Line 3319 | do
3319    IFS=$as_save_IFS
3320    test -z "$as_dir" && as_dir=.
3321      for ac_exec_ext in '' $ac_executable_extensions; do
3322 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323      ac_cv_prog_ac_ct_CC="$ac_prog"
3324      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325      break 2
# Line 3327 | Line 3361 | fi
3361  
3362   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 < as_fn_error "no acceptable C compiler found in \$PATH
3365 < See \`config.log' for more details." "$LINENO" 5; }
3364 > as_fn_error $? "no acceptable C compiler found in \$PATH
3365 > See \`config.log' for more details" "$LINENO" 5; }
3366  
3367   # Provide some information about the compiler.
3368   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3476 | sed 's/^/| /' conftest.$ac_ext >&5
3476  
3477   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 < { as_fn_set_status 77
3480 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3479 > as_fn_error 77 "C compiler cannot create executables
3480 > See \`config.log' for more details" "$LINENO" 5; }
3481   else
3482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483   $as_echo "yes" >&6; }
# Line 3486 | Line 3519 | done
3519   else
3520    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3523 < See \`config.log' for more details." "$LINENO" 5; }
3522 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3523 > See \`config.log' for more details" "$LINENO" 5; }
3524   fi
3525   rm -f conftest conftest$ac_cv_exeext
3526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3577 | $as_echo "$ac_try_echo"; } >&5
3577      else
3578          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 < as_fn_error "cannot run C compiled programs.
3580 > as_fn_error $? "cannot run C compiled programs.
3581   If you meant to cross compile, use \`--host'.
3582 < See \`config.log' for more details." "$LINENO" 5; }
3582 > See \`config.log' for more details" "$LINENO" 5; }
3583      fi
3584    fi
3585   fi
# Line 3557 | Line 3590 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3590   ac_clean_files=$ac_clean_files_save
3591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3592   $as_echo_n "checking for suffix of object files... " >&6; }
3593 < if test "${ac_cv_objext+set}" = set; then :
3593 > if ${ac_cv_objext+:} false; then :
3594    $as_echo_n "(cached) " >&6
3595   else
3596    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3630 | sed 's/^/| /' conftest.$ac_ext >&5
3630  
3631   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 < as_fn_error "cannot compute suffix of object files: cannot compile
3634 < See \`config.log' for more details." "$LINENO" 5; }
3633 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3634 > See \`config.log' for more details" "$LINENO" 5; }
3635   fi
3636   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3637   fi
# Line 3608 | Line 3641 | OBJEXT=$ac_cv_objext
3641   ac_objext=$OBJEXT
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3643   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3644 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3644 > if ${ac_cv_c_compiler_gnu+:} false; then :
3645    $as_echo_n "(cached) " >&6
3646   else
3647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3678 | ac_test_CFLAGS=${CFLAGS+set}
3678   ac_save_CFLAGS=$CFLAGS
3679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3680   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3681 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3681 > if ${ac_cv_prog_cc_g+:} false; then :
3682    $as_echo_n "(cached) " >&6
3683   else
3684    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3756 | else
3756   fi
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3758   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3759 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3759 > if ${ac_cv_prog_cc_c89+:} false; then :
3760    $as_echo_n "(cached) " >&6
3761   else
3762    ac_cv_prog_cc_c89=no
# Line 3732 | Line 3765 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3765   /* end confdefs.h.  */
3766   #include <stdarg.h>
3767   #include <stdio.h>
3768 < #include <sys/types.h>
3736 < #include <sys/stat.h>
3768 > struct stat;
3769   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3770   struct buf { int x; };
3771   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3822 | Line 3854 | depcc="$CC"   am_compiler_list=
3854  
3855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3856   $as_echo_n "checking dependency style of $depcc... " >&6; }
3857 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3857 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3858    $as_echo_n "(cached) " >&6
3859   else
3860    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3861    # We make a subdir and do the tests there.  Otherwise we can end up
3862    # making bogus files that we don't know about and never remove.  For
3863    # instance it was reported that on HP-UX the gcc test will end up
3864 <  # making a dummy file named `D' -- because `-MD' means `put the output
3865 <  # in D'.
3864 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3865 >  # in D".
3866 >  rm -rf conftest.dir
3867    mkdir conftest.dir
3868    # Copy depcomp to subdir because otherwise we won't find it if we're
3869    # using a relative directory.
# Line 3864 | Line 3897 | else
3897      : > sub/conftest.c
3898      for i in 1 2 3 4 5 6; do
3899        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3900 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3901 <      # Solaris 8's {/usr,}/bin/sh.
3902 <      touch sub/conftst$i.h
3900 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3901 >      # Solaris 10 /bin/sh.
3902 >      echo '/* dummy */' > sub/conftst$i.h
3903      done
3904      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3905  
3906 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3906 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3907      # mode.  It turns out that the SunPro C++ compiler does not properly
3908 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3909 <    # versions had trouble with output in subdirs
3908 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3909 >    # versions had trouble with output in subdirs.
3910      am__obj=sub/conftest.${OBJEXT-o}
3911      am__minus_obj="-o $am__obj"
3912      case $depmode in
# Line 3882 | Line 3915 | else
3915        test "$am__universal" = false || continue
3916        ;;
3917      nosideeffect)
3918 <      # after this tag, mechanisms are not by side-effect, so they'll
3919 <      # only be used when explicitly requested
3918 >      # After this tag, mechanisms are not by side-effect, so they'll
3919 >      # only be used when explicitly requested.
3920        if test "x$enable_dependency_tracking" = xyes; then
3921          continue
3922        else
3923          break
3924        fi
3925        ;;
3926 <    msvisualcpp | msvcmsys)
3927 <      # This compiler won't grok `-c -o', but also, the minuso test has
3926 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3927 >      # This compiler won't grok '-c -o', but also, the minuso test has
3928        # not run yet.  These depmodes are late enough in the game, and
3929        # so weak that their functioning should not be impacted.
3930        am__obj=conftest.${OBJEXT-o}
# Line 3947 | Line 3980 | fi
3980  
3981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3982   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3983 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3983 > if ${ac_cv_prog_cc_c99+:} false; then :
3984    $as_echo_n "(cached) " >&6
3985   else
3986    ac_cv_prog_cc_c99=no
# Line 4091 | Line 4124 | main ()
4124    return 0;
4125   }
4126   _ACEOF
4127 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4127 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4128   do
4129    CC="$ac_save_CC $ac_arg"
4130    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4123 | Line 4156 | fi
4156  
4157  
4158   if test "$ac_cv_prog_cc_c99" = "no"; then :
4159 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4159 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4160   fi
4161   for ac_prog in 'bison -y' byacc
4162   do
# Line 4131 | Line 4164 | do
4164   set dummy $ac_prog; ac_word=$2
4165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166   $as_echo_n "checking for $ac_word... " >&6; }
4167 < if test "${ac_cv_prog_YACC+set}" = set; then :
4167 > if ${ac_cv_prog_YACC+:} false; then :
4168    $as_echo_n "(cached) " >&6
4169   else
4170    if test -n "$YACC"; then
# Line 4143 | Line 4176 | do
4176    IFS=$as_save_IFS
4177    test -z "$as_dir" && as_dir=.
4178      for ac_exec_ext in '' $ac_executable_extensions; do
4179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180      ac_cv_prog_YACC="$ac_prog"
4181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182      break 2
# Line 4175 | Line 4208 | do
4208   set dummy $ac_prog; ac_word=$2
4209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210   $as_echo_n "checking for $ac_word... " >&6; }
4211 < if test "${ac_cv_prog_LEX+set}" = set; then :
4211 > if ${ac_cv_prog_LEX+:} false; then :
4212    $as_echo_n "(cached) " >&6
4213   else
4214    if test -n "$LEX"; then
# Line 4187 | Line 4220 | do
4220    IFS=$as_save_IFS
4221    test -z "$as_dir" && as_dir=.
4222      for ac_exec_ext in '' $ac_executable_extensions; do
4223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224      ac_cv_prog_LEX="$ac_prog"
4225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226      break 2
# Line 4219 | Line 4252 | a { ECHO; }
4252   b { REJECT; }
4253   c { yymore (); }
4254   d { yyless (1); }
4255 < e { yyless (input () != 0); }
4255 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4256 >    yyless ((input () != 0)); }
4257   f { unput (yytext[0]); }
4258   . { BEGIN INITIAL; }
4259   %%
# Line 4245 | Line 4279 | $as_echo "$ac_try_echo"; } >&5
4279    test $ac_status = 0; }
4280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4281   $as_echo_n "checking lex output file root... " >&6; }
4282 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4282 > if ${ac_cv_prog_lex_root+:} false; then :
4283    $as_echo_n "(cached) " >&6
4284   else
4285  
# Line 4254 | Line 4288 | if test -f lex.yy.c; then
4288   elif test -f lexyy.c; then
4289    ac_cv_prog_lex_root=lexyy
4290   else
4291 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4291 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4292   fi
4293   fi
4294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4298 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4298   if test -z "${LEXLIB+set}"; then
4299    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4300   $as_echo_n "checking lex library... " >&6; }
4301 < if test "${ac_cv_lib_lex+set}" = set; then :
4301 > if ${ac_cv_lib_lex+:} false; then :
4302    $as_echo_n "(cached) " >&6
4303   else
4304  
# Line 4294 | Line 4328 | fi
4328  
4329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4330   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4331 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4331 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4332    $as_echo_n "(cached) " >&6
4333   else
4334    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4339 | ac_save_LIBS=$LIBS
4339   LIBS="$LEXLIB $ac_save_LIBS"
4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341   /* end confdefs.h.  */
4342 < #define YYTEXT_POINTER 1
4342 >
4343 >  #define YYTEXT_POINTER 1
4344   `cat $LEX_OUTPUT_ROOT.c`
4345   _ACEOF
4346   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4382 | esac
4382  
4383  
4384  
4385 < macro_version='2.2.10'
4386 < macro_revision='1.3175'
4385 > macro_version='2.4.2'
4386 > macro_revision='1.3337'
4387  
4388  
4389  
# Line 4366 | Line 4401 | ltmain="$ac_aux_dir/ltmain.sh"
4401  
4402   # Make sure we can run config.sub.
4403   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4404 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4404 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4405  
4406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4407   $as_echo_n "checking build system type... " >&6; }
4408 < if test "${ac_cv_build+set}" = set; then :
4408 > if ${ac_cv_build+:} false; then :
4409    $as_echo_n "(cached) " >&6
4410   else
4411    ac_build_alias=$build_alias
4412   test "x$ac_build_alias" = x &&
4413    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4414   test "x$ac_build_alias" = x &&
4415 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4415 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4416   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4417 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4417 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4418  
4419   fi
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4421   $as_echo "$ac_cv_build" >&6; }
4422   case $ac_cv_build in
4423   *-*-*) ;;
4424 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4424 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4425   esac
4426   build=$ac_cv_build
4427   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4439 | case $build_os in *\ *) build_os=`echo "
4439  
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4441   $as_echo_n "checking host system type... " >&6; }
4442 < if test "${ac_cv_host+set}" = set; then :
4442 > if ${ac_cv_host+:} false; then :
4443    $as_echo_n "(cached) " >&6
4444   else
4445    if test "x$host_alias" = x; then
4446    ac_cv_host=$ac_cv_build
4447   else
4448    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4449 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4449 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4450   fi
4451  
4452   fi
# Line 4419 | Line 4454 | fi
4454   $as_echo "$ac_cv_host" >&6; }
4455   case $ac_cv_host in
4456   *-*-*) ;;
4457 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4457 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4458   esac
4459   host=$ac_cv_host
4460   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4494 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4495   $as_echo_n "checking how to print strings... " >&6; }
4496   # Test print first, because it will be a builtin if present.
4497 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4497 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4498     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4499    ECHO='print -r --'
4500   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4541 | esac
4541  
4542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4543   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4544 < if test "${ac_cv_path_SED+set}" = set; then :
4544 > if ${ac_cv_path_SED+:} false; then :
4545    $as_echo_n "(cached) " >&6
4546   else
4547              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4526 | Line 4561 | do
4561      for ac_prog in sed gsed; do
4562      for ac_exec_ext in '' $ac_executable_extensions; do
4563        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4564 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4564 >      as_fn_executable_p "$ac_path_SED" || continue
4565   # Check for GNU ac_path_SED and select it if it is found.
4566    # Check for GNU $ac_path_SED
4567   case `"$ac_path_SED" --version 2>&1` in
# Line 4561 | Line 4596 | esac
4596    done
4597   IFS=$as_save_IFS
4598    if test -z "$ac_cv_path_SED"; then
4599 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4599 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4600    fi
4601   else
4602    ac_cv_path_SED=$SED
# Line 4588 | Line 4623 | Xsed="$SED -e 1s/^X//"
4623  
4624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 < if test "${ac_cv_path_GREP+set}" = set; then :
4626 > if ${ac_cv_path_GREP+:} false; then :
4627    $as_echo_n "(cached) " >&6
4628   else
4629    if test -z "$GREP"; then
# Line 4602 | Line 4637 | do
4637      for ac_prog in grep ggrep; do
4638      for ac_exec_ext in '' $ac_executable_extensions; do
4639        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4640 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 >      as_fn_executable_p "$ac_path_GREP" || continue
4641   # Check for GNU ac_path_GREP and select it if it is found.
4642    # Check for GNU $ac_path_GREP
4643   case `"$ac_path_GREP" --version 2>&1` in
# Line 4637 | Line 4672 | esac
4672    done
4673   IFS=$as_save_IFS
4674    if test -z "$ac_cv_path_GREP"; then
4675 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676    fi
4677   else
4678    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4686 | $as_echo "$ac_cv_path_GREP" >&6; }
4686  
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688   $as_echo_n "checking for egrep... " >&6; }
4689 < if test "${ac_cv_path_EGREP+set}" = set; then :
4689 > if ${ac_cv_path_EGREP+:} false; then :
4690    $as_echo_n "(cached) " >&6
4691   else
4692    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4668 | Line 4703 | do
4703      for ac_prog in egrep; do
4704      for ac_exec_ext in '' $ac_executable_extensions; do
4705        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4706 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4706 >      as_fn_executable_p "$ac_path_EGREP" || continue
4707   # Check for GNU ac_path_EGREP and select it if it is found.
4708    # Check for GNU $ac_path_EGREP
4709   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4703 | Line 4738 | esac
4738    done
4739   IFS=$as_save_IFS
4740    if test -z "$ac_cv_path_EGREP"; then
4741 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4741 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742    fi
4743   else
4744    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4753 | $as_echo "$ac_cv_path_EGREP" >&6; }
4753  
4754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4755   $as_echo_n "checking for fgrep... " >&6; }
4756 < if test "${ac_cv_path_FGREP+set}" = set; then :
4756 > if ${ac_cv_path_FGREP+:} false; then :
4757    $as_echo_n "(cached) " >&6
4758   else
4759    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4735 | Line 4770 | do
4770      for ac_prog in fgrep; do
4771      for ac_exec_ext in '' $ac_executable_extensions; do
4772        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4773 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773 >      as_fn_executable_p "$ac_path_FGREP" || continue
4774   # Check for GNU ac_path_FGREP and select it if it is found.
4775    # Check for GNU $ac_path_FGREP
4776   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4770 | Line 4805 | esac
4805    done
4806   IFS=$as_save_IFS
4807    if test -z "$ac_cv_path_FGREP"; then
4808 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809    fi
4810   else
4811    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 4884 | else
4884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4885   $as_echo_n "checking for non-GNU ld... " >&6; }
4886   fi
4887 < if test "${lt_cv_path_LD+set}" = set; then :
4887 > if ${lt_cv_path_LD+:} false; then :
4888    $as_echo_n "(cached) " >&6
4889   else
4890    if test -z "$LD"; then
# Line 4886 | Line 4921 | else
4921    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922   $as_echo "no" >&6; }
4923   fi
4924 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4924 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4926   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4927 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4927 > if ${lt_cv_prog_gnu_ld+:} false; then :
4928    $as_echo_n "(cached) " >&6
4929   else
4930    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 4951 | with_gnu_ld=$lt_cv_prog_gnu_ld
4951  
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4953   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4954 < if test "${lt_cv_path_NM+set}" = set; then :
4954 > if ${lt_cv_path_NM+:} false; then :
4955    $as_echo_n "(cached) " >&6
4956   else
4957    if test -n "$NM"; then
# Line 4979 | Line 5014 | else
5014   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016   $as_echo_n "checking for $ac_word... " >&6; }
5017 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5017 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5018    $as_echo_n "(cached) " >&6
5019   else
5020    if test -n "$DUMPBIN"; then
# Line 4991 | Line 5026 | do
5026    IFS=$as_save_IFS
5027    test -z "$as_dir" && as_dir=.
5028      for ac_exec_ext in '' $ac_executable_extensions; do
5029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032      break 2
# Line 5023 | Line 5058 | do
5058   set dummy $ac_prog; ac_word=$2
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060   $as_echo_n "checking for $ac_word... " >&6; }
5061 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5061 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5062    $as_echo_n "(cached) " >&6
5063   else
5064    if test -n "$ac_ct_DUMPBIN"; then
# Line 5035 | Line 5070 | do
5070    IFS=$as_save_IFS
5071    test -z "$as_dir" && as_dir=.
5072      for ac_exec_ext in '' $ac_executable_extensions; do
5073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5075      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076      break 2
# Line 5095 | Line 5130 | test -z "$NM" && NM=nm
5130  
5131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5132   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5133 < if test "${lt_cv_nm_interface+set}" = set; then :
5133 > if ${lt_cv_nm_interface+:} false; then :
5134    $as_echo_n "(cached) " >&6
5135   else
5136    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5165 | fi
5165   # find the maximum length of command line arguments
5166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5167   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5168 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5168 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5169    $as_echo_n "(cached) " >&6
5170   else
5171      i=0
# Line 5193 | Line 5228 | else
5228      lt_cv_sys_max_cmd_len=196608
5229      ;;
5230  
5231 +  os2*)
5232 +    # The test takes a long time on OS/2.
5233 +    lt_cv_sys_max_cmd_len=8192
5234 +    ;;
5235 +
5236    osf*)
5237      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5238      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5272 | else
5272        # If test is not a shell built-in, we'll probably end up computing a
5273        # maximum length that is only half of the actual maximum length, but
5274        # we can't tell.
5275 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5275 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5276                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5277                test $i != 17 # 1/2 MB should be enough
5278        do
# Line 5275 | Line 5315 | $as_echo_n "checking whether the shell u
5315   # Try some XSI features
5316   xsi_shell=no
5317   ( _lt_dummy="a/b/c"
5318 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5319 <      = c,a/b,, \
5318 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5319 >      = c,a/b,b/c, \
5320      && eval 'test $(( 1 + 1 )) -eq 2 \
5321      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5322    && xsi_shell=yes
# Line 5325 | Line 5365 | esac
5365  
5366  
5367  
5368 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5369 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5370 + if ${lt_cv_to_host_file_cmd+:} false; then :
5371 +  $as_echo_n "(cached) " >&6
5372 + else
5373 +  case $host in
5374 +  *-*-mingw* )
5375 +    case $build in
5376 +      *-*-mingw* ) # actually msys
5377 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5378 +        ;;
5379 +      *-*-cygwin* )
5380 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5381 +        ;;
5382 +      * ) # otherwise, assume *nix
5383 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5384 +        ;;
5385 +    esac
5386 +    ;;
5387 +  *-*-cygwin* )
5388 +    case $build in
5389 +      *-*-mingw* ) # actually msys
5390 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5391 +        ;;
5392 +      *-*-cygwin* )
5393 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5394 +        ;;
5395 +      * ) # otherwise, assume *nix
5396 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5397 +        ;;
5398 +    esac
5399 +    ;;
5400 +  * ) # unhandled hosts (and "normal" native builds)
5401 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5402 +    ;;
5403 + esac
5404 +
5405 + fi
5406 +
5407 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5408 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5409 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5410 +
5411 +
5412 +
5413 +
5414 +
5415 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5416 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5417 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5418 +  $as_echo_n "(cached) " >&6
5419 + else
5420 +  #assume ordinary cross tools, or native build.
5421 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5422 + case $host in
5423 +  *-*-mingw* )
5424 +    case $build in
5425 +      *-*-mingw* ) # actually msys
5426 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5427 +        ;;
5428 +    esac
5429 +    ;;
5430 + esac
5431 +
5432 + fi
5433 +
5434 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5435 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5436 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5437 +
5438 +
5439 +
5440 +
5441 +
5442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5443   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5444 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5444 > if ${lt_cv_ld_reload_flag+:} false; then :
5445    $as_echo_n "(cached) " >&6
5446   else
5447    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5455 | case $reload_flag in
5455   esac
5456   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5457   case $host_os in
5458 +  cygwin* | mingw* | pw32* | cegcc*)
5459 +    if test "$GCC" != yes; then
5460 +      reload_cmds=false
5461 +    fi
5462 +    ;;
5463    darwin*)
5464      if test "$GCC" = yes; then
5465        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5482 | if test -n "$ac_tool_prefix"; then
5482   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484   $as_echo_n "checking for $ac_word... " >&6; }
5485 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5485 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5486    $as_echo_n "(cached) " >&6
5487   else
5488    if test -n "$OBJDUMP"; then
# Line 5375 | Line 5494 | do
5494    IFS=$as_save_IFS
5495    test -z "$as_dir" && as_dir=.
5496      for ac_exec_ext in '' $ac_executable_extensions; do
5497 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5499      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500      break 2
# Line 5403 | Line 5522 | if test -z "$ac_cv_prog_OBJDUMP"; then
5522   set dummy objdump; ac_word=$2
5523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524   $as_echo_n "checking for $ac_word... " >&6; }
5525 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5525 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5526    $as_echo_n "(cached) " >&6
5527   else
5528    if test -n "$ac_ct_OBJDUMP"; then
# Line 5415 | Line 5534 | do
5534    IFS=$as_save_IFS
5535    test -z "$as_dir" && as_dir=.
5536      for ac_exec_ext in '' $ac_executable_extensions; do
5537 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5539      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540      break 2
# Line 5462 | Line 5581 | test -z "$OBJDUMP" && OBJDUMP=objdump
5581  
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5583   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5584 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5584 > if ${lt_cv_deplibs_check_method+:} false; then :
5585    $as_echo_n "(cached) " >&6
5586   else
5587    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5582 | Line 5701 | irix5* | irix6* | nonstopux*)
5701    lt_cv_deplibs_check_method=pass_all
5702    ;;
5703  
5704 < # This must be Linux ELF.
5704 > # This must be glibc/ELF.
5705   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5706    lt_cv_deplibs_check_method=pass_all
5707    ;;
# Line 5664 | Line 5783 | esac
5783   fi
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5785   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5786 +
5787 + file_magic_glob=
5788 + want_nocaseglob=no
5789 + if test "$build" = "$host"; then
5790 +  case $host_os in
5791 +  mingw* | pw32*)
5792 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5793 +      want_nocaseglob=yes
5794 +    else
5795 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5796 +    fi
5797 +    ;;
5798 +  esac
5799 + fi
5800 +
5801   file_magic_cmd=$lt_cv_file_magic_cmd
5802   deplibs_check_method=$lt_cv_deplibs_check_method
5803   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5813 | test -z "$deplibs_check_method" && depli
5813  
5814  
5815  
5816 +
5817 +
5818 +
5819 +
5820 +
5821 +
5822 +
5823 +
5824 +
5825 +
5826   if test -n "$ac_tool_prefix"; then
5827 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5828 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5827 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5828 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830   $as_echo_n "checking for $ac_word... " >&6; }
5831 < if test "${ac_cv_prog_AR+set}" = set; then :
5831 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5832 >  $as_echo_n "(cached) " >&6
5833 > else
5834 >  if test -n "$DLLTOOL"; then
5835 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5836 > else
5837 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 > for as_dir in $PATH
5839 > do
5840 >  IFS=$as_save_IFS
5841 >  test -z "$as_dir" && as_dir=.
5842 >    for ac_exec_ext in '' $ac_executable_extensions; do
5843 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5845 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 >    break 2
5847 >  fi
5848 > done
5849 >  done
5850 > IFS=$as_save_IFS
5851 >
5852 > fi
5853 > fi
5854 > DLLTOOL=$ac_cv_prog_DLLTOOL
5855 > if test -n "$DLLTOOL"; then
5856 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5857 > $as_echo "$DLLTOOL" >&6; }
5858 > else
5859 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 > $as_echo "no" >&6; }
5861 > fi
5862 >
5863 >
5864 > fi
5865 > if test -z "$ac_cv_prog_DLLTOOL"; then
5866 >  ac_ct_DLLTOOL=$DLLTOOL
5867 >  # Extract the first word of "dlltool", so it can be a program name with args.
5868 > set dummy dlltool; ac_word=$2
5869 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 > $as_echo_n "checking for $ac_word... " >&6; }
5871 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5872 >  $as_echo_n "(cached) " >&6
5873 > else
5874 >  if test -n "$ac_ct_DLLTOOL"; then
5875 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5876 > else
5877 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 > for as_dir in $PATH
5879 > do
5880 >  IFS=$as_save_IFS
5881 >  test -z "$as_dir" && as_dir=.
5882 >    for ac_exec_ext in '' $ac_executable_extensions; do
5883 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5885 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 >    break 2
5887 >  fi
5888 > done
5889 >  done
5890 > IFS=$as_save_IFS
5891 >
5892 > fi
5893 > fi
5894 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5895 > if test -n "$ac_ct_DLLTOOL"; then
5896 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5897 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5898 > else
5899 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 > $as_echo "no" >&6; }
5901 > fi
5902 >
5903 >  if test "x$ac_ct_DLLTOOL" = x; then
5904 >    DLLTOOL="false"
5905 >  else
5906 >    case $cross_compiling:$ac_tool_warned in
5907 > yes:)
5908 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 > ac_tool_warned=yes ;;
5911 > esac
5912 >    DLLTOOL=$ac_ct_DLLTOOL
5913 >  fi
5914 > else
5915 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5916 > fi
5917 >
5918 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5919 >
5920 >
5921 >
5922 >
5923 >
5924 >
5925 >
5926 >
5927 >
5928 >
5929 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5930 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5931 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5932 >  $as_echo_n "(cached) " >&6
5933 > else
5934 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5935 >
5936 > case $host_os in
5937 > cygwin* | mingw* | pw32* | cegcc*)
5938 >  # two different shell functions defined in ltmain.sh
5939 >  # decide which to use based on capabilities of $DLLTOOL
5940 >  case `$DLLTOOL --help 2>&1` in
5941 >  *--identify-strict*)
5942 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5943 >    ;;
5944 >  *)
5945 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5946 >    ;;
5947 >  esac
5948 >  ;;
5949 > *)
5950 >  # fallback: assume linklib IS sharedlib
5951 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5952 >  ;;
5953 > esac
5954 >
5955 > fi
5956 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5957 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5958 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5959 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5960 >
5961 >
5962 >
5963 >
5964 >
5965 >
5966 >
5967 > if test -n "$ac_tool_prefix"; then
5968 >  for ac_prog in ar
5969 >  do
5970 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5971 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5972 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 > $as_echo_n "checking for $ac_word... " >&6; }
5974 > if ${ac_cv_prog_AR+:} false; then :
5975    $as_echo_n "(cached) " >&6
5976   else
5977    if test -n "$AR"; then
# Line 5696 | Line 5983 | do
5983    IFS=$as_save_IFS
5984    test -z "$as_dir" && as_dir=.
5985      for ac_exec_ext in '' $ac_executable_extensions; do
5986 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5986 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5988      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989      break 2
5990    fi
# Line 5717 | Line 6004 | $as_echo "no" >&6; }
6004   fi
6005  
6006  
6007 +    test -n "$AR" && break
6008 +  done
6009   fi
6010 < if test -z "$ac_cv_prog_AR"; then
6010 > if test -z "$AR"; then
6011    ac_ct_AR=$AR
6012 <  # Extract the first word of "ar", so it can be a program name with args.
6013 < set dummy ar; ac_word=$2
6012 >  for ac_prog in ar
6013 > do
6014 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 > set dummy $ac_prog; ac_word=$2
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017   $as_echo_n "checking for $ac_word... " >&6; }
6018 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6018 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6019    $as_echo_n "(cached) " >&6
6020   else
6021    if test -n "$ac_ct_AR"; then
# Line 5736 | Line 6027 | do
6027    IFS=$as_save_IFS
6028    test -z "$as_dir" && as_dir=.
6029      for ac_exec_ext in '' $ac_executable_extensions; do
6030 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 <    ac_cv_prog_ac_ct_AR="ar"
6030 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6032      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033      break 2
6034    fi
# Line 5756 | Line 6047 | else
6047   $as_echo "no" >&6; }
6048   fi
6049  
6050 +
6051 +  test -n "$ac_ct_AR" && break
6052 + done
6053 +
6054    if test "x$ac_ct_AR" = x; then
6055      AR="false"
6056    else
# Line 5767 | Line 6062 | ac_tool_warned=yes ;;
6062   esac
6063      AR=$ac_ct_AR
6064    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6065   fi
6066  
6067 < test -z "$AR" && AR=ar
6068 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6067 > : ${AR=ar}
6068 > : ${AR_FLAGS=cru}
6069 >
6070 >
6071 >
6072 >
6073 >
6074 >
6075 >
6076 >
6077 >
6078 >
6079 >
6080 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6081 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6082 > if ${lt_cv_ar_at_file+:} false; then :
6083 >  $as_echo_n "(cached) " >&6
6084 > else
6085 >  lt_cv_ar_at_file=no
6086 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 > /* end confdefs.h.  */
6088 >
6089 > int
6090 > main ()
6091 > {
6092  
6093 +  ;
6094 +  return 0;
6095 + }
6096 + _ACEOF
6097 + if ac_fn_c_try_compile "$LINENO"; then :
6098 +  echo conftest.$ac_objext > conftest.lst
6099 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6100 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6101 +  (eval $lt_ar_try) 2>&5
6102 +  ac_status=$?
6103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 +  test $ac_status = 0; }
6105 +      if test "$ac_status" -eq 0; then
6106 +        # Ensure the archiver fails upon bogus file names.
6107 +        rm -f conftest.$ac_objext libconftest.a
6108 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6109 +  (eval $lt_ar_try) 2>&5
6110 +  ac_status=$?
6111 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112 +  test $ac_status = 0; }
6113 +        if test "$ac_status" -ne 0; then
6114 +          lt_cv_ar_at_file=@
6115 +        fi
6116 +      fi
6117 +      rm -f conftest.* libconftest.a
6118  
6119 + fi
6120 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121  
6122 + fi
6123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6124 + $as_echo "$lt_cv_ar_at_file" >&6; }
6125  
6126 + if test "x$lt_cv_ar_at_file" = xno; then
6127 +  archiver_list_spec=
6128 + else
6129 +  archiver_list_spec=$lt_cv_ar_at_file
6130 + fi
6131  
6132  
6133  
# Line 5789 | Line 6140 | if test -n "$ac_tool_prefix"; then
6140   set dummy ${ac_tool_prefix}strip; ac_word=$2
6141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142   $as_echo_n "checking for $ac_word... " >&6; }
6143 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6143 > if ${ac_cv_prog_STRIP+:} false; then :
6144    $as_echo_n "(cached) " >&6
6145   else
6146    if test -n "$STRIP"; then
# Line 5801 | Line 6152 | do
6152    IFS=$as_save_IFS
6153    test -z "$as_dir" && as_dir=.
6154      for ac_exec_ext in '' $ac_executable_extensions; do
6155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158      break 2
# Line 5829 | Line 6180 | if test -z "$ac_cv_prog_STRIP"; then
6180   set dummy strip; ac_word=$2
6181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182   $as_echo_n "checking for $ac_word... " >&6; }
6183 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6183 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6184    $as_echo_n "(cached) " >&6
6185   else
6186    if test -n "$ac_ct_STRIP"; then
# Line 5841 | Line 6192 | do
6192    IFS=$as_save_IFS
6193    test -z "$as_dir" && as_dir=.
6194      for ac_exec_ext in '' $ac_executable_extensions; do
6195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196      ac_cv_prog_ac_ct_STRIP="strip"
6197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198      break 2
# Line 5888 | Line 6239 | if test -n "$ac_tool_prefix"; then
6239   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241   $as_echo_n "checking for $ac_word... " >&6; }
6242 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6242 > if ${ac_cv_prog_RANLIB+:} false; then :
6243    $as_echo_n "(cached) " >&6
6244   else
6245    if test -n "$RANLIB"; then
# Line 5900 | Line 6251 | do
6251    IFS=$as_save_IFS
6252    test -z "$as_dir" && as_dir=.
6253      for ac_exec_ext in '' $ac_executable_extensions; do
6254 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6256      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257      break 2
# Line 5928 | Line 6279 | if test -z "$ac_cv_prog_RANLIB"; then
6279   set dummy ranlib; ac_word=$2
6280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281   $as_echo_n "checking for $ac_word... " >&6; }
6282 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6282 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6283    $as_echo_n "(cached) " >&6
6284   else
6285    if test -n "$ac_ct_RANLIB"; then
# Line 5940 | Line 6291 | do
6291    IFS=$as_save_IFS
6292    test -z "$as_dir" && as_dir=.
6293      for ac_exec_ext in '' $ac_executable_extensions; do
6294 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295      ac_cv_prog_ac_ct_RANLIB="ranlib"
6296      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297      break 2
# Line 5990 | Line 6341 | old_postuninstall_cmds=
6341   if test -n "$RANLIB"; then
6342    case $host_os in
6343    openbsd*)
6344 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6344 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345      ;;
6346    *)
6347 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6347 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348      ;;
6349    esac
6350 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6350 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6351   fi
6352  
6353   case $host_os in
# Line 6057 | Line 6408 | compiler=$CC
6408   # Check for command to grab the raw symbol name followed by C symbol from nm.
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6410   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6411 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6411 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6412    $as_echo_n "(cached) " >&6
6413   else
6414  
# Line 6118 | Line 6469 | esac
6469   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6470  
6471   # Transform an extracted symbol line into symbol name and symbol address
6472 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 < 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'"
6472 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 > 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'"
6474  
6475   # Handle CRLF in mingw tool chain
6476   opt_cr=
# Line 6143 | Line 6494 | for ac_symprfx in "" "_"; do
6494      # which start with @ or ?.
6495      lt_cv_sys_global_symbol_pipe="$AWK '"\
6496   "     {last_section=section; section=\$ 3};"\
6497 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6498   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6499   "     \$ 0!~/External *\|/{next};"\
6500   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6507 | for ac_symprfx in "" "_"; do
6507    else
6508      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6509    fi
6510 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6511  
6512    # Check to see that the pipe works correctly.
6513    pipe_works=no
# Line 6196 | Line 6549 | _LT_EOF
6549        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6550          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6551            cat <<_LT_EOF > conftest.$ac_ext
6552 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6553 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6554 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6555 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6556 + # define LT_DLSYM_CONST
6557 + #elif defined(__osf__)
6558 + /* This system does not cope well with relocations in const data.  */
6559 + # define LT_DLSYM_CONST
6560 + #else
6561 + # define LT_DLSYM_CONST const
6562 + #endif
6563 +
6564   #ifdef __cplusplus
6565   extern "C" {
6566   #endif
# Line 6207 | Line 6572 | _LT_EOF
6572            cat <<_LT_EOF >> conftest.$ac_ext
6573  
6574   /* The mapping between symbol names and symbols.  */
6575 < const struct {
6575 > LT_DLSYM_CONST struct {
6576    const char *name;
6577    void       *address;
6578   }
# Line 6233 | Line 6598 | static const void *lt_preloaded_setup()
6598   _LT_EOF
6599            # Now try linking the two files.
6600            mv conftest.$ac_objext conftstm.$ac_objext
6601 <          lt_save_LIBS="$LIBS"
6602 <          lt_save_CFLAGS="$CFLAGS"
6601 >          lt_globsym_save_LIBS=$LIBS
6602 >          lt_globsym_save_CFLAGS=$CFLAGS
6603            LIBS="conftstm.$ac_objext"
6604            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6605            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6609 | _LT_EOF
6609    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6610              pipe_works=yes
6611            fi
6612 <          LIBS="$lt_save_LIBS"
6613 <          CFLAGS="$lt_save_CFLAGS"
6612 >          LIBS=$lt_globsym_save_LIBS
6613 >          CFLAGS=$lt_globsym_save_CFLAGS
6614          else
6615            echo "cannot find nm_test_func in $nlist" >&5
6616          fi
# Line 6282 | Line 6647 | else
6647   $as_echo "ok" >&6; }
6648   fi
6649  
6650 + # Response file support.
6651 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6652 +  nm_file_list_spec='@'
6653 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6654 +  nm_file_list_spec='@'
6655 + fi
6656 +
6657 +
6658 +
6659  
6660  
6661  
# Line 6303 | Line 6677 | fi
6677  
6678  
6679  
6680 +
6681 +
6682 +
6683 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6684 + $as_echo_n "checking for sysroot... " >&6; }
6685 +
6686 + # Check whether --with-sysroot was given.
6687 + if test "${with_sysroot+set}" = set; then :
6688 +  withval=$with_sysroot;
6689 + else
6690 +  with_sysroot=no
6691 + fi
6692 +
6693 +
6694 + lt_sysroot=
6695 + case ${with_sysroot} in #(
6696 + yes)
6697 +   if test "$GCC" = yes; then
6698 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6699 +   fi
6700 +   ;; #(
6701 + /*)
6702 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6703 +   ;; #(
6704 + no|'')
6705 +   ;; #(
6706 + *)
6707 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6708 + $as_echo "${with_sysroot}" >&6; }
6709 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6710 +   ;;
6711 + esac
6712 +
6713 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6714 + $as_echo "${lt_sysroot:-no}" >&6; }
6715 +
6716 +
6717 +
6718 +
6719 +
6720   # Check whether --enable-libtool-lock was given.
6721   if test "${enable_libtool_lock+set}" = set; then :
6722    enableval=$enable_libtool_lock;
# Line 6428 | Line 6842 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6842    CFLAGS="$CFLAGS -belf"
6843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6844   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6845 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6845 > if ${lt_cv_cc_needs_belf+:} false; then :
6846    $as_echo_n "(cached) " >&6
6847   else
6848    ac_ext=c
# Line 6469 | Line 6883 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6883      CFLAGS="$SAVE_CFLAGS"
6884    fi
6885    ;;
6886 < sparc*-*solaris*)
6886 > *-*solaris*)
6887    # Find out which ABI we are using.
6888    echo 'int i;' > conftest.$ac_ext
6889    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6894 | sparc*-*solaris*)
6894      case `/usr/bin/file conftest.o` in
6895      *64-bit*)
6896        case $lt_cv_prog_gnu_ld in
6897 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6897 >      yes*)
6898 >        case $host in
6899 >        i?86-*-solaris*)
6900 >          LD="${LD-ld} -m elf_x86_64"
6901 >          ;;
6902 >        sparc*-*-solaris*)
6903 >          LD="${LD-ld} -m elf64_sparc"
6904 >          ;;
6905 >        esac
6906 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6907 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6908 >          LD="${LD-ld}_sol2"
6909 >        fi
6910 >        ;;
6911        *)
6912          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6913            LD="${LD-ld} -64"
# Line 6496 | Line 6923 | esac
6923  
6924   need_locks="$enable_libtool_lock"
6925  
6926 + if test -n "$ac_tool_prefix"; then
6927 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6928 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 + $as_echo_n "checking for $ac_word... " >&6; }
6931 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6932 +  $as_echo_n "(cached) " >&6
6933 + else
6934 +  if test -n "$MANIFEST_TOOL"; then
6935 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6936 + else
6937 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 + for as_dir in $PATH
6939 + do
6940 +  IFS=$as_save_IFS
6941 +  test -z "$as_dir" && as_dir=.
6942 +    for ac_exec_ext in '' $ac_executable_extensions; do
6943 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6945 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 +    break 2
6947 +  fi
6948 + done
6949 +  done
6950 + IFS=$as_save_IFS
6951 +
6952 + fi
6953 + fi
6954 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6955 + if test -n "$MANIFEST_TOOL"; then
6956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6957 + $as_echo "$MANIFEST_TOOL" >&6; }
6958 + else
6959 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 + $as_echo "no" >&6; }
6961 + fi
6962 +
6963 +
6964 + fi
6965 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6966 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6967 +  # Extract the first word of "mt", so it can be a program name with args.
6968 + set dummy mt; ac_word=$2
6969 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 + $as_echo_n "checking for $ac_word... " >&6; }
6971 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6972 +  $as_echo_n "(cached) " >&6
6973 + else
6974 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6975 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6976 + else
6977 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 + for as_dir in $PATH
6979 + do
6980 +  IFS=$as_save_IFS
6981 +  test -z "$as_dir" && as_dir=.
6982 +    for ac_exec_ext in '' $ac_executable_extensions; do
6983 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6985 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 +    break 2
6987 +  fi
6988 + done
6989 +  done
6990 + IFS=$as_save_IFS
6991 +
6992 + fi
6993 + fi
6994 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6995 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6996 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6997 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6998 + else
6999 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 + $as_echo "no" >&6; }
7001 + fi
7002 +
7003 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7004 +    MANIFEST_TOOL=":"
7005 +  else
7006 +    case $cross_compiling:$ac_tool_warned in
7007 + yes:)
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 + ac_tool_warned=yes ;;
7011 + esac
7012 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7013 +  fi
7014 + else
7015 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7016 + fi
7017 +
7018 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7020 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7021 + if ${lt_cv_path_mainfest_tool+:} false; then :
7022 +  $as_echo_n "(cached) " >&6
7023 + else
7024 +  lt_cv_path_mainfest_tool=no
7025 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7026 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7027 +  cat conftest.err >&5
7028 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7029 +    lt_cv_path_mainfest_tool=yes
7030 +  fi
7031 +  rm -f conftest*
7032 + fi
7033 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7034 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7035 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7036 +  MANIFEST_TOOL=:
7037 + fi
7038 +
7039 +
7040 +
7041 +
7042 +
7043  
7044    case $host_os in
7045      rhapsody* | darwin*)
# Line 6504 | Line 7048 | need_locks="$enable_libtool_lock"
7048   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050   $as_echo_n "checking for $ac_word... " >&6; }
7051 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7051 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7052    $as_echo_n "(cached) " >&6
7053   else
7054    if test -n "$DSYMUTIL"; then
# Line 6516 | Line 7060 | do
7060    IFS=$as_save_IFS
7061    test -z "$as_dir" && as_dir=.
7062      for ac_exec_ext in '' $ac_executable_extensions; do
7063 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7065      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066      break 2
# Line 6544 | Line 7088 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7088   set dummy dsymutil; ac_word=$2
7089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090   $as_echo_n "checking for $ac_word... " >&6; }
7091 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7091 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7092    $as_echo_n "(cached) " >&6
7093   else
7094    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6556 | Line 7100 | do
7100    IFS=$as_save_IFS
7101    test -z "$as_dir" && as_dir=.
7102      for ac_exec_ext in '' $ac_executable_extensions; do
7103 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7105      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106      break 2
# Line 6596 | Line 7140 | fi
7140   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142   $as_echo_n "checking for $ac_word... " >&6; }
7143 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7143 > if ${ac_cv_prog_NMEDIT+:} false; then :
7144    $as_echo_n "(cached) " >&6
7145   else
7146    if test -n "$NMEDIT"; then
# Line 6608 | Line 7152 | do
7152    IFS=$as_save_IFS
7153    test -z "$as_dir" && as_dir=.
7154      for ac_exec_ext in '' $ac_executable_extensions; do
7155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158      break 2
# Line 6636 | Line 7180 | if test -z "$ac_cv_prog_NMEDIT"; then
7180   set dummy nmedit; ac_word=$2
7181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182   $as_echo_n "checking for $ac_word... " >&6; }
7183 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7183 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7184    $as_echo_n "(cached) " >&6
7185   else
7186    if test -n "$ac_ct_NMEDIT"; then
# Line 6648 | Line 7192 | do
7192    IFS=$as_save_IFS
7193    test -z "$as_dir" && as_dir=.
7194      for ac_exec_ext in '' $ac_executable_extensions; do
7195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198      break 2
# Line 6688 | Line 7232 | fi
7232   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234   $as_echo_n "checking for $ac_word... " >&6; }
7235 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7235 > if ${ac_cv_prog_LIPO+:} false; then :
7236    $as_echo_n "(cached) " >&6
7237   else
7238    if test -n "$LIPO"; then
# Line 6700 | Line 7244 | do
7244    IFS=$as_save_IFS
7245    test -z "$as_dir" && as_dir=.
7246      for ac_exec_ext in '' $ac_executable_extensions; do
7247 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7249      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250      break 2
# Line 6728 | Line 7272 | if test -z "$ac_cv_prog_LIPO"; then
7272   set dummy lipo; ac_word=$2
7273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274   $as_echo_n "checking for $ac_word... " >&6; }
7275 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7275 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7276    $as_echo_n "(cached) " >&6
7277   else
7278    if test -n "$ac_ct_LIPO"; then
# Line 6740 | Line 7284 | do
7284    IFS=$as_save_IFS
7285    test -z "$as_dir" && as_dir=.
7286      for ac_exec_ext in '' $ac_executable_extensions; do
7287 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288      ac_cv_prog_ac_ct_LIPO="lipo"
7289      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290      break 2
# Line 6780 | Line 7324 | fi
7324   set dummy ${ac_tool_prefix}otool; ac_word=$2
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326   $as_echo_n "checking for $ac_word... " >&6; }
7327 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7327 > if ${ac_cv_prog_OTOOL+:} false; then :
7328    $as_echo_n "(cached) " >&6
7329   else
7330    if test -n "$OTOOL"; then
# Line 6792 | Line 7336 | do
7336    IFS=$as_save_IFS
7337    test -z "$as_dir" && as_dir=.
7338      for ac_exec_ext in '' $ac_executable_extensions; do
7339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7341      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342      break 2
# Line 6820 | Line 7364 | if test -z "$ac_cv_prog_OTOOL"; then
7364   set dummy otool; ac_word=$2
7365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366   $as_echo_n "checking for $ac_word... " >&6; }
7367 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7367 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7368    $as_echo_n "(cached) " >&6
7369   else
7370    if test -n "$ac_ct_OTOOL"; then
# Line 6832 | Line 7376 | do
7376    IFS=$as_save_IFS
7377    test -z "$as_dir" && as_dir=.
7378      for ac_exec_ext in '' $ac_executable_extensions; do
7379 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380      ac_cv_prog_ac_ct_OTOOL="otool"
7381      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382      break 2
# Line 6872 | Line 7416 | fi
7416   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418   $as_echo_n "checking for $ac_word... " >&6; }
7419 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7419 > if ${ac_cv_prog_OTOOL64+:} false; then :
7420    $as_echo_n "(cached) " >&6
7421   else
7422    if test -n "$OTOOL64"; then
# Line 6884 | Line 7428 | do
7428    IFS=$as_save_IFS
7429    test -z "$as_dir" && as_dir=.
7430      for ac_exec_ext in '' $ac_executable_extensions; do
7431 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7433      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434      break 2
# Line 6912 | Line 7456 | if test -z "$ac_cv_prog_OTOOL64"; then
7456   set dummy otool64; ac_word=$2
7457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458   $as_echo_n "checking for $ac_word... " >&6; }
7459 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7459 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7460    $as_echo_n "(cached) " >&6
7461   else
7462    if test -n "$ac_ct_OTOOL64"; then
# Line 6924 | Line 7468 | do
7468    IFS=$as_save_IFS
7469    test -z "$as_dir" && as_dir=.
7470      for ac_exec_ext in '' $ac_executable_extensions; do
7471 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472      ac_cv_prog_ac_ct_OTOOL64="otool64"
7473      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474      break 2
# Line 6987 | Line 7531 | fi
7531  
7532      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7533   $as_echo_n "checking for -single_module linker flag... " >&6; }
7534 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7534 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7535    $as_echo_n "(cached) " >&6
7536   else
7537    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7547 | else
7547          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7549          _lt_result=$?
7550 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7550 >        # If there is a non-empty error log, and "single_module"
7551 >        # appears in it, assume the flag caused a linker warning
7552 >        if test -s conftest.err && $GREP single_module conftest.err; then
7553 >          cat conftest.err >&5
7554 >        # Otherwise, if the output was created with a 0 exit code from
7555 >        # the compiler, it worked.
7556 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7557            lt_cv_apple_cc_single_mod=yes
7558          else
7559            cat conftest.err >&5
# Line 7014 | Line 7564 | else
7564   fi
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567 +
7568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7569   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7570 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7570 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7571    $as_echo_n "(cached) " >&6
7572   else
7573    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7597 | rm -f core conftest.err conftest.$ac_obj
7597   fi
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7599   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7600 +
7601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7602   $as_echo_n "checking for -force_load linker flag... " >&6; }
7603 < if test "${lt_cv_ld_force_load+set}" = set; then :
7603 > if ${lt_cv_ld_force_load+:} false; then :
7604    $as_echo_n "(cached) " >&6
7605   else
7606    lt_cv_ld_force_load=no
# Line 7067 | Line 7619 | _LT_EOF
7619        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7620        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7621        _lt_result=$?
7622 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7622 >      if test -s conftest.err && $GREP force_load conftest.err; then
7623 >        cat conftest.err >&5
7624 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7625          lt_cv_ld_force_load=yes
7626        else
7627          cat conftest.err >&5
# Line 7125 | Line 7679 | if test -n "$CPP" && test -d "$CPP"; the
7679    CPP=
7680   fi
7681   if test -z "$CPP"; then
7682 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7682 >  if ${ac_cv_prog_CPP+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7709 | else
7709    # Broken: fails on valid input.
7710   continue
7711   fi
7712 < rm -f conftest.err conftest.$ac_ext
7712 > rm -f conftest.err conftest.i conftest.$ac_ext
7713  
7714    # OK, works on sane cases.  Now check whether nonexistent headers
7715    # can be detected and how.
# Line 7171 | Line 7725 | else
7725   ac_preproc_ok=:
7726   break
7727   fi
7728 < rm -f conftest.err conftest.$ac_ext
7728 > rm -f conftest.err conftest.i conftest.$ac_ext
7729  
7730   done
7731   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7732 < rm -f conftest.err conftest.$ac_ext
7732 > rm -f conftest.i conftest.err conftest.$ac_ext
7733   if $ac_preproc_ok; then :
7734    break
7735   fi
# Line 7214 | Line 7768 | else
7768    # Broken: fails on valid input.
7769   continue
7770   fi
7771 < rm -f conftest.err conftest.$ac_ext
7771 > rm -f conftest.err conftest.i conftest.$ac_ext
7772  
7773    # OK, works on sane cases.  Now check whether nonexistent headers
7774    # can be detected and how.
# Line 7230 | Line 7784 | else
7784   ac_preproc_ok=:
7785   break
7786   fi
7787 < rm -f conftest.err conftest.$ac_ext
7787 > rm -f conftest.err conftest.i conftest.$ac_ext
7788  
7789   done
7790   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7791 < rm -f conftest.err conftest.$ac_ext
7791 > rm -f conftest.i conftest.err conftest.$ac_ext
7792   if $ac_preproc_ok; then :
7793  
7794   else
7795    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7796   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7797 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7798 < See \`config.log' for more details." "$LINENO" 5; }
7797 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7798 > See \`config.log' for more details" "$LINENO" 5; }
7799   fi
7800  
7801   ac_ext=c
# Line 7253 | Line 7807 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7807  
7808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7809   $as_echo_n "checking for ANSI C header files... " >&6; }
7810 < if test "${ac_cv_header_stdc+set}" = set; then :
7810 > if ${ac_cv_header_stdc+:} false; then :
7811    $as_echo_n "(cached) " >&6
7812   else
7813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 7924 | do :
7924    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7925   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7926   "
7927 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
7927 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7928    cat >>confdefs.h <<_ACEOF
7929   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7930   _ACEOF
# Line 7385 | Line 7938 | for ac_header in dlfcn.h
7938   do :
7939    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7940   "
7941 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7941 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7942    cat >>confdefs.h <<_ACEOF
7943   #define HAVE_DLFCN_H 1
7944   _ACEOF
# Line 7471 | Line 8024 | fi
8024  
8025   # Check whether --with-pic was given.
8026   if test "${with_pic+set}" = set; then :
8027 <  withval=$with_pic; pic_mode="$withval"
8027 >  withval=$with_pic; lt_p=${PACKAGE-default}
8028 >    case $withval in
8029 >    yes|no) pic_mode=$withval ;;
8030 >    *)
8031 >      pic_mode=default
8032 >      # Look at the argument we got.  We use all the common list separators.
8033 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 >      for lt_pkg in $withval; do
8035 >        IFS="$lt_save_ifs"
8036 >        if test "X$lt_pkg" = "X$lt_p"; then
8037 >          pic_mode=yes
8038 >        fi
8039 >      done
8040 >      IFS="$lt_save_ifs"
8041 >      ;;
8042 >    esac
8043   else
8044    pic_mode=default
8045   fi
# Line 7549 | Line 8117 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8117  
8118  
8119  
8120 +
8121 +
8122 +
8123 +
8124   test -z "$LN_S" && LN_S="ln -s"
8125  
8126  
# Line 7570 | Line 8142 | fi
8142  
8143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8144   $as_echo_n "checking for objdir... " >&6; }
8145 < if test "${lt_cv_objdir+set}" = set; then :
8145 > if ${lt_cv_objdir+:} false; then :
8146    $as_echo_n "(cached) " >&6
8147   else
8148    rm -f .libs 2>/dev/null
# Line 7648 | Line 8220 | file_magic*)
8220    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8221      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8222   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8223 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8223 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8224    $as_echo_n "(cached) " >&6
8225   else
8226    case $MAGIC_CMD in
# Line 7714 | Line 8286 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8286    if test -n "$ac_tool_prefix"; then
8287      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8288   $as_echo_n "checking for file... " >&6; }
8289 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8289 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8290    $as_echo_n "(cached) " >&6
8291   else
8292    case $MAGIC_CMD in
# Line 7852 | Line 8424 | if test "$GCC" = yes; then
8424  
8425    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8426   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8427 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8427 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8428    $as_echo_n "(cached) " >&6
8429   else
8430    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8477 | fi
8477   lt_prog_compiler_pic=
8478   lt_prog_compiler_static=
8479  
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; }
8480  
8481    if test "$GCC" = yes; then
8482      lt_prog_compiler_wl='-Wl,'
# Line 8006 | Line 8576 | $as_echo_n "checking for $compiler optio
8576      case $cc_basename in
8577      nvcc*) # Cuda Compiler Driver 2.2
8578        lt_prog_compiler_wl='-Xlinker '
8579 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8579 >      if test -n "$lt_prog_compiler_pic"; then
8580 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8581 >      fi
8582        ;;
8583      esac
8584    else
# Line 8071 | Line 8643 | $as_echo_n "checking for $compiler optio
8643          lt_prog_compiler_pic='--shared'
8644          lt_prog_compiler_static='--static'
8645          ;;
8646 +      nagfor*)
8647 +        # NAG Fortran compiler
8648 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8649 +        lt_prog_compiler_pic='-PIC'
8650 +        lt_prog_compiler_static='-Bstatic'
8651 +        ;;
8652        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8653          # Portland Group compilers (*not* the Pentium gcc compiler,
8654          # which looks to be a dead project)
# Line 8091 | Line 8669 | $as_echo_n "checking for $compiler optio
8669          ;;
8670        *)
8671          case `$CC -V 2>&1 | sed 5q` in
8672 <        *Sun\ F* | *Sun*Fortran*)
8672 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8673            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8674            lt_prog_compiler_pic='-KPIC'
8675            lt_prog_compiler_static='-Bstatic'
8676            lt_prog_compiler_wl=''
8677            ;;
8678 +        *Sun\ F* | *Sun*Fortran*)
8679 +          lt_prog_compiler_pic='-KPIC'
8680 +          lt_prog_compiler_static='-Bstatic'
8681 +          lt_prog_compiler_wl='-Qoption ld '
8682 +          ;;
8683          *Sun\ C*)
8684            # Sun C 5.9
8685            lt_prog_compiler_pic='-KPIC'
8686            lt_prog_compiler_static='-Bstatic'
8687            lt_prog_compiler_wl='-Wl,'
8688            ;;
8689 +        *Intel*\ [CF]*Compiler*)
8690 +          lt_prog_compiler_wl='-Wl,'
8691 +          lt_prog_compiler_pic='-fPIC'
8692 +          lt_prog_compiler_static='-static'
8693 +          ;;
8694 +        *Portland\ Group*)
8695 +          lt_prog_compiler_wl='-Wl,'
8696 +          lt_prog_compiler_pic='-fpic'
8697 +          lt_prog_compiler_static='-Bstatic'
8698 +          ;;
8699          esac
8700          ;;
8701        esac
# Line 8190 | Line 8783 | case $host_os in
8783      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8784      ;;
8785   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
8786  
8787 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8788 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8789 + if ${lt_cv_prog_compiler_pic+:} false; then :
8790 +  $as_echo_n "(cached) " >&6
8791 + else
8792 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8793 + fi
8794 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8795 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8796 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8797  
8798   #
8799   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8801 | $as_echo "$lt_prog_compiler_pic" >&6; }
8801   if test -n "$lt_prog_compiler_pic"; then
8802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8805    $as_echo_n "(cached) " >&6
8806   else
8807    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 8854 | fi
8854  
8855  
8856  
8857 +
8858 +
8859 +
8860 +
8861 +
8862   #
8863   # Check to make sure the static flag actually works.
8864   #
8865   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8867   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8868 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8868 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8869    $as_echo_n "(cached) " >&6
8870   else
8871    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 8908 | fi
8908  
8909    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8910   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8911 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8911 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8912    $as_echo_n "(cached) " >&6
8913   else
8914    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 8963 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8963  
8964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8966 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8967    $as_echo_n "(cached) " >&6
8968   else
8969    lt_cv_prog_compiler_c_o=no
# Line 8455 | Line 9057 | $as_echo_n "checking whether the $compil
9057    hardcode_direct=no
9058    hardcode_direct_absolute=no
9059    hardcode_libdir_flag_spec=
8458  hardcode_libdir_flag_spec_ld=
9060    hardcode_libdir_separator=
9061    hardcode_minus_L=no
9062    hardcode_shlibpath_var=unsupported
# Line 8607 | Line 9208 | _LT_EOF
9208        allow_undefined_flag=unsupported
9209        always_export_symbols=no
9210        enable_shared_with_static_runtimes=yes
9211 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9211 >      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'
9212 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9213  
9214        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9215          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 9257 | _LT_EOF
9257        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9258           && test "$tmp_diet" = no
9259        then
9260 <        tmp_addflag=
9260 >        tmp_addflag=' $pic_flag'
9261          tmp_sharedflag='-shared'
9262          case $cc_basename,$host_cpu in
9263          pgcc*)                          # Portland Group C compiler
# Line 8704 | Line 9306 | _LT_EOF
9306          xlf* | bgf* | bgxlf* | mpixlf*)
9307            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9308            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9309 <          hardcode_libdir_flag_spec=
8708 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9309 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9311            if test "x$supports_anon_versioning" = xyes; then
9312              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8725 | Line 9326 | _LT_EOF
9326          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9327          wlarc=
9328        else
9329 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9331        fi
9332        ;;
9333  
# Line 8744 | Line 9345 | _LT_EOF
9345  
9346   _LT_EOF
9347        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350        else
9351          ld_shlibs=no
9352        fi
# Line 8791 | Line 9392 | _LT_EOF
9392  
9393      *)
9394        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9397        else
9398          ld_shlibs=no
9399        fi
# Line 8922 | Line 9523 | _LT_EOF
9523          allow_undefined_flag='-berok'
9524          # Determine the default libpath from the value encoded in an
9525          # empty executable.
9526 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 >        if test "${lt_cv_aix_libpath+set}" = set; then
9527 >  aix_libpath=$lt_cv_aix_libpath
9528 > else
9529 >  if ${lt_cv_aix_libpath_+:} false; then :
9530 >  $as_echo_n "(cached) " >&6
9531 > else
9532 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533   /* end confdefs.h.  */
9534  
9535   int
# Line 8935 | Line 9542 | main ()
9542   _ACEOF
9543   if ac_fn_c_try_link "$LINENO"; then :
9544  
9545 < lt_aix_libpath_sed='
9546 <    /Import File Strings/,/^$/ {
9547 <        /^0/ {
9548 <            s/^0  *\(.*\)$/\1/
9549 <            p
9550 <        }
9551 <    }'
9552 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 < # Check for a 64-bit object if we didn't find anything.
9554 < if test -z "$aix_libpath"; then
9555 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 < fi
9545 >  lt_aix_libpath_sed='
9546 >      /Import File Strings/,/^$/ {
9547 >          /^0/ {
9548 >              s/^0  *\([^ ]*\) *$/\1/
9549 >              p
9550 >          }
9551 >      }'
9552 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 >  # Check for a 64-bit object if we didn't find anything.
9554 >  if test -z "$lt_cv_aix_libpath_"; then
9555 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 >  fi
9557   fi
9558   rm -f core conftest.err conftest.$ac_objext \
9559      conftest$ac_exeext conftest.$ac_ext
9560 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9560 >  if test -z "$lt_cv_aix_libpath_"; then
9561 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9562 >  fi
9563 >
9564 > fi
9565 >
9566 >  aix_libpath=$lt_cv_aix_libpath_
9567 > fi
9568  
9569          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570          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 9576 | if test -z "$aix_libpath"; then aix_libp
9576          else
9577           # Determine the default libpath from the value encoded in an
9578           # empty executable.
9579 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 >         if test "${lt_cv_aix_libpath+set}" = set; then
9580 >  aix_libpath=$lt_cv_aix_libpath
9581 > else
9582 >  if ${lt_cv_aix_libpath_+:} false; then :
9583 >  $as_echo_n "(cached) " >&6
9584 > else
9585 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586   /* end confdefs.h.  */
9587  
9588   int
# Line 8975 | Line 9595 | main ()
9595   _ACEOF
9596   if ac_fn_c_try_link "$LINENO"; then :
9597  
9598 < lt_aix_libpath_sed='
9599 <    /Import File Strings/,/^$/ {
9600 <        /^0/ {
9601 <            s/^0  *\(.*\)$/\1/
9602 <            p
9603 <        }
9604 <    }'
9605 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 < # Check for a 64-bit object if we didn't find anything.
9607 < if test -z "$aix_libpath"; then
9608 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 < fi
9598 >  lt_aix_libpath_sed='
9599 >      /Import File Strings/,/^$/ {
9600 >          /^0/ {
9601 >              s/^0  *\([^ ]*\) *$/\1/
9602 >              p
9603 >          }
9604 >      }'
9605 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 >  # Check for a 64-bit object if we didn't find anything.
9607 >  if test -z "$lt_cv_aix_libpath_"; then
9608 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 >  fi
9610   fi
9611   rm -f core conftest.err conftest.$ac_objext \
9612      conftest$ac_exeext conftest.$ac_ext
9613 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9613 >  if test -z "$lt_cv_aix_libpath_"; then
9614 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9615 >  fi
9616 >
9617 > fi
9618 >
9619 >  aix_libpath=$lt_cv_aix_libpath_
9620 > fi
9621  
9622           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9662 | if test -z "$aix_libpath"; then aix_libp
9662        # Microsoft Visual C++.
9663        # hardcode_libdir_flag_spec is actually meaningless, as there is
9664        # no search path for DLLs.
9665 <      hardcode_libdir_flag_spec=' '
9666 <      allow_undefined_flag=unsupported
9667 <      # Tell ltmain to make .lib files, not .a files.
9668 <      libext=lib
9669 <      # Tell ltmain to make .dll files, not .so files.
9670 <      shrext_cmds=".dll"
9671 <      # FIXME: Setting linknames here is a bad hack.
9672 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 <      # The linker will automatically build a .lib file if we build a DLL.
9674 <      old_archive_from_new_cmds='true'
9675 <      # FIXME: Should let the user specify the lib program.
9676 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 <      enable_shared_with_static_runtimes=yes
9665 >      case $cc_basename in
9666 >      cl*)
9667 >        # Native MSVC
9668 >        hardcode_libdir_flag_spec=' '
9669 >        allow_undefined_flag=unsupported
9670 >        always_export_symbols=yes
9671 >        file_list_spec='@'
9672 >        # Tell ltmain to make .lib files, not .a files.
9673 >        libext=lib
9674 >        # Tell ltmain to make .dll files, not .so files.
9675 >        shrext_cmds=".dll"
9676 >        # FIXME: Setting linknames here is a bad hack.
9677 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9678 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9679 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9680 >          else
9681 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9682 >          fi~
9683 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9684 >          linknames='
9685 >        # The linker will not automatically build a static lib if we build a DLL.
9686 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9687 >        enable_shared_with_static_runtimes=yes
9688 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9689 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9690 >        # Don't use ranlib
9691 >        old_postinstall_cmds='chmod 644 $oldlib'
9692 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9693 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9694 >          case $lt_outputfile in
9695 >            *.exe|*.EXE) ;;
9696 >            *)
9697 >              lt_outputfile="$lt_outputfile.exe"
9698 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9699 >              ;;
9700 >          esac~
9701 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9702 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9703 >            $RM "$lt_outputfile.manifest";
9704 >          fi'
9705 >        ;;
9706 >      *)
9707 >        # Assume MSVC wrapper
9708 >        hardcode_libdir_flag_spec=' '
9709 >        allow_undefined_flag=unsupported
9710 >        # Tell ltmain to make .lib files, not .a files.
9711 >        libext=lib
9712 >        # Tell ltmain to make .dll files, not .so files.
9713 >        shrext_cmds=".dll"
9714 >        # FIXME: Setting linknames here is a bad hack.
9715 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9716 >        # The linker will automatically build a .lib file if we build a DLL.
9717 >        old_archive_from_new_cmds='true'
9718 >        # FIXME: Should let the user specify the lib program.
9719 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9720 >        enable_shared_with_static_runtimes=yes
9721 >        ;;
9722 >      esac
9723        ;;
9724  
9725      darwin* | rhapsody*)
# Line 9060 | Line 9731 | if test -z "$aix_libpath"; then aix_libp
9731    hardcode_shlibpath_var=unsupported
9732    if test "$lt_cv_ld_force_load" = "yes"; then
9733      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9734 +
9735    else
9736      whole_archive_flag_spec=''
9737    fi
# Line 9088 | Line 9760 | if test -z "$aix_libpath"; then aix_libp
9760        hardcode_shlibpath_var=no
9761        ;;
9762  
9091    freebsd1*)
9092      ld_shlibs=no
9093      ;;
9094
9763      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9764      # support.  Future versions do this automatically, but an explicit c++rt0.o
9765      # does not break anything, and helps significantly (at the cost of a little
# Line 9104 | Line 9772 | if test -z "$aix_libpath"; then aix_libp
9772        ;;
9773  
9774      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9775 <    freebsd2*)
9775 >    freebsd2.*)
9776        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9777        hardcode_direct=yes
9778        hardcode_minus_L=yes
# Line 9113 | Line 9781 | if test -z "$aix_libpath"; then aix_libp
9781  
9782      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9783      freebsd* | dragonfly*)
9784 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9784 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785        hardcode_libdir_flag_spec='-R$libdir'
9786        hardcode_direct=yes
9787        hardcode_shlibpath_var=no
# Line 9121 | Line 9789 | if test -z "$aix_libpath"; then aix_libp
9789  
9790      hpux9*)
9791        if test "$GCC" = yes; then
9792 <        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'
9792 >        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'
9793        else
9794          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'
9795        fi
# Line 9137 | Line 9805 | if test -z "$aix_libpath"; then aix_libp
9805  
9806      hpux10*)
9807        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9808 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809        else
9810          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9811        fi
9812        if test "$with_gnu_ld" = no; then
9813          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9146        hardcode_libdir_flag_spec_ld='+b $libdir'
9814          hardcode_libdir_separator=:
9815          hardcode_direct=yes
9816          hardcode_direct_absolute=yes
# Line 9161 | Line 9828 | if test -z "$aix_libpath"; then aix_libp
9828            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9829            ;;
9830          ia64*)
9831 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9831 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832            ;;
9833          *)
9834 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9835            ;;
9836          esac
9837        else
# Line 9181 | Line 9848 | if test -z "$aix_libpath"; then aix_libp
9848            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9849            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9850   $as_echo_n "checking if $CC understands -b... " >&6; }
9851 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9851 > if ${lt_cv_prog_compiler__b+:} false; then :
9852    $as_echo_n "(cached) " >&6
9853   else
9854    lt_cv_prog_compiler__b=no
# Line 9243 | Line 9910 | fi
9910  
9911      irix5* | irix6* | nonstopux*)
9912        if test "$GCC" = yes; then
9913 <        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'
9913 >        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'
9914          # Try to use the -exported_symbol ld option, if it does not
9915          # work, assume that -exports_file does not work either and
9916          # implicitly export all symbols.
9917 <        save_LDFLAGS="$LDFLAGS"
9918 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9919 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 >        # This should be the same for all languages, so no per-tag cache variable.
9918 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9919 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9920 > if ${lt_cv_irix_exported_symbol+:} false; then :
9921 >  $as_echo_n "(cached) " >&6
9922 > else
9923 >  save_LDFLAGS="$LDFLAGS"
9924 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9925 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926   /* end confdefs.h.  */
9927 < int foo(void) {}
9927 > int foo (void) { return 0; }
9928   _ACEOF
9929   if ac_fn_c_try_link "$LINENO"; then :
9930 <  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'
9931 <
9930 >  lt_cv_irix_exported_symbol=yes
9931 > else
9932 >  lt_cv_irix_exported_symbol=no
9933   fi
9934   rm -f core conftest.err conftest.$ac_objext \
9935      conftest$ac_exeext conftest.$ac_ext
9936 <        LDFLAGS="$save_LDFLAGS"
9936 >           LDFLAGS="$save_LDFLAGS"
9937 > fi
9938 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9939 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9940 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9941 >          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'
9942 >        fi
9943        else
9944          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'
9945          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 10024 | rm -f core conftest.err conftest.$ac_obj
10024      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10025        if test "$GCC" = yes; then
10026          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10027 <        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'
10027 >        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'
10028          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10029        else
10030          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 10043 | rm -f core conftest.err conftest.$ac_obj
10043        no_undefined_flag=' -z defs'
10044        if test "$GCC" = yes; then
10045          wlarc='${wl}'
10046 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10047          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10048 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10048 >          $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'
10049        else
10050          case `$CC -V 2>&1` in
10051          *"Compilers 5.0"*)
# Line 9553 | Line 10233 | x|xyes)
10233        # to ld, don't add -lc before -lgcc.
10234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10235   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10236 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10236 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10237    $as_echo_n "(cached) " >&6
10238   else
10239    $RM conftest*
# Line 9754 | Line 10434 | esac
10434  
10435  
10436  
9757
9758
9759
9760
9761
10437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10438   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10439  
# Line 9848 | Line 10523 | need_version=unknown
10523  
10524   case $host_os in
10525   aix3*)
10526 <  version_type=linux
10526 >  version_type=linux # correct to gnu/linux during the next big refactor
10527    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10528    shlibpath_var=LIBPATH
10529  
# Line 9857 | Line 10532 | aix3*)
10532    ;;
10533  
10534   aix[4-9]*)
10535 <  version_type=linux
10535 >  version_type=linux # correct to gnu/linux during the next big refactor
10536    need_lib_prefix=no
10537    need_version=no
10538    hardcode_into_libs=yes
# Line 9922 | Line 10597 | beos*)
10597    ;;
10598  
10599   bsdi[45]*)
10600 <  version_type=linux
10600 >  version_type=linux # correct to gnu/linux during the next big refactor
10601    need_version=no
10602    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9941 | Line 10616 | cygwin* | mingw* | pw32* | cegcc*)
10616    need_version=no
10617    need_lib_prefix=no
10618  
10619 <  case $GCC,$host_os in
10620 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10619 >  case $GCC,$cc_basename in
10620 >  yes,*)
10621 >    # gcc
10622      library_names_spec='$libname.dll.a'
10623      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10624      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10651 | cygwin* | mingw* | pw32* | cegcc*)
10651        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652        ;;
10653      esac
10654 +    dynamic_linker='Win32 ld.exe'
10655 +    ;;
10656 +
10657 +  *,cl*)
10658 +    # Native MSVC
10659 +    libname_spec='$name'
10660 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10661 +    library_names_spec='${libname}.dll.lib'
10662 +
10663 +    case $build_os in
10664 +    mingw*)
10665 +      sys_lib_search_path_spec=
10666 +      lt_save_ifs=$IFS
10667 +      IFS=';'
10668 +      for lt_path in $LIB
10669 +      do
10670 +        IFS=$lt_save_ifs
10671 +        # Let DOS variable expansion print the short 8.3 style file name.
10672 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10673 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10674 +      done
10675 +      IFS=$lt_save_ifs
10676 +      # Convert to MSYS style.
10677 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10678 +      ;;
10679 +    cygwin*)
10680 +      # Convert to unix form, then to dos form, then back to unix form
10681 +      # but this time dos style (no spaces!) so that the unix form looks
10682 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10683 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10684 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10685 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10686 +      ;;
10687 +    *)
10688 +      sys_lib_search_path_spec="$LIB"
10689 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10690 +        # It is most probably a Windows format PATH.
10691 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10692 +      else
10693 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10694 +      fi
10695 +      # FIXME: find the short name or the path components, as spaces are
10696 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10697 +      ;;
10698 +    esac
10699 +
10700 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10701 +    postinstall_cmds='base_file=`basename \${file}`~
10702 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10703 +      dldir=$destdir/`dirname \$dlpath`~
10704 +      test -d \$dldir || mkdir -p \$dldir~
10705 +      $install_prog $dir/$dlname \$dldir/$dlname'
10706 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10707 +      dlpath=$dir/\$dldll~
10708 +       $RM \$dlpath'
10709 +    shlibpath_overrides_runpath=yes
10710 +    dynamic_linker='Win32 link.exe'
10711      ;;
10712  
10713    *)
10714 +    # Assume MSVC wrapper
10715      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10716 +    dynamic_linker='Win32 ld.exe'
10717      ;;
10718    esac
9984  dynamic_linker='Win32 ld.exe'
10719    # FIXME: first we should search . and the directory the executable is in
10720    shlibpath_var=PATH
10721    ;;
# Line 10002 | Line 10736 | darwin* | rhapsody*)
10736    ;;
10737  
10738   dgux*)
10739 <  version_type=linux
10739 >  version_type=linux # correct to gnu/linux during the next big refactor
10740    need_lib_prefix=no
10741    need_version=no
10742    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10010 | Line 10744 | dgux*)
10744    shlibpath_var=LD_LIBRARY_PATH
10745    ;;
10746  
10013 freebsd1*)
10014  dynamic_linker=no
10015  ;;
10016
10747   freebsd* | dragonfly*)
10748    # DragonFly does not have aout.  When/if they implement a new
10749    # versioning mechanism, adjust this.
# Line 10021 | Line 10751 | freebsd* | dragonfly*)
10751      objformat=`/usr/bin/objformat`
10752    else
10753      case $host_os in
10754 <    freebsd[123]*) objformat=aout ;;
10754 >    freebsd[23].*) objformat=aout ;;
10755      *) objformat=elf ;;
10756      esac
10757    fi
# Line 10039 | Line 10769 | freebsd* | dragonfly*)
10769    esac
10770    shlibpath_var=LD_LIBRARY_PATH
10771    case $host_os in
10772 <  freebsd2*)
10772 >  freebsd2.*)
10773      shlibpath_overrides_runpath=yes
10774      ;;
10775    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10059 | Line 10789 | freebsd* | dragonfly*)
10789    ;;
10790  
10791   gnu*)
10792 <  version_type=linux
10792 >  version_type=linux # correct to gnu/linux during the next big refactor
10793    need_lib_prefix=no
10794    need_version=no
10795    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10796    soname_spec='${libname}${release}${shared_ext}$major'
10797    shlibpath_var=LD_LIBRARY_PATH
10798 +  shlibpath_overrides_runpath=no
10799    hardcode_into_libs=yes
10800    ;;
10801  
10802   haiku*)
10803 <  version_type=linux
10803 >  version_type=linux # correct to gnu/linux during the next big refactor
10804    need_lib_prefix=no
10805    need_version=no
10806    dynamic_linker="$host_os runtime_loader"
# Line 10130 | Line 10861 | hpux9* | hpux10* | hpux11*)
10861    ;;
10862  
10863   interix[3-9]*)
10864 <  version_type=linux
10864 >  version_type=linux # correct to gnu/linux during the next big refactor
10865    need_lib_prefix=no
10866    need_version=no
10867    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10146 | Line 10877 | irix5* | irix6* | nonstopux*)
10877      nonstopux*) version_type=nonstopux ;;
10878      *)
10879          if test "$lt_cv_prog_gnu_ld" = yes; then
10880 <                version_type=linux
10880 >                version_type=linux # correct to gnu/linux during the next big refactor
10881          else
10882                  version_type=irix
10883          fi ;;
# Line 10183 | Line 10914 | linux*oldld* | linux*aout* | linux*coff*
10914    dynamic_linker=no
10915    ;;
10916  
10917 < # This must be Linux ELF.
10917 > # This must be glibc/ELF.
10918   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10919 <  version_type=linux
10919 >  version_type=linux # correct to gnu/linux during the next big refactor
10920    need_lib_prefix=no
10921    need_version=no
10922    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10195 | Line 10926 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10926    shlibpath_overrides_runpath=no
10927  
10928    # Some binutils ld are patched to set DT_RUNPATH
10929 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10929 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10930    $as_echo_n "(cached) " >&6
10931   else
10932    lt_cv_shlibpath_overrides_runpath=no
# Line 10267 | Line 10998 | netbsd*)
10998    ;;
10999  
11000   newsos6)
11001 <  version_type=linux
11001 >  version_type=linux # correct to gnu/linux during the next big refactor
11002    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003    shlibpath_var=LD_LIBRARY_PATH
11004    shlibpath_overrides_runpath=yes
# Line 10336 | Line 11067 | rdos*)
11067    ;;
11068  
11069   solaris*)
11070 <  version_type=linux
11070 >  version_type=linux # correct to gnu/linux during the next big refactor
11071    need_lib_prefix=no
11072    need_version=no
11073    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10361 | Line 11092 | sunos4*)
11092    ;;
11093  
11094   sysv4 | sysv4.3*)
11095 <  version_type=linux
11095 >  version_type=linux # correct to gnu/linux during the next big refactor
11096    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097    soname_spec='${libname}${release}${shared_ext}$major'
11098    shlibpath_var=LD_LIBRARY_PATH
# Line 10385 | Line 11116 | sysv4 | sysv4.3*)
11116  
11117   sysv4*MP*)
11118    if test -d /usr/nec ;then
11119 <    version_type=linux
11119 >    version_type=linux # correct to gnu/linux during the next big refactor
11120      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11121      soname_spec='$libname${shared_ext}.$major'
11122      shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11147 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11147  
11148   tpf*)
11149    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11150 <  version_type=linux
11150 >  version_type=linux # correct to gnu/linux during the next big refactor
11151    need_lib_prefix=no
11152    need_version=no
11153    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10426 | Line 11157 | tpf*)
11157    ;;
11158  
11159   uts4*)
11160 <  version_type=linux
11160 >  version_type=linux # correct to gnu/linux during the next big refactor
11161    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162    soname_spec='${libname}${release}${shared_ext}$major'
11163    shlibpath_var=LD_LIBRARY_PATH
# Line 10615 | Line 11346 | else
11346    # if libdl is installed we need to link against it
11347      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11348   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11349 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11349 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11350    $as_echo_n "(cached) " >&6
11351   else
11352    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11380 | LIBS=$ac_check_lib_save_LIBS
11380   fi
11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11382   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11383 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11384    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11385   else
11386  
# Line 10663 | Line 11394 | fi
11394  
11395    *)
11396      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11397 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11397 > if test "x$ac_cv_func_shl_load" = xyes; then :
11398    lt_cv_dlopen="shl_load"
11399   else
11400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11401   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11402 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11402 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11403    $as_echo_n "(cached) " >&6
11404   else
11405    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11433 | LIBS=$ac_check_lib_save_LIBS
11433   fi
11434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11435   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11436 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11436 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11437    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11438   else
11439    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11440 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11440 > if test "x$ac_cv_func_dlopen" = xyes; then :
11441    lt_cv_dlopen="dlopen"
11442   else
11443    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11444   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11445 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11445 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11446    $as_echo_n "(cached) " >&6
11447   else
11448    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11476 | LIBS=$ac_check_lib_save_LIBS
11476   fi
11477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11478   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11479 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11479 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11480    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11481   else
11482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11483   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11484 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11484 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11485    $as_echo_n "(cached) " >&6
11486   else
11487    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11515 | LIBS=$ac_check_lib_save_LIBS
11515   fi
11516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11518 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11519    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520   else
11521    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11523 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11524    $as_echo_n "(cached) " >&6
11525   else
11526    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11554 | LIBS=$ac_check_lib_save_LIBS
11554   fi
11555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11556   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11557 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11557 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11558    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11559   fi
11560  
# Line 10864 | Line 11595 | fi
11595  
11596      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11597   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11598 < if test "${lt_cv_dlopen_self+set}" = set; then :
11598 > if ${lt_cv_dlopen_self+:} false; then :
11599    $as_echo_n "(cached) " >&6
11600   else
11601            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11648 | else
11648   /* When -fvisbility=hidden is used, assume the code has been annotated
11649     correspondingly for the symbols needed.  */
11650   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11651 < void fnord () __attribute__((visibility("default")));
11651 > int fnord () __attribute__((visibility("default")));
11652   #endif
11653  
11654 < void fnord () { int i=42; }
11654 > int fnord () { return 42; }
11655   int main ()
11656   {
11657    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11701 | $as_echo "$lt_cv_dlopen_self" >&6; }
11701        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11702        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11703   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11704 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11704 > if ${lt_cv_dlopen_self_static+:} false; then :
11705    $as_echo_n "(cached) " >&6
11706   else
11707            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11754 | else
11754   /* When -fvisbility=hidden is used, assume the code has been annotated
11755     correspondingly for the symbols needed.  */
11756   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11757 < void fnord () __attribute__((visibility("default")));
11757 > int fnord () __attribute__((visibility("default")));
11758   #endif
11759  
11760 < void fnord () { int i=42; }
11760 > int fnord () { return 42; }
11761   int main ()
11762   {
11763    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11208 | Line 11939 | CC="$lt_save_CC"
11939  
11940  
11941  
11942 +
11943 +
11944          ac_config_commands="$ac_config_commands libtool"
11945  
11946  
# Line 11218 | Line 11951 | CC="$lt_save_CC"
11951  
11952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11953   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11954 < if test "${libltdl_cv_shlibext+set}" = set; then :
11954 > if ${libltdl_cv_shlibext+:} false; then :
11955    $as_echo_n "(cached) " >&6
11956   else
11957  
11958   module=yes
11959   eval libltdl_cv_shlibext=$shrext_cmds
11960 + module=no
11961 + eval libltdl_cv_shrext=$shrext_cmds
11962  
11963   fi
11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11235 | Line 11970 | cat >>confdefs.h <<_ACEOF
11970   _ACEOF
11971  
11972   fi
11973 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11974 +
11975 + cat >>confdefs.h <<_ACEOF
11976 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11977 + _ACEOF
11978 +
11979 + fi
11980  
11981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11982   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11983 < if test "${lt_cv_module_path_var+set}" = set; then :
11983 > if ${lt_cv_module_path_var+:} false; then :
11984    $as_echo_n "(cached) " >&6
11985   else
11986    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 11997 | fi
11997  
11998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11999   $as_echo_n "checking for the default library search path... " >&6; }
12000 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12000 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12001    $as_echo_n "(cached) " >&6
12002   else
12003    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 12034 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12034   LIBADD_DLOPEN=
12035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12036   $as_echo_n "checking for library containing dlopen... " >&6; }
12037 < if test "${ac_cv_search_dlopen+set}" = set; then :
12037 > if ${ac_cv_search_dlopen+:} false; then :
12038    $as_echo_n "(cached) " >&6
12039   else
12040    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 12068 | for ac_lib in '' dl; do
12068   fi
12069   rm -f core conftest.err conftest.$ac_objext \
12070      conftest$ac_exeext
12071 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12071 >  if ${ac_cv_search_dlopen+:} false; then :
12072    break
12073   fi
12074   done
12075 < if test "${ac_cv_search_dlopen+set}" = set; then :
12075 > if ${ac_cv_search_dlopen+:} false; then :
12076  
12077   else
12078    ac_cv_search_dlopen=no
# Line 11375 | Line 12117 | $as_echo "#define HAVE_LIBDL 1" >>confde
12117   else
12118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12119   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12120 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12120 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12121    $as_echo_n "(cached) " >&6
12122   else
12123    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12151 | LIBS=$ac_check_lib_save_LIBS
12151   fi
12152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12153   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12154 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12154 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12155  
12156   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12157  
# Line 11429 | Line 12171 | then
12171    for ac_func in dlerror
12172   do :
12173    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12174 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12174 > if test "x$ac_cv_func_dlerror" = xyes; then :
12175    cat >>confdefs.h <<_ACEOF
12176   #define HAVE_DLERROR 1
12177   _ACEOF
# Line 11443 | Line 12185 | fi
12185  
12186   LIBADD_SHL_LOAD=
12187   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12188 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12188 > if test "x$ac_cv_func_shl_load" = xyes; then :
12189  
12190   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12191  
# Line 11451 | Line 12193 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12193   else
12194    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12195   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12196 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12196 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12197    $as_echo_n "(cached) " >&6
12198   else
12199    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12227 | LIBS=$ac_check_lib_save_LIBS
12227   fi
12228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12229   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12230 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12230 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12231  
12232   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12233  
# Line 11501 | Line 12243 | case $host_os in
12243   darwin[1567].*)
12244   # We only want this for pre-Mac OS X 10.4.
12245    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12246 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12246 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12247  
12248   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12249  
# Line 11515 | Line 12257 | beos*)
12257   cygwin* | mingw* | os2* | pw32*)
12258    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12259   "
12260 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12260 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12261    ac_have_decl=1
12262   else
12263    ac_have_decl=0
# Line 11531 | Line 12273 | esac
12273  
12274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12275   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12276 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12276 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12277    $as_echo_n "(cached) " >&6
12278   else
12279    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12307 | LIBS=$ac_check_lib_save_LIBS
12307   fi
12308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12309   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12310 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12310 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12311  
12312   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12313  
# Line 11599 | Line 12341 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12341  
12342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12343   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12344 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12344 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12345    $as_echo_n "(cached) " >&6
12346   else
12347    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12391 | if test x"$lt_cv_sys_symbol_underscore"
12391       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12392          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12393   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12394 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12394 > if ${libltdl_cv_need_uscore+:} false; then :
12395    $as_echo_n "(cached) " >&6
12396   else
12397    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12447 | else
12447   /* When -fvisbility=hidden is used, assume the code has been annotated
12448     correspondingly for the symbols needed.  */
12449   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12450 < void fnord () __attribute__((visibility("default")));
12450 > int fnord () __attribute__((visibility("default")));
12451   #endif
12452  
12453 < void fnord () { int i=42; }
12453 > int fnord () { return 42; }
12454   int main ()
12455   {
12456    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12507 | fi
12507  
12508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12509   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12510 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12510 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12511    $as_echo_n "(cached) " >&6
12512   else
12513    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12613 | for ac_header in argz.h
12613   do :
12614    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12615   "
12616 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12616 > if test "x$ac_cv_header_argz_h" = xyes; then :
12617    cat >>confdefs.h <<_ACEOF
12618   #define HAVE_ARGZ_H 1
12619   _ACEOF
# Line 11885 | Line 12627 | ac_fn_c_check_type "$LINENO" "error_t" "
12627   #  include <argz.h>
12628   #endif
12629   "
12630 < if test "x$ac_cv_type_error_t" = x""yes; then :
12630 > if test "x$ac_cv_type_error_t" = xyes; then :
12631  
12632   cat >>confdefs.h <<_ACEOF
12633   #define HAVE_ERROR_T 1
# Line 11908 | Line 12650 | for ac_func in argz_add argz_append argz
12650   do :
12651    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12652   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12653 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12653 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12654    cat >>confdefs.h <<_ACEOF
12655   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12656   _ACEOF
# Line 11926 | Line 12667 | done
12667   if test -z "$ARGZ_H"; then :
12668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12669   $as_echo_n "checking if argz actually works... " >&6; }
12670 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12670 > if ${lt_cv_sys_argz_works+:} false; then :
12671    $as_echo_n "(cached) " >&6
12672   else
12673    case $host_os in #(
# Line 11957 | Line 12698 | else
12698   fi
12699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12700   $as_echo "$lt_cv_sys_argz_works" >&6; }
12701 <     if test $lt_cv_sys_argz_works = yes; then :
12701 >     if test "$lt_cv_sys_argz_works" = yes; then :
12702  
12703   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12704  
# Line 11974 | Line 12715 | fi
12715  
12716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12717   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12718 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12718 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12719    $as_echo_n "(cached) " >&6
12720   else
12721    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12757 | if test "x$with_included_ltdl" != xyes;
12757    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12758  
12759   "
12760 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12760 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12761    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12762              #include <ltdl.h>
12763   "
12764 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12764 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12765    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12766   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12767 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12767 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12768    $as_echo_n "(cached) " >&6
12769   else
12770    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12798 | LIBS=$ac_check_lib_save_LIBS
12798   fi
12799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12800   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12801 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12801 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12802    with_included_ltdl=no
12803   else
12804    with_included_ltdl=yes
# Line 12086 | Line 12827 | fi
12827   if test -n "$with_ltdl_include"; then
12828    if test -f "$with_ltdl_include/ltdl.h"; then :
12829    else
12830 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12830 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12831    fi
12832   else
12833    with_ltdl_include=no
# Line 12102 | Line 12843 | fi
12843   if test -n "$with_ltdl_lib"; then
12844    if test -f "$with_ltdl_lib/libltdl.la"; then :
12845    else
12846 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12846 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12847    fi
12848   else
12849    with_ltdl_lib=no
# Line 12111 | Line 12852 | fi
12852   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12853    ,yes,no,no,)
12854          case $enable_ltdl_convenience in
12855 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12855 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12856    "") enable_ltdl_convenience=yes
12857        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12858   esac
# Line 12139 | Line 12880 | $as_echo "#define HAVE_LTDL 1" >>confdef
12880          LTDLINCL=
12881          ;;
12882    ,no*,no,*)
12883 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12883 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12884          ;;
12885    *)    with_included_ltdl=no
12886          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 12947 | do :
12947    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12949   "
12950 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
12950 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12951    cat >>confdefs.h <<_ACEOF
12952   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953   _ACEOF
# Line 12221 | Line 12961 | for ac_func in closedir opendir readdir
12961   do :
12962    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12963   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12964 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
12964 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12965    cat >>confdefs.h <<_ACEOF
12966   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12967   _ACEOF
# Line 12239 | Line 12978 | for ac_func in strlcat strlcpy
12978   do :
12979    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12980   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12981 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
12981 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12982    cat >>confdefs.h <<_ACEOF
12983   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12984   _ACEOF
# Line 12260 | Line 12998 | cat >>confdefs.h <<_ACEOF
12998   _ACEOF
12999  
13000  
13001 + name=
13002 + eval "lt_libprefix=\"$libname_spec\""
13003 +
13004 + cat >>confdefs.h <<_ACEOF
13005 + #define LT_LIBPREFIX "$lt_libprefix"
13006 + _ACEOF
13007 +
13008 +
13009   name=ltdl
13010 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13010 > eval "LTDLOPEN=\"$libname_spec\""
13011  
13012  
13013  
# Line 12279 | Line 13025 | LIBTOOL="$LIBTOOL --silent"
13025  
13026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13027   $as_echo_n "checking for library containing socket... " >&6; }
13028 < if test "${ac_cv_search_socket+set}" = set; then :
13028 > if ${ac_cv_search_socket+:} false; then :
13029    $as_echo_n "(cached) " >&6
13030   else
13031    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 13059 | for ac_lib in '' socket; do
13059   fi
13060   rm -f core conftest.err conftest.$ac_objext \
13061      conftest$ac_exeext
13062 <  if test "${ac_cv_search_socket+set}" = set; then :
13062 >  if ${ac_cv_search_socket+:} false; then :
13063    break
13064   fi
13065   done
13066 < if test "${ac_cv_search_socket+set}" = set; then :
13066 > if ${ac_cv_search_socket+:} false; then :
13067  
13068   else
13069    ac_cv_search_socket=no
# Line 12332 | Line 13078 | if test "$ac_res" != no; then :
13078    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13079  
13080   else
13081 <  as_fn_error "socket library not found" "$LINENO" 5
13081 >  as_fn_error $? "socket library not found" "$LINENO" 5
13082 > fi
13083 >
13084 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13085 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13086 > if ${ac_cv_search_inet_ntoa+:} false; then :
13087 >  $as_echo_n "(cached) " >&6
13088 > else
13089 >  ac_func_search_save_LIBS=$LIBS
13090 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 > /* end confdefs.h.  */
13092 >
13093 > /* Override any GCC internal prototype to avoid an error.
13094 >   Use char because int might match the return type of a GCC
13095 >   builtin and then its argument prototype would still apply.  */
13096 > #ifdef __cplusplus
13097 > extern "C"
13098 > #endif
13099 > char inet_ntoa ();
13100 > int
13101 > main ()
13102 > {
13103 > return inet_ntoa ();
13104 >  ;
13105 >  return 0;
13106 > }
13107 > _ACEOF
13108 > for ac_lib in '' nsl; do
13109 >  if test -z "$ac_lib"; then
13110 >    ac_res="none required"
13111 >  else
13112 >    ac_res=-l$ac_lib
13113 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13114 >  fi
13115 >  if ac_fn_c_try_link "$LINENO"; then :
13116 >  ac_cv_search_inet_ntoa=$ac_res
13117 > fi
13118 > rm -f core conftest.err conftest.$ac_objext \
13119 >    conftest$ac_exeext
13120 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13121 >  break
13122 > fi
13123 > done
13124 > if ${ac_cv_search_inet_ntoa+:} false; then :
13125 >
13126 > else
13127 >  ac_cv_search_inet_ntoa=no
13128 > fi
13129 > rm conftest.$ac_ext
13130 > LIBS=$ac_func_search_save_LIBS
13131 > fi
13132 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13133 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13134 > ac_res=$ac_cv_search_inet_ntoa
13135 > if test "$ac_res" != no; then :
13136 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13137 >
13138 > fi
13139 >
13140 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13141 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13142 > if ${ac_cv_search_inet_aton+:} false; then :
13143 >  $as_echo_n "(cached) " >&6
13144 > else
13145 >  ac_func_search_save_LIBS=$LIBS
13146 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 > /* end confdefs.h.  */
13148 >
13149 > /* Override any GCC internal prototype to avoid an error.
13150 >   Use char because int might match the return type of a GCC
13151 >   builtin and then its argument prototype would still apply.  */
13152 > #ifdef __cplusplus
13153 > extern "C"
13154 > #endif
13155 > char inet_aton ();
13156 > int
13157 > main ()
13158 > {
13159 > return inet_aton ();
13160 >  ;
13161 >  return 0;
13162 > }
13163 > _ACEOF
13164 > for ac_lib in '' resolv; do
13165 >  if test -z "$ac_lib"; then
13166 >    ac_res="none required"
13167 >  else
13168 >    ac_res=-l$ac_lib
13169 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13170 >  fi
13171 >  if ac_fn_c_try_link "$LINENO"; then :
13172 >  ac_cv_search_inet_aton=$ac_res
13173 > fi
13174 > rm -f core conftest.err conftest.$ac_objext \
13175 >    conftest$ac_exeext
13176 >  if ${ac_cv_search_inet_aton+:} false; then :
13177 >  break
13178 > fi
13179 > done
13180 > if ${ac_cv_search_inet_aton+:} false; then :
13181 >
13182 > else
13183 >  ac_cv_search_inet_aton=no
13184 > fi
13185 > rm conftest.$ac_ext
13186 > LIBS=$ac_func_search_save_LIBS
13187 > fi
13188 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13189 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13190 > ac_res=$ac_cv_search_inet_aton
13191 > if test "$ac_res" != no; then :
13192 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13193 >
13194   fi
13195  
13196    for ac_func in inet_aton inet_ntop inet_pton
13197   do :
13198    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13199   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13200 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
13200 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13201    cat >>confdefs.h <<_ACEOF
13202   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13203   _ACEOF
# Line 12353 | Line 13210 | done
13210     #include <netdb.h>
13211  
13212   "
13213 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13213 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13214  
13215   cat >>confdefs.h <<_ACEOF
13216   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13223 | ac_fn_c_check_type "$LINENO" "struct soc
13223     #include <netdb.h>
13224  
13225   "
13226 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13226 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13227  
13228   cat >>confdefs.h <<_ACEOF
13229   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13236 | ac_fn_c_check_type "$LINENO" "struct add
13236     #include <netdb.h>
13237  
13238   "
13239 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13239 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13240  
13241   cat >>confdefs.h <<_ACEOF
13242   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13248 | fi
13248    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13249    <sys/socket.h>
13250   "
13251 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13251 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13252  
13253   cat >>confdefs.h <<_ACEOF
13254   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12402 | Line 13259 | fi
13259  
13260  
13261  
13262 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13263 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13264 <
12408 < cat >>confdefs.h <<_ACEOF
12409 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12410 < _ACEOF
12411 <
12412 <
12413 < else
13262 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13263 > "
13264 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13265  
13266   $as_echo "#define IPV6 1" >>confdefs.h
13267  
# Line 12421 | Line 13272 | fi
13272   # Checks for typedefs, structures, and compiler characteristics.
13273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13274   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13275 < if test "${ac_cv_c_bigendian+set}" = set; then :
13275 > if ${ac_cv_c_bigendian+:} false; then :
13276    $as_echo_n "(cached) " >&6
13277   else
13278    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13490 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13490  
13491       ;; #(
13492     *)
13493 <     as_fn_error "unknown endianness
13493 >     as_fn_error $? "unknown endianness
13494   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13495   esac
13496  
# Line 12652 | Line 13503 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13503   do :
13504    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13505   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13506 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13506 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13507    cat >>confdefs.h <<_ACEOF
13508   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13509   _ACEOF
# Line 12682 | Line 13532 | do :
13532    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13533   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13534   "
13535 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13535 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13536    cat >>confdefs.h <<_ACEOF
13537   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13538   _ACEOF
# Line 12708 | Line 13557 | done
13557  
13558  
13559  
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721 # check for /dev/null so we can use it to hold evil fd's
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12723 $as_echo_n "checking for /dev/null... " >&6; }
12724 if test -c /dev/null; then :
12725
12726
12727 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12728
12729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730 $as_echo "yes" >&6; }
12731 else
12732
12733
12734 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12735
12736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12737 $as_echo "no - using devnull.log" >&6; }
12738 fi
12739
12740
13560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13561   $as_echo_n "checking for library containing crypt... " >&6; }
13562 < if test "${ac_cv_search_crypt+set}" = set; then :
13562 > if ${ac_cv_search_crypt+:} false; then :
13563    $as_echo_n "(cached) " >&6
13564   else
13565    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13593 | for ac_lib in '' crypt; do
13593   fi
13594   rm -f core conftest.err conftest.$ac_objext \
13595      conftest$ac_exeext
13596 <  if test "${ac_cv_search_crypt+set}" = set; then :
13596 >  if ${ac_cv_search_crypt+:} false; then :
13597    break
13598   fi
13599   done
13600 < if test "${ac_cv_search_crypt+set}" = set; then :
13600 > if ${ac_cv_search_crypt+:} false; then :
13601  
13602   else
13603    ac_cv_search_crypt=no
# Line 12795 | Line 13614 | if test "$ac_res" != no; then :
13614   fi
13615  
13616  
12798
12799
12800 # Check whether --with-zlib-path was given.
12801 if test "${with_zlib_path+set}" = set; then :
12802  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12803 fi
12804
12805
12806 # Check whether --enable-zlib was given.
12807 if test "${enable_zlib+set}" = set; then :
12808  enableval=$enable_zlib; zlib=$enableval
12809 else
12810  zlib=yes
12811 fi
12812
12813
12814 if test "$zlib" = "yes"; then :
12815
12816  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12817 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12819 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12820 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12821  $as_echo_n "(cached) " >&6
12822 else
12823  ac_check_lib_save_LIBS=$LIBS
12824 LIBS="-lz  $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h.  */
12827
12828 /* Override any GCC internal prototype to avoid an error.
12829   Use char because int might match the return type of a GCC
12830   builtin and then its argument prototype would still apply.  */
12831 #ifdef __cplusplus
12832 extern "C"
12833 #endif
12834 char zlibVersion ();
12835 int
12836 main ()
12837 {
12838 return zlibVersion ();
12839  ;
12840  return 0;
12841 }
12842 _ACEOF
12843 if ac_fn_c_try_link "$LINENO"; then :
12844  ac_cv_lib_z_zlibVersion=yes
12845 else
12846  ac_cv_lib_z_zlibVersion=no
12847 fi
12848 rm -f core conftest.err conftest.$ac_objext \
12849    conftest$ac_exeext conftest.$ac_ext
12850 LIBS=$ac_check_lib_save_LIBS
12851 fi
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12853 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12854 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12855
12856      LIBS="-lz $LIBS"
12857
12858 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12859
12860
12861 else
12862  zlib=no
12863 fi
12864
12865
12866 else
12867  zlib=no
12868 fi
12869
12870
12871
12872 fi
12873
12874
12875 # Check whether --with-libpcre-path was given.
12876 if test "${with_libpcre_path+set}" = set; then :
12877  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12878 fi
12879
12880
13617   # Check whether --enable-libpcre was given.
13618   if test "${enable_libpcre+set}" = set; then :
13619 <  enableval=$enable_libpcre; libpcre=$enableval
13619 >  enableval=$enable_libpcre;
13620   else
12885  libpcre=yes
12886 fi
12887
12888
12889 if test "$libpcre" = "yes"; then :
12890
13621    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13622 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13623 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13624 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13625 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13622 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13623 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13624 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13625 > if ${ac_cv_search_pcre_study+:} false; then :
13626    $as_echo_n "(cached) " >&6
13627   else
13628 <  ac_check_lib_save_LIBS=$LIBS
12899 < LIBS="-lpcre  $LIBS"
13628 >  ac_func_search_save_LIBS=$LIBS
13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630   /* end confdefs.h.  */
13631  
# Line 12915 | Line 13644 | return pcre_study ();
13644    return 0;
13645   }
13646   _ACEOF
13647 < if ac_fn_c_try_link "$LINENO"; then :
13648 <  ac_cv_lib_pcre_pcre_study=yes
13649 < else
13650 <  ac_cv_lib_pcre_pcre_study=no
13647 > for ac_lib in '' pcre; do
13648 >  if test -z "$ac_lib"; then
13649 >    ac_res="none required"
13650 >  else
13651 >    ac_res=-l$ac_lib
13652 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13653 >  fi
13654 >  if ac_fn_c_try_link "$LINENO"; then :
13655 >  ac_cv_search_pcre_study=$ac_res
13656   fi
13657   rm -f core conftest.err conftest.$ac_objext \
13658 <    conftest$ac_exeext conftest.$ac_ext
13659 < LIBS=$ac_check_lib_save_LIBS
13658 >    conftest$ac_exeext
13659 >  if ${ac_cv_search_pcre_study+:} false; then :
13660 >  break
13661   fi
13662 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13663 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12929 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12930 <
12931 <      LIBS="-lpcre $LIBS"
12932 <
12933 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12934 <
13662 > done
13663 > if ${ac_cv_search_pcre_study+:} false; then :
13664  
13665   else
13666 <  libpcre=no
13666 >  ac_cv_search_pcre_study=no
13667 > fi
13668 > rm conftest.$ac_ext
13669 > LIBS=$ac_func_search_save_LIBS
13670   fi
13671 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13672 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13673 + ac_res=$ac_cv_search_pcre_study
13674 + if test "$ac_res" != no; then :
13675 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13676  
13677 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13678  
12941 else
12942  libpcre=no
13679   fi
13680  
13681 + fi
13682  
13683  
13684   fi
12948 if test "$libpcre" = yes; then
12949  ENABLE_PCRE_TRUE=
12950  ENABLE_PCRE_FALSE='#'
12951 else
12952  ENABLE_PCRE_TRUE='#'
12953  ENABLE_PCRE_FALSE=
12954 fi
12955
13685  
13686  
13687   # Check whether --enable-openssl was given.
# Line 12994 | Line 13723 | if test "$cf_enable_openssl" != "no"; th
13723    fi
13724  
13725        if test ! -z "$cf_openssl_basedir"; then
12997    LIBS="-lcrypto -lssl $LIBS"
13726      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13727   $as_echo "$cf_openssl_basedir" >&6; }
13728      cf_enable_openssl="yes"
13001
13002 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003
13729    else
13730      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13731   $as_echo "not found. Please check your path." >&6; }
# Line 13013 | Line 13738 | $as_echo "disabled" >&6; }
13738   fi
13739  
13740   if test "$cf_enable_openssl" != "no"; then :
13741 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13742 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13741 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13742 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13743    if test "$cross_compiling" = yes; then :
13744    cf_openssl_version_ok=no
13745   else
13746    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747   /* end confdefs.h.  */
13748  
13749 +
13750      #include <openssl/opensslv.h>
13751      #include <stdlib.h>
13752   int
13753   main ()
13754   {
13755 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13755 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13756    ;
13757    return 0;
13758   }
# Line 13045 | Line 13771 | fi
13771    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13772   $as_echo "found" >&6; }
13773  
13774 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13774 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13775 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13776 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13777 >  $as_echo_n "(cached) " >&6
13778 > else
13779 >  ac_check_lib_save_LIBS=$LIBS
13780 > LIBS="-lssl  $LIBS"
13781 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 > /* end confdefs.h.  */
13783 >
13784 > /* Override any GCC internal prototype to avoid an error.
13785 >   Use char because int might match the return type of a GCC
13786 >   builtin and then its argument prototype would still apply.  */
13787 > #ifdef __cplusplus
13788 > extern "C"
13789 > #endif
13790 > char SSL_connect ();
13791 > int
13792 > main ()
13793 > {
13794 > return SSL_connect ();
13795 >  ;
13796 >  return 0;
13797 > }
13798 > _ACEOF
13799 > if ac_fn_c_try_link "$LINENO"; then :
13800 >  ac_cv_lib_ssl_SSL_connect=yes
13801 > else
13802 >  ac_cv_lib_ssl_SSL_connect=no
13803 > fi
13804 > rm -f core conftest.err conftest.$ac_objext \
13805 >    conftest$ac_exeext conftest.$ac_ext
13806 > LIBS=$ac_check_lib_save_LIBS
13807 > fi
13808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13809 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13810 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13811 >  cat >>confdefs.h <<_ACEOF
13812 > #define HAVE_LIBSSL 1
13813 > _ACEOF
13814 >
13815 >  LIBS="-lssl $LIBS"
13816 >
13817 > fi
13818 >
13819 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13821   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13822 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13822 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13823    $as_echo_n "(cached) " >&6
13824   else
13825    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 13853 | LIBS=$ac_check_lib_save_LIBS
13853   fi
13854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13855   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13856 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13856 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13857    cat >>confdefs.h <<_ACEOF
13858   #define HAVE_LIBCRYPTO 1
13859   _ACEOF
# Line 13090 | Line 13862 | _ACEOF
13862  
13863   fi
13864  
13093    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13094  for ac_func in EVP_bf_cfb           \
13095                      EVP_cast5_cfb        \
13096                      EVP_idea_cfb         \
13097                      EVP_rc5_32_12_16_cfb \
13098                      EVP_des_ede3_cfb     \
13099                      EVP_des_cfb
13100 do :
13101  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13103 eval as_val=\$$as_ac_var
13104   if test "x$as_val" = x""yes; then :
13105  cat >>confdefs.h <<_ACEOF
13106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13107 _ACEOF
13108
13109 fi
13110 done
13111
13865   fi
13866  
13867   else
# Line 13118 | Line 13871 | $as_echo "no - OpenSSL support disabled"
13871   fi
13872   fi
13873  
13874 < if test "$cf_enable_openssl" = yes; then
13874 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13875    ENABLE_SSL_TRUE=
13876    ENABLE_SSL_FALSE='#'
13877   else
# Line 13154 | Line 13907 | fi
13907   if test "$small_net" = "yes"; then :
13908  
13909  
13910 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13910 > $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13911  
13912  
13913   $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
# Line 13187 | Line 13940 | else
13940  
13941  
13942  
13943 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13943 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13944  
13945  
13946   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 13323 | Line 14076 | _ACEOF
14076    if test "$cross_compiling" = yes; then :
14077    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14078   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14079 < as_fn_error "cannot run test program while cross compiling
14080 < See \`config.log' for more details." "$LINENO" 5; }
14079 > as_fn_error $? "cannot run test program while cross compiling
14080 > See \`config.log' for more details" "$LINENO" 5; }
14081   else
14082    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083   /* end confdefs.h.  */
# Line 13357 | Line 14110 | else
14110   #endif
14111   _syscall1(int, epoll_create, int, size)
14112   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14113  
14114 + int
14115 + main ()
14116 + {
14117 + return epoll_create(256) == -1 ? 1 : 0
14118 +  ;
14119 +  return 0;
14120 + }
14121   _ACEOF
14122   if ac_fn_c_try_run "$LINENO"; then :
14123    is_epoll_mechanism_available="yes"
# Line 13428 | Line 14187 | _ACEOF
14187    if test "$cross_compiling" = yes; then :
14188    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14189   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14190 < as_fn_error "cannot run test program while cross compiling
14191 < See \`config.log' for more details." "$LINENO" 5; }
14190 > as_fn_error $? "cannot run test program while cross compiling
14191 > See \`config.log' for more details" "$LINENO" 5; }
14192   else
14193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194   /* end confdefs.h.  */
14195  
14196 + #define _GNU_SOURCE
14197   #include <fcntl.h>
14198 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
14198 > static unsigned int have_f_setsig = 0;
14199  
14200   int
14201   main ()
14202   {
14203  
14204 + #ifdef F_SETSIG
14205 +  have_f_setsig = 1;
14206 + #endif
14207 +  return have_f_setsig == 0;
14208 +
14209    ;
14210    return 0;
14211   }
# Line 13578 | Line 14339 | rm -f core conftest.err conftest.$ac_obj
14339      if test "$optimal_iopoll_mechanism" = "none" ; then
14340        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14341   $as_echo "none" >&6; }
14342 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14342 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14343      else
14344        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14345        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14354 | $as_echo "$selected_iopoll_mechanism" >&
14354      else
14355        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14356   $as_echo "none" >&6; }
14357 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14357 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14358      fi
14359    fi
14360        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13634 | Line 14395 | _ACEOF
14395  
14396  
14397  
13637
13638 # Check whether --with-syslog-facility was given.
13639 if test "${with_syslog_facility+set}" = set; then :
13640  withval=$with_syslog_facility; syslog_facility="$withval"
13641 else
13642  syslog_facility="LOG_LOCAL4"
13643 fi
13644
13645
13646 cat >>confdefs.h <<_ACEOF
13647 #define LOG_FACILITY $syslog_facility
13648 _ACEOF
13649
13650
13651
13652  # Check whether --enable-efnet was given.
13653 if test "${enable_efnet+set}" = set; then :
13654  enableval=$enable_efnet; efnet="$enableval"
13655 else
13656  efnet="no"
13657 fi
13658
13659  if test "$efnet" = "yes" ; then
13660                use_efnet="yes"
13661
13662 $as_echo "#define EFNET 1" >>confdefs.h
13663
13664
13665 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13666
13667        else
13668                use_efnet="no"
13669  fi
13670   if test "$use_efnet" = "yes"; then
13671  EFNET_TRUE=
13672  EFNET_FALSE='#'
13673 else
13674  EFNET_TRUE='#'
13675  EFNET_FALSE=
13676 fi
13677
13678
13679
14398    # Check whether --enable-halfops was given.
14399   if test "${enable_halfops+set}" = set; then :
14400    enableval=$enable_halfops; halfops="$enableval"
# Line 13722 | Line 14440 | fi
14440    fi
14441  
14442  
13725  for ac_header in syslog.h sys/syslog.h
13726 do :
13727  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13729 eval as_val=\$$as_ac_Header
13730   if test "x$as_val" = x""yes; then :
13731  cat >>confdefs.h <<_ACEOF
13732 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13733 _ACEOF
13734
13735 fi
13736
13737 done
13738
13739  # Check whether --enable-syslog was given.
13740 if test "${enable_syslog+set}" = set; then :
13741  enableval=$enable_syslog; syslog="$enableval"
13742 else
13743  syslog="no"
13744 fi
13745
13746  if test "$enableval" != "no" ; then
13747    for option in $enableval ; do
13748      case "$option" in
13749        users)
13750 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13751 ;;
13752        oper)
13753 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13754 ;;
13755        yes) : ;;
13756        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13757      esac
13758    done
13759
13760 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13761
13762  fi
13763
13764
14443  
14444    prefix_NONE=
14445    exec_prefix_NONE=
# Line 13848 | Line 14526 | _ACEOF
14526    test "$exec_prefix_NONE" && exec_prefix=NONE
14527  
14528  
14529 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14529 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14530  
14531  
14532   cat >confcache <<\_ACEOF
# Line 13915 | Line 14593 | $as_echo "$as_me: WARNING: cache variabl
14593       :end' >>confcache
14594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14595    if test -w "$cache_file"; then
14596 <    test "x$cache_file" != "x/dev/null" &&
14596 >    if test "x$cache_file" != "x/dev/null"; then
14597        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14598   $as_echo "$as_me: updating cache $cache_file" >&6;}
14599 <    cat confcache >$cache_file
14599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14600 >        cat confcache >"$cache_file"
14601 >      else
14602 >        case $cache_file in #(
14603 >        */* | ?:*)
14604 >          mv -f confcache "$cache_file"$$ &&
14605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14606 >        *)
14607 >          mv -f confcache "$cache_file" ;;
14608 >        esac
14609 >      fi
14610 >    fi
14611    else
14612      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 14623 | DEFS=-DHAVE_CONFIG_H
14623  
14624   ac_libobjs=
14625   ac_ltlibobjs=
14626 + U=
14627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14628    # 1. Remove the extension, and $U if already installed.
14629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13948 | Line 14638 | LIBOBJS=$ac_libobjs
14638   LTLIBOBJS=$ac_ltlibobjs
14639  
14640  
14641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14643 +   if test -n "$am_sleep_pid"; then
14644 +     # Hide warnings about reused PIDs.
14645 +     wait $am_sleep_pid 2>/dev/null
14646 +   fi
14647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14648 + $as_echo "done" >&6; }
14649   if test -n "$EXEEXT"; then
14650    am__EXEEXT_TRUE=
14651    am__EXEEXT_FALSE='#'
# Line 13957 | Line 14655 | else
14655   fi
14656  
14657   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14658 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14658 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14659   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660   fi
14661   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14662 <  as_fn_error "conditional \"AMDEP\" was never defined.
14662 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14663   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664   fi
14665   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14666 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14666 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14667   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668   fi
14669   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14670 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14670 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14671   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672   fi
14673   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14674 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14674 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14675   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676   fi
14677   LT_CONFIG_H=config.h
# Line 13994 | Line 14692 | LT_CONFIG_H=config.h
14692  
14693  
14694  
13997 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13998  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14000 fi
14695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14696 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14003 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
14004 < fi
14005 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14006 <  as_fn_error "conditional \"EFNET\" was never defined.
14696 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14698   fi
14699  
14700 < : ${CONFIG_STATUS=./config.status}
14700 > : "${CONFIG_STATUS=./config.status}"
14701   ac_write_fail=0
14702   ac_clean_files_save=$ac_clean_files
14703   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 14798 | fi
14798   IFS=" ""        $as_nl"
14799  
14800   # Find who we are.  Look in the path if we contain no directory separator.
14801 + as_myself=
14802   case $0 in #((
14803    *[\\/]* ) as_myself=$0 ;;
14804    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 14844 | export LANGUAGE
14844   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14845  
14846  
14847 < # as_fn_error ERROR [LINENO LOG_FD]
14848 < # ---------------------------------
14847 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14848 > # ----------------------------------------
14849   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14850   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14851 < # script with status $?, using 1 if that was 0.
14851 > # script with STATUS, using 1 if that was 0.
14852   as_fn_error ()
14853   {
14854 <  as_status=$?; test $as_status -eq 0 && as_status=1
14855 <  if test "$3"; then
14856 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14857 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14854 >  as_status=$1; test $as_status -eq 0 && as_status=1
14855 >  if test "$4"; then
14856 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14857 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14858    fi
14859 <  $as_echo "$as_me: error: $1" >&2
14859 >  $as_echo "$as_me: error: $2" >&2
14860    as_fn_exit $as_status
14861   } # as_fn_error
14862  
# Line 14303 | Line 14994 | if (echo >conf$$.file) 2>/dev/null; then
14994      # ... but there are two gotchas:
14995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14997 <    # In both cases, we have to default to `cp -p'.
14997 >    # In both cases, we have to default to `cp -pR'.
14998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14999 <      as_ln_s='cp -p'
14999 >      as_ln_s='cp -pR'
15000    elif ln conf$$.file conf$$ 2>/dev/null; then
15001      as_ln_s=ln
15002    else
15003 <    as_ln_s='cp -p'
15003 >    as_ln_s='cp -pR'
15004    fi
15005   else
15006 <  as_ln_s='cp -p'
15006 >  as_ln_s='cp -pR'
15007   fi
15008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15009   rmdir conf$$.dir 2>/dev/null
# Line 14361 | Line 15052 | $as_echo X"$as_dir" |
15052        test -d "$as_dir" && break
15053      done
15054      test -z "$as_dirs" || eval "mkdir $as_dirs"
15055 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15055 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15056  
15057  
15058   } # as_fn_mkdir_p
# Line 14372 | Line 15063 | else
15063    as_mkdir_p=false
15064   fi
15065  
15066 < if test -x / >/dev/null 2>&1; then
15067 <  as_test_x='test -x'
15068 < else
15069 <  if ls -dL / >/dev/null 2>&1; then
15070 <    as_ls_L_option=L
15071 <  else
15072 <    as_ls_L_option=
15073 <  fi
15074 <  as_test_x='
15075 <    eval sh -c '\''
14385 <      if test -d "$1"; then
14386 <        test -d "$1/.";
14387 <      else
14388 <        case $1 in #(
14389 <        -*)set "./$1";;
14390 <        esac;
14391 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14392 <        ???[sx]*):;;*)false;;esac;fi
14393 <    '\'' sh
14394 <  '
14395 < fi
14396 < as_executable_p=$as_test_x
15066 >
15067 > # as_fn_executable_p FILE
15068 > # -----------------------
15069 > # Test if FILE is an executable regular file.
15070 > as_fn_executable_p ()
15071 > {
15072 >  test -f "$1" && test -x "$1"
15073 > } # as_fn_executable_p
15074 > as_test_x='test -x'
15075 > as_executable_p=as_fn_executable_p
15076  
15077   # Sed expression to map a string onto a valid CPP name.
15078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14414 | Line 15093 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15093   # report actual input values of CONFIG_FILES etc. instead of their
15094   # values after options handling.
15095   ac_log="
15096 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15097 < generated by GNU Autoconf 2.65.  Invocation command line was
15096 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15097 > generated by GNU Autoconf 2.69.  Invocation command line was
15098  
15099    CONFIG_FILES    = $CONFIG_FILES
15100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14480 | Line 15159 | _ACEOF
15159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15161   ac_cs_version="\\
15162 < ircd-hybrid config.status 7.3-rc1
15163 < configured by $0, generated by GNU Autoconf 2.65,
15162 > ircd-hybrid config.status 8beta1
15163 > configured by $0, generated by GNU Autoconf 2.69,
15164    with options \\"\$ac_cs_config\\"
15165  
15166 < Copyright (C) 2009 Free Software Foundation, Inc.
15166 > Copyright (C) 2012 Free Software Foundation, Inc.
15167   This config.status script is free software; the Free Software Foundation
15168   gives unlimited permission to copy, distribute and modify it."
15169  
# Line 14502 | Line 15181 | ac_need_defaults=:
15181   while test $# != 0
15182   do
15183    case $1 in
15184 <  --*=*)
15184 >  --*=?*)
15185      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15186      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15187      ac_shift=:
15188      ;;
15189 +  --*=)
15190 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15191 +    ac_optarg=
15192 +    ac_shift=:
15193 +    ;;
15194    *)
15195      ac_option=$1
15196      ac_optarg=$2
# Line 14528 | Line 15212 | do
15212      $ac_shift
15213      case $ac_optarg in
15214      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215 +    '') as_fn_error $? "missing file argument" ;;
15216      esac
15217      as_fn_append CONFIG_FILES " '$ac_optarg'"
15218      ac_need_defaults=false;;
# Line 14540 | Line 15225 | do
15225      ac_need_defaults=false;;
15226    --he | --h)
15227      # Conflict between --help and --header
15228 <    as_fn_error "ambiguous option: \`$1'
15228 >    as_fn_error $? "ambiguous option: \`$1'
15229   Try \`$0 --help' for more information.";;
15230    --help | --hel | -h )
15231      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 15234 | Try \`$0 --help' for more information.";
15234      ac_cs_silent=: ;;
15235  
15236    # This is an error.
15237 <  -*) as_fn_error "unrecognized option: \`$1'
15237 >  -*) as_fn_error $? "unrecognized option: \`$1'
15238   Try \`$0 --help' for more information." ;;
15239  
15240    *) as_fn_append ac_config_targets " $1"
# Line 14569 | Line 15254 | fi
15254   _ACEOF
15255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256   if \$ac_cs_recheck; then
15257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15258    shift
15259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15260    CONFIG_SHELL='$SHELL'
# Line 14611 | Line 15296 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15296   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15297   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15298   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15299 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15300   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15301   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15302   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14631 | Line 15317 | exeext='`$ECHO "$exeext" | $SED "$delay_
15317   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15318   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15319   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15320 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15321 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15322   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15323   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15324   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15325   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15326   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15327 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15328 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15329 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15330 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15331   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15332   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15333 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15334   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15335   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15336   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 15345 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15345   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15346   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15347   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"`'
15348 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15349 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15350   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15351   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15352   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"`'
15353   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15354 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15355   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15356   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15357   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15358 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15359   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15360   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15361   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14683 | Line 15379 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15379   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15380   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15381   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14686 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15382   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15383   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15384   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15387 | hardcode_shlibpath_var='`$ECHO "$hardcod
15387   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15388   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15389   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"`'
15390   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15391   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15392   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15393   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15394   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15395 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15396   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15397   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15398   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14739 | Line 15434 | _LTECHO_EOF'
15434   # Quote evaled strings.
15435   for var in SHELL \
15436   ECHO \
15437 + PATH_SEPARATOR \
15438   SED \
15439   GREP \
15440   EGREP \
# Line 14752 | Line 15448 | reload_flag \
15448   OBJDUMP \
15449   deplibs_check_method \
15450   file_magic_cmd \
15451 + file_magic_glob \
15452 + want_nocaseglob \
15453 + DLLTOOL \
15454 + sharedlib_from_linklib_cmd \
15455   AR \
15456   AR_FLAGS \
15457 + archiver_list_spec \
15458   STRIP \
15459   RANLIB \
15460   CC \
# Line 14763 | Line 15464 | lt_cv_sys_global_symbol_pipe \
15464   lt_cv_sys_global_symbol_to_cdecl \
15465   lt_cv_sys_global_symbol_to_c_name_address \
15466   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15467 + nm_file_list_spec \
15468   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
15469   lt_prog_compiler_pic \
15470 + lt_prog_compiler_wl \
15471   lt_prog_compiler_static \
15472   lt_cv_prog_compiler_c_o \
15473   need_locks \
15474 + MANIFEST_TOOL \
15475   DSYMUTIL \
15476   NMEDIT \
15477   LIPO \
# Line 14782 | Line 15485 | with_gnu_ld \
15485   allow_undefined_flag \
15486   no_undefined_flag \
15487   hardcode_libdir_flag_spec \
14785 hardcode_libdir_flag_spec_ld \
15488   hardcode_libdir_separator \
14787 fix_srcfile_path \
15489   exclude_expsyms \
15490   include_expsyms \
15491   file_list_spec \
# Line 14820 | Line 15521 | module_cmds \
15521   module_expsym_cmds \
15522   export_symbols_cmds \
15523   prelink_cmds \
15524 + postlink_cmds \
15525   postinstall_cmds \
15526   postuninstall_cmds \
15527   finish_cmds \
# Line 14867 | Line 15569 | do
15569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14871    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15572      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15573      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15574      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 14882 | Line 15582 | do
15582      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15583      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15584  
15585 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15585 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15586    esac
15587   done
15588  
# Line 14905 | Line 15605 | fi
15605   # after its creation but before its name has been assigned to `$tmp'.
15606   $debug ||
15607   {
15608 <  tmp=
15608 >  tmp= ac_tmp=
15609    trap 'exit_status=$?
15610 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15610 >  : "${ac_tmp:=$tmp}"
15611 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15612   ' 0
15613    trap 'as_fn_exit 1' 1 2 13 15
15614   }
# Line 14915 | Line 15616 | $debug ||
15616  
15617   {
15618    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15619 <  test -n "$tmp" && test -d "$tmp"
15619 >  test -d "$tmp"
15620   }  ||
15621   {
15622    tmp=./conf$$-$RANDOM
15623    (umask 077 && mkdir "$tmp")
15624 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15624 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15625 > ac_tmp=$tmp
15626  
15627   # Set up the scripts for CONFIG_FILES section.
15628   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 15639 | if test "x$ac_cr" = x; then
15639   fi
15640   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15641   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15642 <  ac_cs_awk_cr='\r'
15642 >  ac_cs_awk_cr='\\r'
15643   else
15644    ac_cs_awk_cr=$ac_cr
15645   fi
15646  
15647 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15647 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15648   _ACEOF
15649  
15650  
# Line 14951 | Line 15653 | _ACEOF
15653    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15654    echo "_ACEOF"
15655   } >conf$$subs.sh ||
15656 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15657 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15656 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15657 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15658   ac_delim='%!_!# '
15659   for ac_last_try in false false false false false :; do
15660    . ./conf$$subs.sh ||
15661 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15661 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15662  
15663    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15664    if test $ac_delim_n = $ac_delim_num; then
15665      break
15666    elif $ac_last_try; then
15667 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15667 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15668    else
15669      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15670    fi
# Line 14970 | Line 15672 | done
15672   rm -f conf$$subs.sh
15673  
15674   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15675 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15675 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15676   _ACEOF
15677   sed -n '
15678   h
# Line 15018 | Line 15720 | t delim
15720   rm -f conf$$subs.awk
15721   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15722   _ACAWK
15723 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15723 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15724    for (key in S) S_is_set[key] = 1
15725    FS = ""
15726  
# Line 15050 | Line 15752 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15752    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15753   else
15754    cat
15755 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15756 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15755 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15756 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15757   _ACEOF
15758  
15759 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15760 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15759 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15760 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15761   # trailing colons and then remove the whole line if VPATH becomes empty
15762   # (actually we leave an empty line to preserve line numbers).
15763   if test "x$srcdir" = x.; then
15764 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15765 < s/:*\$(srcdir):*/:/
15766 < s/:*\${srcdir}:*/:/
15767 < s/:*@srcdir@:*/:/
15768 < s/^\([^=]*=[     ]*\):*/\1/
15764 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15765 > h
15766 > s///
15767 > s/^/:/
15768 > s/[      ]*$/:/
15769 > s/:\$(srcdir):/:/g
15770 > s/:\${srcdir}:/:/g
15771 > s/:@srcdir@:/:/g
15772 > s/^:*//
15773   s/:*$//
15774 + x
15775 + s/\(=[   ]*\).*/\1/
15776 + G
15777 + s/\n//
15778   s/^[^=]*=[       ]*$//
15779   }'
15780   fi
# Line 15076 | Line 15786 | fi # test -n "$CONFIG_FILES"
15786   # No need to generate them if there are no CONFIG_HEADERS.
15787   # This happens for instance with `./config.status Makefile'.
15788   if test -n "$CONFIG_HEADERS"; then
15789 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15789 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15790   BEGIN {
15791   _ACEOF
15792  
# Line 15088 | Line 15798 | _ACEOF
15798   # handling of long lines.
15799   ac_delim='%!_!# '
15800   for ac_last_try in false false :; do
15801 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15802 <  if test -z "$ac_t"; then
15801 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15802 >  if test -z "$ac_tt"; then
15803      break
15804    elif $ac_last_try; then
15805 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15805 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15806    else
15807      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15808    fi
# Line 15177 | Line 15887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15887   _ACAWK
15888   _ACEOF
15889   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15890 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15891   fi # test -n "$CONFIG_HEADERS"
15892  
15893  
# Line 15190 | Line 15900 | do
15900    esac
15901    case $ac_mode$ac_tag in
15902    :[FHL]*:*);;
15903 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15903 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15904    :[FH]-) ac_tag=-:-;;
15905    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15906    esac
# Line 15209 | Line 15919 | do
15919      for ac_f
15920      do
15921        case $ac_f in
15922 <      -) ac_f="$tmp/stdin";;
15922 >      -) ac_f="$ac_tmp/stdin";;
15923        *) # Look for the file first in the build tree, then in the source tree
15924           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15925           # because $ac_f cannot contain `:'.
# Line 15218 | Line 15928 | do
15928             [\\/$]*) false;;
15929             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15930             esac ||
15931 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15931 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15932        esac
15933        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15934        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 15954 | $as_echo "$as_me: creating $ac_file" >&6
15954      esac
15955  
15956      case $ac_tag in
15957 <    *:-:* | *:-) cat >"$tmp/stdin" \
15958 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15957 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15958 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15959      esac
15960      ;;
15961    esac
# Line 15381 | Line 16091 | s&@INSTALL@&$ac_INSTALL&;t t
16091   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16092   $ac_datarootdir_hack
16093   "
16094 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16095 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16094 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16095 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16096  
16097   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16098 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16099 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16098 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16099 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16100 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16101    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16102 < which seems to be undefined.  Please make sure it is defined." >&5
16102 > which seems to be undefined.  Please make sure it is defined" >&5
16103   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16104 < which seems to be undefined.  Please make sure it is defined." >&2;}
16104 > which seems to be undefined.  Please make sure it is defined" >&2;}
16105  
16106 <  rm -f "$tmp/stdin"
16106 >  rm -f "$ac_tmp/stdin"
16107    case $ac_file in
16108 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16109 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16108 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16109 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16110    esac \
16111 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16111 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16112   ;;
16113    :H)
16114    #
# Line 15406 | Line 16117 | which seems to be undefined.  Please mak
16117    if test x"$ac_file" != x-; then
16118      {
16119        $as_echo "/* $configure_input  */" \
16120 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16121 <    } >"$tmp/config.h" \
16122 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16123 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16120 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16121 >    } >"$ac_tmp/config.h" \
16122 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16123 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16124        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16125   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16126      else
16127        rm -f "$ac_file"
16128 <      mv "$tmp/config.h" "$ac_file" \
16129 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16128 >      mv "$ac_tmp/config.h" "$ac_file" \
16129 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16130      fi
16131    else
16132      $as_echo "/* $configure_input  */" \
16133 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16134 <      || as_fn_error "could not create -" "$LINENO" 5
16133 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16134 >      || as_fn_error $? "could not create -" "$LINENO" 5
16135    fi
16136   # Compute "$ac_file"'s index in $config_headers.
16137   _am_arg="$ac_file"
# Line 15479 | Line 16190 | $as_echo "$as_me: executing $ac_file com
16190      # Strip MF so we end up with the name of the file.
16191      mf=`echo "$mf" | sed -e 's/:.*$//'`
16192      # Check whether this is an Automake generated Makefile or not.
16193 <    # We used to match only the files named `Makefile.in', but
16193 >    # We used to match only the files named 'Makefile.in', but
16194      # some people rename them; so instead we look at the file content.
16195      # Grep'ing the first line is not enough: some people post-process
16196      # each Makefile.in and add a new line on top of each file to say so.
# Line 15513 | Line 16224 | $as_echo X"$mf" |
16224        continue
16225      fi
16226      # Extract the definition of DEPDIR, am__include, and am__quote
16227 <    # from the Makefile without running `make'.
16227 >    # from the Makefile without running 'make'.
16228      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16229      test -z "$DEPDIR" && continue
16230      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16231      test -z "am__include" && continue
16232      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15522    # When using ansi2knr, U may be empty or an underscore; expand it
15523    U=`sed -n 's/^U = //p' < "$mf"`
16233      # Find all dependency output files, they are included files with
16234      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16235      # simplest approach to changing $(DEPDIR) to its actual value in the
16236      # expansion.
16237      for file in `sed -n "
16238        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16239 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16239 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16240        # Make sure the directory exists.
16241        test -f "$dirpart/$file" && continue
16242        fdir=`$as_dirname -- "$file" ||
# Line 15581 | Line 16290 | $as_echo X"$file" |
16290   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16291   #
16292   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16293 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16294 < #                 Inc.
16293 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16294 > #                 Foundation, Inc.
16295   #   Written by Gordon Matzigkeit, 1996
16296   #
16297   #   This file is part of GNU Libtool.
# Line 15636 | Line 16345 | SHELL=$lt_SHELL
16345   # An echo program that protects backslashes.
16346   ECHO=$lt_ECHO
16347  
16348 + # The PATH separator for the build system.
16349 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16350 +
16351   # The host system.
16352   host_alias=$host_alias
16353   host=$host
# Line 15685 | Line 16397 | SP2NL=$lt_lt_SP2NL
16397   # turn newlines into spaces.
16398   NL2SP=$lt_lt_NL2SP
16399  
16400 + # convert \$build file names to \$host format.
16401 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16402 +
16403 + # convert \$build files to toolchain format.
16404 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16405 +
16406   # An object symbol dumper.
16407   OBJDUMP=$lt_OBJDUMP
16408  
16409   # Method to check whether dependent libraries are shared objects.
16410   deplibs_check_method=$lt_deplibs_check_method
16411  
16412 < # Command to use when deplibs_check_method == "file_magic".
16412 > # Command to use when deplibs_check_method = "file_magic".
16413   file_magic_cmd=$lt_file_magic_cmd
16414  
16415 + # How to find potential files when deplibs_check_method = "file_magic".
16416 + file_magic_glob=$lt_file_magic_glob
16417 +
16418 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16419 + want_nocaseglob=$lt_want_nocaseglob
16420 +
16421 + # DLL creation program.
16422 + DLLTOOL=$lt_DLLTOOL
16423 +
16424 + # Command to associate shared and link libraries.
16425 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16426 +
16427   # The archiver.
16428   AR=$lt_AR
16429 +
16430 + # Flags to create an archive.
16431   AR_FLAGS=$lt_AR_FLAGS
16432  
16433 + # How to feed a file listing to the archiver.
16434 + archiver_list_spec=$lt_archiver_list_spec
16435 +
16436   # A symbol stripping program.
16437   STRIP=$lt_STRIP
16438  
# Line 15727 | Line 16462 | global_symbol_to_c_name_address=$lt_lt_c
16462   # Transform the output of nm in a C name address pair when lib prefix is needed.
16463   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16464  
16465 + # Specify filename containing input files for \$NM.
16466 + nm_file_list_spec=$lt_nm_file_list_spec
16467 +
16468 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16469 + lt_sysroot=$lt_sysroot
16470 +
16471   # The name of the directory that contains temporary libtool files.
16472   objdir=$objdir
16473  
# Line 15736 | Line 16477 | MAGIC_CMD=$MAGIC_CMD
16477   # Must we lock files when doing compilation?
16478   need_locks=$lt_need_locks
16479  
16480 + # Manifest tool.
16481 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16482 +
16483   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16484   DSYMUTIL=$lt_DSYMUTIL
16485  
# Line 15850 | Line 16594 | with_gcc=$GCC
16594   # Compiler flag to turn off builtin functions.
16595   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16596  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
16597   # Additional compiler flags for building library objects.
16598   pic_flag=$lt_lt_prog_compiler_pic
16599  
16600 + # How to pass a linker flag through the compiler.
16601 + wl=$lt_lt_prog_compiler_wl
16602 +
16603   # Compiler flag to prevent dynamic linking.
16604   link_static_flag=$lt_lt_prog_compiler_static
16605  
# Line 15905 | Line 16649 | no_undefined_flag=$lt_no_undefined_flag
16649   # This must work even if \$libdir does not exist
16650   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16651  
15908 # If ld is used when linking, flag to hardcode \$libdir into a binary
15909 # during linking.  This must work even if \$libdir does not exist.
15910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15911
16652   # Whether we need a single "-rpath" flag with a separated argument.
16653   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16654  
# Line 15942 | Line 16682 | inherit_rpath=$inherit_rpath
16682   # Whether libtool must link a program against all its dependency libraries.
16683   link_all_deplibs=$link_all_deplibs
16684  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
16685   # Set to "yes" if exported symbols are required.
16686   always_export_symbols=$always_export_symbols
16687  
# Line 15960 | Line 16697 | include_expsyms=$lt_include_expsyms
16697   # Commands necessary for linking programs (against libraries) with templates.
16698   prelink_cmds=$lt_prelink_cmds
16699  
16700 + # Commands necessary for finishing linking programs.
16701 + postlink_cmds=$lt_postlink_cmds
16702 +
16703   # Specify filename containing input files.
16704   file_list_spec=$lt_file_list_spec
16705  
# Line 15992 | Line 16732 | ltmain="$ac_aux_dir/ltmain.sh"
16732    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16733    # text mode, it properly converts lines to CR/LF.  This bash problem
16734    # is reportedly fixed, but why not run on old versions too?
16735 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16736 <    || (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
16735 >  sed '$q' "$ltmain" >> "$cfgfile" \
16736 >     || (rm -f "$cfgfile"; exit 1)
16737  
16738 +  if test x"$xsi_shell" = xyes; then
16739 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16740 + func_dirname ()\
16741 + {\
16742 + \    case ${1} in\
16743 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16744 + \      *  ) func_dirname_result="${3}" ;;\
16745 + \    esac\
16746 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16747 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16748 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16749 + test 0 -eq $? || _lt_function_replace_fail=:
16750 +
16751 +
16752 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16753 + func_basename ()\
16754 + {\
16755 + \    func_basename_result="${1##*/}"\
16756 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16757 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759 + test 0 -eq $? || _lt_function_replace_fail=:
16760 +
16761 +
16762 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16763 + func_dirname_and_basename ()\
16764 + {\
16765 + \    case ${1} in\
16766 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16767 + \      *  ) func_dirname_result="${3}" ;;\
16768 + \    esac\
16769 + \    func_basename_result="${1##*/}"\
16770 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16771 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16772 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16773 + test 0 -eq $? || _lt_function_replace_fail=:
16774 +
16775 +
16776 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16777 + func_stripname ()\
16778 + {\
16779 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16780 + \    # positional parameters, so assign one to ordinary parameter first.\
16781 + \    func_stripname_result=${3}\
16782 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16783 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16784 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16785 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16786 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16787 + test 0 -eq $? || _lt_function_replace_fail=:
16788 +
16789 +
16790 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16791 + func_split_long_opt ()\
16792 + {\
16793 + \    func_split_long_opt_name=${1%%=*}\
16794 + \    func_split_long_opt_arg=${1#*=}\
16795 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16796 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16797 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16798 + test 0 -eq $? || _lt_function_replace_fail=:
16799 +
16800 +
16801 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16802 + func_split_short_opt ()\
16803 + {\
16804 + \    func_split_short_opt_arg=${1#??}\
16805 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16806 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16807 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16808 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16809 + test 0 -eq $? || _lt_function_replace_fail=:
16810 +
16811 +
16812 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16813 + func_lo2o ()\
16814 + {\
16815 + \    case ${1} in\
16816 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16817 + \      *)    func_lo2o_result=${1} ;;\
16818 + \    esac\
16819 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16820 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16821 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16822 + test 0 -eq $? || _lt_function_replace_fail=:
16823 +
16824 +
16825 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16826 + func_xform ()\
16827 + {\
16828 +    func_xform_result=${1%.*}.lo\
16829 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16830 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16831 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16832 + test 0 -eq $? || _lt_function_replace_fail=:
16833 +
16834 +
16835 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16836 + func_arith ()\
16837 + {\
16838 +    func_arith_result=$(( $* ))\
16839 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16840 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16841 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16842 + test 0 -eq $? || _lt_function_replace_fail=:
16843 +
16844 +
16845 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16846 + func_len ()\
16847 + {\
16848 +    func_len_result=${#1}\
16849 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16850 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16851 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16852 + test 0 -eq $? || _lt_function_replace_fail=:
16853 +
16854 + fi
16855 +
16856 + if test x"$lt_shell_append" = xyes; then
16857 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16858 + func_append ()\
16859 + {\
16860 +    eval "${1}+=\\${2}"\
16861 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16862 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16863 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16864 + test 0 -eq $? || _lt_function_replace_fail=:
16865 +
16866 +
16867 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16868 + func_append_quoted ()\
16869 + {\
16870 + \    func_quote_for_eval "${2}"\
16871 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16872 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16873 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16874 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875 + test 0 -eq $? || _lt_function_replace_fail=:
16876 +
16877 +
16878 +  # Save a `func_append' function call where possible by direct use of '+='
16879 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16880 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16881 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16882 +  test 0 -eq $? || _lt_function_replace_fail=:
16883 + else
16884 +  # Save a `func_append' function call even when '+=' is not available
16885 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16886 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16887 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16888 +  test 0 -eq $? || _lt_function_replace_fail=:
16889 + fi
16890 +
16891 + if test x"$_lt_function_replace_fail" = x":"; then
16892 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16893 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16894 + fi
16895  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
16896  
16897 <  mv -f "$cfgfile" "$ofile" ||
16897 >   mv -f "$cfgfile" "$ofile" ||
16898      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16899    chmod +x "$ofile"
16900  
# Line 16210 | Line 16909 | _ACEOF
16909   ac_clean_files=$ac_clean_files_save
16910  
16911   test $ac_write_fail = 0 ||
16912 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16912 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16913  
16914  
16915   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 16930 | if test "$no_create" != yes; then
16930    exec 5>>config.log
16931    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16932    # would make configure fail if this is the last instruction.
16933 <  $ac_cs_success || as_fn_exit $?
16933 >  $ac_cs_success || as_fn_exit 1
16934   fi
16935   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16936    { $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)