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 1374 by michael, Fri Apr 27 07:53:40 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 1373 2012-04-27 07:32:34Z 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 624 | Line 652 | EFNET_FALSE
652   EFNET_TRUE
653   ENABLE_SSL_FALSE
654   ENABLE_SSL_TRUE
627 ENABLE_PCRE_FALSE
628 ENABLE_PCRE_TRUE
655   LTDLOPEN
656   LT_CONFIG_H
657   CONVENIENCE_LTDL_FALSE
# Line 650 | Line 676 | OTOOL
676   LIPO
677   NMEDIT
678   DSYMUTIL
679 + MANIFEST_TOOL
680   RANLIB
681 + ac_ct_AR
682   AR
683 + DLLTOOL
684   OBJDUMP
685   LN_S
686   NM
# Line 679 | Line 708 | YACC
708   am__fastdepCC_FALSE
709   am__fastdepCC_TRUE
710   CCDEPMODE
711 + am__nodep
712   AMDEPBACKSLASH
713   AMDEP_FALSE
714   AMDEP_TRUE
# Line 766 | Line 796 | enable_shared
796   with_pic
797   enable_fast_install
798   with_gnu_ld
799 + with_sysroot
800   enable_libtool_lock
801   with_included_ltdl
802   with_ltdl_include
803   with_ltdl_lib
804   enable_ltdl_install
774 with_zlib_path
775 enable_zlib
776 with_libpcre_path
805   enable_libpcre
806   enable_openssl
807   enable_assert
# Line 786 | Line 814 | enable_poll
814   enable_select
815   with_nicklen
816   with_topiclen
789 with_syslog_facility
817   enable_efnet
818   enable_halfops
819   enable_debugging
820   enable_warnings
794 enable_syslog
821   '
822        ac_precious_vars='build_alias
823   host_alias
# Line 866 | Line 892 | do
892    fi
893  
894    case $ac_option in
895 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 <  *)    ac_optarg=yes ;;
895 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 >  *=)   ac_optarg= ;;
897 >  *)    ac_optarg=yes ;;
898    esac
899  
900    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 912 | Line 939 | do
939      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940      # Reject names that are not valid shell variable names.
941      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 <      as_fn_error "invalid feature name: $ac_useropt"
942 >      as_fn_error $? "invalid feature name: $ac_useropt"
943      ac_useropt_orig=$ac_useropt
944      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945      case $ac_user_opts in
# Line 938 | Line 965 | do
965      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966      # Reject names that are not valid shell variable names.
967      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 <      as_fn_error "invalid feature name: $ac_useropt"
968 >      as_fn_error $? "invalid feature name: $ac_useropt"
969      ac_useropt_orig=$ac_useropt
970      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971      case $ac_user_opts in
# Line 1142 | Line 1169 | do
1169      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170      # Reject names that are not valid shell variable names.
1171      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 <      as_fn_error "invalid package name: $ac_useropt"
1172 >      as_fn_error $? "invalid package name: $ac_useropt"
1173      ac_useropt_orig=$ac_useropt
1174      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175      case $ac_user_opts in
# Line 1158 | Line 1185 | do
1185      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186      # Reject names that are not valid shell variable names.
1187      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 <      as_fn_error "invalid package name: $ac_useropt"
1188 >      as_fn_error $? "invalid package name: $ac_useropt"
1189      ac_useropt_orig=$ac_useropt
1190      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191      case $ac_user_opts in
# Line 1188 | Line 1215 | do
1215    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216      x_libraries=$ac_optarg ;;
1217  
1218 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1219 < Try \`$0 --help' for more information."
1218 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 > Try \`$0 --help' for more information"
1220      ;;
1221  
1222    *=*)
# Line 1197 | Line 1224 | Try \`$0 --help' for more information."
1224      # Reject names that are not valid shell variable names.
1225      case $ac_envvar in #(
1226        '' | [0-9]* | *[!_$as_cr_alnum]* )
1227 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1227 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1228      esac
1229      eval $ac_envvar=\$ac_optarg
1230      export $ac_envvar ;;
# Line 1207 | Line 1234 | Try \`$0 --help' for more information."
1234      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1238      ;;
1239  
1240    esac
# Line 1215 | Line 1242 | done
1242  
1243   if test -n "$ac_prev"; then
1244    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245 <  as_fn_error "missing argument to $ac_option"
1245 >  as_fn_error $? "missing argument to $ac_option"
1246   fi
1247  
1248   if test -n "$ac_unrecognized_opts"; then
1249    case $enable_option_checking in
1250      no) ;;
1251 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1251 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253    esac
1254   fi
# Line 1244 | Line 1271 | do
1271      [\\/$]* | ?:[\\/]* )  continue;;
1272      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1273    esac
1274 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1274 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275   done
1276  
1277   # There might be people who depend on the old broken behavior: `$host'
# Line 1258 | Line 1285 | target=$target_alias
1285   if test "x$host_alias" != x; then
1286    if test "x$build_alias" = x; then
1287      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
1288    elif test "x$build_alias" != "x$host_alias"; then
1289      cross_compiling=yes
1290    fi
# Line 1274 | Line 1299 | test "$silent" = yes && exec 6>/dev/null
1299   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300   ac_ls_di=`ls -di .` &&
1301   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302 <  as_fn_error "working directory cannot be determined"
1302 >  as_fn_error $? "working directory cannot be determined"
1303   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 <  as_fn_error "pwd does not report name of working directory"
1304 >  as_fn_error $? "pwd does not report name of working directory"
1305  
1306  
1307   # Find the source files, if location was not specified.
# Line 1315 | Line 1340 | else
1340   fi
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1343 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344   fi
1345   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346   ac_abs_confdir=`(
1347 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1347 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348          pwd)`
1349   # When building in place, set srcdir=.
1350   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1345 | Line 1370 | if test "$ac_init_help" = "long"; then
1370    # Omit some internal or obsolete options to make the list less imposing.
1371    # This message is too long to be a string in the A/UX 3.1 sh.
1372    cat <<_ACEOF
1373 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1373 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1374  
1375   Usage: $0 [OPTION]... [VAR=VALUE]...
1376  
# Line 1359 | Line 1384 | Configuration:
1384        --help=short        display options specific to this package
1385        --help=recursive    display the short help of all the included packages
1386    -V, --version           display version information and exit
1387 <  -q, --quiet, --silent   do not print \`checking...' messages
1387 >  -q, --quiet, --silent   do not print \`checking ...' messages
1388        --cache-file=FILE   cache test results in FILE [disabled]
1389    -C, --config-cache      alias for \`--cache-file=config.cache'
1390    -n, --no-create         do not create output files
# Line 1415 | Line 1440 | fi
1440  
1441   if test -n "$ac_init_help"; then
1442    case $ac_init_help in
1443 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1443 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1444     esac
1445    cat <<\_ACEOF
1446  
# Line 1423 | Line 1448 | Optional Features:
1448    --disable-option-checking  ignore unrecognized --enable/--with options
1449    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1450    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1451 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1452 <                          (and sometimes confusing) to the casual installer
1453 <  --disable-dependency-tracking  speeds up one-time build
1454 <  --enable-dependency-tracking   do not reject slow dependency extractors
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1436  --disable-zlib          Disable ziplinks support
1464    --disable-libpcre       Disable PCRE support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
# Line 1449 | Line 1476 | Optional Features:
1476    --enable-halfops        Enable halfops support.
1477    --enable-debugging      Enable debugging.
1478    --enable-warnings       Enable compiler warnings.
1452  --enable-syslog="EVENTS"
1453                          Enable syslog for events: users oper (space
1454                          separated in quotes; default: disabled).
1479  
1480   Optional Packages:
1481    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1482    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1483 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1483 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1484                            both]
1485    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1486 +  --with-sysroot=DIR Search for dependent libraries within DIR
1487 +                        (or the compiler's sysroot if not specified).
1488    --with-included-ltdl    use the GNU ltdl sources included here
1489    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1490    --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.
1491    --with-nicklen=<value>  Set nickname length (default 9).
1492    --with-topiclen=<value> Set topic length (default 160).
1469  --with-syslog-facility=LOG
1470                          Define the syslog facility to use (default:
1471                          LOG_LOCAL4)
1493  
1494   Some influential environment variables:
1495    CC          C compiler command
# Line 1478 | Line 1499 | Some influential environment variables:
1499    LIBS        libraries to pass to the linker, e.g. -l<library>
1500    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501                you have headers in a nonstandard directory <include dir>
1502 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1503 <              the first program found out of: `bison -y', `byacc', `yacc'.
1502 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1503 >              Defaults to the first program found out of: `bison -y', `byacc',
1504 >              `yacc'.
1505    YFLAGS      The list of arguments that will be passed by default to $YACC.
1506                This script will default YFLAGS to the empty string to avoid a
1507                default value of `-d' given by some make applications.
# Line 1551 | Line 1573 | fi
1573   test -n "$ac_init_help" && exit $ac_status
1574   if $ac_init_version; then
1575    cat <<\_ACEOF
1576 < ircd-hybrid configure 7.3-rc1
1577 < generated by GNU Autoconf 2.65
1576 > ircd-hybrid configure 8beta1
1577 > generated by GNU Autoconf 2.69
1578  
1579 < Copyright (C) 2009 Free Software Foundation, Inc.
1579 > Copyright (C) 2012 Free Software Foundation, Inc.
1580   This configure script is free software; the Free Software Foundation
1581   gives unlimited permission to copy, distribute and modify it.
1582   _ACEOF
# Line 1598 | Line 1620 | sed 's/^/| /' conftest.$ac_ext >&5
1620  
1621          ac_retval=1
1622   fi
1623 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1623 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624    as_fn_set_status $ac_retval
1625  
1626   } # ac_fn_c_try_compile
# Line 1630 | Line 1652 | $as_echo "$ac_try_echo"; } >&5
1652           test ! -s conftest.err
1653         } && test -s conftest$ac_exeext && {
1654           test "$cross_compiling" = yes ||
1655 <         $as_test_x conftest$ac_exeext
1655 >         test -x conftest$ac_exeext
1656         }; then :
1657    ac_retval=0
1658   else
# Line 1644 | Line 1666 | fi
1666    # interfere with the next link command; also delete a directory that is
1667    # left behind by Apple's compiler.  We do this before executing the actions.
1668    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1669 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670    as_fn_set_status $ac_retval
1671  
1672   } # ac_fn_c_try_link
# Line 1658 | Line 1680 | ac_fn_c_check_header_compile ()
1680    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682   $as_echo_n "checking for $2... " >&6; }
1683 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1683 > if eval \${$3+:} false; then :
1684    $as_echo_n "(cached) " >&6
1685   else
1686    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1676 | Line 1698 | fi
1698   eval ac_res=\$$3
1699                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700   $as_echo "$ac_res" >&6; }
1701 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702  
1703   } # ac_fn_c_check_header_compile
1704  
# Line 1701 | Line 1723 | $as_echo "$ac_try_echo"; } >&5
1723      mv -f conftest.er1 conftest.err
1724    fi
1725    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 <  test $ac_status = 0; } >/dev/null && {
1726 >  test $ac_status = 0; } > conftest.i && {
1727           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1728           test ! -s conftest.err
1729         }; then :
# Line 1712 | Line 1734 | sed 's/^/| /' conftest.$ac_ext >&5
1734  
1735      ac_retval=1
1736   fi
1737 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738    as_fn_set_status $ac_retval
1739  
1740   } # ac_fn_c_try_cpp
# Line 1754 | Line 1776 | sed 's/^/| /' conftest.$ac_ext >&5
1776         ac_retval=$ac_status
1777   fi
1778    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1779 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780    as_fn_set_status $ac_retval
1781  
1782   } # ac_fn_c_try_run
# Line 1767 | Line 1789 | ac_fn_c_check_func ()
1789    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791   $as_echo_n "checking for $2... " >&6; }
1792 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1792 > if eval \${$3+:} false; then :
1793    $as_echo_n "(cached) " >&6
1794   else
1795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1822 | Line 1844 | fi
1844   eval ac_res=\$$3
1845                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846   $as_echo "$ac_res" >&6; }
1847 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  
1849   } # ac_fn_c_check_func
1850  
1851 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1852 < # ------------------------------------
1853 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1851 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1852 > # ---------------------------------------------
1853 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1854 > # accordingly.
1855   ac_fn_c_check_decl ()
1856   {
1857    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1859 < $as_echo_n "checking whether $2 is declared... " >&6; }
1860 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1858 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1859 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1860 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1861 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1862 > if eval \${$3+:} false; then :
1863    $as_echo_n "(cached) " >&6
1864   else
1865    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1843 | Line 1868 | $4
1868   int
1869   main ()
1870   {
1871 < #ifndef $2
1872 <  (void) $2;
1871 > #ifndef $as_decl_name
1872 > #ifdef __cplusplus
1873 >  (void) $as_decl_use;
1874 > #else
1875 >  (void) $as_decl_name;
1876 > #endif
1877   #endif
1878  
1879    ;
# Line 1861 | Line 1890 | fi
1890   eval ac_res=\$$3
1891                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892   $as_echo "$ac_res" >&6; }
1893 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  
1895   } # ac_fn_c_check_decl
1896  
# Line 1874 | Line 1903 | ac_fn_c_check_type ()
1903    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905   $as_echo_n "checking for $2... " >&6; }
1906 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1906 > if eval \${$3+:} false; then :
1907    $as_echo_n "(cached) " >&6
1908   else
1909    eval "$3=no"
# Line 1915 | Line 1944 | fi
1944   eval ac_res=\$$3
1945                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946   $as_echo "$ac_res" >&6; }
1947 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948  
1949   } # ac_fn_c_check_type
1950  
# Line 1928 | Line 1957 | ac_fn_c_check_member ()
1957    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1959   $as_echo_n "checking for $2.$3... " >&6; }
1960 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1960 > if eval \${$4+:} false; then :
1961    $as_echo_n "(cached) " >&6
1962   else
1963    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1972 | Line 2001 | fi
2001   eval ac_res=\$$4
2002                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003   $as_echo "$ac_res" >&6; }
2004 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2004 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005  
2006   } # ac_fn_c_check_member
2007  
# Line 1984 | Line 2013 | $as_echo "$ac_res" >&6; }
2013   ac_fn_c_check_header_mongrel ()
2014   {
2015    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016 >  if eval \${$3+:} false; then :
2017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018   $as_echo_n "checking for $2... " >&6; }
2019 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2019 > if eval \${$3+:} false; then :
2020    $as_echo_n "(cached) " >&6
2021   fi
2022   eval ac_res=\$$3
# Line 2023 | Line 2052 | if ac_fn_c_try_cpp "$LINENO"; then :
2052   else
2053    ac_header_preproc=no
2054   fi
2055 < rm -f conftest.err conftest.$ac_ext
2055 > rm -f conftest.err conftest.i conftest.$ac_ext
2056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2057   $as_echo "$ac_header_preproc" >&6; }
2058  
# Line 2046 | Line 2075 | $as_echo "$as_me: WARNING: $2: see the A
2075   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2076      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2077   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2078 < ( cat <<\_ASBOX
2050 < ## ----------------------------------- ##
2078 > ( $as_echo "## ----------------------------------- ##
2079   ## Report this to bugs@ircd-hybrid.org ##
2080 < ## ----------------------------------- ##
2053 < _ASBOX
2080 > ## ----------------------------------- ##"
2081       ) | sed "s/^/$as_me: WARNING:     /" >&2
2082      ;;
2083   esac
2084    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085   $as_echo_n "checking for $2... " >&6; }
2086 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2086 > if eval \${$3+:} false; then :
2087    $as_echo_n "(cached) " >&6
2088   else
2089    eval "$3=\$ac_header_compiler"
# Line 2065 | Line 2092 | eval ac_res=\$$3
2092                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093   $as_echo "$ac_res" >&6; }
2094   fi
2095 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096  
2097   } # ac_fn_c_check_header_mongrel
2098   cat >config.log <<_ACEOF
2099   This file contains any messages produced by compilers while
2100   running configure, to aid debugging if configure makes a mistake.
2101  
2102 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2103 < generated by GNU Autoconf 2.65.  Invocation command line was
2102 > It was created by ircd-hybrid $as_me 8beta1, which was
2103 > generated by GNU Autoconf 2.69.  Invocation command line was
2104  
2105    $ $0 $@
2106  
# Line 2183 | Line 2210 | trap 'exit_status=$?
2210    {
2211      echo
2212  
2213 <    cat <<\_ASBOX
2187 < ## ---------------- ##
2213 >    $as_echo "## ---------------- ##
2214   ## Cache variables. ##
2215 < ## ---------------- ##
2190 < _ASBOX
2215 > ## ---------------- ##"
2216      echo
2217      # The following way of writing the cache mishandles newlines in values,
2218   (
# Line 2221 | Line 2246 | $as_echo "$as_me: WARNING: cache variabl
2246   )
2247      echo
2248  
2249 <    cat <<\_ASBOX
2225 < ## ----------------- ##
2249 >    $as_echo "## ----------------- ##
2250   ## Output variables. ##
2251 < ## ----------------- ##
2228 < _ASBOX
2251 > ## ----------------- ##"
2252      echo
2253      for ac_var in $ac_subst_vars
2254      do
# Line 2238 | Line 2261 | _ASBOX
2261      echo
2262  
2263      if test -n "$ac_subst_files"; then
2264 <      cat <<\_ASBOX
2242 < ## ------------------- ##
2264 >      $as_echo "## ------------------- ##
2265   ## File substitutions. ##
2266 < ## ------------------- ##
2245 < _ASBOX
2266 > ## ------------------- ##"
2267        echo
2268        for ac_var in $ac_subst_files
2269        do
# Line 2256 | Line 2277 | _ASBOX
2277      fi
2278  
2279      if test -s confdefs.h; then
2280 <      cat <<\_ASBOX
2260 < ## ----------- ##
2280 >      $as_echo "## ----------- ##
2281   ## confdefs.h. ##
2282 < ## ----------- ##
2263 < _ASBOX
2282 > ## ----------- ##"
2283        echo
2284        cat confdefs.h
2285        echo
# Line 2315 | Line 2334 | _ACEOF
2334   ac_site_file1=NONE
2335   ac_site_file2=NONE
2336   if test -n "$CONFIG_SITE"; then
2337 <  ac_site_file1=$CONFIG_SITE
2337 >  # We do not want a PATH search for config.site.
2338 >  case $CONFIG_SITE in #((
2339 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2340 >    */*) ac_site_file1=$CONFIG_SITE;;
2341 >    *)   ac_site_file1=./$CONFIG_SITE;;
2342 >  esac
2343   elif test "x$prefix" != xNONE; then
2344    ac_site_file1=$prefix/share/config.site
2345    ac_site_file2=$prefix/etc/config.site
# Line 2330 | Line 2354 | do
2354      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2355   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2356      sed 's/^/| /' "$ac_site_file" >&5
2357 <    . "$ac_site_file"
2357 >    . "$ac_site_file" \
2358 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 > as_fn_error $? "failed to load site script $ac_site_file
2361 > See \`config.log' for more details" "$LINENO" 5; }
2362    fi
2363   done
2364  
# Line 2357 | Line 2385 | as_fn_append ac_func_list " usleep"
2385   as_fn_append ac_func_list " strlcat"
2386   as_fn_append ac_func_list " strlcpy"
2387   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"
2388   as_fn_append ac_header_list " sys/resource.h"
2389   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"
2390   as_fn_append ac_header_list " types.h"
2391   as_fn_append ac_header_list " socket.h"
2392   as_fn_append ac_header_list " sys/wait.h"
2393   as_fn_append ac_header_list " wait.h"
2370 as_fn_append ac_header_list " link.h"
2394   # Check that the precious variables saved in the cache have kept the same
2395   # value.
2396   ac_cache_corrupted=false
# Line 2423 | Line 2446 | if $ac_cache_corrupted; then
2446   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2448   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2449 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450   fi
2451   ## -------------------- ##
2452   ## Main body of script. ##
# Line 2436 | Line 2459 | ac_link='$CC -o conftest$ac_exeext $CFLA
2459   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460  
2461  
2462 < am__api_version='1.11'
2462 > am__api_version='1.12'
2463  
2464   ac_aux_dir=
2465   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466 <  for ac_t in install-sh install.sh shtool; do
2467 <    if test -f "$ac_dir/$ac_t"; then
2468 <      ac_aux_dir=$ac_dir
2469 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2470 <      break 2
2471 <    fi
2472 <  done
2466 >  if test -f "$ac_dir/install-sh"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2469 >    break
2470 >  elif test -f "$ac_dir/install.sh"; then
2471 >    ac_aux_dir=$ac_dir
2472 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2473 >    break
2474 >  elif test -f "$ac_dir/shtool"; then
2475 >    ac_aux_dir=$ac_dir
2476 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2477 >    break
2478 >  fi
2479   done
2480   if test -z "$ac_aux_dir"; then
2481 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482   fi
2483  
2484   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2507 | ac_configure="$SHELL $ac_aux_dir/configu
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2509   if test -z "$INSTALL"; then
2510 < if test "${ac_cv_path_install+set}" = set; then :
2510 > if ${ac_cv_path_install+:} false; then :
2511    $as_echo_n "(cached) " >&6
2512   else
2513    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2498 | Line 2527 | case $as_dir/ in #((
2527      # by default.
2528      for ac_prog in ginstall scoinst install; do
2529        for ac_exec_ext in '' $ac_executable_extensions; do
2530 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2530 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2531            if test $ac_prog = install &&
2532              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2533              # AIX install.  It has an incompatible calling convention.
# Line 2556 | Line 2585 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2585  
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2587   $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Just in case
2560 sleep 1
2561 echo timestamp > conftest.file
2588   # Reject unsafe characters in $srcdir or the absolute working directory
2589   # name.  Accept space and tab only in the latter.
2590   am_lf='
2591   '
2592   case `pwd` in
2593    *[\\\"\#\$\&\'\`$am_lf]*)
2594 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2594 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595   esac
2596   case $srcdir in
2597    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2598 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2598 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2599   esac
2600  
2601 < # Do `set' in a subshell so we don't clobber the current shell's
2601 > # Do 'set' in a subshell so we don't clobber the current shell's
2602   # arguments.  Must try -L first in case configure is actually a
2603   # symlink; some systems play weird games with the mod time of symlinks
2604   # (eg FreeBSD returns the mod time of the symlink's containing
2605   # directory).
2606   if (
2607 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2608 <   if test "$*" = "X"; then
2609 <      # -L didn't work.
2610 <      set X `ls -t "$srcdir/configure" conftest.file`
2611 <   fi
2612 <   rm -f conftest.file
2613 <   if test "$*" != "X $srcdir/configure conftest.file" \
2614 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2615 <
2616 <      # 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
2607 >   am_has_slept=no
2608 >   for am_try in 1 2; do
2609 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2610 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2611 >     if test "$*" = "X"; then
2612 >        # -L didn't work.
2613 >        set X `ls -t "$srcdir/configure" conftest.file`
2614 >     fi
2615 >     if test "$*" != "X $srcdir/configure conftest.file" \
2616 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2617  
2618 +        # If neither matched, then we have a broken ls.  This can happen
2619 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2620 +        # broken ls alias from the environment.  This has actually
2621 +        # happened.  Such a system could not be considered "sane".
2622 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2623 +  alias in your environment" "$LINENO" 5
2624 +     fi
2625 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2626 +       break
2627 +     fi
2628 +     # Just in case.
2629 +     sleep 1
2630 +     am_has_slept=yes
2631 +   done
2632     test "$2" = conftest.file
2633     )
2634   then
2635     # Ok.
2636     :
2637   else
2638 <   as_fn_error "newly created file is older than distributed files!
2638 >   as_fn_error $? "newly created file is older than distributed files!
2639   Check your system clock" "$LINENO" 5
2640   fi
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642   $as_echo "yes" >&6; }
2643 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2644 + # generated files are strictly newer.
2645 + am_sleep_pid=
2646 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2647 +  ( sleep 1 ) &
2648 +  am_sleep_pid=$!
2649 + fi
2650 +
2651 + rm -f conftest.file
2652 +
2653   test "$program_prefix" != NONE &&
2654    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2655   # Use a double $ so make ignores it.
# Line 2632 | Line 2676 | if eval "$MISSING --run true"; then
2676    am_missing_run="$MISSING --run "
2677   else
2678    am_missing_run=
2679 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2680 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2679 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2680 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2681   fi
2682  
2683   if test x"${install_sh}" != xset; then
# Line 2645 | Line 2689 | if test x"${install_sh}" != xset; then
2689    esac
2690   fi
2691  
2692 < # Installed binaries are usually stripped using `strip' when the user
2693 < # run `make install-strip'.  However `strip' might not be the right
2692 > # Installed binaries are usually stripped using 'strip' when the user
2693 > # run "make install-strip".  However 'strip' might not be the right
2694   # tool to use in cross-compilation environments, therefore Automake
2695 < # will honor the `STRIP' environment variable to overrule this program.
2695 > # will honor the 'STRIP' environment variable to overrule this program.
2696   if test "$cross_compiling" != no; then
2697    if test -n "$ac_tool_prefix"; then
2698    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699   set dummy ${ac_tool_prefix}strip; ac_word=$2
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701   $as_echo_n "checking for $ac_word... " >&6; }
2702 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2702 > if ${ac_cv_prog_STRIP+:} false; then :
2703    $as_echo_n "(cached) " >&6
2704   else
2705    if test -n "$STRIP"; then
# Line 2667 | Line 2711 | do
2711    IFS=$as_save_IFS
2712    test -z "$as_dir" && as_dir=.
2713      for ac_exec_ext in '' $ac_executable_extensions; do
2714 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717      break 2
# Line 2695 | Line 2739 | if test -z "$ac_cv_prog_STRIP"; then
2739   set dummy strip; ac_word=$2
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741   $as_echo_n "checking for $ac_word... " >&6; }
2742 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2742 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2743    $as_echo_n "(cached) " >&6
2744   else
2745    if test -n "$ac_ct_STRIP"; then
# Line 2707 | Line 2751 | do
2751    IFS=$as_save_IFS
2752    test -z "$as_dir" && as_dir=.
2753      for ac_exec_ext in '' $ac_executable_extensions; do
2754 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755      ac_cv_prog_ac_ct_STRIP="strip"
2756      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757      break 2
# Line 2748 | Line 2792 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2793   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2794   if test -z "$MKDIR_P"; then
2795 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2795 >  if ${ac_cv_path_mkdir+:} false; then :
2796    $as_echo_n "(cached) " >&6
2797   else
2798    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2758 | Line 2802 | do
2802    test -z "$as_dir" && as_dir=.
2803      for ac_prog in mkdir gmkdir; do
2804           for ac_exec_ext in '' $ac_executable_extensions; do
2805 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2805 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2806             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2807               'mkdir (GNU coreutils) '* | \
2808               'mkdir (coreutils) '* | \
# Line 2799 | Line 2843 | do
2843   set dummy $ac_prog; ac_word=$2
2844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845   $as_echo_n "checking for $ac_word... " >&6; }
2846 < if test "${ac_cv_prog_AWK+set}" = set; then :
2846 > if ${ac_cv_prog_AWK+:} false; then :
2847    $as_echo_n "(cached) " >&6
2848   else
2849    if test -n "$AWK"; then
# Line 2811 | Line 2855 | do
2855    IFS=$as_save_IFS
2856    test -z "$as_dir" && as_dir=.
2857      for ac_exec_ext in '' $ac_executable_extensions; do
2858 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859      ac_cv_prog_AWK="$ac_prog"
2860      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861      break 2
# Line 2839 | Line 2883 | done
2883   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2884   set x ${MAKE-make}
2885   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2886 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2886 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2887    $as_echo_n "(cached) " >&6
2888   else
2889    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2891 | SHELL = /bin/sh
2891   all:
2892          @echo '@@@%%%=$(MAKE)=@@@%%%'
2893   _ACEOF
2894 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2894 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2895   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2896    *@@@%%%=?*=@@@%%%*)
2897      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2881 | Line 2925 | if test "`cd $srcdir && pwd`" != "`pwd`"
2925    am__isrc=' -I$(srcdir)'
2926    # test to see if srcdir already configured
2927    if test -f $srcdir/config.status; then
2928 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2928 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2929    fi
2930   fi
2931  
# Line 2897 | Line 2941 | fi
2941  
2942   # Define the identity of the package.
2943   PACKAGE='ircd-hybrid'
2944 < VERSION='7.3-rc1'
2944 > VERSION='8beta1'
2945  
2946  
2947   cat >>confdefs.h <<_ACEOF
# Line 2927 | Line 2971 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2971  
2972   # We need awk for the "check" target.  The system "awk" is bad on
2973   # some platforms.
2974 < # Always define AMTAR for backward compatibility.
2975 <
2976 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2974 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2975 > # in the wild :-(  We should find a proper way to deprecate it ...
2976 > AMTAR='$${TAR-tar}'
2977  
2978 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2978 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2979  
2980  
2981  
# Line 2984 | Line 3028 | am__quote=
3028   _am_result=none
3029   # First try GNU make style include.
3030   echo "include confinc" > confmf
3031 < # Ignore all kinds of additional output from `make'.
3031 > # Ignore all kinds of additional output from 'make'.
3032   case `$am_make -s -f confmf 2> /dev/null` in #(
3033   *the\ am__doit\ target*)
3034    am__include=include
# Line 3017 | Line 3061 | fi
3061   if test "x$enable_dependency_tracking" != xno; then
3062    am_depcomp="$ac_aux_dir/depcomp"
3063    AMDEPBACKSLASH='\'
3064 +  am__nodep='_no'
3065   fi
3066   if test "x$enable_dependency_tracking" != xno; then
3067    AMDEP_TRUE=
# Line 3037 | Line 3082 | if test -n "$ac_tool_prefix"; then
3082   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084   $as_echo_n "checking for $ac_word... " >&6; }
3085 < if test "${ac_cv_prog_CC+set}" = set; then :
3085 > if ${ac_cv_prog_CC+:} false; then :
3086    $as_echo_n "(cached) " >&6
3087   else
3088    if test -n "$CC"; then
# Line 3049 | Line 3094 | do
3094    IFS=$as_save_IFS
3095    test -z "$as_dir" && as_dir=.
3096      for ac_exec_ext in '' $ac_executable_extensions; do
3097 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3099      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100      break 2
# Line 3077 | Line 3122 | if test -z "$ac_cv_prog_CC"; then
3122   set dummy gcc; ac_word=$2
3123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124   $as_echo_n "checking for $ac_word... " >&6; }
3125 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3125 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3126    $as_echo_n "(cached) " >&6
3127   else
3128    if test -n "$ac_ct_CC"; then
# Line 3089 | Line 3134 | do
3134    IFS=$as_save_IFS
3135    test -z "$as_dir" && as_dir=.
3136      for ac_exec_ext in '' $ac_executable_extensions; do
3137 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138      ac_cv_prog_ac_ct_CC="gcc"
3139      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140      break 2
# Line 3130 | Line 3175 | if test -z "$CC"; then
3175   set dummy ${ac_tool_prefix}cc; ac_word=$2
3176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177   $as_echo_n "checking for $ac_word... " >&6; }
3178 < if test "${ac_cv_prog_CC+set}" = set; then :
3178 > if ${ac_cv_prog_CC+:} false; then :
3179    $as_echo_n "(cached) " >&6
3180   else
3181    if test -n "$CC"; then
# Line 3142 | Line 3187 | do
3187    IFS=$as_save_IFS
3188    test -z "$as_dir" && as_dir=.
3189      for ac_exec_ext in '' $ac_executable_extensions; do
3190 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191      ac_cv_prog_CC="${ac_tool_prefix}cc"
3192      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193      break 2
# Line 3170 | Line 3215 | if test -z "$CC"; then
3215   set dummy cc; ac_word=$2
3216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217   $as_echo_n "checking for $ac_word... " >&6; }
3218 < if test "${ac_cv_prog_CC+set}" = set; then :
3218 > if ${ac_cv_prog_CC+:} false; then :
3219    $as_echo_n "(cached) " >&6
3220   else
3221    if test -n "$CC"; then
# Line 3183 | Line 3228 | do
3228    IFS=$as_save_IFS
3229    test -z "$as_dir" && as_dir=.
3230      for ac_exec_ext in '' $ac_executable_extensions; do
3231 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3233         ac_prog_rejected=yes
3234         continue
# Line 3229 | Line 3274 | if test -z "$CC"; then
3274   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276   $as_echo_n "checking for $ac_word... " >&6; }
3277 < if test "${ac_cv_prog_CC+set}" = set; then :
3277 > if ${ac_cv_prog_CC+:} false; then :
3278    $as_echo_n "(cached) " >&6
3279   else
3280    if test -n "$CC"; then
# Line 3241 | Line 3286 | do
3286    IFS=$as_save_IFS
3287    test -z "$as_dir" && as_dir=.
3288      for ac_exec_ext in '' $ac_executable_extensions; do
3289 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3289 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3291      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292      break 2
# Line 3273 | Line 3318 | do
3318   set dummy $ac_prog; ac_word=$2
3319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320   $as_echo_n "checking for $ac_word... " >&6; }
3321 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3321 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3322    $as_echo_n "(cached) " >&6
3323   else
3324    if test -n "$ac_ct_CC"; then
# Line 3285 | Line 3330 | do
3330    IFS=$as_save_IFS
3331    test -z "$as_dir" && as_dir=.
3332      for ac_exec_ext in '' $ac_executable_extensions; do
3333 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3333 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334      ac_cv_prog_ac_ct_CC="$ac_prog"
3335      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336      break 2
# Line 3327 | Line 3372 | fi
3372  
3373   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 < as_fn_error "no acceptable C compiler found in \$PATH
3376 < See \`config.log' for more details." "$LINENO" 5; }
3375 > as_fn_error $? "no acceptable C compiler found in \$PATH
3376 > See \`config.log' for more details" "$LINENO" 5; }
3377  
3378   # Provide some information about the compiler.
3379   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3487 | sed 's/^/| /' conftest.$ac_ext >&5
3487  
3488   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 < { as_fn_set_status 77
3491 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3490 > as_fn_error 77 "C compiler cannot create executables
3491 > See \`config.log' for more details" "$LINENO" 5; }
3492   else
3493    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494   $as_echo "yes" >&6; }
# Line 3486 | Line 3530 | done
3530   else
3531    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3534 < See \`config.log' for more details." "$LINENO" 5; }
3533 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3534 > See \`config.log' for more details" "$LINENO" 5; }
3535   fi
3536   rm -f conftest conftest$ac_cv_exeext
3537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3588 | $as_echo "$ac_try_echo"; } >&5
3588      else
3589          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 < as_fn_error "cannot run C compiled programs.
3591 > as_fn_error $? "cannot run C compiled programs.
3592   If you meant to cross compile, use \`--host'.
3593 < See \`config.log' for more details." "$LINENO" 5; }
3593 > See \`config.log' for more details" "$LINENO" 5; }
3594      fi
3595    fi
3596   fi
# Line 3557 | Line 3601 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3601   ac_clean_files=$ac_clean_files_save
3602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3603   $as_echo_n "checking for suffix of object files... " >&6; }
3604 < if test "${ac_cv_objext+set}" = set; then :
3604 > if ${ac_cv_objext+:} false; then :
3605    $as_echo_n "(cached) " >&6
3606   else
3607    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3641 | sed 's/^/| /' conftest.$ac_ext >&5
3641  
3642   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 < as_fn_error "cannot compute suffix of object files: cannot compile
3645 < See \`config.log' for more details." "$LINENO" 5; }
3644 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3645 > See \`config.log' for more details" "$LINENO" 5; }
3646   fi
3647   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3648   fi
# Line 3608 | Line 3652 | OBJEXT=$ac_cv_objext
3652   ac_objext=$OBJEXT
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3654   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3655 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3655 > if ${ac_cv_c_compiler_gnu+:} false; then :
3656    $as_echo_n "(cached) " >&6
3657   else
3658    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3689 | ac_test_CFLAGS=${CFLAGS+set}
3689   ac_save_CFLAGS=$CFLAGS
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3691   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3692 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3692 > if ${ac_cv_prog_cc_g+:} false; then :
3693    $as_echo_n "(cached) " >&6
3694   else
3695    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3767 | else
3767   fi
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3769   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3770 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3770 > if ${ac_cv_prog_cc_c89+:} false; then :
3771    $as_echo_n "(cached) " >&6
3772   else
3773    ac_cv_prog_cc_c89=no
# Line 3732 | Line 3776 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3776   /* end confdefs.h.  */
3777   #include <stdarg.h>
3778   #include <stdio.h>
3779 < #include <sys/types.h>
3736 < #include <sys/stat.h>
3779 > struct stat;
3780   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3781   struct buf { int x; };
3782   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3822 | Line 3865 | depcc="$CC"   am_compiler_list=
3865  
3866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3867   $as_echo_n "checking dependency style of $depcc... " >&6; }
3868 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3868 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3869    $as_echo_n "(cached) " >&6
3870   else
3871    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3872    # We make a subdir and do the tests there.  Otherwise we can end up
3873    # making bogus files that we don't know about and never remove.  For
3874    # instance it was reported that on HP-UX the gcc test will end up
3875 <  # making a dummy file named `D' -- because `-MD' means `put the output
3876 <  # in D'.
3875 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3876 >  # in D".
3877 >  rm -rf conftest.dir
3878    mkdir conftest.dir
3879    # Copy depcomp to subdir because otherwise we won't find it if we're
3880    # using a relative directory.
# Line 3864 | Line 3908 | else
3908      : > sub/conftest.c
3909      for i in 1 2 3 4 5 6; do
3910        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3911 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3912 <      # Solaris 8's {/usr,}/bin/sh.
3913 <      touch sub/conftst$i.h
3911 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3912 >      # Solaris 10 /bin/sh.
3913 >      echo '/* dummy */' > sub/conftst$i.h
3914      done
3915      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3916  
3917 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3917 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3918      # mode.  It turns out that the SunPro C++ compiler does not properly
3919 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3920 <    # versions had trouble with output in subdirs
3919 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3920 >    # versions had trouble with output in subdirs.
3921      am__obj=sub/conftest.${OBJEXT-o}
3922      am__minus_obj="-o $am__obj"
3923      case $depmode in
# Line 3882 | Line 3926 | else
3926        test "$am__universal" = false || continue
3927        ;;
3928      nosideeffect)
3929 <      # after this tag, mechanisms are not by side-effect, so they'll
3930 <      # only be used when explicitly requested
3929 >      # After this tag, mechanisms are not by side-effect, so they'll
3930 >      # only be used when explicitly requested.
3931        if test "x$enable_dependency_tracking" = xyes; then
3932          continue
3933        else
3934          break
3935        fi
3936        ;;
3937 <    msvisualcpp | msvcmsys)
3938 <      # This compiler won't grok `-c -o', but also, the minuso test has
3937 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3938 >      # This compiler won't grok '-c -o', but also, the minuso test has
3939        # not run yet.  These depmodes are late enough in the game, and
3940        # so weak that their functioning should not be impacted.
3941        am__obj=conftest.${OBJEXT-o}
# Line 3947 | Line 3991 | fi
3991  
3992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3993   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3994 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3994 > if ${ac_cv_prog_cc_c99+:} false; then :
3995    $as_echo_n "(cached) " >&6
3996   else
3997    ac_cv_prog_cc_c99=no
# Line 4091 | Line 4135 | main ()
4135    return 0;
4136   }
4137   _ACEOF
4138 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4138 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4139   do
4140    CC="$ac_save_CC $ac_arg"
4141    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4123 | Line 4167 | fi
4167  
4168  
4169   if test "$ac_cv_prog_cc_c99" = "no"; then :
4170 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4170 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4171   fi
4172   for ac_prog in 'bison -y' byacc
4173   do
# Line 4131 | Line 4175 | do
4175   set dummy $ac_prog; ac_word=$2
4176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177   $as_echo_n "checking for $ac_word... " >&6; }
4178 < if test "${ac_cv_prog_YACC+set}" = set; then :
4178 > if ${ac_cv_prog_YACC+:} false; then :
4179    $as_echo_n "(cached) " >&6
4180   else
4181    if test -n "$YACC"; then
# Line 4143 | Line 4187 | do
4187    IFS=$as_save_IFS
4188    test -z "$as_dir" && as_dir=.
4189      for ac_exec_ext in '' $ac_executable_extensions; do
4190 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4190 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4191      ac_cv_prog_YACC="$ac_prog"
4192      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193      break 2
# Line 4175 | Line 4219 | do
4219   set dummy $ac_prog; ac_word=$2
4220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221   $as_echo_n "checking for $ac_word... " >&6; }
4222 < if test "${ac_cv_prog_LEX+set}" = set; then :
4222 > if ${ac_cv_prog_LEX+:} false; then :
4223    $as_echo_n "(cached) " >&6
4224   else
4225    if test -n "$LEX"; then
# Line 4187 | Line 4231 | do
4231    IFS=$as_save_IFS
4232    test -z "$as_dir" && as_dir=.
4233      for ac_exec_ext in '' $ac_executable_extensions; do
4234 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235      ac_cv_prog_LEX="$ac_prog"
4236      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237      break 2
# Line 4219 | Line 4263 | a { ECHO; }
4263   b { REJECT; }
4264   c { yymore (); }
4265   d { yyless (1); }
4266 < e { yyless (input () != 0); }
4266 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4267 >    yyless ((input () != 0)); }
4268   f { unput (yytext[0]); }
4269   . { BEGIN INITIAL; }
4270   %%
# Line 4245 | Line 4290 | $as_echo "$ac_try_echo"; } >&5
4290    test $ac_status = 0; }
4291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4292   $as_echo_n "checking lex output file root... " >&6; }
4293 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4293 > if ${ac_cv_prog_lex_root+:} false; then :
4294    $as_echo_n "(cached) " >&6
4295   else
4296  
# Line 4254 | Line 4299 | if test -f lex.yy.c; then
4299   elif test -f lexyy.c; then
4300    ac_cv_prog_lex_root=lexyy
4301   else
4302 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4302 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4303   fi
4304   fi
4305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4309 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4309   if test -z "${LEXLIB+set}"; then
4310    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4311   $as_echo_n "checking lex library... " >&6; }
4312 < if test "${ac_cv_lib_lex+set}" = set; then :
4312 > if ${ac_cv_lib_lex+:} false; then :
4313    $as_echo_n "(cached) " >&6
4314   else
4315  
# Line 4294 | Line 4339 | fi
4339  
4340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4341   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4342 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4342 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4343    $as_echo_n "(cached) " >&6
4344   else
4345    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4350 | ac_save_LIBS=$LIBS
4350   LIBS="$LEXLIB $ac_save_LIBS"
4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352   /* end confdefs.h.  */
4353 < #define YYTEXT_POINTER 1
4353 >
4354 >  #define YYTEXT_POINTER 1
4355   `cat $LEX_OUTPUT_ROOT.c`
4356   _ACEOF
4357   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4393 | esac
4393  
4394  
4395  
4396 < macro_version='2.2.10'
4397 < macro_revision='1.3175'
4396 > macro_version='2.4.2'
4397 > macro_revision='1.3337'
4398  
4399  
4400  
# Line 4366 | Line 4412 | ltmain="$ac_aux_dir/ltmain.sh"
4412  
4413   # Make sure we can run config.sub.
4414   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4415 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4415 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4416  
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4418   $as_echo_n "checking build system type... " >&6; }
4419 < if test "${ac_cv_build+set}" = set; then :
4419 > if ${ac_cv_build+:} false; then :
4420    $as_echo_n "(cached) " >&6
4421   else
4422    ac_build_alias=$build_alias
4423   test "x$ac_build_alias" = x &&
4424    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4425   test "x$ac_build_alias" = x &&
4426 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4426 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4427   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4428 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4428 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4429  
4430   fi
4431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4432   $as_echo "$ac_cv_build" >&6; }
4433   case $ac_cv_build in
4434   *-*-*) ;;
4435 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4435 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4436   esac
4437   build=$ac_cv_build
4438   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4450 | case $build_os in *\ *) build_os=`echo "
4450  
4451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4452   $as_echo_n "checking host system type... " >&6; }
4453 < if test "${ac_cv_host+set}" = set; then :
4453 > if ${ac_cv_host+:} false; then :
4454    $as_echo_n "(cached) " >&6
4455   else
4456    if test "x$host_alias" = x; then
4457    ac_cv_host=$ac_cv_build
4458   else
4459    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4460 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4460 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4461   fi
4462  
4463   fi
# Line 4419 | Line 4465 | fi
4465   $as_echo "$ac_cv_host" >&6; }
4466   case $ac_cv_host in
4467   *-*-*) ;;
4468 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4468 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4469   esac
4470   host=$ac_cv_host
4471   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4505 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4506   $as_echo_n "checking how to print strings... " >&6; }
4507   # Test print first, because it will be a builtin if present.
4508 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4508 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4509     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4510    ECHO='print -r --'
4511   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4552 | esac
4552  
4553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4554   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4555 < if test "${ac_cv_path_SED+set}" = set; then :
4555 > if ${ac_cv_path_SED+:} false; then :
4556    $as_echo_n "(cached) " >&6
4557   else
4558              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4526 | Line 4572 | do
4572      for ac_prog in sed gsed; do
4573      for ac_exec_ext in '' $ac_executable_extensions; do
4574        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4575 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4575 >      as_fn_executable_p "$ac_path_SED" || continue
4576   # Check for GNU ac_path_SED and select it if it is found.
4577    # Check for GNU $ac_path_SED
4578   case `"$ac_path_SED" --version 2>&1` in
# Line 4561 | Line 4607 | esac
4607    done
4608   IFS=$as_save_IFS
4609    if test -z "$ac_cv_path_SED"; then
4610 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4610 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4611    fi
4612   else
4613    ac_cv_path_SED=$SED
# Line 4588 | Line 4634 | Xsed="$SED -e 1s/^X//"
4634  
4635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4636   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4637 < if test "${ac_cv_path_GREP+set}" = set; then :
4637 > if ${ac_cv_path_GREP+:} false; then :
4638    $as_echo_n "(cached) " >&6
4639   else
4640    if test -z "$GREP"; then
# Line 4602 | Line 4648 | do
4648      for ac_prog in grep ggrep; do
4649      for ac_exec_ext in '' $ac_executable_extensions; do
4650        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4651 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4651 >      as_fn_executable_p "$ac_path_GREP" || continue
4652   # Check for GNU ac_path_GREP and select it if it is found.
4653    # Check for GNU $ac_path_GREP
4654   case `"$ac_path_GREP" --version 2>&1` in
# Line 4637 | Line 4683 | esac
4683    done
4684   IFS=$as_save_IFS
4685    if test -z "$ac_cv_path_GREP"; then
4686 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4686 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4687    fi
4688   else
4689    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4697 | $as_echo "$ac_cv_path_GREP" >&6; }
4697  
4698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4699   $as_echo_n "checking for egrep... " >&6; }
4700 < if test "${ac_cv_path_EGREP+set}" = set; then :
4700 > if ${ac_cv_path_EGREP+:} false; then :
4701    $as_echo_n "(cached) " >&6
4702   else
4703    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4668 | Line 4714 | do
4714      for ac_prog in egrep; do
4715      for ac_exec_ext in '' $ac_executable_extensions; do
4716        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4717 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4717 >      as_fn_executable_p "$ac_path_EGREP" || continue
4718   # Check for GNU ac_path_EGREP and select it if it is found.
4719    # Check for GNU $ac_path_EGREP
4720   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4703 | Line 4749 | esac
4749    done
4750   IFS=$as_save_IFS
4751    if test -z "$ac_cv_path_EGREP"; then
4752 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4752 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4753    fi
4754   else
4755    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4764 | $as_echo "$ac_cv_path_EGREP" >&6; }
4764  
4765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4766   $as_echo_n "checking for fgrep... " >&6; }
4767 < if test "${ac_cv_path_FGREP+set}" = set; then :
4767 > if ${ac_cv_path_FGREP+:} false; then :
4768    $as_echo_n "(cached) " >&6
4769   else
4770    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4735 | Line 4781 | do
4781      for ac_prog in fgrep; do
4782      for ac_exec_ext in '' $ac_executable_extensions; do
4783        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4784 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4784 >      as_fn_executable_p "$ac_path_FGREP" || continue
4785   # Check for GNU ac_path_FGREP and select it if it is found.
4786    # Check for GNU $ac_path_FGREP
4787   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4770 | Line 4816 | esac
4816    done
4817   IFS=$as_save_IFS
4818    if test -z "$ac_cv_path_FGREP"; then
4819 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4819 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4820    fi
4821   else
4822    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 4895 | else
4895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4896   $as_echo_n "checking for non-GNU ld... " >&6; }
4897   fi
4898 < if test "${lt_cv_path_LD+set}" = set; then :
4898 > if ${lt_cv_path_LD+:} false; then :
4899    $as_echo_n "(cached) " >&6
4900   else
4901    if test -z "$LD"; then
# Line 4886 | Line 4932 | else
4932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933   $as_echo "no" >&6; }
4934   fi
4935 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4935 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4937   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4938 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4938 > if ${lt_cv_prog_gnu_ld+:} false; then :
4939    $as_echo_n "(cached) " >&6
4940   else
4941    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 4962 | with_gnu_ld=$lt_cv_prog_gnu_ld
4962  
4963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4964   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4965 < if test "${lt_cv_path_NM+set}" = set; then :
4965 > if ${lt_cv_path_NM+:} false; then :
4966    $as_echo_n "(cached) " >&6
4967   else
4968    if test -n "$NM"; then
# Line 4979 | Line 5025 | else
5025   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027   $as_echo_n "checking for $ac_word... " >&6; }
5028 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5028 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5029    $as_echo_n "(cached) " >&6
5030   else
5031    if test -n "$DUMPBIN"; then
# Line 4991 | Line 5037 | do
5037    IFS=$as_save_IFS
5038    test -z "$as_dir" && as_dir=.
5039      for ac_exec_ext in '' $ac_executable_extensions; do
5040 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5041      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5042      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043      break 2
# Line 5023 | Line 5069 | do
5069   set dummy $ac_prog; ac_word=$2
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071   $as_echo_n "checking for $ac_word... " >&6; }
5072 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5072 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5073    $as_echo_n "(cached) " >&6
5074   else
5075    if test -n "$ac_ct_DUMPBIN"; then
# Line 5035 | Line 5081 | do
5081    IFS=$as_save_IFS
5082    test -z "$as_dir" && as_dir=.
5083      for ac_exec_ext in '' $ac_executable_extensions; do
5084 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5086      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087      break 2
# Line 5095 | Line 5141 | test -z "$NM" && NM=nm
5141  
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5143   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5144 < if test "${lt_cv_nm_interface+set}" = set; then :
5144 > if ${lt_cv_nm_interface+:} false; then :
5145    $as_echo_n "(cached) " >&6
5146   else
5147    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5176 | fi
5176   # find the maximum length of command line arguments
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5178   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5179 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5179 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5180    $as_echo_n "(cached) " >&6
5181   else
5182      i=0
# Line 5193 | Line 5239 | else
5239      lt_cv_sys_max_cmd_len=196608
5240      ;;
5241  
5242 +  os2*)
5243 +    # The test takes a long time on OS/2.
5244 +    lt_cv_sys_max_cmd_len=8192
5245 +    ;;
5246 +
5247    osf*)
5248      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5249      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5283 | else
5283        # If test is not a shell built-in, we'll probably end up computing a
5284        # maximum length that is only half of the actual maximum length, but
5285        # we can't tell.
5286 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5286 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5287                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5288                test $i != 17 # 1/2 MB should be enough
5289        do
# Line 5275 | Line 5326 | $as_echo_n "checking whether the shell u
5326   # Try some XSI features
5327   xsi_shell=no
5328   ( _lt_dummy="a/b/c"
5329 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5330 <      = c,a/b,, \
5329 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5330 >      = c,a/b,b/c, \
5331      && eval 'test $(( 1 + 1 )) -eq 2 \
5332      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5333    && xsi_shell=yes
# Line 5325 | Line 5376 | esac
5376  
5377  
5378  
5379 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5380 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5381 + if ${lt_cv_to_host_file_cmd+:} false; then :
5382 +  $as_echo_n "(cached) " >&6
5383 + else
5384 +  case $host in
5385 +  *-*-mingw* )
5386 +    case $build in
5387 +      *-*-mingw* ) # actually msys
5388 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5389 +        ;;
5390 +      *-*-cygwin* )
5391 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5392 +        ;;
5393 +      * ) # otherwise, assume *nix
5394 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5395 +        ;;
5396 +    esac
5397 +    ;;
5398 +  *-*-cygwin* )
5399 +    case $build in
5400 +      *-*-mingw* ) # actually msys
5401 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5402 +        ;;
5403 +      *-*-cygwin* )
5404 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5405 +        ;;
5406 +      * ) # otherwise, assume *nix
5407 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5408 +        ;;
5409 +    esac
5410 +    ;;
5411 +  * ) # unhandled hosts (and "normal" native builds)
5412 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5413 +    ;;
5414 + esac
5415 +
5416 + fi
5417 +
5418 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5419 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5420 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5421 +
5422 +
5423 +
5424 +
5425 +
5426 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5427 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5428 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5429 +  $as_echo_n "(cached) " >&6
5430 + else
5431 +  #assume ordinary cross tools, or native build.
5432 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5433 + case $host in
5434 +  *-*-mingw* )
5435 +    case $build in
5436 +      *-*-mingw* ) # actually msys
5437 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5438 +        ;;
5439 +    esac
5440 +    ;;
5441 + esac
5442 +
5443 + fi
5444 +
5445 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5446 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5447 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5448 +
5449 +
5450 +
5451 +
5452 +
5453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5454   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5455 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5455 > if ${lt_cv_ld_reload_flag+:} false; then :
5456    $as_echo_n "(cached) " >&6
5457   else
5458    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5466 | case $reload_flag in
5466   esac
5467   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5468   case $host_os in
5469 +  cygwin* | mingw* | pw32* | cegcc*)
5470 +    if test "$GCC" != yes; then
5471 +      reload_cmds=false
5472 +    fi
5473 +    ;;
5474    darwin*)
5475      if test "$GCC" = yes; then
5476        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5493 | if test -n "$ac_tool_prefix"; then
5493   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495   $as_echo_n "checking for $ac_word... " >&6; }
5496 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5496 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5497    $as_echo_n "(cached) " >&6
5498   else
5499    if test -n "$OBJDUMP"; then
# Line 5375 | Line 5505 | do
5505    IFS=$as_save_IFS
5506    test -z "$as_dir" && as_dir=.
5507      for ac_exec_ext in '' $ac_executable_extensions; do
5508 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5510      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511      break 2
# Line 5403 | Line 5533 | if test -z "$ac_cv_prog_OBJDUMP"; then
5533   set dummy objdump; ac_word=$2
5534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5535   $as_echo_n "checking for $ac_word... " >&6; }
5536 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5536 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5537    $as_echo_n "(cached) " >&6
5538   else
5539    if test -n "$ac_ct_OBJDUMP"; then
# Line 5415 | Line 5545 | do
5545    IFS=$as_save_IFS
5546    test -z "$as_dir" && as_dir=.
5547      for ac_exec_ext in '' $ac_executable_extensions; do
5548 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5550      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551      break 2
# Line 5462 | Line 5592 | test -z "$OBJDUMP" && OBJDUMP=objdump
5592  
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5594   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5595 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5595 > if ${lt_cv_deplibs_check_method+:} false; then :
5596    $as_echo_n "(cached) " >&6
5597   else
5598    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5582 | Line 5712 | irix5* | irix6* | nonstopux*)
5712    lt_cv_deplibs_check_method=pass_all
5713    ;;
5714  
5715 < # This must be Linux ELF.
5715 > # This must be glibc/ELF.
5716   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5717    lt_cv_deplibs_check_method=pass_all
5718    ;;
# Line 5664 | Line 5794 | esac
5794   fi
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5796   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5797 +
5798 + file_magic_glob=
5799 + want_nocaseglob=no
5800 + if test "$build" = "$host"; then
5801 +  case $host_os in
5802 +  mingw* | pw32*)
5803 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5804 +      want_nocaseglob=yes
5805 +    else
5806 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5807 +    fi
5808 +    ;;
5809 +  esac
5810 + fi
5811 +
5812   file_magic_cmd=$lt_cv_file_magic_cmd
5813   deplibs_check_method=$lt_cv_deplibs_check_method
5814   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5824 | test -z "$deplibs_check_method" && depli
5824  
5825  
5826  
5827 +
5828 +
5829 +
5830 +
5831 +
5832 +
5833 +
5834 +
5835 +
5836 +
5837   if test -n "$ac_tool_prefix"; then
5838 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5839 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5838 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5839 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841   $as_echo_n "checking for $ac_word... " >&6; }
5842 < if test "${ac_cv_prog_AR+set}" = set; then :
5842 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5843 >  $as_echo_n "(cached) " >&6
5844 > else
5845 >  if test -n "$DLLTOOL"; then
5846 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5847 > else
5848 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 > for as_dir in $PATH
5850 > do
5851 >  IFS=$as_save_IFS
5852 >  test -z "$as_dir" && as_dir=.
5853 >    for ac_exec_ext in '' $ac_executable_extensions; do
5854 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5856 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 >    break 2
5858 >  fi
5859 > done
5860 >  done
5861 > IFS=$as_save_IFS
5862 >
5863 > fi
5864 > fi
5865 > DLLTOOL=$ac_cv_prog_DLLTOOL
5866 > if test -n "$DLLTOOL"; then
5867 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5868 > $as_echo "$DLLTOOL" >&6; }
5869 > else
5870 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 > $as_echo "no" >&6; }
5872 > fi
5873 >
5874 >
5875 > fi
5876 > if test -z "$ac_cv_prog_DLLTOOL"; then
5877 >  ac_ct_DLLTOOL=$DLLTOOL
5878 >  # Extract the first word of "dlltool", so it can be a program name with args.
5879 > set dummy dlltool; ac_word=$2
5880 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 > $as_echo_n "checking for $ac_word... " >&6; }
5882 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5883 >  $as_echo_n "(cached) " >&6
5884 > else
5885 >  if test -n "$ac_ct_DLLTOOL"; then
5886 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5887 > else
5888 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 > for as_dir in $PATH
5890 > do
5891 >  IFS=$as_save_IFS
5892 >  test -z "$as_dir" && as_dir=.
5893 >    for ac_exec_ext in '' $ac_executable_extensions; do
5894 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5896 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 >    break 2
5898 >  fi
5899 > done
5900 >  done
5901 > IFS=$as_save_IFS
5902 >
5903 > fi
5904 > fi
5905 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5906 > if test -n "$ac_ct_DLLTOOL"; then
5907 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5908 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5909 > else
5910 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 > $as_echo "no" >&6; }
5912 > fi
5913 >
5914 >  if test "x$ac_ct_DLLTOOL" = x; then
5915 >    DLLTOOL="false"
5916 >  else
5917 >    case $cross_compiling:$ac_tool_warned in
5918 > yes:)
5919 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5920 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5921 > ac_tool_warned=yes ;;
5922 > esac
5923 >    DLLTOOL=$ac_ct_DLLTOOL
5924 >  fi
5925 > else
5926 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5927 > fi
5928 >
5929 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5930 >
5931 >
5932 >
5933 >
5934 >
5935 >
5936 >
5937 >
5938 >
5939 >
5940 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5941 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5942 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5943 >  $as_echo_n "(cached) " >&6
5944 > else
5945 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5946 >
5947 > case $host_os in
5948 > cygwin* | mingw* | pw32* | cegcc*)
5949 >  # two different shell functions defined in ltmain.sh
5950 >  # decide which to use based on capabilities of $DLLTOOL
5951 >  case `$DLLTOOL --help 2>&1` in
5952 >  *--identify-strict*)
5953 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5954 >    ;;
5955 >  *)
5956 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5957 >    ;;
5958 >  esac
5959 >  ;;
5960 > *)
5961 >  # fallback: assume linklib IS sharedlib
5962 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5963 >  ;;
5964 > esac
5965 >
5966 > fi
5967 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5968 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5969 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5970 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5971 >
5972 >
5973 >
5974 >
5975 >
5976 >
5977 >
5978 > if test -n "$ac_tool_prefix"; then
5979 >  for ac_prog in ar
5980 >  do
5981 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5982 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5983 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 > $as_echo_n "checking for $ac_word... " >&6; }
5985 > if ${ac_cv_prog_AR+:} false; then :
5986    $as_echo_n "(cached) " >&6
5987   else
5988    if test -n "$AR"; then
# Line 5696 | Line 5994 | do
5994    IFS=$as_save_IFS
5995    test -z "$as_dir" && as_dir=.
5996      for ac_exec_ext in '' $ac_executable_extensions; do
5997 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5997 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5999      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000      break 2
6001    fi
# Line 5717 | Line 6015 | $as_echo "no" >&6; }
6015   fi
6016  
6017  
6018 +    test -n "$AR" && break
6019 +  done
6020   fi
6021 < if test -z "$ac_cv_prog_AR"; then
6021 > if test -z "$AR"; then
6022    ac_ct_AR=$AR
6023 <  # Extract the first word of "ar", so it can be a program name with args.
6024 < set dummy ar; ac_word=$2
6023 >  for ac_prog in ar
6024 > do
6025 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6026 > set dummy $ac_prog; ac_word=$2
6027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028   $as_echo_n "checking for $ac_word... " >&6; }
6029 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6029 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6030    $as_echo_n "(cached) " >&6
6031   else
6032    if test -n "$ac_ct_AR"; then
# Line 5736 | Line 6038 | do
6038    IFS=$as_save_IFS
6039    test -z "$as_dir" && as_dir=.
6040      for ac_exec_ext in '' $ac_executable_extensions; do
6041 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042 <    ac_cv_prog_ac_ct_AR="ar"
6041 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6043      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044      break 2
6045    fi
# Line 5756 | Line 6058 | else
6058   $as_echo "no" >&6; }
6059   fi
6060  
6061 +
6062 +  test -n "$ac_ct_AR" && break
6063 + done
6064 +
6065    if test "x$ac_ct_AR" = x; then
6066      AR="false"
6067    else
# Line 5767 | Line 6073 | ac_tool_warned=yes ;;
6073   esac
6074      AR=$ac_ct_AR
6075    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6076   fi
6077  
6078 < test -z "$AR" && AR=ar
6079 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6078 > : ${AR=ar}
6079 > : ${AR_FLAGS=cru}
6080 >
6081 >
6082 >
6083 >
6084 >
6085 >
6086 >
6087 >
6088 >
6089 >
6090 >
6091 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6092 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6093 > if ${lt_cv_ar_at_file+:} false; then :
6094 >  $as_echo_n "(cached) " >&6
6095 > else
6096 >  lt_cv_ar_at_file=no
6097 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 > /* end confdefs.h.  */
6099 >
6100 > int
6101 > main ()
6102 > {
6103  
6104 +  ;
6105 +  return 0;
6106 + }
6107 + _ACEOF
6108 + if ac_fn_c_try_compile "$LINENO"; then :
6109 +  echo conftest.$ac_objext > conftest.lst
6110 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6111 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6112 +  (eval $lt_ar_try) 2>&5
6113 +  ac_status=$?
6114 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6115 +  test $ac_status = 0; }
6116 +      if test "$ac_status" -eq 0; then
6117 +        # Ensure the archiver fails upon bogus file names.
6118 +        rm -f conftest.$ac_objext libconftest.a
6119 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6120 +  (eval $lt_ar_try) 2>&5
6121 +  ac_status=$?
6122 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6123 +  test $ac_status = 0; }
6124 +        if test "$ac_status" -ne 0; then
6125 +          lt_cv_ar_at_file=@
6126 +        fi
6127 +      fi
6128 +      rm -f conftest.* libconftest.a
6129  
6130 + fi
6131 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132  
6133 + fi
6134 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6135 + $as_echo "$lt_cv_ar_at_file" >&6; }
6136  
6137 + if test "x$lt_cv_ar_at_file" = xno; then
6138 +  archiver_list_spec=
6139 + else
6140 +  archiver_list_spec=$lt_cv_ar_at_file
6141 + fi
6142  
6143  
6144  
# Line 5789 | Line 6151 | if test -n "$ac_tool_prefix"; then
6151   set dummy ${ac_tool_prefix}strip; ac_word=$2
6152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153   $as_echo_n "checking for $ac_word... " >&6; }
6154 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6154 > if ${ac_cv_prog_STRIP+:} false; then :
6155    $as_echo_n "(cached) " >&6
6156   else
6157    if test -n "$STRIP"; then
# Line 5801 | Line 6163 | do
6163    IFS=$as_save_IFS
6164    test -z "$as_dir" && as_dir=.
6165      for ac_exec_ext in '' $ac_executable_extensions; do
6166 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6166 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6168      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169      break 2
# Line 5829 | Line 6191 | if test -z "$ac_cv_prog_STRIP"; then
6191   set dummy strip; ac_word=$2
6192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193   $as_echo_n "checking for $ac_word... " >&6; }
6194 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6194 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6195    $as_echo_n "(cached) " >&6
6196   else
6197    if test -n "$ac_ct_STRIP"; then
# Line 5841 | Line 6203 | do
6203    IFS=$as_save_IFS
6204    test -z "$as_dir" && as_dir=.
6205      for ac_exec_ext in '' $ac_executable_extensions; do
6206 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6206 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207      ac_cv_prog_ac_ct_STRIP="strip"
6208      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209      break 2
# Line 5888 | Line 6250 | if test -n "$ac_tool_prefix"; then
6250   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252   $as_echo_n "checking for $ac_word... " >&6; }
6253 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6253 > if ${ac_cv_prog_RANLIB+:} false; then :
6254    $as_echo_n "(cached) " >&6
6255   else
6256    if test -n "$RANLIB"; then
# Line 5900 | Line 6262 | do
6262    IFS=$as_save_IFS
6263    test -z "$as_dir" && as_dir=.
6264      for ac_exec_ext in '' $ac_executable_extensions; do
6265 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6267      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268      break 2
# Line 5928 | Line 6290 | if test -z "$ac_cv_prog_RANLIB"; then
6290   set dummy ranlib; ac_word=$2
6291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292   $as_echo_n "checking for $ac_word... " >&6; }
6293 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6293 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6294    $as_echo_n "(cached) " >&6
6295   else
6296    if test -n "$ac_ct_RANLIB"; then
# Line 5940 | Line 6302 | do
6302    IFS=$as_save_IFS
6303    test -z "$as_dir" && as_dir=.
6304      for ac_exec_ext in '' $ac_executable_extensions; do
6305 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306      ac_cv_prog_ac_ct_RANLIB="ranlib"
6307      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308      break 2
# Line 5990 | Line 6352 | old_postuninstall_cmds=
6352   if test -n "$RANLIB"; then
6353    case $host_os in
6354    openbsd*)
6355 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6355 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6356      ;;
6357    *)
6358 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6358 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6359      ;;
6360    esac
6361 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6361 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6362   fi
6363  
6364   case $host_os in
# Line 6057 | Line 6419 | compiler=$CC
6419   # Check for command to grab the raw symbol name followed by C symbol from nm.
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6421   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6422 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6422 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6423    $as_echo_n "(cached) " >&6
6424   else
6425  
# Line 6118 | Line 6480 | esac
6480   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6481  
6482   # Transform an extracted symbol line into symbol name and symbol address
6483 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6484 < 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'"
6483 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6484 > 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'"
6485  
6486   # Handle CRLF in mingw tool chain
6487   opt_cr=
# Line 6143 | Line 6505 | for ac_symprfx in "" "_"; do
6505      # which start with @ or ?.
6506      lt_cv_sys_global_symbol_pipe="$AWK '"\
6507   "     {last_section=section; section=\$ 3};"\
6508 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6509   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6510   "     \$ 0!~/External *\|/{next};"\
6511   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6518 | for ac_symprfx in "" "_"; do
6518    else
6519      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6520    fi
6521 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6522  
6523    # Check to see that the pipe works correctly.
6524    pipe_works=no
# Line 6196 | Line 6560 | _LT_EOF
6560        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6561          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6562            cat <<_LT_EOF > conftest.$ac_ext
6563 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6564 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6565 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6566 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6567 + # define LT_DLSYM_CONST
6568 + #elif defined(__osf__)
6569 + /* This system does not cope well with relocations in const data.  */
6570 + # define LT_DLSYM_CONST
6571 + #else
6572 + # define LT_DLSYM_CONST const
6573 + #endif
6574 +
6575   #ifdef __cplusplus
6576   extern "C" {
6577   #endif
# Line 6207 | Line 6583 | _LT_EOF
6583            cat <<_LT_EOF >> conftest.$ac_ext
6584  
6585   /* The mapping between symbol names and symbols.  */
6586 < const struct {
6586 > LT_DLSYM_CONST struct {
6587    const char *name;
6588    void       *address;
6589   }
# Line 6233 | Line 6609 | static const void *lt_preloaded_setup()
6609   _LT_EOF
6610            # Now try linking the two files.
6611            mv conftest.$ac_objext conftstm.$ac_objext
6612 <          lt_save_LIBS="$LIBS"
6613 <          lt_save_CFLAGS="$CFLAGS"
6612 >          lt_globsym_save_LIBS=$LIBS
6613 >          lt_globsym_save_CFLAGS=$CFLAGS
6614            LIBS="conftstm.$ac_objext"
6615            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6616            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6620 | _LT_EOF
6620    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6621              pipe_works=yes
6622            fi
6623 <          LIBS="$lt_save_LIBS"
6624 <          CFLAGS="$lt_save_CFLAGS"
6623 >          LIBS=$lt_globsym_save_LIBS
6624 >          CFLAGS=$lt_globsym_save_CFLAGS
6625          else
6626            echo "cannot find nm_test_func in $nlist" >&5
6627          fi
# Line 6282 | Line 6658 | else
6658   $as_echo "ok" >&6; }
6659   fi
6660  
6661 + # Response file support.
6662 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6663 +  nm_file_list_spec='@'
6664 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6665 +  nm_file_list_spec='@'
6666 + fi
6667 +
6668  
6669  
6670  
# Line 6303 | Line 6686 | fi
6686  
6687  
6688  
6689 +
6690 +
6691 +
6692 +
6693 +
6694 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6695 + $as_echo_n "checking for sysroot... " >&6; }
6696 +
6697 + # Check whether --with-sysroot was given.
6698 + if test "${with_sysroot+set}" = set; then :
6699 +  withval=$with_sysroot;
6700 + else
6701 +  with_sysroot=no
6702 + fi
6703 +
6704 +
6705 + lt_sysroot=
6706 + case ${with_sysroot} in #(
6707 + yes)
6708 +   if test "$GCC" = yes; then
6709 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6710 +   fi
6711 +   ;; #(
6712 + /*)
6713 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6714 +   ;; #(
6715 + no|'')
6716 +   ;; #(
6717 + *)
6718 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6719 + $as_echo "${with_sysroot}" >&6; }
6720 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6721 +   ;;
6722 + esac
6723 +
6724 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6725 + $as_echo "${lt_sysroot:-no}" >&6; }
6726 +
6727 +
6728 +
6729 +
6730 +
6731   # Check whether --enable-libtool-lock was given.
6732   if test "${enable_libtool_lock+set}" = set; then :
6733    enableval=$enable_libtool_lock;
# Line 6428 | Line 6853 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6853    CFLAGS="$CFLAGS -belf"
6854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6855   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6856 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6856 > if ${lt_cv_cc_needs_belf+:} false; then :
6857    $as_echo_n "(cached) " >&6
6858   else
6859    ac_ext=c
# Line 6469 | Line 6894 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6894      CFLAGS="$SAVE_CFLAGS"
6895    fi
6896    ;;
6897 < sparc*-*solaris*)
6897 > *-*solaris*)
6898    # Find out which ABI we are using.
6899    echo 'int i;' > conftest.$ac_ext
6900    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6905 | sparc*-*solaris*)
6905      case `/usr/bin/file conftest.o` in
6906      *64-bit*)
6907        case $lt_cv_prog_gnu_ld in
6908 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6908 >      yes*)
6909 >        case $host in
6910 >        i?86-*-solaris*)
6911 >          LD="${LD-ld} -m elf_x86_64"
6912 >          ;;
6913 >        sparc*-*-solaris*)
6914 >          LD="${LD-ld} -m elf64_sparc"
6915 >          ;;
6916 >        esac
6917 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6918 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6919 >          LD="${LD-ld}_sol2"
6920 >        fi
6921 >        ;;
6922        *)
6923          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6924            LD="${LD-ld} -64"
# Line 6496 | Line 6934 | esac
6934  
6935   need_locks="$enable_libtool_lock"
6936  
6937 + if test -n "$ac_tool_prefix"; then
6938 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6939 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6940 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 + $as_echo_n "checking for $ac_word... " >&6; }
6942 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6943 +  $as_echo_n "(cached) " >&6
6944 + else
6945 +  if test -n "$MANIFEST_TOOL"; then
6946 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6947 + else
6948 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 + for as_dir in $PATH
6950 + do
6951 +  IFS=$as_save_IFS
6952 +  test -z "$as_dir" && as_dir=.
6953 +    for ac_exec_ext in '' $ac_executable_extensions; do
6954 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6956 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 +    break 2
6958 +  fi
6959 + done
6960 +  done
6961 + IFS=$as_save_IFS
6962 +
6963 + fi
6964 + fi
6965 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6966 + if test -n "$MANIFEST_TOOL"; then
6967 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6968 + $as_echo "$MANIFEST_TOOL" >&6; }
6969 + else
6970 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 + $as_echo "no" >&6; }
6972 + fi
6973 +
6974 +
6975 + fi
6976 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6977 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6978 +  # Extract the first word of "mt", so it can be a program name with args.
6979 + set dummy mt; ac_word=$2
6980 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 + $as_echo_n "checking for $ac_word... " >&6; }
6982 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6983 +  $as_echo_n "(cached) " >&6
6984 + else
6985 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6986 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6987 + else
6988 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 + for as_dir in $PATH
6990 + do
6991 +  IFS=$as_save_IFS
6992 +  test -z "$as_dir" && as_dir=.
6993 +    for ac_exec_ext in '' $ac_executable_extensions; do
6994 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6996 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 +    break 2
6998 +  fi
6999 + done
7000 +  done
7001 + IFS=$as_save_IFS
7002 +
7003 + fi
7004 + fi
7005 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7006 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7007 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7008 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7009 + else
7010 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 + $as_echo "no" >&6; }
7012 + fi
7013 +
7014 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7015 +    MANIFEST_TOOL=":"
7016 +  else
7017 +    case $cross_compiling:$ac_tool_warned in
7018 + yes:)
7019 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7020 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7021 + ac_tool_warned=yes ;;
7022 + esac
7023 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7024 +  fi
7025 + else
7026 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7027 + fi
7028 +
7029 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7030 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7031 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7032 + if ${lt_cv_path_mainfest_tool+:} false; then :
7033 +  $as_echo_n "(cached) " >&6
7034 + else
7035 +  lt_cv_path_mainfest_tool=no
7036 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7037 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7038 +  cat conftest.err >&5
7039 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7040 +    lt_cv_path_mainfest_tool=yes
7041 +  fi
7042 +  rm -f conftest*
7043 + fi
7044 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7045 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7046 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7047 +  MANIFEST_TOOL=:
7048 + fi
7049 +
7050 +
7051 +
7052 +
7053 +
7054  
7055    case $host_os in
7056      rhapsody* | darwin*)
# Line 6504 | Line 7059 | need_locks="$enable_libtool_lock"
7059   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061   $as_echo_n "checking for $ac_word... " >&6; }
7062 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7062 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7063    $as_echo_n "(cached) " >&6
7064   else
7065    if test -n "$DSYMUTIL"; then
# Line 6516 | Line 7071 | do
7071    IFS=$as_save_IFS
7072    test -z "$as_dir" && as_dir=.
7073      for ac_exec_ext in '' $ac_executable_extensions; do
7074 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7076      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077      break 2
# Line 6544 | Line 7099 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7099   set dummy dsymutil; ac_word=$2
7100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101   $as_echo_n "checking for $ac_word... " >&6; }
7102 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7102 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7103    $as_echo_n "(cached) " >&6
7104   else
7105    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6556 | Line 7111 | do
7111    IFS=$as_save_IFS
7112    test -z "$as_dir" && as_dir=.
7113      for ac_exec_ext in '' $ac_executable_extensions; do
7114 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7116      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117      break 2
# Line 6596 | Line 7151 | fi
7151   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153   $as_echo_n "checking for $ac_word... " >&6; }
7154 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7154 > if ${ac_cv_prog_NMEDIT+:} false; then :
7155    $as_echo_n "(cached) " >&6
7156   else
7157    if test -n "$NMEDIT"; then
# Line 6608 | Line 7163 | do
7163    IFS=$as_save_IFS
7164    test -z "$as_dir" && as_dir=.
7165      for ac_exec_ext in '' $ac_executable_extensions; do
7166 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7166 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7168      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169      break 2
# Line 6636 | Line 7191 | if test -z "$ac_cv_prog_NMEDIT"; then
7191   set dummy nmedit; ac_word=$2
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193   $as_echo_n "checking for $ac_word... " >&6; }
7194 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7194 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7195    $as_echo_n "(cached) " >&6
7196   else
7197    if test -n "$ac_ct_NMEDIT"; then
# Line 6648 | Line 7203 | do
7203    IFS=$as_save_IFS
7204    test -z "$as_dir" && as_dir=.
7205      for ac_exec_ext in '' $ac_executable_extensions; do
7206 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7208      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209      break 2
# Line 6688 | Line 7243 | fi
7243   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245   $as_echo_n "checking for $ac_word... " >&6; }
7246 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7246 > if ${ac_cv_prog_LIPO+:} false; then :
7247    $as_echo_n "(cached) " >&6
7248   else
7249    if test -n "$LIPO"; then
# Line 6700 | Line 7255 | do
7255    IFS=$as_save_IFS
7256    test -z "$as_dir" && as_dir=.
7257      for ac_exec_ext in '' $ac_executable_extensions; do
7258 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7258 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7260      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261      break 2
# Line 6728 | Line 7283 | if test -z "$ac_cv_prog_LIPO"; then
7283   set dummy lipo; ac_word=$2
7284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285   $as_echo_n "checking for $ac_word... " >&6; }
7286 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7286 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7287    $as_echo_n "(cached) " >&6
7288   else
7289    if test -n "$ac_ct_LIPO"; then
# Line 6740 | Line 7295 | do
7295    IFS=$as_save_IFS
7296    test -z "$as_dir" && as_dir=.
7297      for ac_exec_ext in '' $ac_executable_extensions; do
7298 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299      ac_cv_prog_ac_ct_LIPO="lipo"
7300      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301      break 2
# Line 6780 | Line 7335 | fi
7335   set dummy ${ac_tool_prefix}otool; ac_word=$2
7336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337   $as_echo_n "checking for $ac_word... " >&6; }
7338 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7338 > if ${ac_cv_prog_OTOOL+:} false; then :
7339    $as_echo_n "(cached) " >&6
7340   else
7341    if test -n "$OTOOL"; then
# Line 6792 | Line 7347 | do
7347    IFS=$as_save_IFS
7348    test -z "$as_dir" && as_dir=.
7349      for ac_exec_ext in '' $ac_executable_extensions; do
7350 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7351      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7352      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7353      break 2
# Line 6820 | Line 7375 | if test -z "$ac_cv_prog_OTOOL"; then
7375   set dummy otool; ac_word=$2
7376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377   $as_echo_n "checking for $ac_word... " >&6; }
7378 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7378 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7379    $as_echo_n "(cached) " >&6
7380   else
7381    if test -n "$ac_ct_OTOOL"; then
# Line 6832 | Line 7387 | do
7387    IFS=$as_save_IFS
7388    test -z "$as_dir" && as_dir=.
7389      for ac_exec_ext in '' $ac_executable_extensions; do
7390 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391      ac_cv_prog_ac_ct_OTOOL="otool"
7392      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393      break 2
# Line 6872 | Line 7427 | fi
7427   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429   $as_echo_n "checking for $ac_word... " >&6; }
7430 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7430 > if ${ac_cv_prog_OTOOL64+:} false; then :
7431    $as_echo_n "(cached) " >&6
7432   else
7433    if test -n "$OTOOL64"; then
# Line 6884 | Line 7439 | do
7439    IFS=$as_save_IFS
7440    test -z "$as_dir" && as_dir=.
7441      for ac_exec_ext in '' $ac_executable_extensions; do
7442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7443      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7445      break 2
# Line 6912 | Line 7467 | if test -z "$ac_cv_prog_OTOOL64"; then
7467   set dummy otool64; ac_word=$2
7468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469   $as_echo_n "checking for $ac_word... " >&6; }
7470 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7470 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7471    $as_echo_n "(cached) " >&6
7472   else
7473    if test -n "$ac_ct_OTOOL64"; then
# Line 6924 | Line 7479 | do
7479    IFS=$as_save_IFS
7480    test -z "$as_dir" && as_dir=.
7481      for ac_exec_ext in '' $ac_executable_extensions; do
7482 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483      ac_cv_prog_ac_ct_OTOOL64="otool64"
7484      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485      break 2
# Line 6987 | Line 7542 | fi
7542  
7543      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7544   $as_echo_n "checking for -single_module linker flag... " >&6; }
7545 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7545 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7546    $as_echo_n "(cached) " >&6
7547   else
7548    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7558 | else
7558          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7559            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7560          _lt_result=$?
7561 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7561 >        # If there is a non-empty error log, and "single_module"
7562 >        # appears in it, assume the flag caused a linker warning
7563 >        if test -s conftest.err && $GREP single_module conftest.err; then
7564 >          cat conftest.err >&5
7565 >        # Otherwise, if the output was created with a 0 exit code from
7566 >        # the compiler, it worked.
7567 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7568            lt_cv_apple_cc_single_mod=yes
7569          else
7570            cat conftest.err >&5
# Line 7014 | Line 7575 | else
7575   fi
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7577   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7578 +
7579      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7580   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7581 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7581 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7582    $as_echo_n "(cached) " >&6
7583   else
7584    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7608 | rm -f core conftest.err conftest.$ac_obj
7608   fi
7609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7610   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7611 +
7612      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7613   $as_echo_n "checking for -force_load linker flag... " >&6; }
7614 < if test "${lt_cv_ld_force_load+set}" = set; then :
7614 > if ${lt_cv_ld_force_load+:} false; then :
7615    $as_echo_n "(cached) " >&6
7616   else
7617    lt_cv_ld_force_load=no
# Line 7067 | Line 7630 | _LT_EOF
7630        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7631        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7632        _lt_result=$?
7633 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7633 >      if test -s conftest.err && $GREP force_load conftest.err; then
7634 >        cat conftest.err >&5
7635 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7636          lt_cv_ld_force_load=yes
7637        else
7638          cat conftest.err >&5
# Line 7125 | Line 7690 | if test -n "$CPP" && test -d "$CPP"; the
7690    CPP=
7691   fi
7692   if test -z "$CPP"; then
7693 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7693 >  if ${ac_cv_prog_CPP+:} false; then :
7694    $as_echo_n "(cached) " >&6
7695   else
7696        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7720 | else
7720    # Broken: fails on valid input.
7721   continue
7722   fi
7723 < rm -f conftest.err conftest.$ac_ext
7723 > rm -f conftest.err conftest.i conftest.$ac_ext
7724  
7725    # OK, works on sane cases.  Now check whether nonexistent headers
7726    # can be detected and how.
# Line 7171 | Line 7736 | else
7736   ac_preproc_ok=:
7737   break
7738   fi
7739 < rm -f conftest.err conftest.$ac_ext
7739 > rm -f conftest.err conftest.i conftest.$ac_ext
7740  
7741   done
7742   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7743 < rm -f conftest.err conftest.$ac_ext
7743 > rm -f conftest.i conftest.err conftest.$ac_ext
7744   if $ac_preproc_ok; then :
7745    break
7746   fi
# Line 7214 | Line 7779 | else
7779    # Broken: fails on valid input.
7780   continue
7781   fi
7782 < rm -f conftest.err conftest.$ac_ext
7782 > rm -f conftest.err conftest.i conftest.$ac_ext
7783  
7784    # OK, works on sane cases.  Now check whether nonexistent headers
7785    # can be detected and how.
# Line 7230 | Line 7795 | else
7795   ac_preproc_ok=:
7796   break
7797   fi
7798 < rm -f conftest.err conftest.$ac_ext
7798 > rm -f conftest.err conftest.i conftest.$ac_ext
7799  
7800   done
7801   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7802 < rm -f conftest.err conftest.$ac_ext
7802 > rm -f conftest.i conftest.err conftest.$ac_ext
7803   if $ac_preproc_ok; then :
7804  
7805   else
7806    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7807   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7808 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7809 < See \`config.log' for more details." "$LINENO" 5; }
7808 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7809 > See \`config.log' for more details" "$LINENO" 5; }
7810   fi
7811  
7812   ac_ext=c
# Line 7253 | Line 7818 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7818  
7819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7820   $as_echo_n "checking for ANSI C header files... " >&6; }
7821 < if test "${ac_cv_header_stdc+set}" = set; then :
7821 > if ${ac_cv_header_stdc+:} false; then :
7822    $as_echo_n "(cached) " >&6
7823   else
7824    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 7935 | do :
7935    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7937   "
7938 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
7938 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7939    cat >>confdefs.h <<_ACEOF
7940   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7941   _ACEOF
# Line 7385 | Line 7949 | for ac_header in dlfcn.h
7949   do :
7950    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7951   "
7952 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7952 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7953    cat >>confdefs.h <<_ACEOF
7954   #define HAVE_DLFCN_H 1
7955   _ACEOF
# Line 7471 | Line 8035 | fi
8035  
8036   # Check whether --with-pic was given.
8037   if test "${with_pic+set}" = set; then :
8038 <  withval=$with_pic; pic_mode="$withval"
8038 >  withval=$with_pic; lt_p=${PACKAGE-default}
8039 >    case $withval in
8040 >    yes|no) pic_mode=$withval ;;
8041 >    *)
8042 >      pic_mode=default
8043 >      # Look at the argument we got.  We use all the common list separators.
8044 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8045 >      for lt_pkg in $withval; do
8046 >        IFS="$lt_save_ifs"
8047 >        if test "X$lt_pkg" = "X$lt_p"; then
8048 >          pic_mode=yes
8049 >        fi
8050 >      done
8051 >      IFS="$lt_save_ifs"
8052 >      ;;
8053 >    esac
8054   else
8055    pic_mode=default
8056   fi
# Line 7549 | Line 8128 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8128  
8129  
8130  
8131 +
8132 +
8133 +
8134 +
8135   test -z "$LN_S" && LN_S="ln -s"
8136  
8137  
# Line 7570 | Line 8153 | fi
8153  
8154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8155   $as_echo_n "checking for objdir... " >&6; }
8156 < if test "${lt_cv_objdir+set}" = set; then :
8156 > if ${lt_cv_objdir+:} false; then :
8157    $as_echo_n "(cached) " >&6
8158   else
8159    rm -f .libs 2>/dev/null
# Line 7648 | Line 8231 | file_magic*)
8231    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8232      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8233   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8234 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8234 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8235    $as_echo_n "(cached) " >&6
8236   else
8237    case $MAGIC_CMD in
# Line 7714 | Line 8297 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8297    if test -n "$ac_tool_prefix"; then
8298      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8299   $as_echo_n "checking for file... " >&6; }
8300 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8300 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8301    $as_echo_n "(cached) " >&6
8302   else
8303    case $MAGIC_CMD in
# Line 7852 | Line 8435 | if test "$GCC" = yes; then
8435  
8436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8437   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8438 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8438 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8439    $as_echo_n "(cached) " >&6
8440   else
8441    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8488 | fi
8488   lt_prog_compiler_pic=
8489   lt_prog_compiler_static=
8490  
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; }
8491  
8492    if test "$GCC" = yes; then
8493      lt_prog_compiler_wl='-Wl,'
# Line 8006 | Line 8587 | $as_echo_n "checking for $compiler optio
8587      case $cc_basename in
8588      nvcc*) # Cuda Compiler Driver 2.2
8589        lt_prog_compiler_wl='-Xlinker '
8590 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8590 >      if test -n "$lt_prog_compiler_pic"; then
8591 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8592 >      fi
8593        ;;
8594      esac
8595    else
# Line 8071 | Line 8654 | $as_echo_n "checking for $compiler optio
8654          lt_prog_compiler_pic='--shared'
8655          lt_prog_compiler_static='--static'
8656          ;;
8657 +      nagfor*)
8658 +        # NAG Fortran compiler
8659 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8660 +        lt_prog_compiler_pic='-PIC'
8661 +        lt_prog_compiler_static='-Bstatic'
8662 +        ;;
8663        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8664          # Portland Group compilers (*not* the Pentium gcc compiler,
8665          # which looks to be a dead project)
# Line 8091 | Line 8680 | $as_echo_n "checking for $compiler optio
8680          ;;
8681        *)
8682          case `$CC -V 2>&1 | sed 5q` in
8683 <        *Sun\ F* | *Sun*Fortran*)
8683 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8684            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8685            lt_prog_compiler_pic='-KPIC'
8686            lt_prog_compiler_static='-Bstatic'
8687            lt_prog_compiler_wl=''
8688            ;;
8689 +        *Sun\ F* | *Sun*Fortran*)
8690 +          lt_prog_compiler_pic='-KPIC'
8691 +          lt_prog_compiler_static='-Bstatic'
8692 +          lt_prog_compiler_wl='-Qoption ld '
8693 +          ;;
8694          *Sun\ C*)
8695            # Sun C 5.9
8696            lt_prog_compiler_pic='-KPIC'
8697            lt_prog_compiler_static='-Bstatic'
8698            lt_prog_compiler_wl='-Wl,'
8699            ;;
8700 +        *Intel*\ [CF]*Compiler*)
8701 +          lt_prog_compiler_wl='-Wl,'
8702 +          lt_prog_compiler_pic='-fPIC'
8703 +          lt_prog_compiler_static='-static'
8704 +          ;;
8705 +        *Portland\ Group*)
8706 +          lt_prog_compiler_wl='-Wl,'
8707 +          lt_prog_compiler_pic='-fpic'
8708 +          lt_prog_compiler_static='-Bstatic'
8709 +          ;;
8710          esac
8711          ;;
8712        esac
# Line 8190 | Line 8794 | case $host_os in
8794      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8795      ;;
8796   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
8797  
8798 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8799 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8800 + if ${lt_cv_prog_compiler_pic+:} false; then :
8801 +  $as_echo_n "(cached) " >&6
8802 + else
8803 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8804 + fi
8805 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8806 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8807 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8808  
8809   #
8810   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8812 | $as_echo "$lt_prog_compiler_pic" >&6; }
8812   if test -n "$lt_prog_compiler_pic"; then
8813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8814   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8815 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8815 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8816    $as_echo_n "(cached) " >&6
8817   else
8818    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 8865 | fi
8865  
8866  
8867  
8868 +
8869 +
8870 +
8871 +
8872 +
8873   #
8874   # Check to make sure the static flag actually works.
8875   #
8876   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8878   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8879 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8879 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8880    $as_echo_n "(cached) " >&6
8881   else
8882    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 8919 | fi
8919  
8920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8921   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8922 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8922 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8923    $as_echo_n "(cached) " >&6
8924   else
8925    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 8974 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8974  
8975    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8976   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8977 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8977 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8978    $as_echo_n "(cached) " >&6
8979   else
8980    lt_cv_prog_compiler_c_o=no
# Line 8455 | Line 9068 | $as_echo_n "checking whether the $compil
9068    hardcode_direct=no
9069    hardcode_direct_absolute=no
9070    hardcode_libdir_flag_spec=
8458  hardcode_libdir_flag_spec_ld=
9071    hardcode_libdir_separator=
9072    hardcode_minus_L=no
9073    hardcode_shlibpath_var=unsupported
# Line 8607 | Line 9219 | _LT_EOF
9219        allow_undefined_flag=unsupported
9220        always_export_symbols=no
9221        enable_shared_with_static_runtimes=yes
9222 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9222 >      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'
9223 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9224  
9225        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9226          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 9268 | _LT_EOF
9268        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9269           && test "$tmp_diet" = no
9270        then
9271 <        tmp_addflag=
9271 >        tmp_addflag=' $pic_flag'
9272          tmp_sharedflag='-shared'
9273          case $cc_basename,$host_cpu in
9274          pgcc*)                          # Portland Group C compiler
# Line 8704 | Line 9317 | _LT_EOF
9317          xlf* | bgf* | bgxlf* | mpixlf*)
9318            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9319            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9320 <          hardcode_libdir_flag_spec=
8708 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9320 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9321            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9322            if test "x$supports_anon_versioning" = xyes; then
9323              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8725 | Line 9337 | _LT_EOF
9337          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9338          wlarc=
9339        else
9340 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9340 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9342        fi
9343        ;;
9344  
# Line 8744 | Line 9356 | _LT_EOF
9356  
9357   _LT_EOF
9358        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9359 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9359 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9361        else
9362          ld_shlibs=no
9363        fi
# Line 8791 | Line 9403 | _LT_EOF
9403  
9404      *)
9405        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9406 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9406 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9408        else
9409          ld_shlibs=no
9410        fi
# Line 8922 | Line 9534 | _LT_EOF
9534          allow_undefined_flag='-berok'
9535          # Determine the default libpath from the value encoded in an
9536          # empty executable.
9537 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 >        if test "${lt_cv_aix_libpath+set}" = set; then
9538 >  aix_libpath=$lt_cv_aix_libpath
9539 > else
9540 >  if ${lt_cv_aix_libpath_+:} false; then :
9541 >  $as_echo_n "(cached) " >&6
9542 > else
9543 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544   /* end confdefs.h.  */
9545  
9546   int
# Line 8935 | Line 9553 | main ()
9553   _ACEOF
9554   if ac_fn_c_try_link "$LINENO"; then :
9555  
9556 < lt_aix_libpath_sed='
9557 <    /Import File Strings/,/^$/ {
9558 <        /^0/ {
9559 <            s/^0  *\(.*\)$/\1/
9560 <            p
9561 <        }
9562 <    }'
9563 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9564 < # Check for a 64-bit object if we didn't find anything.
9565 < if test -z "$aix_libpath"; then
9566 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567 < fi
9556 >  lt_aix_libpath_sed='
9557 >      /Import File Strings/,/^$/ {
9558 >          /^0/ {
9559 >              s/^0  *\([^ ]*\) *$/\1/
9560 >              p
9561 >          }
9562 >      }'
9563 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9564 >  # Check for a 64-bit object if we didn't find anything.
9565 >  if test -z "$lt_cv_aix_libpath_"; then
9566 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567 >  fi
9568   fi
9569   rm -f core conftest.err conftest.$ac_objext \
9570      conftest$ac_exeext conftest.$ac_ext
9571 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9571 >  if test -z "$lt_cv_aix_libpath_"; then
9572 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9573 >  fi
9574 >
9575 > fi
9576 >
9577 >  aix_libpath=$lt_cv_aix_libpath_
9578 > fi
9579  
9580          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9581          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 9587 | if test -z "$aix_libpath"; then aix_libp
9587          else
9588           # Determine the default libpath from the value encoded in an
9589           # empty executable.
9590 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 >         if test "${lt_cv_aix_libpath+set}" = set; then
9591 >  aix_libpath=$lt_cv_aix_libpath
9592 > else
9593 >  if ${lt_cv_aix_libpath_+:} false; then :
9594 >  $as_echo_n "(cached) " >&6
9595 > else
9596 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597   /* end confdefs.h.  */
9598  
9599   int
# Line 8975 | Line 9606 | main ()
9606   _ACEOF
9607   if ac_fn_c_try_link "$LINENO"; then :
9608  
9609 < lt_aix_libpath_sed='
9610 <    /Import File Strings/,/^$/ {
9611 <        /^0/ {
9612 <            s/^0  *\(.*\)$/\1/
9613 <            p
9614 <        }
9615 <    }'
9616 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9617 < # Check for a 64-bit object if we didn't find anything.
9618 < if test -z "$aix_libpath"; then
9619 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 < fi
9609 >  lt_aix_libpath_sed='
9610 >      /Import File Strings/,/^$/ {
9611 >          /^0/ {
9612 >              s/^0  *\([^ ]*\) *$/\1/
9613 >              p
9614 >          }
9615 >      }'
9616 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9617 >  # Check for a 64-bit object if we didn't find anything.
9618 >  if test -z "$lt_cv_aix_libpath_"; then
9619 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 >  fi
9621   fi
9622   rm -f core conftest.err conftest.$ac_objext \
9623      conftest$ac_exeext conftest.$ac_ext
9624 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9624 >  if test -z "$lt_cv_aix_libpath_"; then
9625 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9626 >  fi
9627 >
9628 > fi
9629 >
9630 >  aix_libpath=$lt_cv_aix_libpath_
9631 > fi
9632  
9633           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9634            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9673 | if test -z "$aix_libpath"; then aix_libp
9673        # Microsoft Visual C++.
9674        # hardcode_libdir_flag_spec is actually meaningless, as there is
9675        # no search path for DLLs.
9676 <      hardcode_libdir_flag_spec=' '
9677 <      allow_undefined_flag=unsupported
9678 <      # Tell ltmain to make .lib files, not .a files.
9679 <      libext=lib
9680 <      # Tell ltmain to make .dll files, not .so files.
9681 <      shrext_cmds=".dll"
9682 <      # FIXME: Setting linknames here is a bad hack.
9683 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9684 <      # The linker will automatically build a .lib file if we build a DLL.
9685 <      old_archive_from_new_cmds='true'
9686 <      # FIXME: Should let the user specify the lib program.
9687 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9688 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9689 <      enable_shared_with_static_runtimes=yes
9676 >      case $cc_basename in
9677 >      cl*)
9678 >        # Native MSVC
9679 >        hardcode_libdir_flag_spec=' '
9680 >        allow_undefined_flag=unsupported
9681 >        always_export_symbols=yes
9682 >        file_list_spec='@'
9683 >        # Tell ltmain to make .lib files, not .a files.
9684 >        libext=lib
9685 >        # Tell ltmain to make .dll files, not .so files.
9686 >        shrext_cmds=".dll"
9687 >        # FIXME: Setting linknames here is a bad hack.
9688 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9689 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9690 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9691 >          else
9692 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9693 >          fi~
9694 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9695 >          linknames='
9696 >        # The linker will not automatically build a static lib if we build a DLL.
9697 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9698 >        enable_shared_with_static_runtimes=yes
9699 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9700 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9701 >        # Don't use ranlib
9702 >        old_postinstall_cmds='chmod 644 $oldlib'
9703 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9704 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9705 >          case $lt_outputfile in
9706 >            *.exe|*.EXE) ;;
9707 >            *)
9708 >              lt_outputfile="$lt_outputfile.exe"
9709 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9710 >              ;;
9711 >          esac~
9712 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9713 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9714 >            $RM "$lt_outputfile.manifest";
9715 >          fi'
9716 >        ;;
9717 >      *)
9718 >        # Assume MSVC wrapper
9719 >        hardcode_libdir_flag_spec=' '
9720 >        allow_undefined_flag=unsupported
9721 >        # Tell ltmain to make .lib files, not .a files.
9722 >        libext=lib
9723 >        # Tell ltmain to make .dll files, not .so files.
9724 >        shrext_cmds=".dll"
9725 >        # FIXME: Setting linknames here is a bad hack.
9726 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9727 >        # The linker will automatically build a .lib file if we build a DLL.
9728 >        old_archive_from_new_cmds='true'
9729 >        # FIXME: Should let the user specify the lib program.
9730 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9731 >        enable_shared_with_static_runtimes=yes
9732 >        ;;
9733 >      esac
9734        ;;
9735  
9736      darwin* | rhapsody*)
# Line 9060 | Line 9742 | if test -z "$aix_libpath"; then aix_libp
9742    hardcode_shlibpath_var=unsupported
9743    if test "$lt_cv_ld_force_load" = "yes"; then
9744      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\"`'
9745 +
9746    else
9747      whole_archive_flag_spec=''
9748    fi
# Line 9088 | Line 9771 | if test -z "$aix_libpath"; then aix_libp
9771        hardcode_shlibpath_var=no
9772        ;;
9773  
9091    freebsd1*)
9092      ld_shlibs=no
9093      ;;
9094
9774      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9775      # support.  Future versions do this automatically, but an explicit c++rt0.o
9776      # does not break anything, and helps significantly (at the cost of a little
# Line 9104 | Line 9783 | if test -z "$aix_libpath"; then aix_libp
9783        ;;
9784  
9785      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9786 <    freebsd2*)
9786 >    freebsd2.*)
9787        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9788        hardcode_direct=yes
9789        hardcode_minus_L=yes
# Line 9113 | Line 9792 | if test -z "$aix_libpath"; then aix_libp
9792  
9793      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9794      freebsd* | dragonfly*)
9795 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9795 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9796        hardcode_libdir_flag_spec='-R$libdir'
9797        hardcode_direct=yes
9798        hardcode_shlibpath_var=no
# Line 9121 | Line 9800 | if test -z "$aix_libpath"; then aix_libp
9800  
9801      hpux9*)
9802        if test "$GCC" = yes; then
9803 <        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'
9803 >        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'
9804        else
9805          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'
9806        fi
# Line 9137 | Line 9816 | if test -z "$aix_libpath"; then aix_libp
9816  
9817      hpux10*)
9818        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9819 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820        else
9821          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9822        fi
9823        if test "$with_gnu_ld" = no; then
9824          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9146        hardcode_libdir_flag_spec_ld='+b $libdir'
9825          hardcode_libdir_separator=:
9826          hardcode_direct=yes
9827          hardcode_direct_absolute=yes
# Line 9161 | Line 9839 | if test -z "$aix_libpath"; then aix_libp
9839            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9840            ;;
9841          ia64*)
9842 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9842 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9843            ;;
9844          *)
9845 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846            ;;
9847          esac
9848        else
# Line 9181 | Line 9859 | if test -z "$aix_libpath"; then aix_libp
9859            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9860            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9861   $as_echo_n "checking if $CC understands -b... " >&6; }
9862 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9862 > if ${lt_cv_prog_compiler__b+:} false; then :
9863    $as_echo_n "(cached) " >&6
9864   else
9865    lt_cv_prog_compiler__b=no
# Line 9243 | Line 9921 | fi
9921  
9922      irix5* | irix6* | nonstopux*)
9923        if test "$GCC" = yes; then
9924 <        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'
9924 >        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'
9925          # Try to use the -exported_symbol ld option, if it does not
9926          # work, assume that -exports_file does not work either and
9927          # implicitly export all symbols.
9928 <        save_LDFLAGS="$LDFLAGS"
9929 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9930 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 >        # This should be the same for all languages, so no per-tag cache variable.
9929 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9930 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9931 > if ${lt_cv_irix_exported_symbol+:} false; then :
9932 >  $as_echo_n "(cached) " >&6
9933 > else
9934 >  save_LDFLAGS="$LDFLAGS"
9935 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9936 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937   /* end confdefs.h.  */
9938 < int foo(void) {}
9938 > int foo (void) { return 0; }
9939   _ACEOF
9940   if ac_fn_c_try_link "$LINENO"; then :
9941 <  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'
9942 <
9941 >  lt_cv_irix_exported_symbol=yes
9942 > else
9943 >  lt_cv_irix_exported_symbol=no
9944   fi
9945   rm -f core conftest.err conftest.$ac_objext \
9946      conftest$ac_exeext conftest.$ac_ext
9947 <        LDFLAGS="$save_LDFLAGS"
9947 >           LDFLAGS="$save_LDFLAGS"
9948 > fi
9949 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9950 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9951 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9952 >          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'
9953 >        fi
9954        else
9955          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'
9956          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 10035 | rm -f core conftest.err conftest.$ac_obj
10035      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10036        if test "$GCC" = yes; then
10037          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10038 <        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'
10038 >        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'
10039          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10040        else
10041          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 10054 | rm -f core conftest.err conftest.$ac_obj
10054        no_undefined_flag=' -z defs'
10055        if test "$GCC" = yes; then
10056          wlarc='${wl}'
10057 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10058          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10059 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10059 >          $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'
10060        else
10061          case `$CC -V 2>&1` in
10062          *"Compilers 5.0"*)
# Line 9553 | Line 10244 | x|xyes)
10244        # to ld, don't add -lc before -lgcc.
10245        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10246   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10247 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10247 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10248    $as_echo_n "(cached) " >&6
10249   else
10250    $RM conftest*
# Line 9754 | Line 10445 | esac
10445  
10446  
10447  
9757
9758
9759
9760
9761
10448    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10449   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10450  
# Line 9848 | Line 10534 | need_version=unknown
10534  
10535   case $host_os in
10536   aix3*)
10537 <  version_type=linux
10537 >  version_type=linux # correct to gnu/linux during the next big refactor
10538    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10539    shlibpath_var=LIBPATH
10540  
# Line 9857 | Line 10543 | aix3*)
10543    ;;
10544  
10545   aix[4-9]*)
10546 <  version_type=linux
10546 >  version_type=linux # correct to gnu/linux during the next big refactor
10547    need_lib_prefix=no
10548    need_version=no
10549    hardcode_into_libs=yes
# Line 9922 | Line 10608 | beos*)
10608    ;;
10609  
10610   bsdi[45]*)
10611 <  version_type=linux
10611 >  version_type=linux # correct to gnu/linux during the next big refactor
10612    need_version=no
10613    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9941 | Line 10627 | cygwin* | mingw* | pw32* | cegcc*)
10627    need_version=no
10628    need_lib_prefix=no
10629  
10630 <  case $GCC,$host_os in
10631 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10630 >  case $GCC,$cc_basename in
10631 >  yes,*)
10632 >    # gcc
10633      library_names_spec='$libname.dll.a'
10634      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10635      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10662 | cygwin* | mingw* | pw32* | cegcc*)
10662        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10663        ;;
10664      esac
10665 +    dynamic_linker='Win32 ld.exe'
10666 +    ;;
10667 +
10668 +  *,cl*)
10669 +    # Native MSVC
10670 +    libname_spec='$name'
10671 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10672 +    library_names_spec='${libname}.dll.lib'
10673 +
10674 +    case $build_os in
10675 +    mingw*)
10676 +      sys_lib_search_path_spec=
10677 +      lt_save_ifs=$IFS
10678 +      IFS=';'
10679 +      for lt_path in $LIB
10680 +      do
10681 +        IFS=$lt_save_ifs
10682 +        # Let DOS variable expansion print the short 8.3 style file name.
10683 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10684 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10685 +      done
10686 +      IFS=$lt_save_ifs
10687 +      # Convert to MSYS style.
10688 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10689 +      ;;
10690 +    cygwin*)
10691 +      # Convert to unix form, then to dos form, then back to unix form
10692 +      # but this time dos style (no spaces!) so that the unix form looks
10693 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10694 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10695 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10696 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10697 +      ;;
10698 +    *)
10699 +      sys_lib_search_path_spec="$LIB"
10700 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10701 +        # It is most probably a Windows format PATH.
10702 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10703 +      else
10704 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10705 +      fi
10706 +      # FIXME: find the short name or the path components, as spaces are
10707 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10708 +      ;;
10709 +    esac
10710 +
10711 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10712 +    postinstall_cmds='base_file=`basename \${file}`~
10713 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10714 +      dldir=$destdir/`dirname \$dlpath`~
10715 +      test -d \$dldir || mkdir -p \$dldir~
10716 +      $install_prog $dir/$dlname \$dldir/$dlname'
10717 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10718 +      dlpath=$dir/\$dldll~
10719 +       $RM \$dlpath'
10720 +    shlibpath_overrides_runpath=yes
10721 +    dynamic_linker='Win32 link.exe'
10722      ;;
10723  
10724    *)
10725 +    # Assume MSVC wrapper
10726      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10727 +    dynamic_linker='Win32 ld.exe'
10728      ;;
10729    esac
9984  dynamic_linker='Win32 ld.exe'
10730    # FIXME: first we should search . and the directory the executable is in
10731    shlibpath_var=PATH
10732    ;;
# Line 10002 | Line 10747 | darwin* | rhapsody*)
10747    ;;
10748  
10749   dgux*)
10750 <  version_type=linux
10750 >  version_type=linux # correct to gnu/linux during the next big refactor
10751    need_lib_prefix=no
10752    need_version=no
10753    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10010 | Line 10755 | dgux*)
10755    shlibpath_var=LD_LIBRARY_PATH
10756    ;;
10757  
10013 freebsd1*)
10014  dynamic_linker=no
10015  ;;
10016
10758   freebsd* | dragonfly*)
10759    # DragonFly does not have aout.  When/if they implement a new
10760    # versioning mechanism, adjust this.
# Line 10021 | Line 10762 | freebsd* | dragonfly*)
10762      objformat=`/usr/bin/objformat`
10763    else
10764      case $host_os in
10765 <    freebsd[123]*) objformat=aout ;;
10765 >    freebsd[23].*) objformat=aout ;;
10766      *) objformat=elf ;;
10767      esac
10768    fi
# Line 10039 | Line 10780 | freebsd* | dragonfly*)
10780    esac
10781    shlibpath_var=LD_LIBRARY_PATH
10782    case $host_os in
10783 <  freebsd2*)
10783 >  freebsd2.*)
10784      shlibpath_overrides_runpath=yes
10785      ;;
10786    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10059 | Line 10800 | freebsd* | dragonfly*)
10800    ;;
10801  
10802   gnu*)
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    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10807    soname_spec='${libname}${release}${shared_ext}$major'
10808    shlibpath_var=LD_LIBRARY_PATH
10809 +  shlibpath_overrides_runpath=no
10810    hardcode_into_libs=yes
10811    ;;
10812  
10813   haiku*)
10814 <  version_type=linux
10814 >  version_type=linux # correct to gnu/linux during the next big refactor
10815    need_lib_prefix=no
10816    need_version=no
10817    dynamic_linker="$host_os runtime_loader"
# Line 10130 | Line 10872 | hpux9* | hpux10* | hpux11*)
10872    ;;
10873  
10874   interix[3-9]*)
10875 <  version_type=linux
10875 >  version_type=linux # correct to gnu/linux during the next big refactor
10876    need_lib_prefix=no
10877    need_version=no
10878    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10146 | Line 10888 | irix5* | irix6* | nonstopux*)
10888      nonstopux*) version_type=nonstopux ;;
10889      *)
10890          if test "$lt_cv_prog_gnu_ld" = yes; then
10891 <                version_type=linux
10891 >                version_type=linux # correct to gnu/linux during the next big refactor
10892          else
10893                  version_type=irix
10894          fi ;;
# Line 10183 | Line 10925 | linux*oldld* | linux*aout* | linux*coff*
10925    dynamic_linker=no
10926    ;;
10927  
10928 < # This must be Linux ELF.
10928 > # This must be glibc/ELF.
10929   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10930 <  version_type=linux
10930 >  version_type=linux # correct to gnu/linux during the next big refactor
10931    need_lib_prefix=no
10932    need_version=no
10933    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10195 | Line 10937 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10937    shlibpath_overrides_runpath=no
10938  
10939    # Some binutils ld are patched to set DT_RUNPATH
10940 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10940 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10941    $as_echo_n "(cached) " >&6
10942   else
10943    lt_cv_shlibpath_overrides_runpath=no
# Line 10267 | Line 11009 | netbsd*)
11009    ;;
11010  
11011   newsos6)
11012 <  version_type=linux
11012 >  version_type=linux # correct to gnu/linux during the next big refactor
11013    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014    shlibpath_var=LD_LIBRARY_PATH
11015    shlibpath_overrides_runpath=yes
# Line 10336 | Line 11078 | rdos*)
11078    ;;
11079  
11080   solaris*)
11081 <  version_type=linux
11081 >  version_type=linux # correct to gnu/linux during the next big refactor
11082    need_lib_prefix=no
11083    need_version=no
11084    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10361 | Line 11103 | sunos4*)
11103    ;;
11104  
11105   sysv4 | sysv4.3*)
11106 <  version_type=linux
11106 >  version_type=linux # correct to gnu/linux during the next big refactor
11107    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108    soname_spec='${libname}${release}${shared_ext}$major'
11109    shlibpath_var=LD_LIBRARY_PATH
# Line 10385 | Line 11127 | sysv4 | sysv4.3*)
11127  
11128   sysv4*MP*)
11129    if test -d /usr/nec ;then
11130 <    version_type=linux
11130 >    version_type=linux # correct to gnu/linux during the next big refactor
11131      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11132      soname_spec='$libname${shared_ext}.$major'
11133      shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11158 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11158  
11159   tpf*)
11160    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11161 <  version_type=linux
11161 >  version_type=linux # correct to gnu/linux during the next big refactor
11162    need_lib_prefix=no
11163    need_version=no
11164    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10426 | Line 11168 | tpf*)
11168    ;;
11169  
11170   uts4*)
11171 <  version_type=linux
11171 >  version_type=linux # correct to gnu/linux during the next big refactor
11172    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173    soname_spec='${libname}${release}${shared_ext}$major'
11174    shlibpath_var=LD_LIBRARY_PATH
# Line 10615 | Line 11357 | else
11357    # if libdl is installed we need to link against it
11358      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11359   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11360 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11360 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11361    $as_echo_n "(cached) " >&6
11362   else
11363    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11391 | LIBS=$ac_check_lib_save_LIBS
11391   fi
11392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11393   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11394 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11394 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11395    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11396   else
11397  
# Line 10663 | Line 11405 | fi
11405  
11406    *)
11407      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11408 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11408 > if test "x$ac_cv_func_shl_load" = xyes; then :
11409    lt_cv_dlopen="shl_load"
11410   else
11411    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11412   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11413 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11413 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11414    $as_echo_n "(cached) " >&6
11415   else
11416    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11444 | LIBS=$ac_check_lib_save_LIBS
11444   fi
11445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11446   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11447 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11447 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11448    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11449   else
11450    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11451 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11451 > if test "x$ac_cv_func_dlopen" = xyes; then :
11452    lt_cv_dlopen="dlopen"
11453   else
11454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11455   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11456 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11456 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11457    $as_echo_n "(cached) " >&6
11458   else
11459    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11487 | LIBS=$ac_check_lib_save_LIBS
11487   fi
11488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11489   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11490 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11490 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11491    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11492   else
11493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11494   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11495 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11495 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11496    $as_echo_n "(cached) " >&6
11497   else
11498    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11526 | LIBS=$ac_check_lib_save_LIBS
11526   fi
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11528   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11529 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11529 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11530    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11531   else
11532    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11533   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11534 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11534 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11535    $as_echo_n "(cached) " >&6
11536   else
11537    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11565 | LIBS=$ac_check_lib_save_LIBS
11565   fi
11566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11567   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11568 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11568 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11569    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11570   fi
11571  
# Line 10864 | Line 11606 | fi
11606  
11607      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11608   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11609 < if test "${lt_cv_dlopen_self+set}" = set; then :
11609 > if ${lt_cv_dlopen_self+:} false; then :
11610    $as_echo_n "(cached) " >&6
11611   else
11612            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11659 | else
11659   /* When -fvisbility=hidden is used, assume the code has been annotated
11660     correspondingly for the symbols needed.  */
11661   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11662 < void fnord () __attribute__((visibility("default")));
11662 > int fnord () __attribute__((visibility("default")));
11663   #endif
11664  
11665 < void fnord () { int i=42; }
11665 > int fnord () { return 42; }
11666   int main ()
11667   {
11668    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11712 | $as_echo "$lt_cv_dlopen_self" >&6; }
11712        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11713        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11714   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11715 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11715 > if ${lt_cv_dlopen_self_static+:} false; then :
11716    $as_echo_n "(cached) " >&6
11717   else
11718            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11765 | else
11765   /* When -fvisbility=hidden is used, assume the code has been annotated
11766     correspondingly for the symbols needed.  */
11767   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11768 < void fnord () __attribute__((visibility("default")));
11768 > int fnord () __attribute__((visibility("default")));
11769   #endif
11770  
11771 < void fnord () { int i=42; }
11771 > int fnord () { return 42; }
11772   int main ()
11773   {
11774    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11208 | Line 11950 | CC="$lt_save_CC"
11950  
11951  
11952  
11953 +
11954 +
11955          ac_config_commands="$ac_config_commands libtool"
11956  
11957  
# Line 11218 | Line 11962 | CC="$lt_save_CC"
11962  
11963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11964   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11965 < if test "${libltdl_cv_shlibext+set}" = set; then :
11965 > if ${libltdl_cv_shlibext+:} false; then :
11966    $as_echo_n "(cached) " >&6
11967   else
11968  
11969   module=yes
11970   eval libltdl_cv_shlibext=$shrext_cmds
11971 + module=no
11972 + eval libltdl_cv_shrext=$shrext_cmds
11973  
11974   fi
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11235 | Line 11981 | cat >>confdefs.h <<_ACEOF
11981   _ACEOF
11982  
11983   fi
11984 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11985 +
11986 + cat >>confdefs.h <<_ACEOF
11987 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11988 + _ACEOF
11989 +
11990 + fi
11991  
11992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11993   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11994 < if test "${lt_cv_module_path_var+set}" = set; then :
11994 > if ${lt_cv_module_path_var+:} false; then :
11995    $as_echo_n "(cached) " >&6
11996   else
11997    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 12008 | fi
12008  
12009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12010   $as_echo_n "checking for the default library search path... " >&6; }
12011 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12011 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12012    $as_echo_n "(cached) " >&6
12013   else
12014    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 12045 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045   LIBADD_DLOPEN=
12046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12047   $as_echo_n "checking for library containing dlopen... " >&6; }
12048 < if test "${ac_cv_search_dlopen+set}" = set; then :
12048 > if ${ac_cv_search_dlopen+:} false; then :
12049    $as_echo_n "(cached) " >&6
12050   else
12051    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 12079 | for ac_lib in '' dl; do
12079   fi
12080   rm -f core conftest.err conftest.$ac_objext \
12081      conftest$ac_exeext
12082 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12082 >  if ${ac_cv_search_dlopen+:} false; then :
12083    break
12084   fi
12085   done
12086 < if test "${ac_cv_search_dlopen+set}" = set; then :
12086 > if ${ac_cv_search_dlopen+:} false; then :
12087  
12088   else
12089    ac_cv_search_dlopen=no
# Line 11375 | Line 12128 | $as_echo "#define HAVE_LIBDL 1" >>confde
12128   else
12129    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12130   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12131 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12131 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12132    $as_echo_n "(cached) " >&6
12133   else
12134    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12162 | LIBS=$ac_check_lib_save_LIBS
12162   fi
12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12164   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12165 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12165 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12166  
12167   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12168  
# Line 11429 | Line 12182 | then
12182    for ac_func in dlerror
12183   do :
12184    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12185 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12185 > if test "x$ac_cv_func_dlerror" = xyes; then :
12186    cat >>confdefs.h <<_ACEOF
12187   #define HAVE_DLERROR 1
12188   _ACEOF
# Line 11443 | Line 12196 | fi
12196  
12197   LIBADD_SHL_LOAD=
12198   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12199 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12199 > if test "x$ac_cv_func_shl_load" = xyes; then :
12200  
12201   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12202  
# Line 11451 | Line 12204 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12204   else
12205    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12206   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12207 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12207 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12208    $as_echo_n "(cached) " >&6
12209   else
12210    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12238 | LIBS=$ac_check_lib_save_LIBS
12238   fi
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12240   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12241 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12241 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12242  
12243   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12244  
# Line 11501 | Line 12254 | case $host_os in
12254   darwin[1567].*)
12255   # We only want this for pre-Mac OS X 10.4.
12256    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12257 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12257 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12258  
12259   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12260  
# Line 11515 | Line 12268 | beos*)
12268   cygwin* | mingw* | os2* | pw32*)
12269    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12270   "
12271 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12271 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12272    ac_have_decl=1
12273   else
12274    ac_have_decl=0
# Line 11531 | Line 12284 | esac
12284  
12285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12286   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12287 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12287 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12288    $as_echo_n "(cached) " >&6
12289   else
12290    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12318 | LIBS=$ac_check_lib_save_LIBS
12318   fi
12319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12320   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12321 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12321 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12322  
12323   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12324  
# Line 11599 | Line 12352 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12352  
12353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12354   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12355 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12355 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12356    $as_echo_n "(cached) " >&6
12357   else
12358    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12402 | if test x"$lt_cv_sys_symbol_underscore"
12402       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12403          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12404   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12405 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12405 > if ${libltdl_cv_need_uscore+:} false; then :
12406    $as_echo_n "(cached) " >&6
12407   else
12408    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12458 | else
12458   /* When -fvisbility=hidden is used, assume the code has been annotated
12459     correspondingly for the symbols needed.  */
12460   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12461 < void fnord () __attribute__((visibility("default")));
12461 > int fnord () __attribute__((visibility("default")));
12462   #endif
12463  
12464 < void fnord () { int i=42; }
12464 > int fnord () { return 42; }
12465   int main ()
12466   {
12467    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12518 | fi
12518  
12519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12520   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12521 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12521 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12522    $as_echo_n "(cached) " >&6
12523   else
12524    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12624 | for ac_header in argz.h
12624   do :
12625    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12626   "
12627 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12627 > if test "x$ac_cv_header_argz_h" = xyes; then :
12628    cat >>confdefs.h <<_ACEOF
12629   #define HAVE_ARGZ_H 1
12630   _ACEOF
# Line 11885 | Line 12638 | ac_fn_c_check_type "$LINENO" "error_t" "
12638   #  include <argz.h>
12639   #endif
12640   "
12641 < if test "x$ac_cv_type_error_t" = x""yes; then :
12641 > if test "x$ac_cv_type_error_t" = xyes; then :
12642  
12643   cat >>confdefs.h <<_ACEOF
12644   #define HAVE_ERROR_T 1
# Line 11908 | Line 12661 | for ac_func in argz_add argz_append argz
12661   do :
12662    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12663   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12664 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12664 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12665    cat >>confdefs.h <<_ACEOF
12666   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12667   _ACEOF
# Line 11926 | Line 12678 | done
12678   if test -z "$ARGZ_H"; then :
12679    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12680   $as_echo_n "checking if argz actually works... " >&6; }
12681 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12681 > if ${lt_cv_sys_argz_works+:} false; then :
12682    $as_echo_n "(cached) " >&6
12683   else
12684    case $host_os in #(
# Line 11957 | Line 12709 | else
12709   fi
12710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12711   $as_echo "$lt_cv_sys_argz_works" >&6; }
12712 <     if test $lt_cv_sys_argz_works = yes; then :
12712 >     if test "$lt_cv_sys_argz_works" = yes; then :
12713  
12714   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12715  
# Line 11974 | Line 12726 | fi
12726  
12727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12728   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12729 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12729 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12730    $as_echo_n "(cached) " >&6
12731   else
12732    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12768 | if test "x$with_included_ltdl" != xyes;
12768    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12769  
12770   "
12771 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12771 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12772    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12773              #include <ltdl.h>
12774   "
12775 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12775 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12776    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12777   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12778 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12778 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12779    $as_echo_n "(cached) " >&6
12780   else
12781    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12809 | LIBS=$ac_check_lib_save_LIBS
12809   fi
12810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12811   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12812 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12812 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12813    with_included_ltdl=no
12814   else
12815    with_included_ltdl=yes
# Line 12086 | Line 12838 | fi
12838   if test -n "$with_ltdl_include"; then
12839    if test -f "$with_ltdl_include/ltdl.h"; then :
12840    else
12841 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12841 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12842    fi
12843   else
12844    with_ltdl_include=no
# Line 12102 | Line 12854 | fi
12854   if test -n "$with_ltdl_lib"; then
12855    if test -f "$with_ltdl_lib/libltdl.la"; then :
12856    else
12857 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12857 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12858    fi
12859   else
12860    with_ltdl_lib=no
# Line 12111 | Line 12863 | fi
12863   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12864    ,yes,no,no,)
12865          case $enable_ltdl_convenience in
12866 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12866 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12867    "") enable_ltdl_convenience=yes
12868        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12869   esac
# Line 12139 | Line 12891 | $as_echo "#define HAVE_LTDL 1" >>confdef
12891          LTDLINCL=
12892          ;;
12893    ,no*,no,*)
12894 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12894 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12895          ;;
12896    *)    with_included_ltdl=no
12897          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 12958 | do :
12958    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12960   "
12961 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
12961 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12962    cat >>confdefs.h <<_ACEOF
12963   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12964   _ACEOF
# Line 12221 | Line 12972 | for ac_func in closedir opendir readdir
12972   do :
12973    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12974   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12975 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
12975 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12976    cat >>confdefs.h <<_ACEOF
12977   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12978   _ACEOF
# Line 12239 | Line 12989 | for ac_func in strlcat strlcpy
12989   do :
12990    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12991   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12992 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
12992 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12993    cat >>confdefs.h <<_ACEOF
12994   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12995   _ACEOF
# Line 12260 | Line 13009 | cat >>confdefs.h <<_ACEOF
13009   _ACEOF
13010  
13011  
13012 + name=
13013 + eval "lt_libprefix=\"$libname_spec\""
13014 +
13015 + cat >>confdefs.h <<_ACEOF
13016 + #define LT_LIBPREFIX "$lt_libprefix"
13017 + _ACEOF
13018 +
13019 +
13020   name=ltdl
13021 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13021 > eval "LTDLOPEN=\"$libname_spec\""
13022  
13023  
13024  
# Line 12279 | Line 13036 | LIBTOOL="$LIBTOOL --silent"
13036  
13037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13038   $as_echo_n "checking for library containing socket... " >&6; }
13039 < if test "${ac_cv_search_socket+set}" = set; then :
13039 > if ${ac_cv_search_socket+:} false; then :
13040    $as_echo_n "(cached) " >&6
13041   else
13042    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 13070 | for ac_lib in '' socket; do
13070   fi
13071   rm -f core conftest.err conftest.$ac_objext \
13072      conftest$ac_exeext
13073 <  if test "${ac_cv_search_socket+set}" = set; then :
13073 >  if ${ac_cv_search_socket+:} false; then :
13074    break
13075   fi
13076   done
13077 < if test "${ac_cv_search_socket+set}" = set; then :
13077 > if ${ac_cv_search_socket+:} false; then :
13078  
13079   else
13080    ac_cv_search_socket=no
# Line 12332 | Line 13089 | if test "$ac_res" != no; then :
13089    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13090  
13091   else
13092 <  as_fn_error "socket library not found" "$LINENO" 5
13092 >  as_fn_error $? "socket library not found" "$LINENO" 5
13093 > fi
13094 >
13095 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13096 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13097 > if ${ac_cv_search_inet_ntoa+:} false; then :
13098 >  $as_echo_n "(cached) " >&6
13099 > else
13100 >  ac_func_search_save_LIBS=$LIBS
13101 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 > /* end confdefs.h.  */
13103 >
13104 > /* Override any GCC internal prototype to avoid an error.
13105 >   Use char because int might match the return type of a GCC
13106 >   builtin and then its argument prototype would still apply.  */
13107 > #ifdef __cplusplus
13108 > extern "C"
13109 > #endif
13110 > char inet_ntoa ();
13111 > int
13112 > main ()
13113 > {
13114 > return inet_ntoa ();
13115 >  ;
13116 >  return 0;
13117 > }
13118 > _ACEOF
13119 > for ac_lib in '' nsl; do
13120 >  if test -z "$ac_lib"; then
13121 >    ac_res="none required"
13122 >  else
13123 >    ac_res=-l$ac_lib
13124 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13125 >  fi
13126 >  if ac_fn_c_try_link "$LINENO"; then :
13127 >  ac_cv_search_inet_ntoa=$ac_res
13128 > fi
13129 > rm -f core conftest.err conftest.$ac_objext \
13130 >    conftest$ac_exeext
13131 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13132 >  break
13133 > fi
13134 > done
13135 > if ${ac_cv_search_inet_ntoa+:} false; then :
13136 >
13137 > else
13138 >  ac_cv_search_inet_ntoa=no
13139 > fi
13140 > rm conftest.$ac_ext
13141 > LIBS=$ac_func_search_save_LIBS
13142 > fi
13143 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13144 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13145 > ac_res=$ac_cv_search_inet_ntoa
13146 > if test "$ac_res" != no; then :
13147 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13148 >
13149 > fi
13150 >
13151 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13152 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13153 > if ${ac_cv_search_inet_aton+:} false; then :
13154 >  $as_echo_n "(cached) " >&6
13155 > else
13156 >  ac_func_search_save_LIBS=$LIBS
13157 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 > /* end confdefs.h.  */
13159 >
13160 > /* Override any GCC internal prototype to avoid an error.
13161 >   Use char because int might match the return type of a GCC
13162 >   builtin and then its argument prototype would still apply.  */
13163 > #ifdef __cplusplus
13164 > extern "C"
13165 > #endif
13166 > char inet_aton ();
13167 > int
13168 > main ()
13169 > {
13170 > return inet_aton ();
13171 >  ;
13172 >  return 0;
13173 > }
13174 > _ACEOF
13175 > for ac_lib in '' resolv; do
13176 >  if test -z "$ac_lib"; then
13177 >    ac_res="none required"
13178 >  else
13179 >    ac_res=-l$ac_lib
13180 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13181 >  fi
13182 >  if ac_fn_c_try_link "$LINENO"; then :
13183 >  ac_cv_search_inet_aton=$ac_res
13184 > fi
13185 > rm -f core conftest.err conftest.$ac_objext \
13186 >    conftest$ac_exeext
13187 >  if ${ac_cv_search_inet_aton+:} false; then :
13188 >  break
13189 > fi
13190 > done
13191 > if ${ac_cv_search_inet_aton+:} false; then :
13192 >
13193 > else
13194 >  ac_cv_search_inet_aton=no
13195 > fi
13196 > rm conftest.$ac_ext
13197 > LIBS=$ac_func_search_save_LIBS
13198 > fi
13199 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13200 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13201 > ac_res=$ac_cv_search_inet_aton
13202 > if test "$ac_res" != no; then :
13203 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13204 >
13205   fi
13206  
13207    for ac_func in inet_aton inet_ntop inet_pton
13208   do :
13209    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13210   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13211 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
13211 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13212    cat >>confdefs.h <<_ACEOF
13213   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13214   _ACEOF
# Line 12353 | Line 13221 | done
13221     #include <netdb.h>
13222  
13223   "
13224 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13224 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13225  
13226   cat >>confdefs.h <<_ACEOF
13227   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13234 | ac_fn_c_check_type "$LINENO" "struct soc
13234     #include <netdb.h>
13235  
13236   "
13237 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13237 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13238  
13239   cat >>confdefs.h <<_ACEOF
13240   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13247 | ac_fn_c_check_type "$LINENO" "struct add
13247     #include <netdb.h>
13248  
13249   "
13250 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13250 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13251  
13252   cat >>confdefs.h <<_ACEOF
13253   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13259 | fi
13259    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13260    <sys/socket.h>
13261   "
13262 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13262 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13263  
13264   cat >>confdefs.h <<_ACEOF
13265   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12402 | Line 13270 | fi
13270  
13271  
13272  
13273 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13274 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13275 <
12408 < cat >>confdefs.h <<_ACEOF
12409 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12410 < _ACEOF
12411 <
12412 <
12413 < else
13273 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13274 > "
13275 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13276  
13277   $as_echo "#define IPV6 1" >>confdefs.h
13278  
# Line 12421 | Line 13283 | fi
13283   # Checks for typedefs, structures, and compiler characteristics.
13284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13285   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13286 < if test "${ac_cv_c_bigendian+set}" = set; then :
13286 > if ${ac_cv_c_bigendian+:} false; then :
13287    $as_echo_n "(cached) " >&6
13288   else
13289    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13501 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13501  
13502       ;; #(
13503     *)
13504 <     as_fn_error "unknown endianness
13504 >     as_fn_error $? "unknown endianness
13505   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13506   esac
13507  
# Line 12652 | Line 13514 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13514   do :
13515    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13516   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13517 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13517 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13518    cat >>confdefs.h <<_ACEOF
13519   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13520   _ACEOF
# Line 12682 | Line 13543 | do :
13543    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13544   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13545   "
13546 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13546 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13547    cat >>confdefs.h <<_ACEOF
13548   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13549   _ACEOF
# Line 12708 | Line 13568 | done
13568  
13569  
13570  
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
13571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13572   $as_echo_n "checking for library containing crypt... " >&6; }
13573 < if test "${ac_cv_search_crypt+set}" = set; then :
13573 > if ${ac_cv_search_crypt+:} false; then :
13574    $as_echo_n "(cached) " >&6
13575   else
13576    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13604 | for ac_lib in '' crypt; do
13604   fi
13605   rm -f core conftest.err conftest.$ac_objext \
13606      conftest$ac_exeext
13607 <  if test "${ac_cv_search_crypt+set}" = set; then :
13607 >  if ${ac_cv_search_crypt+:} false; then :
13608    break
13609   fi
13610   done
13611 < if test "${ac_cv_search_crypt+set}" = set; then :
13611 > if ${ac_cv_search_crypt+:} false; then :
13612  
13613   else
13614    ac_cv_search_crypt=no
# Line 12795 | Line 13625 | if test "$ac_res" != no; then :
13625   fi
13626  
13627  
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
13628   # Check whether --enable-libpcre was given.
13629   if test "${enable_libpcre+set}" = set; then :
13630 <  enableval=$enable_libpcre; libpcre=$enableval
13630 >  enableval=$enable_libpcre;
13631   else
12885  libpcre=yes
12886 fi
12887
12888
12889 if test "$libpcre" = "yes"; then :
12890
13632    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13633 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13634 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13635 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13636 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13633 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13634 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13635 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13636 > if ${ac_cv_search_pcre_study+:} false; then :
13637    $as_echo_n "(cached) " >&6
13638   else
13639 <  ac_check_lib_save_LIBS=$LIBS
12899 < LIBS="-lpcre  $LIBS"
13639 >  ac_func_search_save_LIBS=$LIBS
13640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641   /* end confdefs.h.  */
13642  
# Line 12915 | Line 13655 | return pcre_study ();
13655    return 0;
13656   }
13657   _ACEOF
13658 < if ac_fn_c_try_link "$LINENO"; then :
13659 <  ac_cv_lib_pcre_pcre_study=yes
13660 < else
13661 <  ac_cv_lib_pcre_pcre_study=no
13658 > for ac_lib in '' pcre; do
13659 >  if test -z "$ac_lib"; then
13660 >    ac_res="none required"
13661 >  else
13662 >    ac_res=-l$ac_lib
13663 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13664 >  fi
13665 >  if ac_fn_c_try_link "$LINENO"; then :
13666 >  ac_cv_search_pcre_study=$ac_res
13667   fi
13668   rm -f core conftest.err conftest.$ac_objext \
13669 <    conftest$ac_exeext conftest.$ac_ext
13670 < LIBS=$ac_check_lib_save_LIBS
13669 >    conftest$ac_exeext
13670 >  if ${ac_cv_search_pcre_study+:} false; then :
13671 >  break
13672   fi
13673 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13674 < $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 <
13673 > done
13674 > if ${ac_cv_search_pcre_study+:} false; then :
13675  
13676   else
13677 <  libpcre=no
13677 >  ac_cv_search_pcre_study=no
13678 > fi
13679 > rm conftest.$ac_ext
13680 > LIBS=$ac_func_search_save_LIBS
13681   fi
13682 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13683 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13684 + ac_res=$ac_cv_search_pcre_study
13685 + if test "$ac_res" != no; then :
13686 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13687  
13688 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13689  
12941 else
12942  libpcre=no
13690   fi
13691  
13692 + fi
13693  
13694  
13695   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
13696  
13697  
13698   # Check whether --enable-openssl was given.
# Line 12994 | Line 13734 | if test "$cf_enable_openssl" != "no"; th
13734    fi
13735  
13736        if test ! -z "$cf_openssl_basedir"; then
12997    LIBS="-lcrypto -lssl $LIBS"
13737      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13738   $as_echo "$cf_openssl_basedir" >&6; }
13739      cf_enable_openssl="yes"
13001
13002 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003
13740    else
13741      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13742   $as_echo "not found. Please check your path." >&6; }
# Line 13013 | Line 13749 | $as_echo "disabled" >&6; }
13749   fi
13750  
13751   if test "$cf_enable_openssl" != "no"; then :
13752 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13753 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13752 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13753 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13754    if test "$cross_compiling" = yes; then :
13755    cf_openssl_version_ok=no
13756   else
13757    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758   /* end confdefs.h.  */
13759  
13760 +
13761      #include <openssl/opensslv.h>
13762      #include <stdlib.h>
13763   int
13764   main ()
13765   {
13766 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13766 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13767    ;
13768    return 0;
13769   }
# Line 13045 | Line 13782 | fi
13782    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13783   $as_echo "found" >&6; }
13784  
13785 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13785 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13786 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13787 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13788 >  $as_echo_n "(cached) " >&6
13789 > else
13790 >  ac_check_lib_save_LIBS=$LIBS
13791 > LIBS="-lssl  $LIBS"
13792 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 > /* end confdefs.h.  */
13794 >
13795 > /* Override any GCC internal prototype to avoid an error.
13796 >   Use char because int might match the return type of a GCC
13797 >   builtin and then its argument prototype would still apply.  */
13798 > #ifdef __cplusplus
13799 > extern "C"
13800 > #endif
13801 > char SSL_connect ();
13802 > int
13803 > main ()
13804 > {
13805 > return SSL_connect ();
13806 >  ;
13807 >  return 0;
13808 > }
13809 > _ACEOF
13810 > if ac_fn_c_try_link "$LINENO"; then :
13811 >  ac_cv_lib_ssl_SSL_connect=yes
13812 > else
13813 >  ac_cv_lib_ssl_SSL_connect=no
13814 > fi
13815 > rm -f core conftest.err conftest.$ac_objext \
13816 >    conftest$ac_exeext conftest.$ac_ext
13817 > LIBS=$ac_check_lib_save_LIBS
13818 > fi
13819 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13820 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13821 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13822 >  cat >>confdefs.h <<_ACEOF
13823 > #define HAVE_LIBSSL 1
13824 > _ACEOF
13825 >
13826 >  LIBS="-lssl $LIBS"
13827 >
13828 > fi
13829 >
13830 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13831 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13832   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13833 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13833 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13834    $as_echo_n "(cached) " >&6
13835   else
13836    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 13864 | LIBS=$ac_check_lib_save_LIBS
13864   fi
13865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13866   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13867 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13867 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13868    cat >>confdefs.h <<_ACEOF
13869   #define HAVE_LIBCRYPTO 1
13870   _ACEOF
# Line 13090 | Line 13873 | _ACEOF
13873  
13874   fi
13875  
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
13876   fi
13877  
13878   else
# Line 13118 | Line 13882 | $as_echo "no - OpenSSL support disabled"
13882   fi
13883   fi
13884  
13885 < if test "$cf_enable_openssl" = yes; then
13885 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13886    ENABLE_SSL_TRUE=
13887    ENABLE_SSL_FALSE='#'
13888   else
# Line 13154 | Line 13918 | fi
13918   if test "$small_net" = "yes"; then :
13919  
13920  
13921 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13921 > $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13922  
13923  
13924   $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
# Line 13187 | Line 13951 | else
13951  
13952  
13953  
13954 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13954 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13955  
13956  
13957   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 13323 | Line 14087 | _ACEOF
14087    if test "$cross_compiling" = yes; then :
14088    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14089   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14090 < as_fn_error "cannot run test program while cross compiling
14091 < See \`config.log' for more details." "$LINENO" 5; }
14090 > as_fn_error $? "cannot run test program while cross compiling
14091 > See \`config.log' for more details" "$LINENO" 5; }
14092   else
14093    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094   /* end confdefs.h.  */
# Line 13357 | Line 14121 | else
14121   #endif
14122   _syscall1(int, epoll_create, int, size)
14123   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14124  
14125 + int
14126 + main ()
14127 + {
14128 + return epoll_create(256) == -1 ? 1 : 0
14129 +  ;
14130 +  return 0;
14131 + }
14132   _ACEOF
14133   if ac_fn_c_try_run "$LINENO"; then :
14134    is_epoll_mechanism_available="yes"
# Line 13428 | Line 14198 | _ACEOF
14198    if test "$cross_compiling" = yes; then :
14199    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14200   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14201 < as_fn_error "cannot run test program while cross compiling
14202 < See \`config.log' for more details." "$LINENO" 5; }
14201 > as_fn_error $? "cannot run test program while cross compiling
14202 > See \`config.log' for more details" "$LINENO" 5; }
14203   else
14204    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205   /* end confdefs.h.  */
14206  
14207 + #define _GNU_SOURCE
14208   #include <fcntl.h>
14209 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
14209 > static unsigned int have_f_setsig = 0;
14210  
14211   int
14212   main ()
14213   {
14214  
14215 + #ifdef F_SETSIG
14216 +  have_f_setsig = 1;
14217 + #endif
14218 +  return have_f_setsig == 0;
14219 +
14220    ;
14221    return 0;
14222   }
# Line 13578 | Line 14350 | rm -f core conftest.err conftest.$ac_obj
14350      if test "$optimal_iopoll_mechanism" = "none" ; then
14351        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14352   $as_echo "none" >&6; }
14353 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14353 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14354      else
14355        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14356        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14365 | $as_echo "$selected_iopoll_mechanism" >&
14365      else
14366        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14367   $as_echo "none" >&6; }
14368 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14368 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14369      fi
14370    fi
14371        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13634 | Line 14406 | _ACEOF
14406  
14407  
14408  
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
14409    # Check whether --enable-efnet was given.
14410   if test "${enable_efnet+set}" = set; then :
14411    enableval=$enable_efnet; efnet="$enableval"
# Line 13661 | Line 14418 | fi
14418  
14419   $as_echo "#define EFNET 1" >>confdefs.h
14420  
13664
13665 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13666
14421          else
14422                  use_efnet="no"
14423    fi
# Line 13722 | Line 14476 | fi
14476    fi
14477  
14478  
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
14479  
14480    prefix_NONE=
14481    exec_prefix_NONE=
# Line 13848 | Line 14562 | _ACEOF
14562    test "$exec_prefix_NONE" && exec_prefix=NONE
14563  
14564  
14565 < 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"
14565 > 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"
14566  
14567  
14568   cat >confcache <<\_ACEOF
# Line 13915 | Line 14629 | $as_echo "$as_me: WARNING: cache variabl
14629       :end' >>confcache
14630   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14631    if test -w "$cache_file"; then
14632 <    test "x$cache_file" != "x/dev/null" &&
14632 >    if test "x$cache_file" != "x/dev/null"; then
14633        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14634   $as_echo "$as_me: updating cache $cache_file" >&6;}
14635 <    cat confcache >$cache_file
14635 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14636 >        cat confcache >"$cache_file"
14637 >      else
14638 >        case $cache_file in #(
14639 >        */* | ?:*)
14640 >          mv -f confcache "$cache_file"$$ &&
14641 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14642 >        *)
14643 >          mv -f confcache "$cache_file" ;;
14644 >        esac
14645 >      fi
14646 >    fi
14647    else
14648      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14649   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 14659 | DEFS=-DHAVE_CONFIG_H
14659  
14660   ac_libobjs=
14661   ac_ltlibobjs=
14662 + U=
14663   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14664    # 1. Remove the extension, and $U if already installed.
14665    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13948 | Line 14674 | LIBOBJS=$ac_libobjs
14674   LTLIBOBJS=$ac_ltlibobjs
14675  
14676  
14677 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14678 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14679 +   if test -n "$am_sleep_pid"; then
14680 +     # Hide warnings about reused PIDs.
14681 +     wait $am_sleep_pid 2>/dev/null
14682 +   fi
14683 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14684 + $as_echo "done" >&6; }
14685   if test -n "$EXEEXT"; then
14686    am__EXEEXT_TRUE=
14687    am__EXEEXT_FALSE='#'
# Line 13957 | Line 14691 | else
14691   fi
14692  
14693   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14694 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14694 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14695   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14696   fi
14697   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14698 <  as_fn_error "conditional \"AMDEP\" was never defined.
14698 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14699   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14700   fi
14701   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14702 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14702 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14703   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14704   fi
14705   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14706 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14706 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14707   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14708   fi
14709   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14710 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14710 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14711   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14712   fi
14713   LT_CONFIG_H=config.h
# Line 13994 | Line 14728 | LT_CONFIG_H=config.h
14728  
14729  
14730  
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
14731   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14732 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14732 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14733   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14734   fi
14735   if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14736 <  as_fn_error "conditional \"EFNET\" was never defined.
14736 >  as_fn_error $? "conditional \"EFNET\" was never defined.
14737   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14738   fi
14739  
14740 < : ${CONFIG_STATUS=./config.status}
14740 > : "${CONFIG_STATUS=./config.status}"
14741   ac_write_fail=0
14742   ac_clean_files_save=$ac_clean_files
14743   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 14838 | fi
14838   IFS=" ""        $as_nl"
14839  
14840   # Find who we are.  Look in the path if we contain no directory separator.
14841 + as_myself=
14842   case $0 in #((
14843    *[\\/]* ) as_myself=$0 ;;
14844    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 14884 | export LANGUAGE
14884   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14885  
14886  
14887 < # as_fn_error ERROR [LINENO LOG_FD]
14888 < # ---------------------------------
14887 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14888 > # ----------------------------------------
14889   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14890   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14891 < # script with status $?, using 1 if that was 0.
14891 > # script with STATUS, using 1 if that was 0.
14892   as_fn_error ()
14893   {
14894 <  as_status=$?; test $as_status -eq 0 && as_status=1
14895 <  if test "$3"; then
14896 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14897 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14894 >  as_status=$1; test $as_status -eq 0 && as_status=1
14895 >  if test "$4"; then
14896 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14897 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14898    fi
14899 <  $as_echo "$as_me: error: $1" >&2
14899 >  $as_echo "$as_me: error: $2" >&2
14900    as_fn_exit $as_status
14901   } # as_fn_error
14902  
# Line 14303 | Line 15034 | if (echo >conf$$.file) 2>/dev/null; then
15034      # ... but there are two gotchas:
15035      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15036      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15037 <    # In both cases, we have to default to `cp -p'.
15037 >    # In both cases, we have to default to `cp -pR'.
15038      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15039 <      as_ln_s='cp -p'
15039 >      as_ln_s='cp -pR'
15040    elif ln conf$$.file conf$$ 2>/dev/null; then
15041      as_ln_s=ln
15042    else
15043 <    as_ln_s='cp -p'
15043 >    as_ln_s='cp -pR'
15044    fi
15045   else
15046 <  as_ln_s='cp -p'
15046 >  as_ln_s='cp -pR'
15047   fi
15048   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15049   rmdir conf$$.dir 2>/dev/null
# Line 14361 | Line 15092 | $as_echo X"$as_dir" |
15092        test -d "$as_dir" && break
15093      done
15094      test -z "$as_dirs" || eval "mkdir $as_dirs"
15095 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15095 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15096  
15097  
15098   } # as_fn_mkdir_p
# Line 14372 | Line 15103 | else
15103    as_mkdir_p=false
15104   fi
15105  
15106 < if test -x / >/dev/null 2>&1; then
15107 <  as_test_x='test -x'
15108 < else
15109 <  if ls -dL / >/dev/null 2>&1; then
15110 <    as_ls_L_option=L
15111 <  else
15112 <    as_ls_L_option=
15113 <  fi
15114 <  as_test_x='
15115 <    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
15106 >
15107 > # as_fn_executable_p FILE
15108 > # -----------------------
15109 > # Test if FILE is an executable regular file.
15110 > as_fn_executable_p ()
15111 > {
15112 >  test -f "$1" && test -x "$1"
15113 > } # as_fn_executable_p
15114 > as_test_x='test -x'
15115 > as_executable_p=as_fn_executable_p
15116  
15117   # Sed expression to map a string onto a valid CPP name.
15118   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14414 | Line 15133 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15133   # report actual input values of CONFIG_FILES etc. instead of their
15134   # values after options handling.
15135   ac_log="
15136 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15137 < generated by GNU Autoconf 2.65.  Invocation command line was
15136 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15137 > generated by GNU Autoconf 2.69.  Invocation command line was
15138  
15139    CONFIG_FILES    = $CONFIG_FILES
15140    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14480 | Line 15199 | _ACEOF
15199   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15200   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15201   ac_cs_version="\\
15202 < ircd-hybrid config.status 7.3-rc1
15203 < configured by $0, generated by GNU Autoconf 2.65,
15202 > ircd-hybrid config.status 8beta1
15203 > configured by $0, generated by GNU Autoconf 2.69,
15204    with options \\"\$ac_cs_config\\"
15205  
15206 < Copyright (C) 2009 Free Software Foundation, Inc.
15206 > Copyright (C) 2012 Free Software Foundation, Inc.
15207   This config.status script is free software; the Free Software Foundation
15208   gives unlimited permission to copy, distribute and modify it."
15209  
# Line 14502 | Line 15221 | ac_need_defaults=:
15221   while test $# != 0
15222   do
15223    case $1 in
15224 <  --*=*)
15224 >  --*=?*)
15225      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15226      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15227      ac_shift=:
15228      ;;
15229 +  --*=)
15230 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15231 +    ac_optarg=
15232 +    ac_shift=:
15233 +    ;;
15234    *)
15235      ac_option=$1
15236      ac_optarg=$2
# Line 14528 | Line 15252 | do
15252      $ac_shift
15253      case $ac_optarg in
15254      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15255 +    '') as_fn_error $? "missing file argument" ;;
15256      esac
15257      as_fn_append CONFIG_FILES " '$ac_optarg'"
15258      ac_need_defaults=false;;
# Line 14540 | Line 15265 | do
15265      ac_need_defaults=false;;
15266    --he | --h)
15267      # Conflict between --help and --header
15268 <    as_fn_error "ambiguous option: \`$1'
15268 >    as_fn_error $? "ambiguous option: \`$1'
15269   Try \`$0 --help' for more information.";;
15270    --help | --hel | -h )
15271      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 15274 | Try \`$0 --help' for more information.";
15274      ac_cs_silent=: ;;
15275  
15276    # This is an error.
15277 <  -*) as_fn_error "unrecognized option: \`$1'
15277 >  -*) as_fn_error $? "unrecognized option: \`$1'
15278   Try \`$0 --help' for more information." ;;
15279  
15280    *) as_fn_append ac_config_targets " $1"
# Line 14569 | Line 15294 | fi
15294   _ACEOF
15295   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15296   if \$ac_cs_recheck; then
15297 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15297 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15298    shift
15299    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15300    CONFIG_SHELL='$SHELL'
# Line 14611 | Line 15336 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15336   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15337   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15338   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15339 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15340   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15341   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15342   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14631 | Line 15357 | exeext='`$ECHO "$exeext" | $SED "$delay_
15357   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15358   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15359   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15360 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15361 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15362   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15363   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15364   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15365   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15366   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15367 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15368 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15369 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15370 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15371   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15372   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15373 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15374   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15375   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15376   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 15385 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15385   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15386   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15387   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"`'
15388 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15389 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15390   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15391   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15392   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"`'
15393   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15394 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15395   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15396   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15397   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15398 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15399   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15400   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15401   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14683 | Line 15419 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15419   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15420   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15421   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"`'
15422   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15423   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15424   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15427 | hardcode_shlibpath_var='`$ECHO "$hardcod
15427   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15428   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15429   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"`'
15430   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15431   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15432   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15433   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15434   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15435 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15436   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15437   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15438   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14739 | Line 15474 | _LTECHO_EOF'
15474   # Quote evaled strings.
15475   for var in SHELL \
15476   ECHO \
15477 + PATH_SEPARATOR \
15478   SED \
15479   GREP \
15480   EGREP \
# Line 14752 | Line 15488 | reload_flag \
15488   OBJDUMP \
15489   deplibs_check_method \
15490   file_magic_cmd \
15491 + file_magic_glob \
15492 + want_nocaseglob \
15493 + DLLTOOL \
15494 + sharedlib_from_linklib_cmd \
15495   AR \
15496   AR_FLAGS \
15497 + archiver_list_spec \
15498   STRIP \
15499   RANLIB \
15500   CC \
# Line 14763 | Line 15504 | lt_cv_sys_global_symbol_pipe \
15504   lt_cv_sys_global_symbol_to_cdecl \
15505   lt_cv_sys_global_symbol_to_c_name_address \
15506   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15507 + nm_file_list_spec \
15508   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
15509   lt_prog_compiler_pic \
15510 + lt_prog_compiler_wl \
15511   lt_prog_compiler_static \
15512   lt_cv_prog_compiler_c_o \
15513   need_locks \
15514 + MANIFEST_TOOL \
15515   DSYMUTIL \
15516   NMEDIT \
15517   LIPO \
# Line 14782 | Line 15525 | with_gnu_ld \
15525   allow_undefined_flag \
15526   no_undefined_flag \
15527   hardcode_libdir_flag_spec \
14785 hardcode_libdir_flag_spec_ld \
15528   hardcode_libdir_separator \
14787 fix_srcfile_path \
15529   exclude_expsyms \
15530   include_expsyms \
15531   file_list_spec \
# Line 14820 | Line 15561 | module_cmds \
15561   module_expsym_cmds \
15562   export_symbols_cmds \
15563   prelink_cmds \
15564 + postlink_cmds \
15565   postinstall_cmds \
15566   postuninstall_cmds \
15567   finish_cmds \
# Line 14867 | Line 15609 | do
15609      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15610      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15611      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14871    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15612      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15613      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15614      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 14882 | Line 15622 | do
15622      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15623      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15624  
15625 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15625 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15626    esac
15627   done
15628  
# Line 14905 | Line 15645 | fi
15645   # after its creation but before its name has been assigned to `$tmp'.
15646   $debug ||
15647   {
15648 <  tmp=
15648 >  tmp= ac_tmp=
15649    trap 'exit_status=$?
15650 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15650 >  : "${ac_tmp:=$tmp}"
15651 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15652   ' 0
15653    trap 'as_fn_exit 1' 1 2 13 15
15654   }
# Line 14915 | Line 15656 | $debug ||
15656  
15657   {
15658    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15659 <  test -n "$tmp" && test -d "$tmp"
15659 >  test -d "$tmp"
15660   }  ||
15661   {
15662    tmp=./conf$$-$RANDOM
15663    (umask 077 && mkdir "$tmp")
15664 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15664 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15665 > ac_tmp=$tmp
15666  
15667   # Set up the scripts for CONFIG_FILES section.
15668   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 15679 | if test "x$ac_cr" = x; then
15679   fi
15680   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15681   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15682 <  ac_cs_awk_cr='\r'
15682 >  ac_cs_awk_cr='\\r'
15683   else
15684    ac_cs_awk_cr=$ac_cr
15685   fi
15686  
15687 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15687 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15688   _ACEOF
15689  
15690  
# Line 14951 | Line 15693 | _ACEOF
15693    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15694    echo "_ACEOF"
15695   } >conf$$subs.sh ||
15696 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15697 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15696 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15697 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15698   ac_delim='%!_!# '
15699   for ac_last_try in false false false false false :; do
15700    . ./conf$$subs.sh ||
15701 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15701 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15702  
15703    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15704    if test $ac_delim_n = $ac_delim_num; then
15705      break
15706    elif $ac_last_try; then
15707 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15707 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15708    else
15709      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15710    fi
# Line 14970 | Line 15712 | done
15712   rm -f conf$$subs.sh
15713  
15714   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15715 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15715 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15716   _ACEOF
15717   sed -n '
15718   h
# Line 15018 | Line 15760 | t delim
15760   rm -f conf$$subs.awk
15761   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15762   _ACAWK
15763 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15763 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15764    for (key in S) S_is_set[key] = 1
15765    FS = ""
15766  
# Line 15050 | Line 15792 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15792    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15793   else
15794    cat
15795 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15796 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15795 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15796 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15797   _ACEOF
15798  
15799 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15800 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15799 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15800 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15801   # trailing colons and then remove the whole line if VPATH becomes empty
15802   # (actually we leave an empty line to preserve line numbers).
15803   if test "x$srcdir" = x.; then
15804 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15805 < s/:*\$(srcdir):*/:/
15806 < s/:*\${srcdir}:*/:/
15807 < s/:*@srcdir@:*/:/
15808 < s/^\([^=]*=[     ]*\):*/\1/
15804 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15805 > h
15806 > s///
15807 > s/^/:/
15808 > s/[      ]*$/:/
15809 > s/:\$(srcdir):/:/g
15810 > s/:\${srcdir}:/:/g
15811 > s/:@srcdir@:/:/g
15812 > s/^:*//
15813   s/:*$//
15814 + x
15815 + s/\(=[   ]*\).*/\1/
15816 + G
15817 + s/\n//
15818   s/^[^=]*=[       ]*$//
15819   }'
15820   fi
# Line 15076 | Line 15826 | fi # test -n "$CONFIG_FILES"
15826   # No need to generate them if there are no CONFIG_HEADERS.
15827   # This happens for instance with `./config.status Makefile'.
15828   if test -n "$CONFIG_HEADERS"; then
15829 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15829 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15830   BEGIN {
15831   _ACEOF
15832  
# Line 15088 | Line 15838 | _ACEOF
15838   # handling of long lines.
15839   ac_delim='%!_!# '
15840   for ac_last_try in false false :; do
15841 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15842 <  if test -z "$ac_t"; then
15841 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15842 >  if test -z "$ac_tt"; then
15843      break
15844    elif $ac_last_try; then
15845 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15845 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15846    else
15847      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15848    fi
# Line 15177 | Line 15927 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15927   _ACAWK
15928   _ACEOF
15929   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15930 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15930 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15931   fi # test -n "$CONFIG_HEADERS"
15932  
15933  
# Line 15190 | Line 15940 | do
15940    esac
15941    case $ac_mode$ac_tag in
15942    :[FHL]*:*);;
15943 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15943 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15944    :[FH]-) ac_tag=-:-;;
15945    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15946    esac
# Line 15209 | Line 15959 | do
15959      for ac_f
15960      do
15961        case $ac_f in
15962 <      -) ac_f="$tmp/stdin";;
15962 >      -) ac_f="$ac_tmp/stdin";;
15963        *) # Look for the file first in the build tree, then in the source tree
15964           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15965           # because $ac_f cannot contain `:'.
# Line 15218 | Line 15968 | do
15968             [\\/$]*) false;;
15969             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15970             esac ||
15971 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15971 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15972        esac
15973        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15974        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 15994 | $as_echo "$as_me: creating $ac_file" >&6
15994      esac
15995  
15996      case $ac_tag in
15997 <    *:-:* | *:-) cat >"$tmp/stdin" \
15998 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15997 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15998 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15999      esac
16000      ;;
16001    esac
# Line 15381 | Line 16131 | s&@INSTALL@&$ac_INSTALL&;t t
16131   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16132   $ac_datarootdir_hack
16133   "
16134 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16135 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16134 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16135 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16136  
16137   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16138 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16139 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16138 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16139 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16140 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16141    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16142 < which seems to be undefined.  Please make sure it is defined." >&5
16142 > which seems to be undefined.  Please make sure it is defined" >&5
16143   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16144 < which seems to be undefined.  Please make sure it is defined." >&2;}
16144 > which seems to be undefined.  Please make sure it is defined" >&2;}
16145  
16146 <  rm -f "$tmp/stdin"
16146 >  rm -f "$ac_tmp/stdin"
16147    case $ac_file in
16148 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16149 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16148 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16149 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16150    esac \
16151 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16151 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16152   ;;
16153    :H)
16154    #
# Line 15406 | Line 16157 | which seems to be undefined.  Please mak
16157    if test x"$ac_file" != x-; then
16158      {
16159        $as_echo "/* $configure_input  */" \
16160 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16161 <    } >"$tmp/config.h" \
16162 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16163 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16160 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16161 >    } >"$ac_tmp/config.h" \
16162 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16163 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16164        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16165   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16166      else
16167        rm -f "$ac_file"
16168 <      mv "$tmp/config.h" "$ac_file" \
16169 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16168 >      mv "$ac_tmp/config.h" "$ac_file" \
16169 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16170      fi
16171    else
16172      $as_echo "/* $configure_input  */" \
16173 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16174 <      || as_fn_error "could not create -" "$LINENO" 5
16173 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16174 >      || as_fn_error $? "could not create -" "$LINENO" 5
16175    fi
16176   # Compute "$ac_file"'s index in $config_headers.
16177   _am_arg="$ac_file"
# Line 15479 | Line 16230 | $as_echo "$as_me: executing $ac_file com
16230      # Strip MF so we end up with the name of the file.
16231      mf=`echo "$mf" | sed -e 's/:.*$//'`
16232      # Check whether this is an Automake generated Makefile or not.
16233 <    # We used to match only the files named `Makefile.in', but
16233 >    # We used to match only the files named 'Makefile.in', but
16234      # some people rename them; so instead we look at the file content.
16235      # Grep'ing the first line is not enough: some people post-process
16236      # each Makefile.in and add a new line on top of each file to say so.
# Line 15513 | Line 16264 | $as_echo X"$mf" |
16264        continue
16265      fi
16266      # Extract the definition of DEPDIR, am__include, and am__quote
16267 <    # from the Makefile without running `make'.
16267 >    # from the Makefile without running 'make'.
16268      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16269      test -z "$DEPDIR" && continue
16270      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16271      test -z "am__include" && continue
16272      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"`
16273      # Find all dependency output files, they are included files with
16274      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16275      # simplest approach to changing $(DEPDIR) to its actual value in the
16276      # expansion.
16277      for file in `sed -n "
16278        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16279 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16279 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16280        # Make sure the directory exists.
16281        test -f "$dirpart/$file" && continue
16282        fdir=`$as_dirname -- "$file" ||
# Line 15581 | Line 16330 | $as_echo X"$file" |
16330   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16331   #
16332   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16333 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16334 < #                 Inc.
16333 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16334 > #                 Foundation, Inc.
16335   #   Written by Gordon Matzigkeit, 1996
16336   #
16337   #   This file is part of GNU Libtool.
# Line 15636 | Line 16385 | SHELL=$lt_SHELL
16385   # An echo program that protects backslashes.
16386   ECHO=$lt_ECHO
16387  
16388 + # The PATH separator for the build system.
16389 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16390 +
16391   # The host system.
16392   host_alias=$host_alias
16393   host=$host
# Line 15685 | Line 16437 | SP2NL=$lt_lt_SP2NL
16437   # turn newlines into spaces.
16438   NL2SP=$lt_lt_NL2SP
16439  
16440 + # convert \$build file names to \$host format.
16441 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16442 +
16443 + # convert \$build files to toolchain format.
16444 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16445 +
16446   # An object symbol dumper.
16447   OBJDUMP=$lt_OBJDUMP
16448  
16449   # Method to check whether dependent libraries are shared objects.
16450   deplibs_check_method=$lt_deplibs_check_method
16451  
16452 < # Command to use when deplibs_check_method == "file_magic".
16452 > # Command to use when deplibs_check_method = "file_magic".
16453   file_magic_cmd=$lt_file_magic_cmd
16454  
16455 + # How to find potential files when deplibs_check_method = "file_magic".
16456 + file_magic_glob=$lt_file_magic_glob
16457 +
16458 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16459 + want_nocaseglob=$lt_want_nocaseglob
16460 +
16461 + # DLL creation program.
16462 + DLLTOOL=$lt_DLLTOOL
16463 +
16464 + # Command to associate shared and link libraries.
16465 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16466 +
16467   # The archiver.
16468   AR=$lt_AR
16469 +
16470 + # Flags to create an archive.
16471   AR_FLAGS=$lt_AR_FLAGS
16472  
16473 + # How to feed a file listing to the archiver.
16474 + archiver_list_spec=$lt_archiver_list_spec
16475 +
16476   # A symbol stripping program.
16477   STRIP=$lt_STRIP
16478  
# Line 15727 | Line 16502 | global_symbol_to_c_name_address=$lt_lt_c
16502   # Transform the output of nm in a C name address pair when lib prefix is needed.
16503   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16504  
16505 + # Specify filename containing input files for \$NM.
16506 + nm_file_list_spec=$lt_nm_file_list_spec
16507 +
16508 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16509 + lt_sysroot=$lt_sysroot
16510 +
16511   # The name of the directory that contains temporary libtool files.
16512   objdir=$objdir
16513  
# Line 15736 | Line 16517 | MAGIC_CMD=$MAGIC_CMD
16517   # Must we lock files when doing compilation?
16518   need_locks=$lt_need_locks
16519  
16520 + # Manifest tool.
16521 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16522 +
16523   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16524   DSYMUTIL=$lt_DSYMUTIL
16525  
# Line 15850 | Line 16634 | with_gcc=$GCC
16634   # Compiler flag to turn off builtin functions.
16635   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16636  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
16637   # Additional compiler flags for building library objects.
16638   pic_flag=$lt_lt_prog_compiler_pic
16639  
16640 + # How to pass a linker flag through the compiler.
16641 + wl=$lt_lt_prog_compiler_wl
16642 +
16643   # Compiler flag to prevent dynamic linking.
16644   link_static_flag=$lt_lt_prog_compiler_static
16645  
# Line 15905 | Line 16689 | no_undefined_flag=$lt_no_undefined_flag
16689   # This must work even if \$libdir does not exist
16690   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16691  
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
16692   # Whether we need a single "-rpath" flag with a separated argument.
16693   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16694  
# Line 15942 | Line 16722 | inherit_rpath=$inherit_rpath
16722   # Whether libtool must link a program against all its dependency libraries.
16723   link_all_deplibs=$link_all_deplibs
16724  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
16725   # Set to "yes" if exported symbols are required.
16726   always_export_symbols=$always_export_symbols
16727  
# Line 15960 | Line 16737 | include_expsyms=$lt_include_expsyms
16737   # Commands necessary for linking programs (against libraries) with templates.
16738   prelink_cmds=$lt_prelink_cmds
16739  
16740 + # Commands necessary for finishing linking programs.
16741 + postlink_cmds=$lt_postlink_cmds
16742 +
16743   # Specify filename containing input files.
16744   file_list_spec=$lt_file_list_spec
16745  
# Line 15992 | Line 16772 | ltmain="$ac_aux_dir/ltmain.sh"
16772    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16773    # text mode, it properly converts lines to CR/LF.  This bash problem
16774    # is reportedly fixed, but why not run on old versions too?
16775 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16776 <    || (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
16775 >  sed '$q' "$ltmain" >> "$cfgfile" \
16776 >     || (rm -f "$cfgfile"; exit 1)
16777  
16778 +  if test x"$xsi_shell" = xyes; then
16779 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16780 + func_dirname ()\
16781 + {\
16782 + \    case ${1} in\
16783 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16784 + \      *  ) func_dirname_result="${3}" ;;\
16785 + \    esac\
16786 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16787 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16788 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16789 + test 0 -eq $? || _lt_function_replace_fail=:
16790 +
16791 +
16792 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16793 + func_basename ()\
16794 + {\
16795 + \    func_basename_result="${1##*/}"\
16796 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16797 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16798 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16799 + test 0 -eq $? || _lt_function_replace_fail=:
16800 +
16801 +
16802 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16803 + func_dirname_and_basename ()\
16804 + {\
16805 + \    case ${1} in\
16806 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16807 + \      *  ) func_dirname_result="${3}" ;;\
16808 + \    esac\
16809 + \    func_basename_result="${1##*/}"\
16810 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16811 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16812 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16813 + test 0 -eq $? || _lt_function_replace_fail=:
16814 +
16815 +
16816 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16817 + func_stripname ()\
16818 + {\
16819 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16820 + \    # positional parameters, so assign one to ordinary parameter first.\
16821 + \    func_stripname_result=${3}\
16822 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16823 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16824 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16825 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16826 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16827 + test 0 -eq $? || _lt_function_replace_fail=:
16828 +
16829 +
16830 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16831 + func_split_long_opt ()\
16832 + {\
16833 + \    func_split_long_opt_name=${1%%=*}\
16834 + \    func_split_long_opt_arg=${1#*=}\
16835 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16836 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16837 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16838 + test 0 -eq $? || _lt_function_replace_fail=:
16839 +
16840 +
16841 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16842 + func_split_short_opt ()\
16843 + {\
16844 + \    func_split_short_opt_arg=${1#??}\
16845 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16846 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16847 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16848 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16849 + test 0 -eq $? || _lt_function_replace_fail=:
16850 +
16851 +
16852 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16853 + func_lo2o ()\
16854 + {\
16855 + \    case ${1} in\
16856 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16857 + \      *)    func_lo2o_result=${1} ;;\
16858 + \    esac\
16859 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16860 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16861 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16862 + test 0 -eq $? || _lt_function_replace_fail=:
16863 +
16864 +
16865 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16866 + func_xform ()\
16867 + {\
16868 +    func_xform_result=${1%.*}.lo\
16869 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16870 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16871 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16872 + test 0 -eq $? || _lt_function_replace_fail=:
16873 +
16874 +
16875 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16876 + func_arith ()\
16877 + {\
16878 +    func_arith_result=$(( $* ))\
16879 + } # Extended-shell func_arith implementation' "$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 +
16884 +
16885 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16886 + func_len ()\
16887 + {\
16888 +    func_len_result=${#1}\
16889 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16890 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16891 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16892 + test 0 -eq $? || _lt_function_replace_fail=:
16893 +
16894 + fi
16895 +
16896 + if test x"$lt_shell_append" = xyes; then
16897 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16898 + func_append ()\
16899 + {\
16900 +    eval "${1}+=\\${2}"\
16901 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16902 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16903 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16904 + test 0 -eq $? || _lt_function_replace_fail=:
16905 +
16906 +
16907 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16908 + func_append_quoted ()\
16909 + {\
16910 + \    func_quote_for_eval "${2}"\
16911 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16912 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16913 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16914 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16915 + test 0 -eq $? || _lt_function_replace_fail=:
16916 +
16917 +
16918 +  # Save a `func_append' function call where possible by direct use of '+='
16919 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16920 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16921 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16922 +  test 0 -eq $? || _lt_function_replace_fail=:
16923 + else
16924 +  # Save a `func_append' function call even when '+=' is not available
16925 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16926 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16927 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16928 +  test 0 -eq $? || _lt_function_replace_fail=:
16929 + fi
16930 +
16931 + if test x"$_lt_function_replace_fail" = x":"; then
16932 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16933 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16934 + fi
16935  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
16936  
16937 <  mv -f "$cfgfile" "$ofile" ||
16937 >   mv -f "$cfgfile" "$ofile" ||
16938      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16939    chmod +x "$ofile"
16940  
# Line 16210 | Line 16949 | _ACEOF
16949   ac_clean_files=$ac_clean_files_save
16950  
16951   test $ac_write_fail = 0 ||
16952 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16952 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16953  
16954  
16955   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 16970 | if test "$no_create" != yes; then
16970    exec 5>>config.log
16971    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16972    # would make configure fail if this is the last instruction.
16973 <  $ac_cs_success || as_fn_exit $?
16973 >  $ac_cs_success || as_fn_exit 1
16974   fi
16975   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16976    { $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)