ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.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/branches/8.2.x/configure (file contents), Revision 3725 by michael, Sat May 31 16:29:38 2014 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 3644 2014-05-26 12:34:53Z 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 8.2.0beta3.
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='8.2.0beta3'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0beta3'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 620 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
623 EFNET_FALSE
624 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
627 ENABLE_PCRE_FALSE
628 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 650 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 + MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 679 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 695 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 759 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 766 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
775 < enable_zlib
776 < with_libpcre_path
777 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
780 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
784 enable_rtsigio
814   enable_poll
815   enable_select
787 with_nicklen
788 with_topiclen
789 with_syslog_facility
790 enable_efnet
791 enable_halfops
816   enable_debugging
817   enable_warnings
794 enable_syslog
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 866 | Line 889 | do
889    fi
890  
891    case $ac_option in
892 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 <  *)    ac_optarg=yes ;;
892 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 >  *=)   ac_optarg= ;;
894 >  *)    ac_optarg=yes ;;
895    esac
896  
897    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 912 | Line 936 | do
936      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937      # Reject names that are not valid shell variable names.
938      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 <      as_fn_error "invalid feature name: $ac_useropt"
939 >      as_fn_error $? "invalid feature name: $ac_useropt"
940      ac_useropt_orig=$ac_useropt
941      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942      case $ac_user_opts in
# Line 938 | Line 962 | do
962      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963      # Reject names that are not valid shell variable names.
964      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 <      as_fn_error "invalid feature name: $ac_useropt"
965 >      as_fn_error $? "invalid feature name: $ac_useropt"
966      ac_useropt_orig=$ac_useropt
967      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968      case $ac_user_opts in
# Line 1142 | Line 1166 | do
1166      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167      # Reject names that are not valid shell variable names.
1168      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 <      as_fn_error "invalid package name: $ac_useropt"
1169 >      as_fn_error $? "invalid package name: $ac_useropt"
1170      ac_useropt_orig=$ac_useropt
1171      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172      case $ac_user_opts in
# Line 1158 | Line 1182 | do
1182      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183      # Reject names that are not valid shell variable names.
1184      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 <      as_fn_error "invalid package name: $ac_useropt"
1185 >      as_fn_error $? "invalid package name: $ac_useropt"
1186      ac_useropt_orig=$ac_useropt
1187      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188      case $ac_user_opts in
# Line 1188 | Line 1212 | do
1212    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213      x_libraries=$ac_optarg ;;
1214  
1215 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1216 < Try \`$0 --help' for more information."
1215 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 > Try \`$0 --help' for more information"
1217      ;;
1218  
1219    *=*)
# Line 1197 | Line 1221 | Try \`$0 --help' for more information."
1221      # Reject names that are not valid shell variable names.
1222      case $ac_envvar in #(
1223        '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1224 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225      esac
1226      eval $ac_envvar=\$ac_optarg
1227      export $ac_envvar ;;
# Line 1207 | Line 1231 | Try \`$0 --help' for more information."
1231      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235      ;;
1236  
1237    esac
# Line 1215 | Line 1239 | done
1239  
1240   if test -n "$ac_prev"; then
1241    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 <  as_fn_error "missing argument to $ac_option"
1242 >  as_fn_error $? "missing argument to $ac_option"
1243   fi
1244  
1245   if test -n "$ac_unrecognized_opts"; then
1246    case $enable_option_checking in
1247      no) ;;
1248 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250    esac
1251   fi
# Line 1244 | Line 1268 | do
1268      [\\/$]* | ?:[\\/]* )  continue;;
1269      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270    esac
1271 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1271 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272   done
1273  
1274   # There might be people who depend on the old broken behavior: `$host'
# Line 1258 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      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
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1274 | Line 1296 | test "$silent" = yes && exec 6>/dev/null
1296   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297   ac_ls_di=`ls -di .` &&
1298   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 <  as_fn_error "working directory cannot be determined"
1299 >  as_fn_error $? "working directory cannot be determined"
1300   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 <  as_fn_error "pwd does not report name of working directory"
1301 >  as_fn_error $? "pwd does not report name of working directory"
1302  
1303  
1304   # Find the source files, if location was not specified.
# Line 1315 | Line 1337 | else
1337   fi
1338   if test ! -r "$srcdir/$ac_unique_file"; then
1339    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1340 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341   fi
1342   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343   ac_abs_confdir=`(
1344 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1344 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345          pwd)`
1346   # When building in place, set srcdir=.
1347   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1345 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid 8.2.0beta3 to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1359 | Line 1381 | Configuration:
1381        --help=short        display options specific to this package
1382        --help=recursive    display the short help of all the included packages
1383    -V, --version           display version information and exit
1384 <  -q, --quiet, --silent   do not print \`checking...' messages
1384 >  -q, --quiet, --silent   do not print \`checking ...' messages
1385        --cache-file=FILE   cache test results in FILE [disabled]
1386    -C, --config-cache      alias for \`--cache-file=config.cache'
1387    -n, --no-create         do not create output files
# Line 1415 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0beta3:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1423 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1437 <  --disable-libpcre       Disable PCRE support
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465    --disable-openssl            Disable OpenSSL support.
1466    --enable-assert         Enable assert() statements
1441  --enable-small-net      Enable small network support.
1467    --enable-kqueue         Force kqueue usage.
1468    --enable-epoll          Force epoll usage.
1469    --enable-devpoll        Force devpoll usage.
1445  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1448  --enable-efnet          For IRCDs running on EFnet.
1449  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1452  --enable-syslog="EVENTS"
1453                          Enable syslog for events: users oper (space
1454                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481 +  --with-sysroot=DIR Search for dependent libraries within DIR
1482 +                        (or the compiler's sysroot if not specified).
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1465  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1466  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1467  --with-nicklen=<value>  Set nickname length (default 9).
1468  --with-topiclen=<value> Set topic length (default 160).
1469  --with-syslog-facility=LOG
1470                          Define the syslog facility to use (default:
1471                          LOG_LOCAL4)
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1478 | Line 1492 | Some influential environment variables:
1492    LIBS        libraries to pass to the linker, e.g. -l<library>
1493    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1494                you have headers in a nonstandard directory <include dir>
1495 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1496 <              the first program found out of: `bison -y', `byacc', `yacc'.
1495 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1496 >              Defaults to the first program found out of: `bison -y', `byacc',
1497 >              `yacc'.
1498    YFLAGS      The list of arguments that will be passed by default to $YACC.
1499                This script will default YFLAGS to the empty string to avoid a
1500                default value of `-d' given by some make applications.
# Line 1551 | Line 1566 | fi
1566   test -n "$ac_init_help" && exit $ac_status
1567   if $ac_init_version; then
1568    cat <<\_ACEOF
1569 < ircd-hybrid configure 7.3-rc1
1570 < generated by GNU Autoconf 2.65
1569 > ircd-hybrid configure 8.2.0beta3
1570 > generated by GNU Autoconf 2.69
1571  
1572 < Copyright (C) 2009 Free Software Foundation, Inc.
1572 > Copyright (C) 2012 Free Software Foundation, Inc.
1573   This configure script is free software; the Free Software Foundation
1574   gives unlimited permission to copy, distribute and modify it.
1575   _ACEOF
# Line 1598 | Line 1613 | sed 's/^/| /' conftest.$ac_ext >&5
1613  
1614          ac_retval=1
1615   fi
1616 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617    as_fn_set_status $ac_retval
1618  
1619   } # ac_fn_c_try_compile
# Line 1630 | Line 1645 | $as_echo "$ac_try_echo"; } >&5
1645           test ! -s conftest.err
1646         } && test -s conftest$ac_exeext && {
1647           test "$cross_compiling" = yes ||
1648 <         $as_test_x conftest$ac_exeext
1648 >         test -x conftest$ac_exeext
1649         }; then :
1650    ac_retval=0
1651   else
# Line 1644 | Line 1659 | fi
1659    # interfere with the next link command; also delete a directory that is
1660    # left behind by Apple's compiler.  We do this before executing the actions.
1661    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663    as_fn_set_status $ac_retval
1664  
1665   } # ac_fn_c_try_link
# Line 1658 | Line 1673 | ac_fn_c_check_header_compile ()
1673    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675   $as_echo_n "checking for $2... " >&6; }
1676 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 > if eval \${$3+:} false; then :
1677    $as_echo_n "(cached) " >&6
1678   else
1679    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1676 | Line 1691 | fi
1691   eval ac_res=\$$3
1692                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693   $as_echo "$ac_res" >&6; }
1694 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695  
1696   } # ac_fn_c_check_header_compile
1697  
# Line 1701 | Line 1716 | $as_echo "$ac_try_echo"; } >&5
1716      mv -f conftest.er1 conftest.err
1717    fi
1718    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 <  test $ac_status = 0; } >/dev/null && {
1719 >  test $ac_status = 0; } > conftest.i && {
1720           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1721           test ! -s conftest.err
1722         }; then :
# Line 1712 | Line 1727 | sed 's/^/| /' conftest.$ac_ext >&5
1727  
1728      ac_retval=1
1729   fi
1730 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731    as_fn_set_status $ac_retval
1732  
1733   } # ac_fn_c_try_cpp
# Line 1754 | Line 1769 | sed 's/^/| /' conftest.$ac_ext >&5
1769         ac_retval=$ac_status
1770   fi
1771    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773    as_fn_set_status $ac_retval
1774  
1775   } # ac_fn_c_try_run
# Line 1767 | Line 1782 | ac_fn_c_check_func ()
1782    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784   $as_echo_n "checking for $2... " >&6; }
1785 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 > if eval \${$3+:} false; then :
1786    $as_echo_n "(cached) " >&6
1787   else
1788    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1822 | Line 1837 | fi
1837   eval ac_res=\$$3
1838                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839   $as_echo "$ac_res" >&6; }
1840 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841  
1842   } # ac_fn_c_check_func
1843  
1844 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1845 < # ------------------------------------
1846 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1844 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1845 > # ---------------------------------------------
1846 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1847 > # accordingly.
1848   ac_fn_c_check_decl ()
1849   {
1850    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1852 < $as_echo_n "checking whether $2 is declared... " >&6; }
1853 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1852 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1853 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1854 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1855 > if eval \${$3+:} false; then :
1856    $as_echo_n "(cached) " >&6
1857   else
1858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1843 | Line 1861 | $4
1861   int
1862   main ()
1863   {
1864 < #ifndef $2
1865 <  (void) $2;
1864 > #ifndef $as_decl_name
1865 > #ifdef __cplusplus
1866 >  (void) $as_decl_use;
1867 > #else
1868 >  (void) $as_decl_name;
1869 > #endif
1870   #endif
1871  
1872    ;
# Line 1861 | Line 1883 | fi
1883   eval ac_res=\$$3
1884                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885   $as_echo "$ac_res" >&6; }
1886 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887  
1888   } # ac_fn_c_check_decl
1889  
# Line 1874 | Line 1896 | ac_fn_c_check_type ()
1896    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898   $as_echo_n "checking for $2... " >&6; }
1899 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1899 > if eval \${$3+:} false; then :
1900    $as_echo_n "(cached) " >&6
1901   else
1902    eval "$3=no"
# Line 1915 | Line 1937 | fi
1937   eval ac_res=\$$3
1938                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939   $as_echo "$ac_res" >&6; }
1940 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941  
1942   } # ac_fn_c_check_type
1943  
# Line 1928 | Line 1950 | ac_fn_c_check_member ()
1950    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952   $as_echo_n "checking for $2.$3... " >&6; }
1953 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 > if eval \${$4+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   else
1956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1972 | Line 1994 | fi
1994   eval ac_res=\$$4
1995                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996   $as_echo "$ac_res" >&6; }
1997 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  
1999   } # ac_fn_c_check_member
2000  
# Line 1984 | Line 2006 | $as_echo "$ac_res" >&6; }
2006   ac_fn_c_check_header_mongrel ()
2007   {
2008    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2009 >  if eval \${$3+:} false; then :
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011   $as_echo_n "checking for $2... " >&6; }
2012 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2012 > if eval \${$3+:} false; then :
2013    $as_echo_n "(cached) " >&6
2014   fi
2015   eval ac_res=\$$3
# Line 2023 | Line 2045 | if ac_fn_c_try_cpp "$LINENO"; then :
2045   else
2046    ac_header_preproc=no
2047   fi
2048 < rm -f conftest.err conftest.$ac_ext
2048 > rm -f conftest.err conftest.i conftest.$ac_ext
2049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2050   $as_echo "$ac_header_preproc" >&6; }
2051  
# Line 2046 | Line 2068 | $as_echo "$as_me: WARNING: $2: see the A
2068   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2069      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2070   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2071 < ( cat <<\_ASBOX
2050 < ## ----------------------------------- ##
2071 > ( $as_echo "## ----------------------------------- ##
2072   ## Report this to bugs@ircd-hybrid.org ##
2073 < ## ----------------------------------- ##
2053 < _ASBOX
2073 > ## ----------------------------------- ##"
2074       ) | sed "s/^/$as_me: WARNING:     /" >&2
2075      ;;
2076   esac
2077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078   $as_echo_n "checking for $2... " >&6; }
2079 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2079 > if eval \${$3+:} false; then :
2080    $as_echo_n "(cached) " >&6
2081   else
2082    eval "$3=\$ac_header_compiler"
# Line 2065 | Line 2085 | eval ac_res=\$$3
2085                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086   $as_echo "$ac_res" >&6; }
2087   fi
2088 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089  
2090   } # ac_fn_c_check_header_mongrel
2091   cat >config.log <<_ACEOF
2092   This file contains any messages produced by compilers while
2093   running configure, to aid debugging if configure makes a mistake.
2094  
2095 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2096 < generated by GNU Autoconf 2.65.  Invocation command line was
2095 > It was created by ircd-hybrid $as_me 8.2.0beta3, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2183 | Line 2203 | trap 'exit_status=$?
2203    {
2204      echo
2205  
2206 <    cat <<\_ASBOX
2187 < ## ---------------- ##
2206 >    $as_echo "## ---------------- ##
2207   ## Cache variables. ##
2208 < ## ---------------- ##
2190 < _ASBOX
2208 > ## ---------------- ##"
2209      echo
2210      # The following way of writing the cache mishandles newlines in values,
2211   (
# Line 2221 | Line 2239 | $as_echo "$as_me: WARNING: cache variabl
2239   )
2240      echo
2241  
2242 <    cat <<\_ASBOX
2225 < ## ----------------- ##
2242 >    $as_echo "## ----------------- ##
2243   ## Output variables. ##
2244 < ## ----------------- ##
2228 < _ASBOX
2244 > ## ----------------- ##"
2245      echo
2246      for ac_var in $ac_subst_vars
2247      do
# Line 2238 | Line 2254 | _ASBOX
2254      echo
2255  
2256      if test -n "$ac_subst_files"; then
2257 <      cat <<\_ASBOX
2242 < ## ------------------- ##
2257 >      $as_echo "## ------------------- ##
2258   ## File substitutions. ##
2259 < ## ------------------- ##
2245 < _ASBOX
2259 > ## ------------------- ##"
2260        echo
2261        for ac_var in $ac_subst_files
2262        do
# Line 2256 | Line 2270 | _ASBOX
2270      fi
2271  
2272      if test -s confdefs.h; then
2273 <      cat <<\_ASBOX
2260 < ## ----------- ##
2273 >      $as_echo "## ----------- ##
2274   ## confdefs.h. ##
2275 < ## ----------- ##
2263 < _ASBOX
2275 > ## ----------- ##"
2276        echo
2277        cat confdefs.h
2278        echo
# Line 2315 | Line 2327 | _ACEOF
2327   ac_site_file1=NONE
2328   ac_site_file2=NONE
2329   if test -n "$CONFIG_SITE"; then
2330 <  ac_site_file1=$CONFIG_SITE
2330 >  # We do not want a PATH search for config.site.
2331 >  case $CONFIG_SITE in #((
2332 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2333 >    */*) ac_site_file1=$CONFIG_SITE;;
2334 >    *)   ac_site_file1=./$CONFIG_SITE;;
2335 >  esac
2336   elif test "x$prefix" != xNONE; then
2337    ac_site_file1=$prefix/share/config.site
2338    ac_site_file2=$prefix/etc/config.site
# Line 2330 | Line 2347 | do
2347      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2348   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2349      sed 's/^/| /' "$ac_site_file" >&5
2350 <    . "$ac_site_file"
2350 >    . "$ac_site_file" \
2351 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 > as_fn_error $? "failed to load site script $ac_site_file
2354 > See \`config.log' for more details" "$LINENO" 5; }
2355    fi
2356   done
2357  
# Line 2351 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2354 as_fn_append ac_func_list " mmap"
2375   as_fn_append ac_func_list " strtok_r"
2376   as_fn_append ac_func_list " usleep"
2377   as_fn_append ac_func_list " strlcat"
2378   as_fn_append ac_func_list " strlcpy"
2379   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"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   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"
2382   as_fn_append ac_header_list " types.h"
2383   as_fn_append ac_header_list " socket.h"
2384   as_fn_append ac_header_list " sys/wait.h"
2385   as_fn_append ac_header_list " wait.h"
2370 as_fn_append ac_header_list " link.h"
2386   # Check that the precious variables saved in the cache have kept the same
2387   # value.
2388   ac_cache_corrupted=false
# Line 2423 | Line 2438 | if $ac_cache_corrupted; then
2438   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2440   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2441 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2441 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442   fi
2443   ## -------------------- ##
2444   ## Main body of script. ##
# Line 2436 | Line 2451 | ac_link='$CC -o conftest$ac_exeext $CFLA
2451   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452  
2453  
2454 < am__api_version='1.11'
2454 > am__api_version='1.14'
2455  
2456   ac_aux_dir=
2457   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2458 <  for ac_t in install-sh install.sh shtool; do
2459 <    if test -f "$ac_dir/$ac_t"; then
2460 <      ac_aux_dir=$ac_dir
2461 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2462 <      break 2
2463 <    fi
2464 <  done
2458 >  if test -f "$ac_dir/install-sh"; then
2459 >    ac_aux_dir=$ac_dir
2460 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2461 >    break
2462 >  elif test -f "$ac_dir/install.sh"; then
2463 >    ac_aux_dir=$ac_dir
2464 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2465 >    break
2466 >  elif test -f "$ac_dir/shtool"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2469 >    break
2470 >  fi
2471   done
2472   if test -z "$ac_aux_dir"; then
2473 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2473 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2474   fi
2475  
2476   # These three variables are undocumented and unsupported,
# Line 2478 | Line 2499 | ac_configure="$SHELL $ac_aux_dir/configu
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2500   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2501   if test -z "$INSTALL"; then
2502 < if test "${ac_cv_path_install+set}" = set; then :
2502 > if ${ac_cv_path_install+:} false; then :
2503    $as_echo_n "(cached) " >&6
2504   else
2505    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2498 | Line 2519 | case $as_dir/ in #((
2519      # by default.
2520      for ac_prog in ginstall scoinst install; do
2521        for ac_exec_ext in '' $ac_executable_extensions; do
2522 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523            if test $ac_prog = install &&
2524              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # AIX install.  It has an incompatible calling convention.
# Line 2556 | Line 2577 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2577  
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579   $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Just in case
2560 sleep 1
2561 echo timestamp > conftest.file
2580   # Reject unsafe characters in $srcdir or the absolute working directory
2581   # name.  Accept space and tab only in the latter.
2582   am_lf='
2583   '
2584   case `pwd` in
2585    *[\\\"\#\$\&\'\`$am_lf]*)
2586 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2586 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593 < # Do `set' in a subshell so we don't clobber the current shell's
2593 > # Do 'set' in a subshell so we don't clobber the current shell's
2594   # arguments.  Must try -L first in case configure is actually a
2595   # symlink; some systems play weird games with the mod time of symlinks
2596   # (eg FreeBSD returns the mod time of the symlink's containing
2597   # directory).
2598   if (
2599 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 <   if test "$*" = "X"; then
2601 <      # -L didn't work.
2602 <      set X `ls -t "$srcdir/configure" conftest.file`
2603 <   fi
2604 <   rm -f conftest.file
2605 <   if test "$*" != "X $srcdir/configure conftest.file" \
2606 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2607 <
2608 <      # 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
2599 >   am_has_slept=no
2600 >   for am_try in 1 2; do
2601 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2602 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 >     if test "$*" = "X"; then
2604 >        # -L didn't work.
2605 >        set X `ls -t "$srcdir/configure" conftest.file`
2606 >     fi
2607 >     if test "$*" != "X $srcdir/configure conftest.file" \
2608 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2609  
2610 +        # If neither matched, then we have a broken ls.  This can happen
2611 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 +        # broken ls alias from the environment.  This has actually
2613 +        # happened.  Such a system could not be considered "sane".
2614 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615 +  alias in your environment" "$LINENO" 5
2616 +     fi
2617 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2618 +       break
2619 +     fi
2620 +     # Just in case.
2621 +     sleep 1
2622 +     am_has_slept=yes
2623 +   done
2624     test "$2" = conftest.file
2625     )
2626   then
2627     # Ok.
2628     :
2629   else
2630 <   as_fn_error "newly created file is older than distributed files!
2630 >   as_fn_error $? "newly created file is older than distributed files!
2631   Check your system clock" "$LINENO" 5
2632   fi
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634   $as_echo "yes" >&6; }
2635 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 + # generated files are strictly newer.
2637 + am_sleep_pid=
2638 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639 +  ( sleep 1 ) &
2640 +  am_sleep_pid=$!
2641 + fi
2642 +
2643 + rm -f conftest.file
2644 +
2645   test "$program_prefix" != NONE &&
2646    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647   # Use a double $ so make ignores it.
# Line 2628 | Line 2664 | if test x"${MISSING+set}" != xset; then
2664    esac
2665   fi
2666   # Use eval to expand $SHELL
2667 < if eval "$MISSING --run true"; then
2668 <  am_missing_run="$MISSING --run "
2667 > if eval "$MISSING --is-lightweight"; then
2668 >  am_missing_run="$MISSING "
2669   else
2670    am_missing_run=
2671 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2672 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673   fi
2674  
2675   if test x"${install_sh}" != xset; then
# Line 2645 | Line 2681 | if test x"${install_sh}" != xset; then
2681    esac
2682   fi
2683  
2684 < # Installed binaries are usually stripped using `strip' when the user
2685 < # run `make install-strip'.  However `strip' might not be the right
2684 > # Installed binaries are usually stripped using 'strip' when the user
2685 > # run "make install-strip".  However 'strip' might not be the right
2686   # tool to use in cross-compilation environments, therefore Automake
2687 < # will honor the `STRIP' environment variable to overrule this program.
2687 > # will honor the 'STRIP' environment variable to overrule this program.
2688   if test "$cross_compiling" != no; then
2689    if test -n "$ac_tool_prefix"; then
2690    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2691   set dummy ${ac_tool_prefix}strip; ac_word=$2
2692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693   $as_echo_n "checking for $ac_word... " >&6; }
2694 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2694 > if ${ac_cv_prog_STRIP+:} false; then :
2695    $as_echo_n "(cached) " >&6
2696   else
2697    if test -n "$STRIP"; then
# Line 2667 | Line 2703 | do
2703    IFS=$as_save_IFS
2704    test -z "$as_dir" && as_dir=.
2705      for ac_exec_ext in '' $ac_executable_extensions; do
2706 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709      break 2
# Line 2695 | Line 2731 | if test -z "$ac_cv_prog_STRIP"; then
2731   set dummy strip; ac_word=$2
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733   $as_echo_n "checking for $ac_word... " >&6; }
2734 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2734 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2735    $as_echo_n "(cached) " >&6
2736   else
2737    if test -n "$ac_ct_STRIP"; then
# Line 2707 | Line 2743 | do
2743    IFS=$as_save_IFS
2744    test -z "$as_dir" && as_dir=.
2745      for ac_exec_ext in '' $ac_executable_extensions; do
2746 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747      ac_cv_prog_ac_ct_STRIP="strip"
2748      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749      break 2
# Line 2748 | Line 2784 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2785   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2786   if test -z "$MKDIR_P"; then
2787 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2787 >  if ${ac_cv_path_mkdir+:} false; then :
2788    $as_echo_n "(cached) " >&6
2789   else
2790    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2758 | Line 2794 | do
2794    test -z "$as_dir" && as_dir=.
2795      for ac_prog in mkdir gmkdir; do
2796           for ac_exec_ext in '' $ac_executable_extensions; do
2797 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2797 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799               'mkdir (GNU coreutils) '* | \
2800               'mkdir (coreutils) '* | \
# Line 2787 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2790 mkdir_p="$MKDIR_P"
2791 case $mkdir_p in
2792  [\\/$]* | ?:[\\/]*) ;;
2793  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2794 esac
2795
2826   for ac_prog in gawk mawk nawk awk
2827   do
2828    # Extract the first word of "$ac_prog", so it can be a program name with args.
2829   set dummy $ac_prog; ac_word=$2
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831   $as_echo_n "checking for $ac_word... " >&6; }
2832 < if test "${ac_cv_prog_AWK+set}" = set; then :
2832 > if ${ac_cv_prog_AWK+:} false; then :
2833    $as_echo_n "(cached) " >&6
2834   else
2835    if test -n "$AWK"; then
# Line 2811 | Line 2841 | do
2841    IFS=$as_save_IFS
2842    test -z "$as_dir" && as_dir=.
2843      for ac_exec_ext in '' $ac_executable_extensions; do
2844 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845      ac_cv_prog_AWK="$ac_prog"
2846      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847      break 2
# Line 2839 | Line 2869 | done
2869   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870   set x ${MAKE-make}
2871   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2872 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873    $as_echo_n "(cached) " >&6
2874   else
2875    cat >conftest.make <<\_ACEOF
# Line 2847 | Line 2877 | SHELL = /bin/sh
2877   all:
2878          @echo '@@@%%%=$(MAKE)=@@@%%%'
2879   _ACEOF
2880 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2881   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2882    *@@@%%%=?*=@@@%%%*)
2883      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 2875 | Line 2905 | else
2905   fi
2906   rmdir .tst 2>/dev/null
2907  
2908 + # Check whether --enable-silent-rules was given.
2909 + if test "${enable_silent_rules+set}" = set; then :
2910 +  enableval=$enable_silent_rules;
2911 + fi
2912 +
2913 + case $enable_silent_rules in # (((
2914 +  yes) AM_DEFAULT_VERBOSITY=0;;
2915 +   no) AM_DEFAULT_VERBOSITY=1;;
2916 +    *) AM_DEFAULT_VERBOSITY=1;;
2917 + esac
2918 + am_make=${MAKE-make}
2919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921 + if ${am_cv_make_support_nested_variables+:} false; then :
2922 +  $as_echo_n "(cached) " >&6
2923 + else
2924 +  if $as_echo 'TRUE=$(BAR$(V))
2925 + BAR0=false
2926 + BAR1=true
2927 + V=1
2928 + am__doit:
2929 +        @$(TRUE)
2930 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931 +  am_cv_make_support_nested_variables=yes
2932 + else
2933 +  am_cv_make_support_nested_variables=no
2934 + fi
2935 + fi
2936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2938 + if test $am_cv_make_support_nested_variables = yes; then
2939 +    AM_V='$(V)'
2940 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941 + else
2942 +  AM_V=$AM_DEFAULT_VERBOSITY
2943 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944 + fi
2945 + AM_BACKSLASH='\'
2946 +
2947   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2948    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2949    # is not polluted with repeated "-I."
2950    am__isrc=' -I$(srcdir)'
2951    # test to see if srcdir already configured
2952    if test -f $srcdir/config.status; then
2953 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2954    fi
2955   fi
2956  
# Line 2897 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='7.3-rc1'
2969 > VERSION='8.2.0beta3'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2925 | Line 2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2994  
2995   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2996  
2997 + # For better backward compatibility.  To be removed once Automake 1.9.x
2998 + # dies out for good.  For more background, see:
2999 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3000 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 + mkdir_p='$(MKDIR_P)'
3002 +
3003   # We need awk for the "check" target.  The system "awk" is bad on
3004   # some platforms.
3005 < # Always define AMTAR for backward compatibility.
3005 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3006 > # in the wild :-(  We should find a proper way to deprecate it ...
3007 > AMTAR='$${TAR-tar}'
3008 >
3009 >
3010 > # We'll loop over all known methods to create a tar archive until one works.
3011 > _am_tools='gnutar  pax cpio none'
3012 >
3013 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014 >
3015 >
3016 >
3017 >
3018  
2932 AMTAR=${AMTAR-"${am_missing_run}tar"}
3019  
3020 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3020 > # POSIX will say in a future version that running "rm -f" with no argument
3021 > # is OK; and we want to be able to make that assumption in our Makefile
3022 > # recipes.  So use an aggressive probe to check that the usage we want is
3023 > # actually supported "in the wild" to an acceptable degree.
3024 > # See automake bug#10828.
3025 > # To make any issue more visible, cause the running configure to be aborted
3026 > # by default if the 'rm' program in use doesn't match our expectations; the
3027 > # user can still override this though.
3028 > if rm -f && rm -fr && rm -rf; then : OK; else
3029 >  cat >&2 <<'END'
3030 > Oops!
3031  
3032 + Your 'rm' program seems unable to run without file operands specified
3033 + on the command line, even when the '-f' option is present.  This is contrary
3034 + to the behaviour of most rm programs out there, and not conforming with
3035 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3036  
3037 + Please tell bug-automake@gnu.org about your system, including the value
3038 + of your $PATH and any error possibly output before this message.  This
3039 + can help us improve future automake versions.
3040  
3041 + END
3042 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3043 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3044 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3045 +    echo >&2
3046 +  else
3047 +    cat >&2 <<'END'
3048 + Aborting the configuration process, to ensure you take notice of the issue.
3049  
3050 + You can download and install GNU coreutils to get an 'rm' implementation
3051 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3052  
3053 + If you want to complete the configuration process using your problematic
3054 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3055 + to "yes", and re-run configure.
3056 +
3057 + END
3058 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3059 +  fi
3060 + fi
3061  
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3063   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 2960 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 2984 | Line 3106 | am__quote=
3106   _am_result=none
3107   # First try GNU make style include.
3108   echo "include confinc" > confmf
3109 < # Ignore all kinds of additional output from `make'.
3109 > # Ignore all kinds of additional output from 'make'.
3110   case `$am_make -s -f confmf 2> /dev/null` in #(
3111   *the\ am__doit\ target*)
3112    am__include=include
# Line 3017 | Line 3139 | fi
3139   if test "x$enable_dependency_tracking" != xno; then
3140    am_depcomp="$ac_aux_dir/depcomp"
3141    AMDEPBACKSLASH='\'
3142 +  am__nodep='_no'
3143   fi
3144   if test "x$enable_dependency_tracking" != xno; then
3145    AMDEP_TRUE=
# Line 3037 | Line 3160 | if test -n "$ac_tool_prefix"; then
3160   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162   $as_echo_n "checking for $ac_word... " >&6; }
3163 < if test "${ac_cv_prog_CC+set}" = set; then :
3163 > if ${ac_cv_prog_CC+:} false; then :
3164    $as_echo_n "(cached) " >&6
3165   else
3166    if test -n "$CC"; then
# Line 3049 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3077 | Line 3200 | if test -z "$ac_cv_prog_CC"; then
3200   set dummy gcc; ac_word=$2
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202   $as_echo_n "checking for $ac_word... " >&6; }
3203 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3204    $as_echo_n "(cached) " >&6
3205   else
3206    if test -n "$ac_ct_CC"; then
# Line 3089 | Line 3212 | do
3212    IFS=$as_save_IFS
3213    test -z "$as_dir" && as_dir=.
3214      for ac_exec_ext in '' $ac_executable_extensions; do
3215 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216      ac_cv_prog_ac_ct_CC="gcc"
3217      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218      break 2
# Line 3130 | Line 3253 | if test -z "$CC"; then
3253   set dummy ${ac_tool_prefix}cc; ac_word=$2
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255   $as_echo_n "checking for $ac_word... " >&6; }
3256 < if test "${ac_cv_prog_CC+set}" = set; then :
3256 > if ${ac_cv_prog_CC+:} false; then :
3257    $as_echo_n "(cached) " >&6
3258   else
3259    if test -n "$CC"; then
# Line 3142 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      ac_cv_prog_CC="${ac_tool_prefix}cc"
3270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271      break 2
# Line 3170 | Line 3293 | if test -z "$CC"; then
3293   set dummy cc; ac_word=$2
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295   $as_echo_n "checking for $ac_word... " >&6; }
3296 < if test "${ac_cv_prog_CC+set}" = set; then :
3296 > if ${ac_cv_prog_CC+:} false; then :
3297    $as_echo_n "(cached) " >&6
3298   else
3299    if test -n "$CC"; then
# Line 3183 | Line 3306 | do
3306    IFS=$as_save_IFS
3307    test -z "$as_dir" && as_dir=.
3308      for ac_exec_ext in '' $ac_executable_extensions; do
3309 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311         ac_prog_rejected=yes
3312         continue
# Line 3229 | Line 3352 | if test -z "$CC"; then
3352   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354   $as_echo_n "checking for $ac_word... " >&6; }
3355 < if test "${ac_cv_prog_CC+set}" = set; then :
3355 > if ${ac_cv_prog_CC+:} false; then :
3356    $as_echo_n "(cached) " >&6
3357   else
3358    if test -n "$CC"; then
# Line 3241 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3273 | Line 3396 | do
3396   set dummy $ac_prog; ac_word=$2
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398   $as_echo_n "checking for $ac_word... " >&6; }
3399 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3399 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3400    $as_echo_n "(cached) " >&6
3401   else
3402    if test -n "$ac_ct_CC"; then
# Line 3285 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_ac_ct_CC="$ac_prog"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3327 | Line 3450 | fi
3450  
3451   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 < as_fn_error "no acceptable C compiler found in \$PATH
3454 < See \`config.log' for more details." "$LINENO" 5; }
3453 > as_fn_error $? "no acceptable C compiler found in \$PATH
3454 > See \`config.log' for more details" "$LINENO" 5; }
3455  
3456   # Provide some information about the compiler.
3457   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3442 | Line 3565 | sed 's/^/| /' conftest.$ac_ext >&5
3565  
3566   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 < { as_fn_set_status 77
3569 < as_fn_error "C compiler cannot create executables
3447 < See \`config.log' for more details." "$LINENO" 5; }; }
3568 > as_fn_error 77 "C compiler cannot create executables
3569 > See \`config.log' for more details" "$LINENO" 5; }
3570   else
3571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3572   $as_echo "yes" >&6; }
# Line 3486 | Line 3608 | done
3608   else
3609    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3612 < See \`config.log' for more details." "$LINENO" 5; }
3611 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3612 > See \`config.log' for more details" "$LINENO" 5; }
3613   fi
3614   rm -f conftest conftest$ac_cv_exeext
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3544 | Line 3666 | $as_echo "$ac_try_echo"; } >&5
3666      else
3667          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 < as_fn_error "cannot run C compiled programs.
3669 > as_fn_error $? "cannot run C compiled programs.
3670   If you meant to cross compile, use \`--host'.
3671 < See \`config.log' for more details." "$LINENO" 5; }
3671 > See \`config.log' for more details" "$LINENO" 5; }
3672      fi
3673    fi
3674   fi
# Line 3557 | Line 3679 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3679   ac_clean_files=$ac_clean_files_save
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3681   $as_echo_n "checking for suffix of object files... " >&6; }
3682 < if test "${ac_cv_objext+set}" = set; then :
3682 > if ${ac_cv_objext+:} false; then :
3683    $as_echo_n "(cached) " >&6
3684   else
3685    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3597 | Line 3719 | sed 's/^/| /' conftest.$ac_ext >&5
3719  
3720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 < as_fn_error "cannot compute suffix of object files: cannot compile
3723 < See \`config.log' for more details." "$LINENO" 5; }
3722 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3723 > See \`config.log' for more details" "$LINENO" 5; }
3724   fi
3725   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3726   fi
# Line 3608 | Line 3730 | OBJEXT=$ac_cv_objext
3730   ac_objext=$OBJEXT
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3732   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3733 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3733 > if ${ac_cv_c_compiler_gnu+:} false; then :
3734    $as_echo_n "(cached) " >&6
3735   else
3736    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3645 | Line 3767 | ac_test_CFLAGS=${CFLAGS+set}
3767   ac_save_CFLAGS=$CFLAGS
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3769   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3770 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3770 > if ${ac_cv_prog_cc_g+:} false; then :
3771    $as_echo_n "(cached) " >&6
3772   else
3773    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3723 | Line 3845 | else
3845   fi
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3847   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3848 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3848 > if ${ac_cv_prog_cc_c89+:} false; then :
3849    $as_echo_n "(cached) " >&6
3850   else
3851    ac_cv_prog_cc_c89=no
# Line 3732 | Line 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3854   /* end confdefs.h.  */
3855   #include <stdarg.h>
3856   #include <stdio.h>
3857 < #include <sys/types.h>
3736 < #include <sys/stat.h>
3857 > struct stat;
3858   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3859   struct buf { int x; };
3860   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3818 | Line 3939 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3939   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941  
3942 + ac_ext=c
3943 + ac_cpp='$CPP $CPPFLAGS'
3944 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3948 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3949 + if ${am_cv_prog_cc_c_o+:} false; then :
3950 +  $as_echo_n "(cached) " >&6
3951 + else
3952 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 + /* end confdefs.h.  */
3954 +
3955 + int
3956 + main ()
3957 + {
3958 +
3959 +  ;
3960 +  return 0;
3961 + }
3962 + _ACEOF
3963 +  # Make sure it works both with $CC and with simple cc.
3964 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3965 +  # compilers refuse to overwrite an existing .o file with -o,
3966 +  # though they will create one.
3967 +  am_cv_prog_cc_c_o=yes
3968 +  for am_i in 1 2; do
3969 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3970 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 +   ac_status=$?
3972 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 +   (exit $ac_status); } \
3974 +         && test -f conftest2.$ac_objext; then
3975 +      : OK
3976 +    else
3977 +      am_cv_prog_cc_c_o=no
3978 +      break
3979 +    fi
3980 +  done
3981 +  rm -f core conftest*
3982 +  unset am_i
3983 + fi
3984 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3985 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3986 + if test "$am_cv_prog_cc_c_o" != yes; then
3987 +   # Losing compiler, so override with the script.
3988 +   # FIXME: It is wrong to rewrite CC.
3989 +   # But if we don't then we get into trouble of one sort or another.
3990 +   # A longer-term fix would be to have automake use am__CC in this case,
3991 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3992 +   CC="$am_aux_dir/compile $CC"
3993 + fi
3994 + ac_ext=c
3995 + ac_cpp='$CPP $CPPFLAGS'
3996 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3999 +
4000 +
4001   depcc="$CC"   am_compiler_list=
4002  
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4004   $as_echo_n "checking dependency style of $depcc... " >&6; }
4005 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4005 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4006    $as_echo_n "(cached) " >&6
4007   else
4008    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4009    # We make a subdir and do the tests there.  Otherwise we can end up
4010    # making bogus files that we don't know about and never remove.  For
4011    # instance it was reported that on HP-UX the gcc test will end up
4012 <  # making a dummy file named `D' -- because `-MD' means `put the output
4013 <  # in D'.
4012 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4013 >  # in D".
4014 >  rm -rf conftest.dir
4015    mkdir conftest.dir
4016    # Copy depcomp to subdir because otherwise we won't find it if we're
4017    # using a relative directory.
# Line 3864 | Line 4045 | else
4045      : > sub/conftest.c
4046      for i in 1 2 3 4 5 6; do
4047        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049 <      # Solaris 8's {/usr,}/bin/sh.
4050 <      touch sub/conftst$i.h
4048 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 >      # Solaris 10 /bin/sh.
4050 >      echo '/* dummy */' > sub/conftst$i.h
4051      done
4052      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053  
4054 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4054 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055      # mode.  It turns out that the SunPro C++ compiler does not properly
4056 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4057 <    # versions had trouble with output in subdirs
4056 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4057 >    # versions had trouble with output in subdirs.
4058      am__obj=sub/conftest.${OBJEXT-o}
4059      am__minus_obj="-o $am__obj"
4060      case $depmode in
# Line 3882 | Line 4063 | else
4063        test "$am__universal" = false || continue
4064        ;;
4065      nosideeffect)
4066 <      # after this tag, mechanisms are not by side-effect, so they'll
4067 <      # only be used when explicitly requested
4066 >      # After this tag, mechanisms are not by side-effect, so they'll
4067 >      # only be used when explicitly requested.
4068        if test "x$enable_dependency_tracking" = xyes; then
4069          continue
4070        else
4071          break
4072        fi
4073        ;;
4074 <    msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4074 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 >      # This compiler won't grok '-c -o', but also, the minuso test has
4076        # not run yet.  These depmodes are late enough in the game, and
4077        # so weak that their functioning should not be impacted.
4078        am__obj=conftest.${OBJEXT-o}
# Line 3947 | Line 4128 | fi
4128  
4129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4130   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4131 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4131 > if ${ac_cv_prog_cc_c99+:} false; then :
4132    $as_echo_n "(cached) " >&6
4133   else
4134    ac_cv_prog_cc_c99=no
# Line 4091 | Line 4272 | main ()
4272    return 0;
4273   }
4274   _ACEOF
4275 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4275 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4276   do
4277    CC="$ac_save_CC $ac_arg"
4278    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4123 | Line 4304 | fi
4304  
4305  
4306   if test "$ac_cv_prog_cc_c99" = "no"; then :
4307 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4307 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4308   fi
4309   for ac_prog in 'bison -y' byacc
4310   do
# Line 4131 | Line 4312 | do
4312   set dummy $ac_prog; ac_word=$2
4313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314   $as_echo_n "checking for $ac_word... " >&6; }
4315 < if test "${ac_cv_prog_YACC+set}" = set; then :
4315 > if ${ac_cv_prog_YACC+:} false; then :
4316    $as_echo_n "(cached) " >&6
4317   else
4318    if test -n "$YACC"; then
# Line 4143 | Line 4324 | do
4324    IFS=$as_save_IFS
4325    test -z "$as_dir" && as_dir=.
4326      for ac_exec_ext in '' $ac_executable_extensions; do
4327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328      ac_cv_prog_YACC="$ac_prog"
4329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330      break 2
# Line 4175 | Line 4356 | do
4356   set dummy $ac_prog; ac_word=$2
4357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358   $as_echo_n "checking for $ac_word... " >&6; }
4359 < if test "${ac_cv_prog_LEX+set}" = set; then :
4359 > if ${ac_cv_prog_LEX+:} false; then :
4360    $as_echo_n "(cached) " >&6
4361   else
4362    if test -n "$LEX"; then
# Line 4187 | Line 4368 | do
4368    IFS=$as_save_IFS
4369    test -z "$as_dir" && as_dir=.
4370      for ac_exec_ext in '' $ac_executable_extensions; do
4371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372      ac_cv_prog_LEX="$ac_prog"
4373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374      break 2
# Line 4219 | Line 4400 | a { ECHO; }
4400   b { REJECT; }
4401   c { yymore (); }
4402   d { yyless (1); }
4403 < e { yyless (input () != 0); }
4403 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4404 >    yyless ((input () != 0)); }
4405   f { unput (yytext[0]); }
4406   . { BEGIN INITIAL; }
4407   %%
# Line 4245 | Line 4427 | $as_echo "$ac_try_echo"; } >&5
4427    test $ac_status = 0; }
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4429   $as_echo_n "checking lex output file root... " >&6; }
4430 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4430 > if ${ac_cv_prog_lex_root+:} false; then :
4431    $as_echo_n "(cached) " >&6
4432   else
4433  
# Line 4254 | Line 4436 | if test -f lex.yy.c; then
4436   elif test -f lexyy.c; then
4437    ac_cv_prog_lex_root=lexyy
4438   else
4439 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4439 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4440   fi
4441   fi
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4264 | Line 4446 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4446   if test -z "${LEXLIB+set}"; then
4447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4448   $as_echo_n "checking lex library... " >&6; }
4449 < if test "${ac_cv_lib_lex+set}" = set; then :
4449 > if ${ac_cv_lib_lex+:} false; then :
4450    $as_echo_n "(cached) " >&6
4451   else
4452  
# Line 4294 | Line 4476 | fi
4476  
4477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4478   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4479 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4479 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4480    $as_echo_n "(cached) " >&6
4481   else
4482    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4305 | Line 4487 | ac_save_LIBS=$LIBS
4487   LIBS="$LEXLIB $ac_save_LIBS"
4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489   /* end confdefs.h.  */
4490 < #define YYTEXT_POINTER 1
4490 >
4491 >  #define YYTEXT_POINTER 1
4492   `cat $LEX_OUTPUT_ROOT.c`
4493   _ACEOF
4494   if ac_fn_c_try_link "$LINENO"; then :
# Line 4347 | Line 4530 | esac
4530  
4531  
4532  
4533 < macro_version='2.2.10'
4534 < macro_revision='1.3175'
4533 > macro_version='2.4.2'
4534 > macro_revision='1.3337'
4535  
4536  
4537  
# Line 4366 | Line 4549 | ltmain="$ac_aux_dir/ltmain.sh"
4549  
4550   # Make sure we can run config.sub.
4551   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4552 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4552 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4553  
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4555   $as_echo_n "checking build system type... " >&6; }
4556 < if test "${ac_cv_build+set}" = set; then :
4556 > if ${ac_cv_build+:} false; then :
4557    $as_echo_n "(cached) " >&6
4558   else
4559    ac_build_alias=$build_alias
4560   test "x$ac_build_alias" = x &&
4561    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4562   test "x$ac_build_alias" = x &&
4563 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4563 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4564   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4565 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4565 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4566  
4567   fi
4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4569   $as_echo "$ac_cv_build" >&6; }
4570   case $ac_cv_build in
4571   *-*-*) ;;
4572 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4572 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4573   esac
4574   build=$ac_cv_build
4575   ac_save_IFS=$IFS; IFS='-'
# Line 4404 | Line 4587 | case $build_os in *\ *) build_os=`echo "
4587  
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4589   $as_echo_n "checking host system type... " >&6; }
4590 < if test "${ac_cv_host+set}" = set; then :
4590 > if ${ac_cv_host+:} false; then :
4591    $as_echo_n "(cached) " >&6
4592   else
4593    if test "x$host_alias" = x; then
4594    ac_cv_host=$ac_cv_build
4595   else
4596    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4597 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4597 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4598   fi
4599  
4600   fi
# Line 4419 | Line 4602 | fi
4602   $as_echo "$ac_cv_host" >&6; }
4603   case $ac_cv_host in
4604   *-*-*) ;;
4605 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4605 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4606   esac
4607   host=$ac_cv_host
4608   ac_save_IFS=$IFS; IFS='-'
# Line 4459 | Line 4642 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4643   $as_echo_n "checking how to print strings... " >&6; }
4644   # Test print first, because it will be a builtin if present.
4645 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4645 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4646     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4647    ECHO='print -r --'
4648   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4506 | Line 4689 | esac
4689  
4690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4691   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4692 < if test "${ac_cv_path_SED+set}" = set; then :
4692 > if ${ac_cv_path_SED+:} false; then :
4693    $as_echo_n "(cached) " >&6
4694   else
4695              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4526 | Line 4709 | do
4709      for ac_prog in sed gsed; do
4710      for ac_exec_ext in '' $ac_executable_extensions; do
4711        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4712 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4712 >      as_fn_executable_p "$ac_path_SED" || continue
4713   # Check for GNU ac_path_SED and select it if it is found.
4714    # Check for GNU $ac_path_SED
4715   case `"$ac_path_SED" --version 2>&1` in
# Line 4561 | Line 4744 | esac
4744    done
4745   IFS=$as_save_IFS
4746    if test -z "$ac_cv_path_SED"; then
4747 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4747 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4748    fi
4749   else
4750    ac_cv_path_SED=$SED
# Line 4588 | Line 4771 | Xsed="$SED -e 1s/^X//"
4771  
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4773   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4774 < if test "${ac_cv_path_GREP+set}" = set; then :
4774 > if ${ac_cv_path_GREP+:} false; then :
4775    $as_echo_n "(cached) " >&6
4776   else
4777    if test -z "$GREP"; then
# Line 4602 | Line 4785 | do
4785      for ac_prog in grep ggrep; do
4786      for ac_exec_ext in '' $ac_executable_extensions; do
4787        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4788 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 >      as_fn_executable_p "$ac_path_GREP" || continue
4789   # Check for GNU ac_path_GREP and select it if it is found.
4790    # Check for GNU $ac_path_GREP
4791   case `"$ac_path_GREP" --version 2>&1` in
# Line 4637 | Line 4820 | esac
4820    done
4821   IFS=$as_save_IFS
4822    if test -z "$ac_cv_path_GREP"; then
4823 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4824    fi
4825   else
4826    ac_cv_path_GREP=$GREP
# Line 4651 | Line 4834 | $as_echo "$ac_cv_path_GREP" >&6; }
4834  
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4836   $as_echo_n "checking for egrep... " >&6; }
4837 < if test "${ac_cv_path_EGREP+set}" = set; then :
4837 > if ${ac_cv_path_EGREP+:} false; then :
4838    $as_echo_n "(cached) " >&6
4839   else
4840    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4668 | Line 4851 | do
4851      for ac_prog in egrep; do
4852      for ac_exec_ext in '' $ac_executable_extensions; do
4853        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4854 >      as_fn_executable_p "$ac_path_EGREP" || continue
4855   # Check for GNU ac_path_EGREP and select it if it is found.
4856    # Check for GNU $ac_path_EGREP
4857   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4703 | Line 4886 | esac
4886    done
4887   IFS=$as_save_IFS
4888    if test -z "$ac_cv_path_EGREP"; then
4889 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4889 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890    fi
4891   else
4892    ac_cv_path_EGREP=$EGREP
# Line 4718 | Line 4901 | $as_echo "$ac_cv_path_EGREP" >&6; }
4901  
4902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4903   $as_echo_n "checking for fgrep... " >&6; }
4904 < if test "${ac_cv_path_FGREP+set}" = set; then :
4904 > if ${ac_cv_path_FGREP+:} false; then :
4905    $as_echo_n "(cached) " >&6
4906   else
4907    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4735 | Line 4918 | do
4918      for ac_prog in fgrep; do
4919      for ac_exec_ext in '' $ac_executable_extensions; do
4920        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4921 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4921 >      as_fn_executable_p "$ac_path_FGREP" || continue
4922   # Check for GNU ac_path_FGREP and select it if it is found.
4923    # Check for GNU $ac_path_FGREP
4924   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4770 | Line 4953 | esac
4953    done
4954   IFS=$as_save_IFS
4955    if test -z "$ac_cv_path_FGREP"; then
4956 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4957    fi
4958   else
4959    ac_cv_path_FGREP=$FGREP
# Line 4849 | Line 5032 | else
5032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5033   $as_echo_n "checking for non-GNU ld... " >&6; }
5034   fi
5035 < if test "${lt_cv_path_LD+set}" = set; then :
5035 > if ${lt_cv_path_LD+:} false; then :
5036    $as_echo_n "(cached) " >&6
5037   else
5038    if test -z "$LD"; then
# Line 4886 | Line 5069 | else
5069    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070   $as_echo "no" >&6; }
5071   fi
5072 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5072 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5074   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5075 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5075 > if ${lt_cv_prog_gnu_ld+:} false; then :
5076    $as_echo_n "(cached) " >&6
5077   else
5078    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4916 | Line 5099 | with_gnu_ld=$lt_cv_prog_gnu_ld
5099  
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5101   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5102 < if test "${lt_cv_path_NM+set}" = set; then :
5102 > if ${lt_cv_path_NM+:} false; then :
5103    $as_echo_n "(cached) " >&6
5104   else
5105    if test -n "$NM"; then
# Line 4979 | Line 5162 | else
5162   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164   $as_echo_n "checking for $ac_word... " >&6; }
5165 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5165 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5166    $as_echo_n "(cached) " >&6
5167   else
5168    if test -n "$DUMPBIN"; then
# Line 4991 | Line 5174 | do
5174    IFS=$as_save_IFS
5175    test -z "$as_dir" && as_dir=.
5176      for ac_exec_ext in '' $ac_executable_extensions; do
5177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180      break 2
# Line 5023 | Line 5206 | do
5206   set dummy $ac_prog; ac_word=$2
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208   $as_echo_n "checking for $ac_word... " >&6; }
5209 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5209 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5210    $as_echo_n "(cached) " >&6
5211   else
5212    if test -n "$ac_ct_DUMPBIN"; then
# Line 5035 | Line 5218 | do
5218    IFS=$as_save_IFS
5219    test -z "$as_dir" && as_dir=.
5220      for ac_exec_ext in '' $ac_executable_extensions; do
5221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224      break 2
# Line 5095 | Line 5278 | test -z "$NM" && NM=nm
5278  
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5280   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5281 < if test "${lt_cv_nm_interface+set}" = set; then :
5281 > if ${lt_cv_nm_interface+:} false; then :
5282    $as_echo_n "(cached) " >&6
5283   else
5284    lt_cv_nm_interface="BSD nm"
# Line 5130 | Line 5313 | fi
5313   # find the maximum length of command line arguments
5314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5315   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5316 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5316 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5317    $as_echo_n "(cached) " >&6
5318   else
5319      i=0
# Line 5193 | Line 5376 | else
5376      lt_cv_sys_max_cmd_len=196608
5377      ;;
5378  
5379 +  os2*)
5380 +    # The test takes a long time on OS/2.
5381 +    lt_cv_sys_max_cmd_len=8192
5382 +    ;;
5383 +
5384    osf*)
5385      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5386      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5420 | else
5420        # If test is not a shell built-in, we'll probably end up computing a
5421        # maximum length that is only half of the actual maximum length, but
5422        # we can't tell.
5423 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5423 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5424                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5425                test $i != 17 # 1/2 MB should be enough
5426        do
# Line 5275 | Line 5463 | $as_echo_n "checking whether the shell u
5463   # Try some XSI features
5464   xsi_shell=no
5465   ( _lt_dummy="a/b/c"
5466 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5467 <      = c,a/b,, \
5466 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5467 >      = c,a/b,b/c, \
5468      && eval 'test $(( 1 + 1 )) -eq 2 \
5469      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5470    && xsi_shell=yes
# Line 5325 | Line 5513 | esac
5513  
5514  
5515  
5516 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5517 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5518 + if ${lt_cv_to_host_file_cmd+:} false; then :
5519 +  $as_echo_n "(cached) " >&6
5520 + else
5521 +  case $host in
5522 +  *-*-mingw* )
5523 +    case $build in
5524 +      *-*-mingw* ) # actually msys
5525 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5526 +        ;;
5527 +      *-*-cygwin* )
5528 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5529 +        ;;
5530 +      * ) # otherwise, assume *nix
5531 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5532 +        ;;
5533 +    esac
5534 +    ;;
5535 +  *-*-cygwin* )
5536 +    case $build in
5537 +      *-*-mingw* ) # actually msys
5538 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5539 +        ;;
5540 +      *-*-cygwin* )
5541 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5542 +        ;;
5543 +      * ) # otherwise, assume *nix
5544 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5545 +        ;;
5546 +    esac
5547 +    ;;
5548 +  * ) # unhandled hosts (and "normal" native builds)
5549 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5550 +    ;;
5551 + esac
5552 +
5553 + fi
5554 +
5555 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5556 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5557 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5558 +
5559 +
5560 +
5561 +
5562 +
5563 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5564 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5565 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5566 +  $as_echo_n "(cached) " >&6
5567 + else
5568 +  #assume ordinary cross tools, or native build.
5569 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5570 + case $host in
5571 +  *-*-mingw* )
5572 +    case $build in
5573 +      *-*-mingw* ) # actually msys
5574 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5575 +        ;;
5576 +    esac
5577 +    ;;
5578 + esac
5579 +
5580 + fi
5581 +
5582 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5583 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5584 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5585 +
5586 +
5587 +
5588 +
5589 +
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5591   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5592 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5592 > if ${lt_cv_ld_reload_flag+:} false; then :
5593    $as_echo_n "(cached) " >&6
5594   else
5595    lt_cv_ld_reload_flag='-r'
# Line 5341 | Line 5603 | case $reload_flag in
5603   esac
5604   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5605   case $host_os in
5606 +  cygwin* | mingw* | pw32* | cegcc*)
5607 +    if test "$GCC" != yes; then
5608 +      reload_cmds=false
5609 +    fi
5610 +    ;;
5611    darwin*)
5612      if test "$GCC" = yes; then
5613        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5363 | Line 5630 | if test -n "$ac_tool_prefix"; then
5630   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632   $as_echo_n "checking for $ac_word... " >&6; }
5633 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5633 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5634    $as_echo_n "(cached) " >&6
5635   else
5636    if test -n "$OBJDUMP"; then
# Line 5375 | Line 5642 | do
5642    IFS=$as_save_IFS
5643    test -z "$as_dir" && as_dir=.
5644      for ac_exec_ext in '' $ac_executable_extensions; do
5645 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648      break 2
# Line 5403 | Line 5670 | if test -z "$ac_cv_prog_OBJDUMP"; then
5670   set dummy objdump; ac_word=$2
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672   $as_echo_n "checking for $ac_word... " >&6; }
5673 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5673 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    if test -n "$ac_ct_OBJDUMP"; then
# Line 5415 | Line 5682 | do
5682    IFS=$as_save_IFS
5683    test -z "$as_dir" && as_dir=.
5684      for ac_exec_ext in '' $ac_executable_extensions; do
5685 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688      break 2
# Line 5462 | Line 5729 | test -z "$OBJDUMP" && OBJDUMP=objdump
5729  
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5731   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5732 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5732 > if ${lt_cv_deplibs_check_method+:} false; then :
5733    $as_echo_n "(cached) " >&6
5734   else
5735    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5582 | Line 5849 | irix5* | irix6* | nonstopux*)
5849    lt_cv_deplibs_check_method=pass_all
5850    ;;
5851  
5852 < # This must be Linux ELF.
5852 > # This must be glibc/ELF.
5853   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5854    lt_cv_deplibs_check_method=pass_all
5855    ;;
# Line 5664 | Line 5931 | esac
5931   fi
5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5933   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5934 +
5935 + file_magic_glob=
5936 + want_nocaseglob=no
5937 + if test "$build" = "$host"; then
5938 +  case $host_os in
5939 +  mingw* | pw32*)
5940 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5941 +      want_nocaseglob=yes
5942 +    else
5943 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5944 +    fi
5945 +    ;;
5946 +  esac
5947 + fi
5948 +
5949   file_magic_cmd=$lt_cv_file_magic_cmd
5950   deplibs_check_method=$lt_cv_deplibs_check_method
5951   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5679 | Line 5961 | test -z "$deplibs_check_method" && depli
5961  
5962  
5963  
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974 + if test -n "$ac_tool_prefix"; then
5975 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5976 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5977 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 + $as_echo_n "checking for $ac_word... " >&6; }
5979 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5980 +  $as_echo_n "(cached) " >&6
5981 + else
5982 +  if test -n "$DLLTOOL"; then
5983 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5984 + else
5985 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 + for as_dir in $PATH
5987 + do
5988 +  IFS=$as_save_IFS
5989 +  test -z "$as_dir" && as_dir=.
5990 +    for ac_exec_ext in '' $ac_executable_extensions; do
5991 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5993 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 +    break 2
5995 +  fi
5996 + done
5997 +  done
5998 + IFS=$as_save_IFS
5999 +
6000 + fi
6001 + fi
6002 + DLLTOOL=$ac_cv_prog_DLLTOOL
6003 + if test -n "$DLLTOOL"; then
6004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6005 + $as_echo "$DLLTOOL" >&6; }
6006 + else
6007 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 + $as_echo "no" >&6; }
6009 + fi
6010 +
6011 +
6012 + fi
6013 + if test -z "$ac_cv_prog_DLLTOOL"; then
6014 +  ac_ct_DLLTOOL=$DLLTOOL
6015 +  # Extract the first word of "dlltool", so it can be a program name with args.
6016 + set dummy dlltool; ac_word=$2
6017 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 + $as_echo_n "checking for $ac_word... " >&6; }
6019 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6020 +  $as_echo_n "(cached) " >&6
6021 + else
6022 +  if test -n "$ac_ct_DLLTOOL"; then
6023 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6024 + else
6025 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 + for as_dir in $PATH
6027 + do
6028 +  IFS=$as_save_IFS
6029 +  test -z "$as_dir" && as_dir=.
6030 +    for ac_exec_ext in '' $ac_executable_extensions; do
6031 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6033 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 +    break 2
6035 +  fi
6036 + done
6037 +  done
6038 + IFS=$as_save_IFS
6039 +
6040 + fi
6041 + fi
6042 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6043 + if test -n "$ac_ct_DLLTOOL"; then
6044 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6045 + $as_echo "$ac_ct_DLLTOOL" >&6; }
6046 + else
6047 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 + $as_echo "no" >&6; }
6049 + fi
6050 +
6051 +  if test "x$ac_ct_DLLTOOL" = x; then
6052 +    DLLTOOL="false"
6053 +  else
6054 +    case $cross_compiling:$ac_tool_warned in
6055 + yes:)
6056 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6057 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6058 + ac_tool_warned=yes ;;
6059 + esac
6060 +    DLLTOOL=$ac_ct_DLLTOOL
6061 +  fi
6062 + else
6063 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6064 + fi
6065 +
6066 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6067 +
6068 +
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 +
6076 +
6077 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6078 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6079 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6080 +  $as_echo_n "(cached) " >&6
6081 + else
6082 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6083 +
6084 + case $host_os in
6085 + cygwin* | mingw* | pw32* | cegcc*)
6086 +  # two different shell functions defined in ltmain.sh
6087 +  # decide which to use based on capabilities of $DLLTOOL
6088 +  case `$DLLTOOL --help 2>&1` in
6089 +  *--identify-strict*)
6090 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6091 +    ;;
6092 +  *)
6093 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6094 +    ;;
6095 +  esac
6096 +  ;;
6097 + *)
6098 +  # fallback: assume linklib IS sharedlib
6099 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6100 +  ;;
6101 + esac
6102 +
6103 + fi
6104 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6105 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6106 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6107 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6108 +
6109 +
6110 +
6111 +
6112 +
6113 +
6114 +
6115   if test -n "$ac_tool_prefix"; then
6116 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6117 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6116 >  for ac_prog in ar
6117 >  do
6118 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6119 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121   $as_echo_n "checking for $ac_word... " >&6; }
6122 < if test "${ac_cv_prog_AR+set}" = set; then :
6122 > if ${ac_cv_prog_AR+:} false; then :
6123    $as_echo_n "(cached) " >&6
6124   else
6125    if test -n "$AR"; then
# Line 5696 | Line 6131 | do
6131    IFS=$as_save_IFS
6132    test -z "$as_dir" && as_dir=.
6133      for ac_exec_ext in '' $ac_executable_extensions; do
6134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137      break 2
6138    fi
# Line 5717 | Line 6152 | $as_echo "no" >&6; }
6152   fi
6153  
6154  
6155 +    test -n "$AR" && break
6156 +  done
6157   fi
6158 < if test -z "$ac_cv_prog_AR"; then
6158 > if test -z "$AR"; then
6159    ac_ct_AR=$AR
6160 <  # Extract the first word of "ar", so it can be a program name with args.
6161 < set dummy ar; ac_word=$2
6160 >  for ac_prog in ar
6161 > do
6162 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6163 > set dummy $ac_prog; ac_word=$2
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165   $as_echo_n "checking for $ac_word... " >&6; }
6166 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6166 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6167    $as_echo_n "(cached) " >&6
6168   else
6169    if test -n "$ac_ct_AR"; then
# Line 5736 | Line 6175 | do
6175    IFS=$as_save_IFS
6176    test -z "$as_dir" && as_dir=.
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 <    ac_cv_prog_ac_ct_AR="ar"
6178 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6180      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181      break 2
6182    fi
# Line 5756 | Line 6195 | else
6195   $as_echo "no" >&6; }
6196   fi
6197  
6198 +
6199 +  test -n "$ac_ct_AR" && break
6200 + done
6201 +
6202    if test "x$ac_ct_AR" = x; then
6203      AR="false"
6204    else
# Line 5767 | Line 6210 | ac_tool_warned=yes ;;
6210   esac
6211      AR=$ac_ct_AR
6212    fi
5770 else
5771  AR="$ac_cv_prog_AR"
6213   fi
6214  
6215 < test -z "$AR" && AR=ar
6216 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6215 > : ${AR=ar}
6216 > : ${AR_FLAGS=cru}
6217  
6218  
6219  
# Line 5784 | Line 6225 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6225  
6226  
6227  
6228 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6229 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6230 + if ${lt_cv_ar_at_file+:} false; then :
6231 +  $as_echo_n "(cached) " >&6
6232 + else
6233 +  lt_cv_ar_at_file=no
6234 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 + /* end confdefs.h.  */
6236 +
6237 + int
6238 + main ()
6239 + {
6240 +
6241 +  ;
6242 +  return 0;
6243 + }
6244 + _ACEOF
6245 + if ac_fn_c_try_compile "$LINENO"; then :
6246 +  echo conftest.$ac_objext > conftest.lst
6247 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6248 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6249 +  (eval $lt_ar_try) 2>&5
6250 +  ac_status=$?
6251 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 +  test $ac_status = 0; }
6253 +      if test "$ac_status" -eq 0; then
6254 +        # Ensure the archiver fails upon bogus file names.
6255 +        rm -f conftest.$ac_objext libconftest.a
6256 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6257 +  (eval $lt_ar_try) 2>&5
6258 +  ac_status=$?
6259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260 +  test $ac_status = 0; }
6261 +        if test "$ac_status" -ne 0; then
6262 +          lt_cv_ar_at_file=@
6263 +        fi
6264 +      fi
6265 +      rm -f conftest.* libconftest.a
6266 +
6267 + fi
6268 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269 +
6270 + fi
6271 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6272 + $as_echo "$lt_cv_ar_at_file" >&6; }
6273 +
6274 + if test "x$lt_cv_ar_at_file" = xno; then
6275 +  archiver_list_spec=
6276 + else
6277 +  archiver_list_spec=$lt_cv_ar_at_file
6278 + fi
6279 +
6280 +
6281 +
6282 +
6283 +
6284 +
6285 +
6286   if test -n "$ac_tool_prefix"; then
6287    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6288   set dummy ${ac_tool_prefix}strip; ac_word=$2
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290   $as_echo_n "checking for $ac_word... " >&6; }
6291 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6291 > if ${ac_cv_prog_STRIP+:} false; then :
6292    $as_echo_n "(cached) " >&6
6293   else
6294    if test -n "$STRIP"; then
# Line 5801 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 5829 | Line 6328 | if test -z "$ac_cv_prog_STRIP"; then
6328   set dummy strip; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6331 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$ac_ct_STRIP"; then
# Line 5841 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_STRIP="strip"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5888 | Line 6387 | if test -n "$ac_tool_prefix"; then
6387   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389   $as_echo_n "checking for $ac_word... " >&6; }
6390 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6390 > if ${ac_cv_prog_RANLIB+:} false; then :
6391    $as_echo_n "(cached) " >&6
6392   else
6393    if test -n "$RANLIB"; then
# Line 5900 | Line 6399 | do
6399    IFS=$as_save_IFS
6400    test -z "$as_dir" && as_dir=.
6401      for ac_exec_ext in '' $ac_executable_extensions; do
6402 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405      break 2
# Line 5928 | Line 6427 | if test -z "$ac_cv_prog_RANLIB"; then
6427   set dummy ranlib; ac_word=$2
6428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429   $as_echo_n "checking for $ac_word... " >&6; }
6430 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6430 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6431    $as_echo_n "(cached) " >&6
6432   else
6433    if test -n "$ac_ct_RANLIB"; then
# Line 5940 | Line 6439 | do
6439    IFS=$as_save_IFS
6440    test -z "$as_dir" && as_dir=.
6441      for ac_exec_ext in '' $ac_executable_extensions; do
6442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443      ac_cv_prog_ac_ct_RANLIB="ranlib"
6444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445      break 2
# Line 5990 | Line 6489 | old_postuninstall_cmds=
6489   if test -n "$RANLIB"; then
6490    case $host_os in
6491    openbsd*)
6492 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6492 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6493      ;;
6494    *)
6495 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6495 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6496      ;;
6497    esac
6498 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6498 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6499   fi
6500  
6501   case $host_os in
# Line 6057 | Line 6556 | compiler=$CC
6556   # Check for command to grab the raw symbol name followed by C symbol from nm.
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6558   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6559 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6559 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6560    $as_echo_n "(cached) " >&6
6561   else
6562  
# Line 6118 | Line 6617 | esac
6617   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6618  
6619   # Transform an extracted symbol line into symbol name and symbol address
6620 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 < 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'"
6620 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 > 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'"
6622  
6623   # Handle CRLF in mingw tool chain
6624   opt_cr=
# Line 6143 | Line 6642 | for ac_symprfx in "" "_"; do
6642      # which start with @ or ?.
6643      lt_cv_sys_global_symbol_pipe="$AWK '"\
6644   "     {last_section=section; section=\$ 3};"\
6645 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6646   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6647   "     \$ 0!~/External *\|/{next};"\
6648   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6655 | for ac_symprfx in "" "_"; do
6655    else
6656      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6657    fi
6658 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6659  
6660    # Check to see that the pipe works correctly.
6661    pipe_works=no
# Line 6196 | Line 6697 | _LT_EOF
6697        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6698          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6699            cat <<_LT_EOF > conftest.$ac_ext
6700 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6701 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6702 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6703 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6704 + # define LT_DLSYM_CONST
6705 + #elif defined(__osf__)
6706 + /* This system does not cope well with relocations in const data.  */
6707 + # define LT_DLSYM_CONST
6708 + #else
6709 + # define LT_DLSYM_CONST const
6710 + #endif
6711 +
6712   #ifdef __cplusplus
6713   extern "C" {
6714   #endif
# Line 6207 | Line 6720 | _LT_EOF
6720            cat <<_LT_EOF >> conftest.$ac_ext
6721  
6722   /* The mapping between symbol names and symbols.  */
6723 < const struct {
6723 > LT_DLSYM_CONST struct {
6724    const char *name;
6725    void       *address;
6726   }
# Line 6233 | Line 6746 | static const void *lt_preloaded_setup()
6746   _LT_EOF
6747            # Now try linking the two files.
6748            mv conftest.$ac_objext conftstm.$ac_objext
6749 <          lt_save_LIBS="$LIBS"
6750 <          lt_save_CFLAGS="$CFLAGS"
6749 >          lt_globsym_save_LIBS=$LIBS
6750 >          lt_globsym_save_CFLAGS=$CFLAGS
6751            LIBS="conftstm.$ac_objext"
6752            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6753            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6757 | _LT_EOF
6757    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6758              pipe_works=yes
6759            fi
6760 <          LIBS="$lt_save_LIBS"
6761 <          CFLAGS="$lt_save_CFLAGS"
6760 >          LIBS=$lt_globsym_save_LIBS
6761 >          CFLAGS=$lt_globsym_save_CFLAGS
6762          else
6763            echo "cannot find nm_test_func in $nlist" >&5
6764          fi
# Line 6282 | Line 6795 | else
6795   $as_echo "ok" >&6; }
6796   fi
6797  
6798 + # Response file support.
6799 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6800 +  nm_file_list_spec='@'
6801 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6802 +  nm_file_list_spec='@'
6803 + fi
6804 +
6805  
6806  
6807  
# Line 6303 | Line 6823 | fi
6823  
6824  
6825  
6826 +
6827 +
6828 +
6829 +
6830 +
6831 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6832 + $as_echo_n "checking for sysroot... " >&6; }
6833 +
6834 + # Check whether --with-sysroot was given.
6835 + if test "${with_sysroot+set}" = set; then :
6836 +  withval=$with_sysroot;
6837 + else
6838 +  with_sysroot=no
6839 + fi
6840 +
6841 +
6842 + lt_sysroot=
6843 + case ${with_sysroot} in #(
6844 + yes)
6845 +   if test "$GCC" = yes; then
6846 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6847 +   fi
6848 +   ;; #(
6849 + /*)
6850 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6851 +   ;; #(
6852 + no|'')
6853 +   ;; #(
6854 + *)
6855 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6856 + $as_echo "${with_sysroot}" >&6; }
6857 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6858 +   ;;
6859 + esac
6860 +
6861 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6862 + $as_echo "${lt_sysroot:-no}" >&6; }
6863 +
6864 +
6865 +
6866 +
6867 +
6868   # Check whether --enable-libtool-lock was given.
6869   if test "${enable_libtool_lock+set}" = set; then :
6870    enableval=$enable_libtool_lock;
# Line 6428 | Line 6990 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6990    CFLAGS="$CFLAGS -belf"
6991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6992   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6993 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6993 > if ${lt_cv_cc_needs_belf+:} false; then :
6994    $as_echo_n "(cached) " >&6
6995   else
6996    ac_ext=c
# Line 6469 | Line 7031 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7031      CFLAGS="$SAVE_CFLAGS"
7032    fi
7033    ;;
7034 < sparc*-*solaris*)
7034 > *-*solaris*)
7035    # Find out which ABI we are using.
7036    echo 'int i;' > conftest.$ac_ext
7037    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 7042 | sparc*-*solaris*)
7042      case `/usr/bin/file conftest.o` in
7043      *64-bit*)
7044        case $lt_cv_prog_gnu_ld in
7045 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7045 >      yes*)
7046 >        case $host in
7047 >        i?86-*-solaris*)
7048 >          LD="${LD-ld} -m elf_x86_64"
7049 >          ;;
7050 >        sparc*-*-solaris*)
7051 >          LD="${LD-ld} -m elf64_sparc"
7052 >          ;;
7053 >        esac
7054 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7055 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7056 >          LD="${LD-ld}_sol2"
7057 >        fi
7058 >        ;;
7059        *)
7060          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7061            LD="${LD-ld} -64"
# Line 6496 | Line 7071 | esac
7071  
7072   need_locks="$enable_libtool_lock"
7073  
7074 + if test -n "$ac_tool_prefix"; then
7075 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7076 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7077 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 + $as_echo_n "checking for $ac_word... " >&6; }
7079 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7080 +  $as_echo_n "(cached) " >&6
7081 + else
7082 +  if test -n "$MANIFEST_TOOL"; then
7083 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7084 + else
7085 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 + for as_dir in $PATH
7087 + do
7088 +  IFS=$as_save_IFS
7089 +  test -z "$as_dir" && as_dir=.
7090 +    for ac_exec_ext in '' $ac_executable_extensions; do
7091 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7093 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 +    break 2
7095 +  fi
7096 + done
7097 +  done
7098 + IFS=$as_save_IFS
7099 +
7100 + fi
7101 + fi
7102 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7103 + if test -n "$MANIFEST_TOOL"; then
7104 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7105 + $as_echo "$MANIFEST_TOOL" >&6; }
7106 + else
7107 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 + $as_echo "no" >&6; }
7109 + fi
7110 +
7111 +
7112 + fi
7113 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7114 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7115 +  # Extract the first word of "mt", so it can be a program name with args.
7116 + set dummy mt; ac_word=$2
7117 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 + $as_echo_n "checking for $ac_word... " >&6; }
7119 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7120 +  $as_echo_n "(cached) " >&6
7121 + else
7122 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7123 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7124 + else
7125 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 + for as_dir in $PATH
7127 + do
7128 +  IFS=$as_save_IFS
7129 +  test -z "$as_dir" && as_dir=.
7130 +    for ac_exec_ext in '' $ac_executable_extensions; do
7131 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7133 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 +    break 2
7135 +  fi
7136 + done
7137 +  done
7138 + IFS=$as_save_IFS
7139 +
7140 + fi
7141 + fi
7142 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7143 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7144 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7145 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7146 + else
7147 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 + $as_echo "no" >&6; }
7149 + fi
7150 +
7151 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7152 +    MANIFEST_TOOL=":"
7153 +  else
7154 +    case $cross_compiling:$ac_tool_warned in
7155 + yes:)
7156 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 + ac_tool_warned=yes ;;
7159 + esac
7160 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7161 +  fi
7162 + else
7163 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7164 + fi
7165 +
7166 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7167 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7168 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7169 + if ${lt_cv_path_mainfest_tool+:} false; then :
7170 +  $as_echo_n "(cached) " >&6
7171 + else
7172 +  lt_cv_path_mainfest_tool=no
7173 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7174 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7175 +  cat conftest.err >&5
7176 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7177 +    lt_cv_path_mainfest_tool=yes
7178 +  fi
7179 +  rm -f conftest*
7180 + fi
7181 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7182 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7183 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7184 +  MANIFEST_TOOL=:
7185 + fi
7186 +
7187 +
7188 +
7189 +
7190 +
7191  
7192    case $host_os in
7193      rhapsody* | darwin*)
# Line 6504 | Line 7196 | need_locks="$enable_libtool_lock"
7196   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198   $as_echo_n "checking for $ac_word... " >&6; }
7199 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7199 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7200    $as_echo_n "(cached) " >&6
7201   else
7202    if test -n "$DSYMUTIL"; then
# Line 6516 | Line 7208 | do
7208    IFS=$as_save_IFS
7209    test -z "$as_dir" && as_dir=.
7210      for ac_exec_ext in '' $ac_executable_extensions; do
7211 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214      break 2
# Line 6544 | Line 7236 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7236   set dummy dsymutil; ac_word=$2
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238   $as_echo_n "checking for $ac_word... " >&6; }
7239 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7239 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7240    $as_echo_n "(cached) " >&6
7241   else
7242    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6556 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 6596 | Line 7288 | fi
7288   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290   $as_echo_n "checking for $ac_word... " >&6; }
7291 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7291 > if ${ac_cv_prog_NMEDIT+:} false; then :
7292    $as_echo_n "(cached) " >&6
7293   else
7294    if test -n "$NMEDIT"; then
# Line 6608 | Line 7300 | do
7300    IFS=$as_save_IFS
7301    test -z "$as_dir" && as_dir=.
7302      for ac_exec_ext in '' $ac_executable_extensions; do
7303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306      break 2
# Line 6636 | Line 7328 | if test -z "$ac_cv_prog_NMEDIT"; then
7328   set dummy nmedit; ac_word=$2
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330   $as_echo_n "checking for $ac_word... " >&6; }
7331 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7331 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7332    $as_echo_n "(cached) " >&6
7333   else
7334    if test -n "$ac_ct_NMEDIT"; then
# Line 6648 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 6688 | Line 7380 | fi
7380   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382   $as_echo_n "checking for $ac_word... " >&6; }
7383 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7383 > if ${ac_cv_prog_LIPO+:} false; then :
7384    $as_echo_n "(cached) " >&6
7385   else
7386    if test -n "$LIPO"; then
# Line 6700 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 6728 | Line 7420 | if test -z "$ac_cv_prog_LIPO"; then
7420   set dummy lipo; ac_word=$2
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422   $as_echo_n "checking for $ac_word... " >&6; }
7423 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7423 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7424    $as_echo_n "(cached) " >&6
7425   else
7426    if test -n "$ac_ct_LIPO"; then
# Line 6740 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_LIPO="lipo"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 6780 | Line 7472 | fi
7472   set dummy ${ac_tool_prefix}otool; ac_word=$2
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474   $as_echo_n "checking for $ac_word... " >&6; }
7475 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7475 > if ${ac_cv_prog_OTOOL+:} false; then :
7476    $as_echo_n "(cached) " >&6
7477   else
7478    if test -n "$OTOOL"; then
# Line 6792 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 6820 | Line 7512 | if test -z "$ac_cv_prog_OTOOL"; then
7512   set dummy otool; ac_word=$2
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514   $as_echo_n "checking for $ac_word... " >&6; }
7515 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7515 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7516    $as_echo_n "(cached) " >&6
7517   else
7518    if test -n "$ac_ct_OTOOL"; then
# Line 6832 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_OTOOL="otool"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 6872 | Line 7564 | fi
7564   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566   $as_echo_n "checking for $ac_word... " >&6; }
7567 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7567 > if ${ac_cv_prog_OTOOL64+:} false; then :
7568    $as_echo_n "(cached) " >&6
7569   else
7570    if test -n "$OTOOL64"; then
# Line 6884 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 6912 | Line 7604 | if test -z "$ac_cv_prog_OTOOL64"; then
7604   set dummy otool64; ac_word=$2
7605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606   $as_echo_n "checking for $ac_word... " >&6; }
7607 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7607 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7608    $as_echo_n "(cached) " >&6
7609   else
7610    if test -n "$ac_ct_OTOOL64"; then
# Line 6924 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_OTOOL64="otool64"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 6987 | Line 7679 | fi
7679  
7680      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7681   $as_echo_n "checking for -single_module linker flag... " >&6; }
7682 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7682 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7695 | else
7695          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7697          _lt_result=$?
7698 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7698 >        # If there is a non-empty error log, and "single_module"
7699 >        # appears in it, assume the flag caused a linker warning
7700 >        if test -s conftest.err && $GREP single_module conftest.err; then
7701 >          cat conftest.err >&5
7702 >        # Otherwise, if the output was created with a 0 exit code from
7703 >        # the compiler, it worked.
7704 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7705            lt_cv_apple_cc_single_mod=yes
7706          else
7707            cat conftest.err >&5
# Line 7014 | Line 7712 | else
7712   fi
7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7714   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7715 +
7716      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7717   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7718 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7718 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7719    $as_echo_n "(cached) " >&6
7720   else
7721    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7745 | rm -f core conftest.err conftest.$ac_obj
7745   fi
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7747   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7748 +
7749      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7750   $as_echo_n "checking for -force_load linker flag... " >&6; }
7751 < if test "${lt_cv_ld_force_load+set}" = set; then :
7751 > if ${lt_cv_ld_force_load+:} false; then :
7752    $as_echo_n "(cached) " >&6
7753   else
7754    lt_cv_ld_force_load=no
# Line 7067 | Line 7767 | _LT_EOF
7767        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7768        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7769        _lt_result=$?
7770 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7770 >      if test -s conftest.err && $GREP force_load conftest.err; then
7771 >        cat conftest.err >&5
7772 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7773          lt_cv_ld_force_load=yes
7774        else
7775          cat conftest.err >&5
# Line 7125 | Line 7827 | if test -n "$CPP" && test -d "$CPP"; the
7827    CPP=
7828   fi
7829   if test -z "$CPP"; then
7830 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7830 >  if ${ac_cv_prog_CPP+:} false; then :
7831    $as_echo_n "(cached) " >&6
7832   else
7833        # Double quotes because CPP needs to be expanded
# Line 7155 | Line 7857 | else
7857    # Broken: fails on valid input.
7858   continue
7859   fi
7860 < rm -f conftest.err conftest.$ac_ext
7860 > rm -f conftest.err conftest.i conftest.$ac_ext
7861  
7862    # OK, works on sane cases.  Now check whether nonexistent headers
7863    # can be detected and how.
# Line 7171 | Line 7873 | else
7873   ac_preproc_ok=:
7874   break
7875   fi
7876 < rm -f conftest.err conftest.$ac_ext
7876 > rm -f conftest.err conftest.i conftest.$ac_ext
7877  
7878   done
7879   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7880 < rm -f conftest.err conftest.$ac_ext
7880 > rm -f conftest.i conftest.err conftest.$ac_ext
7881   if $ac_preproc_ok; then :
7882    break
7883   fi
# Line 7214 | Line 7916 | else
7916    # Broken: fails on valid input.
7917   continue
7918   fi
7919 < rm -f conftest.err conftest.$ac_ext
7919 > rm -f conftest.err conftest.i conftest.$ac_ext
7920  
7921    # OK, works on sane cases.  Now check whether nonexistent headers
7922    # can be detected and how.
# Line 7230 | Line 7932 | else
7932   ac_preproc_ok=:
7933   break
7934   fi
7935 < rm -f conftest.err conftest.$ac_ext
7935 > rm -f conftest.err conftest.i conftest.$ac_ext
7936  
7937   done
7938   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7939 < rm -f conftest.err conftest.$ac_ext
7939 > rm -f conftest.i conftest.err conftest.$ac_ext
7940   if $ac_preproc_ok; then :
7941  
7942   else
7943    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7944   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7945 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7946 < See \`config.log' for more details." "$LINENO" 5; }
7945 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7946 > See \`config.log' for more details" "$LINENO" 5; }
7947   fi
7948  
7949   ac_ext=c
# Line 7253 | Line 7955 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7955  
7956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7957   $as_echo_n "checking for ANSI C header files... " >&6; }
7958 < if test "${ac_cv_header_stdc+set}" = set; then :
7958 > if ${ac_cv_header_stdc+:} false; then :
7959    $as_echo_n "(cached) " >&6
7960   else
7961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7370 | Line 8072 | do :
8072    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8073   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8074   "
8075 < eval as_val=\$$as_ac_Header
7374 <   if test "x$as_val" = x""yes; then :
8075 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8076    cat >>confdefs.h <<_ACEOF
8077   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078   _ACEOF
# Line 7385 | Line 8086 | for ac_header in dlfcn.h
8086   do :
8087    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8088   "
8089 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8089 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8090    cat >>confdefs.h <<_ACEOF
8091   #define HAVE_DLFCN_H 1
8092   _ACEOF
# Line 7471 | Line 8172 | fi
8172  
8173   # Check whether --with-pic was given.
8174   if test "${with_pic+set}" = set; then :
8175 <  withval=$with_pic; pic_mode="$withval"
8175 >  withval=$with_pic; lt_p=${PACKAGE-default}
8176 >    case $withval in
8177 >    yes|no) pic_mode=$withval ;;
8178 >    *)
8179 >      pic_mode=default
8180 >      # Look at the argument we got.  We use all the common list separators.
8181 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8182 >      for lt_pkg in $withval; do
8183 >        IFS="$lt_save_ifs"
8184 >        if test "X$lt_pkg" = "X$lt_p"; then
8185 >          pic_mode=yes
8186 >        fi
8187 >      done
8188 >      IFS="$lt_save_ifs"
8189 >      ;;
8190 >    esac
8191   else
8192    pic_mode=default
8193   fi
# Line 7549 | Line 8265 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8265  
8266  
8267  
8268 +
8269 +
8270 +
8271 +
8272   test -z "$LN_S" && LN_S="ln -s"
8273  
8274  
# Line 7570 | Line 8290 | fi
8290  
8291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8292   $as_echo_n "checking for objdir... " >&6; }
8293 < if test "${lt_cv_objdir+set}" = set; then :
8293 > if ${lt_cv_objdir+:} false; then :
8294    $as_echo_n "(cached) " >&6
8295   else
8296    rm -f .libs 2>/dev/null
# Line 7648 | Line 8368 | file_magic*)
8368    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8369      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8370   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8371 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8371 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8372    $as_echo_n "(cached) " >&6
8373   else
8374    case $MAGIC_CMD in
# Line 7714 | Line 8434 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8434    if test -n "$ac_tool_prefix"; then
8435      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8436   $as_echo_n "checking for file... " >&6; }
8437 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8437 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8438    $as_echo_n "(cached) " >&6
8439   else
8440    case $MAGIC_CMD in
# Line 7838 | Line 8558 | _lt_linker_boilerplate=`cat conftest.err
8558   $RM -r conftest*
8559  
8560  
8561 + ## CAVEAT EMPTOR:
8562 + ## There is no encapsulation within the following macros, do not change
8563 + ## the running order or otherwise move them around unless you know exactly
8564 + ## what you are doing...
8565   if test -n "$compiler"; then
8566  
8567   lt_prog_compiler_no_builtin_flag=
# Line 7852 | Line 8576 | if test "$GCC" = yes; then
8576  
8577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8578   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8579 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8579 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8580    $as_echo_n "(cached) " >&6
8581   else
8582    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7905 | Line 8629 | fi
8629   lt_prog_compiler_pic=
8630   lt_prog_compiler_static=
8631  
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; }
8632  
8633    if test "$GCC" = yes; then
8634      lt_prog_compiler_wl='-Wl,'
# Line 8006 | Line 8728 | $as_echo_n "checking for $compiler optio
8728      case $cc_basename in
8729      nvcc*) # Cuda Compiler Driver 2.2
8730        lt_prog_compiler_wl='-Xlinker '
8731 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8731 >      if test -n "$lt_prog_compiler_pic"; then
8732 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8733 >      fi
8734        ;;
8735      esac
8736    else
# Line 8071 | Line 8795 | $as_echo_n "checking for $compiler optio
8795          lt_prog_compiler_pic='--shared'
8796          lt_prog_compiler_static='--static'
8797          ;;
8798 +      nagfor*)
8799 +        # NAG Fortran compiler
8800 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8801 +        lt_prog_compiler_pic='-PIC'
8802 +        lt_prog_compiler_static='-Bstatic'
8803 +        ;;
8804        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8805          # Portland Group compilers (*not* the Pentium gcc compiler,
8806          # which looks to be a dead project)
# Line 8091 | Line 8821 | $as_echo_n "checking for $compiler optio
8821          ;;
8822        *)
8823          case `$CC -V 2>&1 | sed 5q` in
8824 <        *Sun\ F* | *Sun*Fortran*)
8824 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8825            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8826            lt_prog_compiler_pic='-KPIC'
8827            lt_prog_compiler_static='-Bstatic'
8828            lt_prog_compiler_wl=''
8829            ;;
8830 +        *Sun\ F* | *Sun*Fortran*)
8831 +          lt_prog_compiler_pic='-KPIC'
8832 +          lt_prog_compiler_static='-Bstatic'
8833 +          lt_prog_compiler_wl='-Qoption ld '
8834 +          ;;
8835          *Sun\ C*)
8836            # Sun C 5.9
8837            lt_prog_compiler_pic='-KPIC'
8838            lt_prog_compiler_static='-Bstatic'
8839            lt_prog_compiler_wl='-Wl,'
8840            ;;
8841 +        *Intel*\ [CF]*Compiler*)
8842 +          lt_prog_compiler_wl='-Wl,'
8843 +          lt_prog_compiler_pic='-fPIC'
8844 +          lt_prog_compiler_static='-static'
8845 +          ;;
8846 +        *Portland\ Group*)
8847 +          lt_prog_compiler_wl='-Wl,'
8848 +          lt_prog_compiler_pic='-fpic'
8849 +          lt_prog_compiler_static='-Bstatic'
8850 +          ;;
8851          esac
8852          ;;
8853        esac
# Line 8190 | Line 8935 | case $host_os in
8935      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8936      ;;
8937   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
8938  
8939 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8940 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8941 + if ${lt_cv_prog_compiler_pic+:} false; then :
8942 +  $as_echo_n "(cached) " >&6
8943 + else
8944 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8945 + fi
8946 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8947 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8948 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8949  
8950   #
8951   # Check to make sure the PIC flag actually works.
# Line 8204 | Line 8953 | $as_echo "$lt_prog_compiler_pic" >&6; }
8953   if test -n "$lt_prog_compiler_pic"; then
8954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8955   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8956 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8956 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8957    $as_echo_n "(cached) " >&6
8958   else
8959    lt_cv_prog_compiler_pic_works=no
# Line 8257 | Line 9006 | fi
9006  
9007  
9008  
9009 +
9010 +
9011 +
9012 +
9013 +
9014   #
9015   # Check to make sure the static flag actually works.
9016   #
9017   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9019   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9020 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9020 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9021    $as_echo_n "(cached) " >&6
9022   else
9023    lt_cv_prog_compiler_static_works=no
# Line 8306 | Line 9060 | fi
9060  
9061    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9063 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9064    $as_echo_n "(cached) " >&6
9065   else
9066    lt_cv_prog_compiler_c_o=no
# Line 8361 | Line 9115 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9115  
9116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9117   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9118 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9118 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9119    $as_echo_n "(cached) " >&6
9120   else
9121    lt_cv_prog_compiler_c_o=no
# Line 8455 | Line 9209 | $as_echo_n "checking whether the $compil
9209    hardcode_direct=no
9210    hardcode_direct_absolute=no
9211    hardcode_libdir_flag_spec=
8458  hardcode_libdir_flag_spec_ld=
9212    hardcode_libdir_separator=
9213    hardcode_minus_L=no
9214    hardcode_shlibpath_var=unsupported
# Line 8607 | Line 9360 | _LT_EOF
9360        allow_undefined_flag=unsupported
9361        always_export_symbols=no
9362        enable_shared_with_static_runtimes=yes
9363 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9363 >      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'
9364 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9365  
9366        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9367          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 9409 | _LT_EOF
9409        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9410           && test "$tmp_diet" = no
9411        then
9412 <        tmp_addflag=
9412 >        tmp_addflag=' $pic_flag'
9413          tmp_sharedflag='-shared'
9414          case $cc_basename,$host_cpu in
9415          pgcc*)                          # Portland Group C compiler
# Line 8704 | Line 9458 | _LT_EOF
9458          xlf* | bgf* | bgxlf* | mpixlf*)
9459            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9460            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9461 <          hardcode_libdir_flag_spec=
8708 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9461 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9463            if test "x$supports_anon_versioning" = xyes; then
9464              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8725 | Line 9478 | _LT_EOF
9478          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9479          wlarc=
9480        else
9481 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483        fi
9484        ;;
9485  
# Line 8744 | Line 9497 | _LT_EOF
9497  
9498   _LT_EOF
9499        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9500 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9502        else
9503          ld_shlibs=no
9504        fi
# Line 8791 | Line 9544 | _LT_EOF
9544  
9545      *)
9546        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9547 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9549        else
9550          ld_shlibs=no
9551        fi
# Line 8922 | Line 9675 | _LT_EOF
9675          allow_undefined_flag='-berok'
9676          # Determine the default libpath from the value encoded in an
9677          # empty executable.
9678 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 >        if test "${lt_cv_aix_libpath+set}" = set; then
9679 >  aix_libpath=$lt_cv_aix_libpath
9680 > else
9681 >  if ${lt_cv_aix_libpath_+:} false; then :
9682 >  $as_echo_n "(cached) " >&6
9683 > else
9684 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685   /* end confdefs.h.  */
9686  
9687   int
# Line 8935 | Line 9694 | main ()
9694   _ACEOF
9695   if ac_fn_c_try_link "$LINENO"; then :
9696  
9697 < lt_aix_libpath_sed='
9698 <    /Import File Strings/,/^$/ {
9699 <        /^0/ {
9700 <            s/^0  *\(.*\)$/\1/
9701 <            p
9702 <        }
9703 <    }'
9704 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 < # Check for a 64-bit object if we didn't find anything.
9706 < if test -z "$aix_libpath"; then
9707 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 < fi
9697 >  lt_aix_libpath_sed='
9698 >      /Import File Strings/,/^$/ {
9699 >          /^0/ {
9700 >              s/^0  *\([^ ]*\) *$/\1/
9701 >              p
9702 >          }
9703 >      }'
9704 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 >  # Check for a 64-bit object if we didn't find anything.
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 >  fi
9709   fi
9710   rm -f core conftest.err conftest.$ac_objext \
9711      conftest$ac_exeext conftest.$ac_ext
9712 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9712 >  if test -z "$lt_cv_aix_libpath_"; then
9713 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9714 >  fi
9715 >
9716 > fi
9717 >
9718 >  aix_libpath=$lt_cv_aix_libpath_
9719 > fi
9720  
9721          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9722          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 9728 | if test -z "$aix_libpath"; then aix_libp
9728          else
9729           # Determine the default libpath from the value encoded in an
9730           # empty executable.
9731 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 >         if test "${lt_cv_aix_libpath+set}" = set; then
9732 >  aix_libpath=$lt_cv_aix_libpath
9733 > else
9734 >  if ${lt_cv_aix_libpath_+:} false; then :
9735 >  $as_echo_n "(cached) " >&6
9736 > else
9737 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738   /* end confdefs.h.  */
9739  
9740   int
# Line 8975 | Line 9747 | main ()
9747   _ACEOF
9748   if ac_fn_c_try_link "$LINENO"; then :
9749  
9750 < lt_aix_libpath_sed='
9751 <    /Import File Strings/,/^$/ {
9752 <        /^0/ {
9753 <            s/^0  *\(.*\)$/\1/
9754 <            p
9755 <        }
9756 <    }'
9757 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 < # Check for a 64-bit object if we didn't find anything.
9759 < if test -z "$aix_libpath"; then
9760 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 < fi
9750 >  lt_aix_libpath_sed='
9751 >      /Import File Strings/,/^$/ {
9752 >          /^0/ {
9753 >              s/^0  *\([^ ]*\) *$/\1/
9754 >              p
9755 >          }
9756 >      }'
9757 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 >  # Check for a 64-bit object if we didn't find anything.
9759 >  if test -z "$lt_cv_aix_libpath_"; then
9760 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 >  fi
9762   fi
9763   rm -f core conftest.err conftest.$ac_objext \
9764      conftest$ac_exeext conftest.$ac_ext
9765 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9765 >  if test -z "$lt_cv_aix_libpath_"; then
9766 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9767 >  fi
9768 >
9769 > fi
9770 >
9771 >  aix_libpath=$lt_cv_aix_libpath_
9772 > fi
9773  
9774           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9775            # Warning - without using the other run time loading flags,
# Line 9035 | Line 9814 | if test -z "$aix_libpath"; then aix_libp
9814        # Microsoft Visual C++.
9815        # hardcode_libdir_flag_spec is actually meaningless, as there is
9816        # no search path for DLLs.
9817 <      hardcode_libdir_flag_spec=' '
9818 <      allow_undefined_flag=unsupported
9819 <      # Tell ltmain to make .lib files, not .a files.
9820 <      libext=lib
9821 <      # Tell ltmain to make .dll files, not .so files.
9822 <      shrext_cmds=".dll"
9823 <      # FIXME: Setting linknames here is a bad hack.
9824 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9825 <      # The linker will automatically build a .lib file if we build a DLL.
9826 <      old_archive_from_new_cmds='true'
9827 <      # FIXME: Should let the user specify the lib program.
9828 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9829 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9830 <      enable_shared_with_static_runtimes=yes
9817 >      case $cc_basename in
9818 >      cl*)
9819 >        # Native MSVC
9820 >        hardcode_libdir_flag_spec=' '
9821 >        allow_undefined_flag=unsupported
9822 >        always_export_symbols=yes
9823 >        file_list_spec='@'
9824 >        # Tell ltmain to make .lib files, not .a files.
9825 >        libext=lib
9826 >        # Tell ltmain to make .dll files, not .so files.
9827 >        shrext_cmds=".dll"
9828 >        # FIXME: Setting linknames here is a bad hack.
9829 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9830 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9831 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9832 >          else
9833 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9834 >          fi~
9835 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9836 >          linknames='
9837 >        # The linker will not automatically build a static lib if we build a DLL.
9838 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9839 >        enable_shared_with_static_runtimes=yes
9840 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9841 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9842 >        # Don't use ranlib
9843 >        old_postinstall_cmds='chmod 644 $oldlib'
9844 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9845 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9846 >          case $lt_outputfile in
9847 >            *.exe|*.EXE) ;;
9848 >            *)
9849 >              lt_outputfile="$lt_outputfile.exe"
9850 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9851 >              ;;
9852 >          esac~
9853 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9854 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9855 >            $RM "$lt_outputfile.manifest";
9856 >          fi'
9857 >        ;;
9858 >      *)
9859 >        # Assume MSVC wrapper
9860 >        hardcode_libdir_flag_spec=' '
9861 >        allow_undefined_flag=unsupported
9862 >        # Tell ltmain to make .lib files, not .a files.
9863 >        libext=lib
9864 >        # Tell ltmain to make .dll files, not .so files.
9865 >        shrext_cmds=".dll"
9866 >        # FIXME: Setting linknames here is a bad hack.
9867 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9868 >        # The linker will automatically build a .lib file if we build a DLL.
9869 >        old_archive_from_new_cmds='true'
9870 >        # FIXME: Should let the user specify the lib program.
9871 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9872 >        enable_shared_with_static_runtimes=yes
9873 >        ;;
9874 >      esac
9875        ;;
9876  
9877      darwin* | rhapsody*)
# Line 9060 | Line 9883 | if test -z "$aix_libpath"; then aix_libp
9883    hardcode_shlibpath_var=unsupported
9884    if test "$lt_cv_ld_force_load" = "yes"; then
9885      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\"`'
9886 +
9887    else
9888      whole_archive_flag_spec=''
9889    fi
# Line 9088 | Line 9912 | if test -z "$aix_libpath"; then aix_libp
9912        hardcode_shlibpath_var=no
9913        ;;
9914  
9091    freebsd1*)
9092      ld_shlibs=no
9093      ;;
9094
9915      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9916      # support.  Future versions do this automatically, but an explicit c++rt0.o
9917      # does not break anything, and helps significantly (at the cost of a little
# Line 9104 | Line 9924 | if test -z "$aix_libpath"; then aix_libp
9924        ;;
9925  
9926      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9927 <    freebsd2*)
9927 >    freebsd2.*)
9928        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9929        hardcode_direct=yes
9930        hardcode_minus_L=yes
# Line 9113 | Line 9933 | if test -z "$aix_libpath"; then aix_libp
9933  
9934      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9935      freebsd* | dragonfly*)
9936 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9936 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9937        hardcode_libdir_flag_spec='-R$libdir'
9938        hardcode_direct=yes
9939        hardcode_shlibpath_var=no
# Line 9121 | Line 9941 | if test -z "$aix_libpath"; then aix_libp
9941  
9942      hpux9*)
9943        if test "$GCC" = yes; then
9944 <        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'
9944 >        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'
9945        else
9946          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'
9947        fi
# Line 9137 | Line 9957 | if test -z "$aix_libpath"; then aix_libp
9957  
9958      hpux10*)
9959        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9960 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9960 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9961        else
9962          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9963        fi
9964        if test "$with_gnu_ld" = no; then
9965          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9146        hardcode_libdir_flag_spec_ld='+b $libdir'
9966          hardcode_libdir_separator=:
9967          hardcode_direct=yes
9968          hardcode_direct_absolute=yes
# Line 9161 | Line 9980 | if test -z "$aix_libpath"; then aix_libp
9980            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981            ;;
9982          ia64*)
9983 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9983 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9984            ;;
9985          *)
9986 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9986 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9987            ;;
9988          esac
9989        else
# Line 9181 | Line 10000 | if test -z "$aix_libpath"; then aix_libp
10000            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10001            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10002   $as_echo_n "checking if $CC understands -b... " >&6; }
10003 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
10003 > if ${lt_cv_prog_compiler__b+:} false; then :
10004    $as_echo_n "(cached) " >&6
10005   else
10006    lt_cv_prog_compiler__b=no
# Line 9243 | Line 10062 | fi
10062  
10063      irix5* | irix6* | nonstopux*)
10064        if test "$GCC" = yes; then
10065 <        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'
10065 >        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'
10066          # Try to use the -exported_symbol ld option, if it does not
10067          # work, assume that -exports_file does not work either and
10068          # implicitly export all symbols.
10069 <        save_LDFLAGS="$LDFLAGS"
10070 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10071 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 >        # This should be the same for all languages, so no per-tag cache variable.
10070 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10071 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10072 > if ${lt_cv_irix_exported_symbol+:} false; then :
10073 >  $as_echo_n "(cached) " >&6
10074 > else
10075 >  save_LDFLAGS="$LDFLAGS"
10076 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10077 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078   /* end confdefs.h.  */
10079 < int foo(void) {}
10079 > int foo (void) { return 0; }
10080   _ACEOF
10081   if ac_fn_c_try_link "$LINENO"; then :
10082 <  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'
10083 <
10082 >  lt_cv_irix_exported_symbol=yes
10083 > else
10084 >  lt_cv_irix_exported_symbol=no
10085   fi
10086   rm -f core conftest.err conftest.$ac_objext \
10087      conftest$ac_exeext conftest.$ac_ext
10088 <        LDFLAGS="$save_LDFLAGS"
10088 >           LDFLAGS="$save_LDFLAGS"
10089 > fi
10090 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10091 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10092 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10093 >          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'
10094 >        fi
10095        else
10096          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'
10097          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 10176 | rm -f core conftest.err conftest.$ac_obj
10176      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10177        if test "$GCC" = yes; then
10178          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10179 <        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'
10179 >        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'
10180          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10181        else
10182          allow_undefined_flag=' -expect_unresolved \*'
# Line 9363 | Line 10195 | rm -f core conftest.err conftest.$ac_obj
10195        no_undefined_flag=' -z defs'
10196        if test "$GCC" = yes; then
10197          wlarc='${wl}'
10198 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10199          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10200 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10200 >          $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'
10201        else
10202          case `$CC -V 2>&1` in
10203          *"Compilers 5.0"*)
# Line 9553 | Line 10385 | x|xyes)
10385        # to ld, don't add -lc before -lgcc.
10386        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10387   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10388 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10388 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10389    $as_echo_n "(cached) " >&6
10390   else
10391    $RM conftest*
# Line 9754 | Line 10586 | esac
10586  
10587  
10588  
9757
9758
9759
9760
9761
10589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10590   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10591  
# Line 9848 | Line 10675 | need_version=unknown
10675  
10676   case $host_os in
10677   aix3*)
10678 <  version_type=linux
10678 >  version_type=linux # correct to gnu/linux during the next big refactor
10679    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10680    shlibpath_var=LIBPATH
10681  
# Line 9857 | Line 10684 | aix3*)
10684    ;;
10685  
10686   aix[4-9]*)
10687 <  version_type=linux
10687 >  version_type=linux # correct to gnu/linux during the next big refactor
10688    need_lib_prefix=no
10689    need_version=no
10690    hardcode_into_libs=yes
# Line 9922 | Line 10749 | beos*)
10749    ;;
10750  
10751   bsdi[45]*)
10752 <  version_type=linux
10752 >  version_type=linux # correct to gnu/linux during the next big refactor
10753    need_version=no
10754    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9941 | Line 10768 | cygwin* | mingw* | pw32* | cegcc*)
10768    need_version=no
10769    need_lib_prefix=no
10770  
10771 <  case $GCC,$host_os in
10772 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10771 >  case $GCC,$cc_basename in
10772 >  yes,*)
10773 >    # gcc
10774      library_names_spec='$libname.dll.a'
10775      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10776      postinstall_cmds='base_file=`basename \${file}`~
# Line 9975 | Line 10803 | cygwin* | mingw* | pw32* | cegcc*)
10803        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10804        ;;
10805      esac
10806 +    dynamic_linker='Win32 ld.exe'
10807 +    ;;
10808 +
10809 +  *,cl*)
10810 +    # Native MSVC
10811 +    libname_spec='$name'
10812 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10813 +    library_names_spec='${libname}.dll.lib'
10814 +
10815 +    case $build_os in
10816 +    mingw*)
10817 +      sys_lib_search_path_spec=
10818 +      lt_save_ifs=$IFS
10819 +      IFS=';'
10820 +      for lt_path in $LIB
10821 +      do
10822 +        IFS=$lt_save_ifs
10823 +        # Let DOS variable expansion print the short 8.3 style file name.
10824 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10825 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10826 +      done
10827 +      IFS=$lt_save_ifs
10828 +      # Convert to MSYS style.
10829 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10830 +      ;;
10831 +    cygwin*)
10832 +      # Convert to unix form, then to dos form, then back to unix form
10833 +      # but this time dos style (no spaces!) so that the unix form looks
10834 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10835 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10836 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10837 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10838 +      ;;
10839 +    *)
10840 +      sys_lib_search_path_spec="$LIB"
10841 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10842 +        # It is most probably a Windows format PATH.
10843 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10844 +      else
10845 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10846 +      fi
10847 +      # FIXME: find the short name or the path components, as spaces are
10848 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10849 +      ;;
10850 +    esac
10851 +
10852 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10853 +    postinstall_cmds='base_file=`basename \${file}`~
10854 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10855 +      dldir=$destdir/`dirname \$dlpath`~
10856 +      test -d \$dldir || mkdir -p \$dldir~
10857 +      $install_prog $dir/$dlname \$dldir/$dlname'
10858 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10859 +      dlpath=$dir/\$dldll~
10860 +       $RM \$dlpath'
10861 +    shlibpath_overrides_runpath=yes
10862 +    dynamic_linker='Win32 link.exe'
10863      ;;
10864  
10865    *)
10866 +    # Assume MSVC wrapper
10867      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10868 +    dynamic_linker='Win32 ld.exe'
10869      ;;
10870    esac
9984  dynamic_linker='Win32 ld.exe'
10871    # FIXME: first we should search . and the directory the executable is in
10872    shlibpath_var=PATH
10873    ;;
# Line 10002 | Line 10888 | darwin* | rhapsody*)
10888    ;;
10889  
10890   dgux*)
10891 <  version_type=linux
10891 >  version_type=linux # correct to gnu/linux during the next big refactor
10892    need_lib_prefix=no
10893    need_version=no
10894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10010 | Line 10896 | dgux*)
10896    shlibpath_var=LD_LIBRARY_PATH
10897    ;;
10898  
10013 freebsd1*)
10014  dynamic_linker=no
10015  ;;
10016
10899   freebsd* | dragonfly*)
10900    # DragonFly does not have aout.  When/if they implement a new
10901    # versioning mechanism, adjust this.
# Line 10021 | Line 10903 | freebsd* | dragonfly*)
10903      objformat=`/usr/bin/objformat`
10904    else
10905      case $host_os in
10906 <    freebsd[123]*) objformat=aout ;;
10906 >    freebsd[23].*) objformat=aout ;;
10907      *) objformat=elf ;;
10908      esac
10909    fi
# Line 10039 | Line 10921 | freebsd* | dragonfly*)
10921    esac
10922    shlibpath_var=LD_LIBRARY_PATH
10923    case $host_os in
10924 <  freebsd2*)
10924 >  freebsd2.*)
10925      shlibpath_overrides_runpath=yes
10926      ;;
10927    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10059 | Line 10941 | freebsd* | dragonfly*)
10941    ;;
10942  
10943   gnu*)
10944 <  version_type=linux
10944 >  version_type=linux # correct to gnu/linux during the next big refactor
10945    need_lib_prefix=no
10946    need_version=no
10947    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10948    soname_spec='${libname}${release}${shared_ext}$major'
10949    shlibpath_var=LD_LIBRARY_PATH
10950 +  shlibpath_overrides_runpath=no
10951    hardcode_into_libs=yes
10952    ;;
10953  
10954   haiku*)
10955 <  version_type=linux
10955 >  version_type=linux # correct to gnu/linux during the next big refactor
10956    need_lib_prefix=no
10957    need_version=no
10958    dynamic_linker="$host_os runtime_loader"
# Line 10130 | Line 11013 | hpux9* | hpux10* | hpux11*)
11013    ;;
11014  
11015   interix[3-9]*)
11016 <  version_type=linux
11016 >  version_type=linux # correct to gnu/linux during the next big refactor
11017    need_lib_prefix=no
11018    need_version=no
11019    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10146 | Line 11029 | irix5* | irix6* | nonstopux*)
11029      nonstopux*) version_type=nonstopux ;;
11030      *)
11031          if test "$lt_cv_prog_gnu_ld" = yes; then
11032 <                version_type=linux
11032 >                version_type=linux # correct to gnu/linux during the next big refactor
11033          else
11034                  version_type=irix
11035          fi ;;
# Line 10183 | Line 11066 | linux*oldld* | linux*aout* | linux*coff*
11066    dynamic_linker=no
11067    ;;
11068  
11069 < # This must be Linux ELF.
11069 > # This must be glibc/ELF.
11070   linux* | k*bsd*-gnu | kopensolaris*-gnu)
11071 <  version_type=linux
11071 >  version_type=linux # correct to gnu/linux during the next big refactor
11072    need_lib_prefix=no
11073    need_version=no
11074    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10195 | Line 11078 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
11078    shlibpath_overrides_runpath=no
11079  
11080    # Some binutils ld are patched to set DT_RUNPATH
11081 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11081 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082    $as_echo_n "(cached) " >&6
11083   else
11084    lt_cv_shlibpath_overrides_runpath=no
# Line 10267 | Line 11150 | netbsd*)
11150    ;;
11151  
11152   newsos6)
11153 <  version_type=linux
11153 >  version_type=linux # correct to gnu/linux during the next big refactor
11154    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155    shlibpath_var=LD_LIBRARY_PATH
11156    shlibpath_overrides_runpath=yes
# Line 10336 | Line 11219 | rdos*)
11219    ;;
11220  
11221   solaris*)
11222 <  version_type=linux
11222 >  version_type=linux # correct to gnu/linux during the next big refactor
11223    need_lib_prefix=no
11224    need_version=no
11225    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10361 | Line 11244 | sunos4*)
11244    ;;
11245  
11246   sysv4 | sysv4.3*)
11247 <  version_type=linux
11247 >  version_type=linux # correct to gnu/linux during the next big refactor
11248    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249    soname_spec='${libname}${release}${shared_ext}$major'
11250    shlibpath_var=LD_LIBRARY_PATH
# Line 10385 | Line 11268 | sysv4 | sysv4.3*)
11268  
11269   sysv4*MP*)
11270    if test -d /usr/nec ;then
11271 <    version_type=linux
11271 >    version_type=linux # correct to gnu/linux during the next big refactor
11272      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11273      soname_spec='$libname${shared_ext}.$major'
11274      shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11299 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11299  
11300   tpf*)
11301    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11302 <  version_type=linux
11302 >  version_type=linux # correct to gnu/linux during the next big refactor
11303    need_lib_prefix=no
11304    need_version=no
11305    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10426 | Line 11309 | tpf*)
11309    ;;
11310  
11311   uts4*)
11312 <  version_type=linux
11312 >  version_type=linux # correct to gnu/linux during the next big refactor
11313    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314    soname_spec='${libname}${release}${shared_ext}$major'
11315    shlibpath_var=LD_LIBRARY_PATH
# Line 10615 | Line 11498 | else
11498    # if libdl is installed we need to link against it
11499      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11500   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11501 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11501 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11502    $as_echo_n "(cached) " >&6
11503   else
11504    ac_check_lib_save_LIBS=$LIBS
# Line 10649 | Line 11532 | LIBS=$ac_check_lib_save_LIBS
11532   fi
11533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11534   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11535 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11535 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11536    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11537   else
11538  
# Line 10663 | Line 11546 | fi
11546  
11547    *)
11548      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11549 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11549 > if test "x$ac_cv_func_shl_load" = xyes; then :
11550    lt_cv_dlopen="shl_load"
11551   else
11552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11553   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11554 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11554 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11555    $as_echo_n "(cached) " >&6
11556   else
11557    ac_check_lib_save_LIBS=$LIBS
# Line 10702 | Line 11585 | LIBS=$ac_check_lib_save_LIBS
11585   fi
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11587   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11588 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11588 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11589    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11590   else
11591    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11592 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11592 > if test "x$ac_cv_func_dlopen" = xyes; then :
11593    lt_cv_dlopen="dlopen"
11594   else
11595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11596   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11597 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11597 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11598    $as_echo_n "(cached) " >&6
11599   else
11600    ac_check_lib_save_LIBS=$LIBS
# Line 10745 | Line 11628 | LIBS=$ac_check_lib_save_LIBS
11628   fi
11629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11630   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11631 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11631 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11632    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11633   else
11634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11635   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11636 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11636 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11637    $as_echo_n "(cached) " >&6
11638   else
11639    ac_check_lib_save_LIBS=$LIBS
# Line 10784 | Line 11667 | LIBS=$ac_check_lib_save_LIBS
11667   fi
11668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11669   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11670 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11670 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11671    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11672   else
11673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11674   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11675 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11675 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11676    $as_echo_n "(cached) " >&6
11677   else
11678    ac_check_lib_save_LIBS=$LIBS
# Line 10823 | Line 11706 | LIBS=$ac_check_lib_save_LIBS
11706   fi
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11708   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11709 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11709 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11710    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11711   fi
11712  
# Line 10864 | Line 11747 | fi
11747  
11748      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11749   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11750 < if test "${lt_cv_dlopen_self+set}" = set; then :
11750 > if ${lt_cv_dlopen_self+:} false; then :
11751    $as_echo_n "(cached) " >&6
11752   else
11753            if test "$cross_compiling" = yes; then :
# Line 10917 | Line 11800 | else
11800   /* When -fvisbility=hidden is used, assume the code has been annotated
11801     correspondingly for the symbols needed.  */
11802   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11803 < void fnord () __attribute__((visibility("default")));
11803 > int fnord () __attribute__((visibility("default")));
11804   #endif
11805  
11806 < void fnord () { int i=42; }
11806 > int fnord () { return 42; }
11807   int main ()
11808   {
11809    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10970 | Line 11853 | $as_echo "$lt_cv_dlopen_self" >&6; }
11853        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11854        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11855   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11856 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11856 > if ${lt_cv_dlopen_self_static+:} false; then :
11857    $as_echo_n "(cached) " >&6
11858   else
11859            if test "$cross_compiling" = yes; then :
# Line 11023 | Line 11906 | else
11906   /* When -fvisbility=hidden is used, assume the code has been annotated
11907     correspondingly for the symbols needed.  */
11908   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11909 < void fnord () __attribute__((visibility("default")));
11909 > int fnord () __attribute__((visibility("default")));
11910   #endif
11911  
11912 < void fnord () { int i=42; }
11912 > int fnord () { return 42; }
11913   int main ()
11914   {
11915    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11208 | Line 12091 | CC="$lt_save_CC"
12091  
12092  
12093  
12094 +
12095 +
12096          ac_config_commands="$ac_config_commands libtool"
12097  
12098  
# Line 11218 | Line 12103 | CC="$lt_save_CC"
12103  
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12105   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12106 < if test "${libltdl_cv_shlibext+set}" = set; then :
12106 > if ${libltdl_cv_shlibext+:} false; then :
12107    $as_echo_n "(cached) " >&6
12108   else
12109  
12110   module=yes
12111   eval libltdl_cv_shlibext=$shrext_cmds
12112 + module=no
12113 + eval libltdl_cv_shrext=$shrext_cmds
12114  
12115   fi
12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11235 | Line 12122 | cat >>confdefs.h <<_ACEOF
12122   _ACEOF
12123  
12124   fi
12125 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12126 +
12127 + cat >>confdefs.h <<_ACEOF
12128 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12129 + _ACEOF
12130 +
12131 + fi
12132  
12133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12134   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12135 < if test "${lt_cv_module_path_var+set}" = set; then :
12135 > if ${lt_cv_module_path_var+:} false; then :
12136    $as_echo_n "(cached) " >&6
12137   else
12138    lt_cv_module_path_var="$shlibpath_var"
# Line 11255 | Line 12149 | fi
12149  
12150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12151   $as_echo_n "checking for the default library search path... " >&6; }
12152 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12152 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12153    $as_echo_n "(cached) " >&6
12154   else
12155    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11292 | Line 12186 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186   LIBADD_DLOPEN=
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12188   $as_echo_n "checking for library containing dlopen... " >&6; }
12189 < if test "${ac_cv_search_dlopen+set}" = set; then :
12189 > if ${ac_cv_search_dlopen+:} false; then :
12190    $as_echo_n "(cached) " >&6
12191   else
12192    ac_func_search_save_LIBS=$LIBS
# Line 11326 | Line 12220 | for ac_lib in '' dl; do
12220   fi
12221   rm -f core conftest.err conftest.$ac_objext \
12222      conftest$ac_exeext
12223 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12223 >  if ${ac_cv_search_dlopen+:} false; then :
12224    break
12225   fi
12226   done
12227 < if test "${ac_cv_search_dlopen+set}" = set; then :
12227 > if ${ac_cv_search_dlopen+:} false; then :
12228  
12229   else
12230    ac_cv_search_dlopen=no
# Line 11375 | Line 12269 | $as_echo "#define HAVE_LIBDL 1" >>confde
12269   else
12270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12271   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12272 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12272 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12273    $as_echo_n "(cached) " >&6
12274   else
12275    ac_check_lib_save_LIBS=$LIBS
# Line 11409 | Line 12303 | LIBS=$ac_check_lib_save_LIBS
12303   fi
12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12305   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12306 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12306 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12307  
12308   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12309  
# Line 11429 | Line 12323 | then
12323    for ac_func in dlerror
12324   do :
12325    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12326 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12326 > if test "x$ac_cv_func_dlerror" = xyes; then :
12327    cat >>confdefs.h <<_ACEOF
12328   #define HAVE_DLERROR 1
12329   _ACEOF
# Line 11443 | Line 12337 | fi
12337  
12338   LIBADD_SHL_LOAD=
12339   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12340 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12340 > if test "x$ac_cv_func_shl_load" = xyes; then :
12341  
12342   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12343  
# Line 11451 | Line 12345 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12345   else
12346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12347   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12348 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12348 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12349    $as_echo_n "(cached) " >&6
12350   else
12351    ac_check_lib_save_LIBS=$LIBS
# Line 11485 | Line 12379 | LIBS=$ac_check_lib_save_LIBS
12379   fi
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12381   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12382 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12382 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12383  
12384   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12385  
# Line 11501 | Line 12395 | case $host_os in
12395   darwin[1567].*)
12396   # We only want this for pre-Mac OS X 10.4.
12397    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12398 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12398 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12399  
12400   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12401  
# Line 11515 | Line 12409 | beos*)
12409   cygwin* | mingw* | os2* | pw32*)
12410    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12411   "
12412 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12412 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12413    ac_have_decl=1
12414   else
12415    ac_have_decl=0
# Line 11531 | Line 12425 | esac
12425  
12426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12427   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12428 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12428 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12429    $as_echo_n "(cached) " >&6
12430   else
12431    ac_check_lib_save_LIBS=$LIBS
# Line 11565 | Line 12459 | LIBS=$ac_check_lib_save_LIBS
12459   fi
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12461   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12462 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12462 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12463  
12464   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12465  
# Line 11599 | Line 12493 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12493  
12494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12495   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12496 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12496 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12497    $as_echo_n "(cached) " >&6
12498   else
12499    lt_cv_sys_symbol_underscore=no
# Line 11649 | Line 12543 | if test x"$lt_cv_sys_symbol_underscore"
12543       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12544          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12545   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12546 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12546 > if ${libltdl_cv_need_uscore+:} false; then :
12547    $as_echo_n "(cached) " >&6
12548   else
12549    libltdl_cv_need_uscore=unknown
# Line 11705 | Line 12599 | else
12599   /* When -fvisbility=hidden is used, assume the code has been annotated
12600     correspondingly for the symbols needed.  */
12601   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12602 < void fnord () __attribute__((visibility("default")));
12602 > int fnord () __attribute__((visibility("default")));
12603   #endif
12604  
12605 < void fnord () { int i=42; }
12605 > int fnord () { return 42; }
12606   int main ()
12607   {
12608    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11765 | Line 12659 | fi
12659  
12660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12661   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12662 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12662 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12663    $as_echo_n "(cached) " >&6
12664   else
12665    # PORTME does your system automatically load deplibs for dlopen?
# Line 11871 | Line 12765 | for ac_header in argz.h
12765   do :
12766    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12767   "
12768 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12768 > if test "x$ac_cv_header_argz_h" = xyes; then :
12769    cat >>confdefs.h <<_ACEOF
12770   #define HAVE_ARGZ_H 1
12771   _ACEOF
# Line 11885 | Line 12779 | ac_fn_c_check_type "$LINENO" "error_t" "
12779   #  include <argz.h>
12780   #endif
12781   "
12782 < if test "x$ac_cv_type_error_t" = x""yes; then :
12782 > if test "x$ac_cv_type_error_t" = xyes; then :
12783  
12784   cat >>confdefs.h <<_ACEOF
12785   #define HAVE_ERROR_T 1
# Line 11908 | Line 12802 | for ac_func in argz_add argz_append argz
12802   do :
12803    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12804   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12805 < eval as_val=\$$as_ac_var
11912 <   if test "x$as_val" = x""yes; then :
12805 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12806    cat >>confdefs.h <<_ACEOF
12807   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808   _ACEOF
# Line 11926 | Line 12819 | done
12819   if test -z "$ARGZ_H"; then :
12820    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12821   $as_echo_n "checking if argz actually works... " >&6; }
12822 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12822 > if ${lt_cv_sys_argz_works+:} false; then :
12823    $as_echo_n "(cached) " >&6
12824   else
12825    case $host_os in #(
# Line 11957 | Line 12850 | else
12850   fi
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12852   $as_echo "$lt_cv_sys_argz_works" >&6; }
12853 <     if test $lt_cv_sys_argz_works = yes; then :
12853 >     if test "$lt_cv_sys_argz_works" = yes; then :
12854  
12855   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12856  
# Line 11974 | Line 12867 | fi
12867  
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12869   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12870 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12870 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12871    $as_echo_n "(cached) " >&6
12872   else
12873    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12016 | Line 12909 | if test "x$with_included_ltdl" != xyes;
12909    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12910  
12911   "
12912 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12912 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12913    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12914              #include <ltdl.h>
12915   "
12916 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12916 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12917    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12918   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12919 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12919 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12920    $as_echo_n "(cached) " >&6
12921   else
12922    ac_check_lib_save_LIBS=$LIBS
# Line 12057 | Line 12950 | LIBS=$ac_check_lib_save_LIBS
12950   fi
12951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12952   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12953 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12953 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12954    with_included_ltdl=no
12955   else
12956    with_included_ltdl=yes
# Line 12086 | Line 12979 | fi
12979   if test -n "$with_ltdl_include"; then
12980    if test -f "$with_ltdl_include/ltdl.h"; then :
12981    else
12982 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12982 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12983    fi
12984   else
12985    with_ltdl_include=no
# Line 12102 | Line 12995 | fi
12995   if test -n "$with_ltdl_lib"; then
12996    if test -f "$with_ltdl_lib/libltdl.la"; then :
12997    else
12998 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12998 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12999    fi
13000   else
13001    with_ltdl_lib=no
# Line 12111 | Line 13004 | fi
13004   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13005    ,yes,no,no,)
13006          case $enable_ltdl_convenience in
13007 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13007 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13008    "") enable_ltdl_convenience=yes
13009        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13010   esac
# Line 12139 | Line 13032 | $as_echo "#define HAVE_LTDL 1" >>confdef
13032          LTDLINCL=
13033          ;;
13034    ,no*,no,*)
13035 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13035 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13036          ;;
13037    *)    with_included_ltdl=no
13038          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12206 | Line 13099 | do :
13099    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13100   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13101   "
13102 < eval as_val=\$$as_ac_Header
12210 <   if test "x$as_val" = x""yes; then :
13102 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13103    cat >>confdefs.h <<_ACEOF
13104   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105   _ACEOF
# Line 12221 | Line 13113 | for ac_func in closedir opendir readdir
13113   do :
13114    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13115   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13116 < eval as_val=\$$as_ac_var
12225 <   if test "x$as_val" = x""yes; then :
13116 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13117    cat >>confdefs.h <<_ACEOF
13118   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13119   _ACEOF
# Line 12239 | Line 13130 | for ac_func in strlcat strlcpy
13130   do :
13131    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13132   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13133 < eval as_val=\$$as_ac_var
12243 <   if test "x$as_val" = x""yes; then :
13133 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13134    cat >>confdefs.h <<_ACEOF
13135   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13136   _ACEOF
# Line 12260 | Line 13150 | cat >>confdefs.h <<_ACEOF
13150   _ACEOF
13151  
13152  
13153 + name=
13154 + eval "lt_libprefix=\"$libname_spec\""
13155 +
13156 + cat >>confdefs.h <<_ACEOF
13157 + #define LT_LIBPREFIX "$lt_libprefix"
13158 + _ACEOF
13159 +
13160 +
13161   name=ltdl
13162 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13162 > eval "LTDLOPEN=\"$libname_spec\""
13163  
13164  
13165  
# Line 12277 | Line 13175 | LIBTOOL="$LIBTOOL --silent"
13175  
13176   # Checks for libraries.
13177  
13178 +
13179 +  if test "X$CC" != "X"; then
13180 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13181 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13182 + if ${ssp_cv_cc+:} false; then :
13183 +  $as_echo_n "(cached) " >&6
13184 + else
13185 +  ssp_old_cflags="$CFLAGS"
13186 +       CFLAGS="$CFLAGS -fstack-protector"
13187 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 + /* end confdefs.h.  */
13189 +
13190 + int
13191 + main ()
13192 + {
13193 +
13194 +  ;
13195 +  return 0;
13196 + }
13197 + _ACEOF
13198 + if ac_fn_c_try_compile "$LINENO"; then :
13199 +  ssp_cv_cc=yes
13200 + else
13201 +  ssp_cv_cc=no
13202 + fi
13203 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 +       CFLAGS="$ssp_old_cflags"
13205 +
13206 + fi
13207 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13208 + $as_echo "$ssp_cv_cc" >&6; }
13209 +    if test $ssp_cv_cc = yes; then
13210 +      CFLAGS="$CFLAGS -fstack-protector"
13211 +
13212 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13213 +
13214 +    fi
13215 +  fi
13216 +
13217 +
13218 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13219 + $as_echo_n "checking whether C compiler accepts ... " >&6; }
13220 + if ${ax_cv_check_cflags__+:} false; then :
13221 +  $as_echo_n "(cached) " >&6
13222 + else
13223 +
13224 +  ax_check_save_flags=$CFLAGS
13225 +  CFLAGS="$CFLAGS  "
13226 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 + /* end confdefs.h.  */
13228 +
13229 + int
13230 + main ()
13231 + {
13232 +
13233 +  ;
13234 +  return 0;
13235 + }
13236 + _ACEOF
13237 + if ac_fn_c_try_compile "$LINENO"; then :
13238 +  ax_cv_check_cflags__=yes
13239 + else
13240 +  ax_cv_check_cflags__=no
13241 + fi
13242 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 +  CFLAGS=$ax_check_save_flags
13244 + fi
13245 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 + $as_echo "$ax_cv_check_cflags__" >&6; }
13247 + if test x"$ax_cv_check_cflags__" = xyes; then :
13248 +  :
13249 + else
13250 +  :
13251 + fi
13252 +
13253 + if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *"  "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257 +  (: CFLAGS already contains ) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13264 +  (: CFLAGS="$CFLAGS ") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS "
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS=""
13273 + fi
13274 +
13275 +
13276 +
13277 + for flag in -fno-strict-aliasing; do
13278 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13279 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13280 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13281 + if eval \${$as_CACHEVAR+:} false; then :
13282 +  $as_echo_n "(cached) " >&6
13283 + else
13284 +
13285 +  ax_check_save_flags=$CFLAGS
13286 +  CFLAGS="$CFLAGS  $flag"
13287 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 + /* end confdefs.h.  */
13289 +
13290 + int
13291 + main ()
13292 + {
13293 +
13294 +  ;
13295 +  return 0;
13296 + }
13297 + _ACEOF
13298 + if ac_fn_c_try_compile "$LINENO"; then :
13299 +  eval "$as_CACHEVAR=yes"
13300 + else
13301 +  eval "$as_CACHEVAR=no"
13302 + fi
13303 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 +  CFLAGS=$ax_check_save_flags
13305 + fi
13306 + eval ac_res=\$$as_CACHEVAR
13307 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13308 + $as_echo "$ac_res" >&6; }
13309 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13310 +  if ${CFLAGS+:} false; then :
13311 +  case " $CFLAGS " in
13312 +    *" $flag "*)
13313 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13314 +  (: CFLAGS already contains $flag) 2>&5
13315 +  ac_status=$?
13316 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317 +  test $ac_status = 0; }
13318 +      ;;
13319 +    *)
13320 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13321 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13322 +  ac_status=$?
13323 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 +  test $ac_status = 0; }
13325 +      CFLAGS="$CFLAGS $flag"
13326 +      ;;
13327 +   esac
13328 + else
13329 +  CFLAGS="$flag"
13330 + fi
13331 +
13332 + else
13333 +  :
13334 + fi
13335 +
13336 + done
13337 +
13338 +
13339 +
13340 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13341 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13342 +
13343 + else
13344 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13345 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13346 + if ${ac_cv_search_getaddrinfo+:} false; then :
13347 +  $as_echo_n "(cached) " >&6
13348 + else
13349 +  ac_func_search_save_LIBS=$LIBS
13350 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 + /* end confdefs.h.  */
13352 +
13353 + /* Override any GCC internal prototype to avoid an error.
13354 +   Use char because int might match the return type of a GCC
13355 +   builtin and then its argument prototype would still apply.  */
13356 + #ifdef __cplusplus
13357 + extern "C"
13358 + #endif
13359 + char getaddrinfo ();
13360 + int
13361 + main ()
13362 + {
13363 + return getaddrinfo ();
13364 +  ;
13365 +  return 0;
13366 + }
13367 + _ACEOF
13368 + for ac_lib in '' nsl; do
13369 +  if test -z "$ac_lib"; then
13370 +    ac_res="none required"
13371 +  else
13372 +    ac_res=-l$ac_lib
13373 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13374 +  fi
13375 +  if ac_fn_c_try_link "$LINENO"; then :
13376 +  ac_cv_search_getaddrinfo=$ac_res
13377 + fi
13378 + rm -f core conftest.err conftest.$ac_objext \
13379 +    conftest$ac_exeext
13380 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13381 +  break
13382 + fi
13383 + done
13384 + if ${ac_cv_search_getaddrinfo+:} false; then :
13385 +
13386 + else
13387 +  ac_cv_search_getaddrinfo=no
13388 + fi
13389 + rm conftest.$ac_ext
13390 + LIBS=$ac_func_search_save_LIBS
13391 + fi
13392 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13393 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13394 + ac_res=$ac_cv_search_getaddrinfo
13395 + if test "$ac_res" != no; then :
13396 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13397 +
13398 + fi
13399 +
13400 + fi
13401 +
13402 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13403 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13404 +
13405 + else
13406 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13407 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13408 + if ${ac_cv_search_getnameinfo+:} false; then :
13409 +  $as_echo_n "(cached) " >&6
13410 + else
13411 +  ac_func_search_save_LIBS=$LIBS
13412 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 + /* end confdefs.h.  */
13414 +
13415 + /* Override any GCC internal prototype to avoid an error.
13416 +   Use char because int might match the return type of a GCC
13417 +   builtin and then its argument prototype would still apply.  */
13418 + #ifdef __cplusplus
13419 + extern "C"
13420 + #endif
13421 + char getnameinfo ();
13422 + int
13423 + main ()
13424 + {
13425 + return getnameinfo ();
13426 +  ;
13427 +  return 0;
13428 + }
13429 + _ACEOF
13430 + for ac_lib in '' nsl; do
13431 +  if test -z "$ac_lib"; then
13432 +    ac_res="none required"
13433 +  else
13434 +    ac_res=-l$ac_lib
13435 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13436 +  fi
13437 +  if ac_fn_c_try_link "$LINENO"; then :
13438 +  ac_cv_search_getnameinfo=$ac_res
13439 + fi
13440 + rm -f core conftest.err conftest.$ac_objext \
13441 +    conftest$ac_exeext
13442 +  if ${ac_cv_search_getnameinfo+:} false; then :
13443 +  break
13444 + fi
13445 + done
13446 + if ${ac_cv_search_getnameinfo+:} false; then :
13447 +
13448 + else
13449 +  ac_cv_search_getnameinfo=no
13450 + fi
13451 + rm conftest.$ac_ext
13452 + LIBS=$ac_func_search_save_LIBS
13453 + fi
13454 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13455 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13456 + ac_res=$ac_cv_search_getnameinfo
13457 + if test "$ac_res" != no; then :
13458 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13459 +
13460 + fi
13461 +
13462 + fi
13463 +
13464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13465   $as_echo_n "checking for library containing socket... " >&6; }
13466 < if test "${ac_cv_search_socket+set}" = set; then :
13466 > if ${ac_cv_search_socket+:} false; then :
13467    $as_echo_n "(cached) " >&6
13468   else
13469    ac_func_search_save_LIBS=$LIBS
# Line 12313 | Line 13497 | for ac_lib in '' socket; do
13497   fi
13498   rm -f core conftest.err conftest.$ac_objext \
13499      conftest$ac_exeext
13500 <  if test "${ac_cv_search_socket+set}" = set; then :
13500 >  if ${ac_cv_search_socket+:} false; then :
13501    break
13502   fi
13503   done
13504 < if test "${ac_cv_search_socket+set}" = set; then :
13504 > if ${ac_cv_search_socket+:} false; then :
13505  
13506   else
13507    ac_cv_search_socket=no
# Line 12332 | Line 13516 | if test "$ac_res" != no; then :
13516    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13517  
13518   else
13519 <  as_fn_error "socket library not found" "$LINENO" 5
12336 < fi
12337 <
12338 <  for ac_func in inet_aton inet_ntop inet_pton
12339 < do :
12340 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12341 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12342 < eval as_val=\$$as_ac_var
12343 <   if test "x$as_val" = x""yes; then :
12344 <  cat >>confdefs.h <<_ACEOF
12345 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12346 < _ACEOF
12347 <
13519 >  as_fn_error $? "socket library not found" "$LINENO" 5
13520   fi
12349 done
13521  
13522    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13523     #include <sys/socket.h>
13524     #include <netdb.h>
13525  
13526   "
13527 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13527 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13528  
13529   cat >>confdefs.h <<_ACEOF
13530   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12366 | Line 13537 | ac_fn_c_check_type "$LINENO" "struct soc
13537     #include <netdb.h>
13538  
13539   "
13540 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13540 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13541  
13542   cat >>confdefs.h <<_ACEOF
13543   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12379 | Line 13550 | ac_fn_c_check_type "$LINENO" "struct add
13550     #include <netdb.h>
13551  
13552   "
13553 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13553 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13554  
13555   cat >>confdefs.h <<_ACEOF
13556   #define HAVE_STRUCT_ADDRINFO 1
# Line 12391 | Line 13562 | fi
13562    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13563    <sys/socket.h>
13564   "
13565 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13565 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13566  
13567   cat >>confdefs.h <<_ACEOF
13568   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12402 | Line 13573 | fi
13573  
13574  
13575  
13576 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13577 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13578 <
12408 < cat >>confdefs.h <<_ACEOF
12409 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12410 < _ACEOF
12411 <
12412 <
12413 < else
13576 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13577 > "
13578 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13579  
13580   $as_echo "#define IPV6 1" >>confdefs.h
13581  
# Line 12421 | Line 13586 | fi
13586   # Checks for typedefs, structures, and compiler characteristics.
13587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13588   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13589 < if test "${ac_cv_c_bigendian+set}" = set; then :
13589 > if ${ac_cv_c_bigendian+:} false; then :
13590    $as_echo_n "(cached) " >&6
13591   else
13592    ac_cv_c_bigendian=unknown
# Line 12639 | Line 13804 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13804  
13805       ;; #(
13806     *)
13807 <     as_fn_error "unknown endianness
13807 >     as_fn_error $? "unknown endianness
13808   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13809   esac
13810  
# Line 12652 | Line 13817 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13817   do :
13818    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13819   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13820 < eval as_val=\$$as_ac_var
12656 <   if test "x$as_val" = x""yes; then :
13820 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13821    cat >>confdefs.h <<_ACEOF
13822   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13823   _ACEOF
# Line 12671 | Line 13835 | done
13835  
13836  
13837  
12674
12675
13838   # Checks for header files.
13839  
13840  
# Line 12682 | Line 13844 | do :
13844    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13845   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13846   "
13847 < eval as_val=\$$as_ac_Header
12686 <   if test "x$as_val" = x""yes; then :
13847 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13848    cat >>confdefs.h <<_ACEOF
13849   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13850   _ACEOF
# Line 12708 | Line 13869 | done
13869  
13870  
13871  
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
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13873   $as_echo_n "checking for library containing crypt... " >&6; }
13874 < if test "${ac_cv_search_crypt+set}" = set; then :
13874 > if ${ac_cv_search_crypt+:} false; then :
13875    $as_echo_n "(cached) " >&6
13876   else
13877    ac_func_search_save_LIBS=$LIBS
# Line 12774 | Line 13905 | for ac_lib in '' crypt; do
13905   fi
13906   rm -f core conftest.err conftest.$ac_objext \
13907      conftest$ac_exeext
13908 <  if test "${ac_cv_search_crypt+set}" = set; then :
13908 >  if ${ac_cv_search_crypt+:} false; then :
13909    break
13910   fi
13911   done
13912 < if test "${ac_cv_search_crypt+set}" = set; then :
13912 > if ${ac_cv_search_crypt+:} false; then :
13913  
13914   else
13915    ac_cv_search_crypt=no
# Line 12795 | Line 13926 | if test "$ac_res" != no; then :
13926   fi
13927  
13928  
13929 <
13930 <
13931 < # Check whether --with-zlib-path was given.
13932 < if test "${with_zlib_path+set}" = set; then :
13933 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13934 < fi
13935 <
13936 <
13937 < # 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 :
13929 > # Check whether --enable-libgeoip was given.
13930 > if test "${enable_libgeoip+set}" = set; then :
13931 >  enableval=$enable_libgeoip;
13932 > else
13933 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13934 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13935 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13936 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13937 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13938    $as_echo_n "(cached) " >&6
13939   else
13940 <  ac_check_lib_save_LIBS=$LIBS
12824 < LIBS="-lz  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 12831 | Line 13947 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13947   #ifdef __cplusplus
13948   extern "C"
13949   #endif
13950 < char zlibVersion ();
13950 > char GeoIP_id_by_ipnum_v6_gl ();
13951   int
13952   main ()
13953   {
13954 < return zlibVersion ();
13954 > return GeoIP_id_by_ipnum_v6_gl ();
13955    ;
13956    return 0;
13957   }
13958   _ACEOF
13959 < if ac_fn_c_try_link "$LINENO"; then :
13960 <  ac_cv_lib_z_zlibVersion=yes
13961 < else
13962 <  ac_cv_lib_z_zlibVersion=no
13959 > for ac_lib in '' GeoIP; do
13960 >  if test -z "$ac_lib"; then
13961 >    ac_res="none required"
13962 >  else
13963 >    ac_res=-l$ac_lib
13964 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13965 >  fi
13966 >  if ac_fn_c_try_link "$LINENO"; then :
13967 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13968   fi
13969   rm -f core conftest.err conftest.$ac_objext \
13970 <    conftest$ac_exeext conftest.$ac_ext
13971 < LIBS=$ac_check_lib_save_LIBS
13972 < 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 <
12881 < # Check whether --enable-libpcre was given.
12882 < if test "${enable_libpcre+set}" = set; then :
12883 <  enableval=$enable_libpcre; libpcre=$enableval
12884 < else
12885 <  libpcre=yes
13970 >    conftest$ac_exeext
13971 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13972 >  break
13973   fi
13974 + done
13975 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13976  
12888
12889 if test "$libpcre" = "yes"; then :
12890
12891  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12892 if test "x$ac_cv_header_pcre_h" = x""yes; then :
12893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12894 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12895 if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12896  $as_echo_n "(cached) " >&6
13977   else
13978 <  ac_check_lib_save_LIBS=$LIBS
12899 < LIBS="-lpcre  $LIBS"
12900 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 < /* end confdefs.h.  */
12902 <
12903 < /* Override any GCC internal prototype to avoid an error.
12904 <   Use char because int might match the return type of a GCC
12905 <   builtin and then its argument prototype would still apply.  */
12906 < #ifdef __cplusplus
12907 < extern "C"
12908 < #endif
12909 < char pcre_study ();
12910 < int
12911 < main ()
12912 < {
12913 < return pcre_study ();
12914 <  ;
12915 <  return 0;
12916 < }
12917 < _ACEOF
12918 < if ac_fn_c_try_link "$LINENO"; then :
12919 <  ac_cv_lib_pcre_pcre_study=yes
12920 < else
12921 <  ac_cv_lib_pcre_pcre_study=no
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979   fi
13980 < rm -f core conftest.err conftest.$ac_objext \
13981 <    conftest$ac_exeext conftest.$ac_ext
12925 < LIBS=$ac_check_lib_save_LIBS
13980 > rm conftest.$ac_ext
13981 > LIBS=$ac_func_search_save_LIBS
13982   fi
13983 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13984 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13985 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13986 <
13987 <      LIBS="-lpcre $LIBS"
12932 <
12933 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13983 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13984 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13985 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13986 > if test "$ac_res" != no; then :
13987 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13988  
13989 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13990  
12936 else
12937  libpcre=no
13991   fi
13992  
12940
12941 else
12942  libpcre=no
13993   fi
13994  
13995  
12946
12947 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=
13996   fi
13997  
13998  
# Line 12994 | Line 14036 | if test "$cf_enable_openssl" != "no"; th
14036    fi
14037  
14038        if test ! -z "$cf_openssl_basedir"; then
12997    LIBS="-lcrypto -lssl $LIBS"
14039      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14040   $as_echo "$cf_openssl_basedir" >&6; }
14041      cf_enable_openssl="yes"
13001
13002 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003
14042    else
14043      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14044   $as_echo "not found. Please check your path." >&6; }
# Line 13013 | Line 14051 | $as_echo "disabled" >&6; }
14051   fi
14052  
14053   if test "$cf_enable_openssl" != "no"; then :
14054 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14055 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14054 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14055 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14056    if test "$cross_compiling" = yes; then :
14057    cf_openssl_version_ok=no
14058   else
14059    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060   /* end confdefs.h.  */
14061  
14062 +
14063      #include <openssl/opensslv.h>
14064      #include <stdlib.h>
14065   int
14066   main ()
14067   {
14068 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14068 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14069    ;
14070    return 0;
14071   }
# Line 13047 | Line 14086 | $as_echo "found" >&6; }
14086  
14087      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14088   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14089 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14089 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14090    $as_echo_n "(cached) " >&6
14091   else
14092    ac_check_lib_save_LIBS=$LIBS
# Line 13081 | Line 14120 | LIBS=$ac_check_lib_save_LIBS
14120   fi
14121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14122   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14123 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14123 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14124    cat >>confdefs.h <<_ACEOF
14125   #define HAVE_LIBCRYPTO 1
14126   _ACEOF
# Line 13091 | Line 14130 | _ACEOF
14130   fi
14131  
14132      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133 <  for ac_func in EVP_bf_cfb           \
14134 <                      EVP_cast5_cfb        \
14135 <                      EVP_idea_cfb         \
14136 <                      EVP_rc5_32_12_16_cfb \
14137 <                      EVP_des_ede3_cfb     \
14138 <                      EVP_des_cfb
14139 < do :
14140 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14141 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14142 < eval as_val=\$$as_ac_var
14143 <   if test "x$as_val" = x""yes; then :
14133 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14134 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14135 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14136 >  $as_echo_n "(cached) " >&6
14137 > else
14138 >  ac_check_lib_save_LIBS=$LIBS
14139 > LIBS="-lssl  $LIBS"
14140 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 > /* end confdefs.h.  */
14142 >
14143 > /* Override any GCC internal prototype to avoid an error.
14144 >   Use char because int might match the return type of a GCC
14145 >   builtin and then its argument prototype would still apply.  */
14146 > #ifdef __cplusplus
14147 > extern "C"
14148 > #endif
14149 > char SSL_connect ();
14150 > int
14151 > main ()
14152 > {
14153 > return SSL_connect ();
14154 >  ;
14155 >  return 0;
14156 > }
14157 > _ACEOF
14158 > if ac_fn_c_try_link "$LINENO"; then :
14159 >  ac_cv_lib_ssl_SSL_connect=yes
14160 > else
14161 >  ac_cv_lib_ssl_SSL_connect=no
14162 > fi
14163 > rm -f core conftest.err conftest.$ac_objext \
14164 >    conftest$ac_exeext conftest.$ac_ext
14165 > LIBS=$ac_check_lib_save_LIBS
14166 > fi
14167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14168 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14169 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14170    cat >>confdefs.h <<_ACEOF
14171 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14171 > #define HAVE_LIBSSL 1
14172   _ACEOF
14173  
14174 +  LIBS="-lssl $LIBS"
14175 +
14176   fi
13110 done
14177  
14178   fi
14179  
# Line 13118 | Line 14184 | $as_echo "no - OpenSSL support disabled"
14184   fi
14185   fi
14186  
14187 < if test "$cf_enable_openssl" = yes; then
14187 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188    ENABLE_SSL_TRUE=
14189    ENABLE_SSL_FALSE='#'
14190   else
# Line 13143 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # Check whether --enable-small-net was given.
13147 < if test "${enable_small_net+set}" = set; then :
13148 <  enableval=$enable_small_net; small_net=$enableval
13149 < else
13150 <  small_net=no
13151 < fi
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
14214  
14215 < if test "$small_net" = "yes"; then :
14215 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
14217  
14218 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14218 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
14220  
14221 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14221 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
14223  
14224 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14224 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
14226  
14227 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14227 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
14229  
14230 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14230 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
14232  
14233 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14233 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
14235  
14236 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14236 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
14238  
14239 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14239 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
14241  
14242 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14242 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
14244  
14245 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13185 <
13186 < else
13187 <
13188 <
13189 <
13190 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13191 <
13192 <
13193 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13194 <
13195 <
13196 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13197 <
13198 <
13199 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13200 <
13201 <
13202 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14245 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
14247  
14248 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14248 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
14250  
14251 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13209 <
13210 <
13211 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13212 <
13213 <
13214 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13215 <
13216 <
13217 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13218 <
13219 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 13237 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
13240  # Check whether --enable-rtsigio was given.
13241 if test "${enable_rtsigio+set}" = set; then :
13242  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13243 fi
13244
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13323 | Line 14350 | _ACEOF
14350    if test "$cross_compiling" = yes; then :
14351    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14352   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14353 < as_fn_error "cannot run test program while cross compiling
14354 < See \`config.log' for more details." "$LINENO" 5; }
14353 > as_fn_error $? "cannot run test program while cross compiling
14354 > See \`config.log' for more details" "$LINENO" 5; }
14355   else
14356    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357   /* end confdefs.h.  */
# Line 13357 | Line 14384 | else
14384   #endif
14385   _syscall1(int, epoll_create, int, size)
14386   #endif
13360 main() { return epoll_create(256) == -1 ? 1 : 0; }
14387  
14388 + int
14389 + main ()
14390 + {
14391 + return epoll_create(256) == -1 ? 1 : 0
14392 +  ;
14393 +  return 0;
14394 + }
14395   _ACEOF
14396   if ac_fn_c_try_run "$LINENO"; then :
14397    is_epoll_mechanism_available="yes"
# Line 13419 | Line 14452 | rm -f core conftest.err conftest.$ac_obj
14452   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14453  
14454    fi
14455 <      iopoll_mechanism_rtsigio=4
13423 <
13424 < cat >>confdefs.h <<_ACEOF
13425 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13426 < _ACEOF
13427 <
13428 <  if test "$cross_compiling" = yes; then :
13429 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13430 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13431 < as_fn_error "cannot run test program while cross compiling
13432 < See \`config.log' for more details." "$LINENO" 5; }
13433 < else
13434 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 < /* end confdefs.h.  */
13436 <
13437 < #include <fcntl.h>
13438 < #ifdef F_SETSIG
13439 < main () { return 0; } /* F_SETSIG defined */
13440 < #else
13441 < main () { return 1; } /* F_SETSIG not defined */
13442 < #endif
13443 <
13444 < int
13445 < main ()
13446 < {
13447 <
13448 <  ;
13449 <  return 0;
13450 < }
13451 < _ACEOF
13452 < if ac_fn_c_try_run "$LINENO"; then :
13453 <  is_rtsigio_mechanism_available="yes"
13454 < else
13455 <  is_rtsigio_mechanism_available="no"
13456 < fi
13457 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13458 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13459 < fi
13460 <
13461 <      iopoll_mechanism_poll=5
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13512 | Line 14506 | else
14506   fi
14507   rm -f core conftest.err conftest.$ac_objext \
14508      conftest$ac_exeext conftest.$ac_ext
14509 <      iopoll_mechanism_select=6
14509 >      iopoll_mechanism_select=5
14510  
14511   cat >>confdefs.h <<_ACEOF
14512   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13567 | Line 14561 | fi
14561   rm -f core conftest.err conftest.$ac_objext \
14562      conftest$ac_exeext conftest.$ac_ext
14563        optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14564 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14565      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14566      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14567        optimal_iopoll_mechanism="$mechanism"
# Line 13578 | Line 14572 | rm -f core conftest.err conftest.$ac_obj
14572      if test "$optimal_iopoll_mechanism" = "none" ; then
14573        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14574   $as_echo "none" >&6; }
14575 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14575 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14576      else
14577        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14578        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13593 | Line 14587 | $as_echo "$selected_iopoll_mechanism" >&
14587      else
14588        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14589   $as_echo "none" >&6; }
14590 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14590 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14591      fi
14592    fi
14593        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13604 | Line 14598 | _ACEOF
14598  
14599  
14600  
14601 +  # Check whether --enable-debugging was given.
14602 + if test "${enable_debugging+set}" = set; then :
14603 +  enableval=$enable_debugging; debugging="$enableval"
14604 + else
14605 +  debugging="no"
14606 + fi
14607  
14608 < # Check whether --with-nicklen was given.
14609 < if test "${with_nicklen+set}" = set; then :
14610 <  withval=$with_nicklen; nicklen="$withval"
14608 >  if test "$debugging" = "yes" ; then
14609 >    CFLAGS="-Wall -g -O0"
14610 >  fi
14611 >
14612 >
14613 >  # Check whether --enable-warnings was given.
14614 > if test "${enable_warnings+set}" = set; then :
14615 >  enableval=$enable_warnings; warnings="$enableval"
14616   else
14617 <  nicklen="9"
14617 >  warnings="no"
14618   fi
14619  
14620 +  if test "$warnings" = "yes" ; then
14621  
14622 < cat >>confdefs.h <<_ACEOF
14623 < #define NICKLEN ($nicklen+1)
14622 >
14623 > for flag in -Wall; do
14624 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14626 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14627 > if eval \${$as_CACHEVAR+:} false; then :
14628 >  $as_echo_n "(cached) " >&6
14629 > else
14630 >
14631 >  ax_check_save_flags=$CFLAGS
14632 >  CFLAGS="$CFLAGS  $flag"
14633 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 > /* end confdefs.h.  */
14635 >
14636 > int
14637 > main ()
14638 > {
14639 >
14640 >  ;
14641 >  return 0;
14642 > }
14643   _ACEOF
14644 + if ac_fn_c_try_compile "$LINENO"; then :
14645 +  eval "$as_CACHEVAR=yes"
14646 + else
14647 +  eval "$as_CACHEVAR=no"
14648 + fi
14649 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 +  CFLAGS=$ax_check_save_flags
14651 + fi
14652 + eval ac_res=\$$as_CACHEVAR
14653 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14654 + $as_echo "$ac_res" >&6; }
14655 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14656 +  if ${CFLAGS+:} false; then :
14657 +  case " $CFLAGS " in
14658 +    *" $flag "*)
14659 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14660 +  (: CFLAGS already contains $flag) 2>&5
14661 +  ac_status=$?
14662 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 +  test $ac_status = 0; }
14664 +      ;;
14665 +    *)
14666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14667 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14668 +  ac_status=$?
14669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 +  test $ac_status = 0; }
14671 +      CFLAGS="$CFLAGS $flag"
14672 +      ;;
14673 +   esac
14674 + else
14675 +  CFLAGS="$flag"
14676 + fi
14677  
14678 + else
14679 +  :
14680 + fi
14681 +
14682 + done
14683  
14684  
14685  
14686 < # Check whether --with-topiclen was given.
14687 < if test "${with_topiclen+set}" = set; then :
14688 <  withval=$with_topiclen; topiclen="$withval"
14686 > for flag in -Wextra; do
14687 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14688 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14689 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14690 > if eval \${$as_CACHEVAR+:} false; then :
14691 >  $as_echo_n "(cached) " >&6
14692   else
14693 <  topiclen="160"
14693 >
14694 >  ax_check_save_flags=$CFLAGS
14695 >  CFLAGS="$CFLAGS  $flag"
14696 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 > /* end confdefs.h.  */
14698 >
14699 > int
14700 > main ()
14701 > {
14702 >
14703 >  ;
14704 >  return 0;
14705 > }
14706 > _ACEOF
14707 > if ac_fn_c_try_compile "$LINENO"; then :
14708 >  eval "$as_CACHEVAR=yes"
14709 > else
14710 >  eval "$as_CACHEVAR=no"
14711 > fi
14712 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713 >  CFLAGS=$ax_check_save_flags
14714   fi
14715 + eval ac_res=\$$as_CACHEVAR
14716 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14717 + $as_echo "$ac_res" >&6; }
14718 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14719 +  if ${CFLAGS+:} false; then :
14720 +  case " $CFLAGS " in
14721 +    *" $flag "*)
14722 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14723 +  (: CFLAGS already contains $flag) 2>&5
14724 +  ac_status=$?
14725 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 +  test $ac_status = 0; }
14727 +      ;;
14728 +    *)
14729 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14730 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14731 +  ac_status=$?
14732 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 +  test $ac_status = 0; }
14734 +      CFLAGS="$CFLAGS $flag"
14735 +      ;;
14736 +   esac
14737 + else
14738 +  CFLAGS="$flag"
14739 + fi
14740 +
14741 + else
14742 +  :
14743 + fi
14744 +
14745 + done
14746  
14747  
14748 < cat >>confdefs.h <<_ACEOF
14749 < #define TOPICLEN ($topiclen)
14748 >
14749 > for flag in -Wno-unused; do
14750 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14752 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14753 > if eval \${$as_CACHEVAR+:} false; then :
14754 >  $as_echo_n "(cached) " >&6
14755 > else
14756 >
14757 >  ax_check_save_flags=$CFLAGS
14758 >  CFLAGS="$CFLAGS  $flag"
14759 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 > /* end confdefs.h.  */
14761 >
14762 > int
14763 > main ()
14764 > {
14765 >
14766 >  ;
14767 >  return 0;
14768 > }
14769   _ACEOF
14770 + if ac_fn_c_try_compile "$LINENO"; then :
14771 +  eval "$as_CACHEVAR=yes"
14772 + else
14773 +  eval "$as_CACHEVAR=no"
14774 + fi
14775 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 +  CFLAGS=$ax_check_save_flags
14777 + fi
14778 + eval ac_res=\$$as_CACHEVAR
14779 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14780 + $as_echo "$ac_res" >&6; }
14781 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14782 +  if ${CFLAGS+:} false; then :
14783 +  case " $CFLAGS " in
14784 +    *" $flag "*)
14785 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14786 +  (: CFLAGS already contains $flag) 2>&5
14787 +  ac_status=$?
14788 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 +  test $ac_status = 0; }
14790 +      ;;
14791 +    *)
14792 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14793 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14794 +  ac_status=$?
14795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 +  test $ac_status = 0; }
14797 +      CFLAGS="$CFLAGS $flag"
14798 +      ;;
14799 +   esac
14800 + else
14801 +  CFLAGS="$flag"
14802 + fi
14803  
14804 + else
14805 +  :
14806 + fi
14807 +
14808 + done
14809  
14810  
14811  
14812 < # Check whether --with-syslog-facility was given.
14813 < if test "${with_syslog_facility+set}" = set; then :
14814 <  withval=$with_syslog_facility; syslog_facility="$withval"
14812 > for flag in -Wcast-qual; do
14813 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 > if eval \${$as_CACHEVAR+:} false; then :
14817 >  $as_echo_n "(cached) " >&6
14818   else
14819 <  syslog_facility="LOG_LOCAL4"
14819 >
14820 >  ax_check_save_flags=$CFLAGS
14821 >  CFLAGS="$CFLAGS  $flag"
14822 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 > /* end confdefs.h.  */
14824 >
14825 > int
14826 > main ()
14827 > {
14828 >
14829 >  ;
14830 >  return 0;
14831 > }
14832 > _ACEOF
14833 > if ac_fn_c_try_compile "$LINENO"; then :
14834 >  eval "$as_CACHEVAR=yes"
14835 > else
14836 >  eval "$as_CACHEVAR=no"
14837 > fi
14838 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 >  CFLAGS=$ax_check_save_flags
14840 > fi
14841 > eval ac_res=\$$as_CACHEVAR
14842 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 > $as_echo "$ac_res" >&6; }
14844 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14845 >  if ${CFLAGS+:} false; then :
14846 >  case " $CFLAGS " in
14847 >    *" $flag "*)
14848 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14849 >  (: CFLAGS already contains $flag) 2>&5
14850 >  ac_status=$?
14851 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 >  test $ac_status = 0; }
14853 >      ;;
14854 >    *)
14855 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14856 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14857 >  ac_status=$?
14858 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14859 >  test $ac_status = 0; }
14860 >      CFLAGS="$CFLAGS $flag"
14861 >      ;;
14862 >   esac
14863 > else
14864 >  CFLAGS="$flag"
14865   fi
14866  
14867 + else
14868 +  :
14869 + fi
14870  
14871 < cat >>confdefs.h <<_ACEOF
14872 < #define LOG_FACILITY $syslog_facility
14871 > done
14872 >
14873 >
14874 >
14875 > for flag in -Wcast-align; do
14876 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14877 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14878 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14879 > if eval \${$as_CACHEVAR+:} false; then :
14880 >  $as_echo_n "(cached) " >&6
14881 > else
14882 >
14883 >  ax_check_save_flags=$CFLAGS
14884 >  CFLAGS="$CFLAGS  $flag"
14885 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 > /* end confdefs.h.  */
14887 >
14888 > int
14889 > main ()
14890 > {
14891 >
14892 >  ;
14893 >  return 0;
14894 > }
14895   _ACEOF
14896 + if ac_fn_c_try_compile "$LINENO"; then :
14897 +  eval "$as_CACHEVAR=yes"
14898 + else
14899 +  eval "$as_CACHEVAR=no"
14900 + fi
14901 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 +  CFLAGS=$ax_check_save_flags
14903 + fi
14904 + eval ac_res=\$$as_CACHEVAR
14905 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14906 + $as_echo "$ac_res" >&6; }
14907 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14908 +  if ${CFLAGS+:} false; then :
14909 +  case " $CFLAGS " in
14910 +    *" $flag "*)
14911 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14912 +  (: CFLAGS already contains $flag) 2>&5
14913 +  ac_status=$?
14914 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 +  test $ac_status = 0; }
14916 +      ;;
14917 +    *)
14918 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14919 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14920 +  ac_status=$?
14921 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922 +  test $ac_status = 0; }
14923 +      CFLAGS="$CFLAGS $flag"
14924 +      ;;
14925 +   esac
14926 + else
14927 +  CFLAGS="$flag"
14928 + fi
14929 +
14930 + else
14931 +  :
14932 + fi
14933 +
14934 + done
14935  
14936  
14937  
14938 <  # Check whether --enable-efnet was given.
14939 < if test "${enable_efnet+set}" = set; then :
14940 <  enableval=$enable_efnet; efnet="$enableval"
14938 > for flag in -Wbad-function-cast; do
14939 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14940 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14941 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14942 > if eval \${$as_CACHEVAR+:} false; then :
14943 >  $as_echo_n "(cached) " >&6
14944 > else
14945 >
14946 >  ax_check_save_flags=$CFLAGS
14947 >  CFLAGS="$CFLAGS  $flag"
14948 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 > /* end confdefs.h.  */
14950 >
14951 > int
14952 > main ()
14953 > {
14954 >
14955 >  ;
14956 >  return 0;
14957 > }
14958 > _ACEOF
14959 > if ac_fn_c_try_compile "$LINENO"; then :
14960 >  eval "$as_CACHEVAR=yes"
14961   else
14962 <  efnet="no"
14962 >  eval "$as_CACHEVAR=no"
14963 > fi
14964 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 >  CFLAGS=$ax_check_save_flags
14966 > fi
14967 > eval ac_res=\$$as_CACHEVAR
14968 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14969 > $as_echo "$ac_res" >&6; }
14970 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14971 >  if ${CFLAGS+:} false; then :
14972 >  case " $CFLAGS " in
14973 >    *" $flag "*)
14974 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14975 >  (: CFLAGS already contains $flag) 2>&5
14976 >  ac_status=$?
14977 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 >  test $ac_status = 0; }
14979 >      ;;
14980 >    *)
14981 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14982 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14983 >  ac_status=$?
14984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 >  test $ac_status = 0; }
14986 >      CFLAGS="$CFLAGS $flag"
14987 >      ;;
14988 >   esac
14989 > else
14990 >  CFLAGS="$flag"
14991   fi
14992  
14993 <  if test "$efnet" = "yes" ; then
14994 <                use_efnet="yes"
14993 > else
14994 >  :
14995 > fi
14996  
14997 < $as_echo "#define EFNET 1" >>confdefs.h
14997 > done
14998  
14999  
13665 $as_echo "#define TS5_ONLY 1" >>confdefs.h
15000  
15001 <        else
15002 <                use_efnet="no"
15003 <  fi
15004 <   if test "$use_efnet" = "yes"; then
15005 <  EFNET_TRUE=
15006 <  EFNET_FALSE='#'
15001 > for flag in -Wmissing-declarations; do
15002 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15003 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15004 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15005 > if eval \${$as_CACHEVAR+:} false; then :
15006 >  $as_echo_n "(cached) " >&6
15007   else
15008 <  EFNET_TRUE='#'
15009 <  EFNET_FALSE=
15008 >
15009 >  ax_check_save_flags=$CFLAGS
15010 >  CFLAGS="$CFLAGS  $flag"
15011 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 > /* end confdefs.h.  */
15013 >
15014 > int
15015 > main ()
15016 > {
15017 >
15018 >  ;
15019 >  return 0;
15020 > }
15021 > _ACEOF
15022 > if ac_fn_c_try_compile "$LINENO"; then :
15023 >  eval "$as_CACHEVAR=yes"
15024 > else
15025 >  eval "$as_CACHEVAR=no"
15026 > fi
15027 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 >  CFLAGS=$ax_check_save_flags
15029 > fi
15030 > eval ac_res=\$$as_CACHEVAR
15031 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15032 > $as_echo "$ac_res" >&6; }
15033 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15034 >  if ${CFLAGS+:} false; then :
15035 >  case " $CFLAGS " in
15036 >    *" $flag "*)
15037 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15038 >  (: CFLAGS already contains $flag) 2>&5
15039 >  ac_status=$?
15040 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 >  test $ac_status = 0; }
15042 >      ;;
15043 >    *)
15044 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15045 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15046 >  ac_status=$?
15047 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 >  test $ac_status = 0; }
15049 >      CFLAGS="$CFLAGS $flag"
15050 >      ;;
15051 >   esac
15052 > else
15053 >  CFLAGS="$flag"
15054   fi
15055  
15056 + else
15057 +  :
15058 + fi
15059  
15060 + done
15061 +
15062 +
15063 +
15064 + for flag in -Wmissing-prototypes; do
15065 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15066 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15067 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15068 + if eval \${$as_CACHEVAR+:} false; then :
15069 +  $as_echo_n "(cached) " >&6
15070 + else
15071 +
15072 +  ax_check_save_flags=$CFLAGS
15073 +  CFLAGS="$CFLAGS  $flag"
15074 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 + /* end confdefs.h.  */
15076 +
15077 + int
15078 + main ()
15079 + {
15080 +
15081 +  ;
15082 +  return 0;
15083 + }
15084 + _ACEOF
15085 + if ac_fn_c_try_compile "$LINENO"; then :
15086 +  eval "$as_CACHEVAR=yes"
15087 + else
15088 +  eval "$as_CACHEVAR=no"
15089 + fi
15090 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 +  CFLAGS=$ax_check_save_flags
15092 + fi
15093 + eval ac_res=\$$as_CACHEVAR
15094 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15095 + $as_echo "$ac_res" >&6; }
15096 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15097 +  if ${CFLAGS+:} false; then :
15098 +  case " $CFLAGS " in
15099 +    *" $flag "*)
15100 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15101 +  (: CFLAGS already contains $flag) 2>&5
15102 +  ac_status=$?
15103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 +  test $ac_status = 0; }
15105 +      ;;
15106 +    *)
15107 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15108 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15109 +  ac_status=$?
15110 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 +  test $ac_status = 0; }
15112 +      CFLAGS="$CFLAGS $flag"
15113 +      ;;
15114 +   esac
15115 + else
15116 +  CFLAGS="$flag"
15117 + fi
15118  
13680  # Check whether --enable-halfops was given.
13681 if test "${enable_halfops+set}" = set; then :
13682  enableval=$enable_halfops; halfops="$enableval"
15119   else
15120 <  halfops="no"
15120 >  :
15121   fi
15122  
15123 <  if test "$halfops" = "yes" ; then
15123 > done
15124  
13689 $as_echo "#define HALFOPS 1" >>confdefs.h
15125  
13691  fi
15126  
15127 + for flag in -Wnested-externs; do
15128 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15130 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15131 + if eval \${$as_CACHEVAR+:} false; then :
15132 +  $as_echo_n "(cached) " >&6
15133 + else
15134  
15135 <  # Check whether --enable-debugging was given.
15136 < if test "${enable_debugging+set}" = set; then :
15137 <  enableval=$enable_debugging; debugging="$enableval"
15135 >  ax_check_save_flags=$CFLAGS
15136 >  CFLAGS="$CFLAGS  $flag"
15137 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 > /* end confdefs.h.  */
15139 >
15140 > int
15141 > main ()
15142 > {
15143 >
15144 >  ;
15145 >  return 0;
15146 > }
15147 > _ACEOF
15148 > if ac_fn_c_try_compile "$LINENO"; then :
15149 >  eval "$as_CACHEVAR=yes"
15150   else
15151 <  debugging="no"
15151 >  eval "$as_CACHEVAR=no"
15152 > fi
15153 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 >  CFLAGS=$ax_check_save_flags
15155 > fi
15156 > eval ac_res=\$$as_CACHEVAR
15157 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15158 > $as_echo "$ac_res" >&6; }
15159 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15160 >  if ${CFLAGS+:} false; then :
15161 >  case " $CFLAGS " in
15162 >    *" $flag "*)
15163 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15164 >  (: CFLAGS already contains $flag) 2>&5
15165 >  ac_status=$?
15166 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15167 >  test $ac_status = 0; }
15168 >      ;;
15169 >    *)
15170 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15171 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15172 >  ac_status=$?
15173 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 >  test $ac_status = 0; }
15175 >      CFLAGS="$CFLAGS $flag"
15176 >      ;;
15177 >   esac
15178 > else
15179 >  CFLAGS="$flag"
15180   fi
15181  
15182 <  if test "$debugging" = "yes" ; then
15182 > else
15183 >  :
15184 > fi
15185  
15186 < $as_echo "#define DEBUG 1" >>confdefs.h
15186 > done
15187  
13705    CFLAGS="-Wall -g -O0"
13706  else
15188  
13708 $as_echo "#define NDEBUG 1" >>confdefs.h
15189  
15190 <  fi
15190 > for flag in -Wredundant-decls; do
15191 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15194 > if eval \${$as_CACHEVAR+:} false; then :
15195 >  $as_echo_n "(cached) " >&6
15196 > else
15197  
15198 +  ax_check_save_flags=$CFLAGS
15199 +  CFLAGS="$CFLAGS  $flag"
15200 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 + /* end confdefs.h.  */
15202  
15203 <  # Check whether --enable-warnings was given.
15204 < if test "${enable_warnings+set}" = set; then :
15205 <  enableval=$enable_warnings; warnings="$enableval"
15203 > int
15204 > main ()
15205 > {
15206 >
15207 >  ;
15208 >  return 0;
15209 > }
15210 > _ACEOF
15211 > if ac_fn_c_try_compile "$LINENO"; then :
15212 >  eval "$as_CACHEVAR=yes"
15213   else
15214 <  warnings="no"
15214 >  eval "$as_CACHEVAR=no"
15215 > fi
15216 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 >  CFLAGS=$ax_check_save_flags
15218 > fi
15219 > eval ac_res=\$$as_CACHEVAR
15220 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15221 > $as_echo "$ac_res" >&6; }
15222 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15223 >  if ${CFLAGS+:} false; then :
15224 >  case " $CFLAGS " in
15225 >    *" $flag "*)
15226 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15227 >  (: CFLAGS already contains $flag) 2>&5
15228 >  ac_status=$?
15229 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15230 >  test $ac_status = 0; }
15231 >      ;;
15232 >    *)
15233 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15234 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15235 >  ac_status=$?
15236 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15237 >  test $ac_status = 0; }
15238 >      CFLAGS="$CFLAGS $flag"
15239 >      ;;
15240 >   esac
15241 > else
15242 >  CFLAGS="$flag"
15243   fi
15244  
15245 <  if test "$warnings" = "yes" ; then
15246 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15247 <  fi
15245 > else
15246 >  :
15247 > fi
15248  
15249 + done
15250  
15251 <  for ac_header in syslog.h sys/syslog.h
15252 < do :
15253 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15254 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15255 < eval as_val=\$$as_ac_Header
15256 <   if test "x$as_val" = x""yes; then :
15257 <  cat >>confdefs.h <<_ACEOF
15258 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15251 >
15252 >
15253 > for flag in -Wshadow; do
15254 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15255 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15256 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15257 > if eval \${$as_CACHEVAR+:} false; then :
15258 >  $as_echo_n "(cached) " >&6
15259 > else
15260 >
15261 >  ax_check_save_flags=$CFLAGS
15262 >  CFLAGS="$CFLAGS  $flag"
15263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 > /* end confdefs.h.  */
15265 >
15266 > int
15267 > main ()
15268 > {
15269 >
15270 >  ;
15271 >  return 0;
15272 > }
15273   _ACEOF
15274 + if ac_fn_c_try_compile "$LINENO"; then :
15275 +  eval "$as_CACHEVAR=yes"
15276 + else
15277 +  eval "$as_CACHEVAR=no"
15278 + fi
15279 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15280 +  CFLAGS=$ax_check_save_flags
15281 + fi
15282 + eval ac_res=\$$as_CACHEVAR
15283 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15284 + $as_echo "$ac_res" >&6; }
15285 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15286 +  if ${CFLAGS+:} false; then :
15287 +  case " $CFLAGS " in
15288 +    *" $flag "*)
15289 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15290 +  (: CFLAGS already contains $flag) 2>&5
15291 +  ac_status=$?
15292 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15293 +  test $ac_status = 0; }
15294 +      ;;
15295 +    *)
15296 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15297 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15298 +  ac_status=$?
15299 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15300 +  test $ac_status = 0; }
15301 +      CFLAGS="$CFLAGS $flag"
15302 +      ;;
15303 +   esac
15304 + else
15305 +  CFLAGS="$flag"
15306 + fi
15307  
15308 + else
15309 +  :
15310   fi
15311  
15312   done
15313  
15314 <  # Check whether --enable-syslog was given.
15315 < if test "${enable_syslog+set}" = set; then :
15316 <  enableval=$enable_syslog; syslog="$enableval"
15317 < else
15318 <  syslog="no"
15314 >
15315 >
15316 > for flag in -Wwrite-strings; do
15317 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15318 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15319 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15320 > if eval \${$as_CACHEVAR+:} false; then :
15321 >  $as_echo_n "(cached) " >&6
15322 > else
15323 >
15324 >  ax_check_save_flags=$CFLAGS
15325 >  CFLAGS="$CFLAGS  $flag"
15326 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 > /* end confdefs.h.  */
15328 >
15329 > int
15330 > main ()
15331 > {
15332 >
15333 >  ;
15334 >  return 0;
15335 > }
15336 > _ACEOF
15337 > if ac_fn_c_try_compile "$LINENO"; then :
15338 >  eval "$as_CACHEVAR=yes"
15339 > else
15340 >  eval "$as_CACHEVAR=no"
15341 > fi
15342 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 >  CFLAGS=$ax_check_save_flags
15344 > fi
15345 > eval ac_res=\$$as_CACHEVAR
15346 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15347 > $as_echo "$ac_res" >&6; }
15348 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15349 >  if ${CFLAGS+:} false; then :
15350 >  case " $CFLAGS " in
15351 >    *" $flag "*)
15352 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15353 >  (: CFLAGS already contains $flag) 2>&5
15354 >  ac_status=$?
15355 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 >  test $ac_status = 0; }
15357 >      ;;
15358 >    *)
15359 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15360 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15361 >  ac_status=$?
15362 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15363 >  test $ac_status = 0; }
15364 >      CFLAGS="$CFLAGS $flag"
15365 >      ;;
15366 >   esac
15367 > else
15368 >  CFLAGS="$flag"
15369   fi
15370  
15371 <  if test "$enableval" != "no" ; then
15372 <    for option in $enableval ; do
15373 <      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
15371 > else
15372 >  :
15373 > fi
15374  
15375 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15375 > done
15376 >
15377 >
15378 >
15379 > for flag in -Wundef; do
15380 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15381 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15382 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15383 > if eval \${$as_CACHEVAR+:} false; then :
15384 >  $as_echo_n "(cached) " >&6
15385 > else
15386 >
15387 >  ax_check_save_flags=$CFLAGS
15388 >  CFLAGS="$CFLAGS  $flag"
15389 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 > /* end confdefs.h.  */
15391 >
15392 > int
15393 > main ()
15394 > {
15395 >
15396 >  ;
15397 >  return 0;
15398 > }
15399 > _ACEOF
15400 > if ac_fn_c_try_compile "$LINENO"; then :
15401 >  eval "$as_CACHEVAR=yes"
15402 > else
15403 >  eval "$as_CACHEVAR=no"
15404 > fi
15405 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 >  CFLAGS=$ax_check_save_flags
15407 > fi
15408 > eval ac_res=\$$as_CACHEVAR
15409 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15410 > $as_echo "$ac_res" >&6; }
15411 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15412 >  if ${CFLAGS+:} false; then :
15413 >  case " $CFLAGS " in
15414 >    *" $flag "*)
15415 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15416 >  (: CFLAGS already contains $flag) 2>&5
15417 >  ac_status=$?
15418 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 >  test $ac_status = 0; }
15420 >      ;;
15421 >    *)
15422 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15423 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15424 >  ac_status=$?
15425 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 >  test $ac_status = 0; }
15427 >      CFLAGS="$CFLAGS $flag"
15428 >      ;;
15429 >   esac
15430 > else
15431 >  CFLAGS="$flag"
15432 > fi
15433 >
15434 > else
15435 >  :
15436 > fi
15437 >
15438 > done
15439  
15440    fi
15441  
# Line 13848 | Line 15526 | _ACEOF
15526    test "$exec_prefix_NONE" && exec_prefix=NONE
15527  
15528  
15529 < 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"
15529 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15530  
15531  
15532   cat >confcache <<\_ACEOF
# Line 13915 | Line 15593 | $as_echo "$as_me: WARNING: cache variabl
15593       :end' >>confcache
15594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15595    if test -w "$cache_file"; then
15596 <    test "x$cache_file" != "x/dev/null" &&
15596 >    if test "x$cache_file" != "x/dev/null"; then
15597        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15598   $as_echo "$as_me: updating cache $cache_file" >&6;}
15599 <    cat confcache >$cache_file
15599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15600 >        cat confcache >"$cache_file"
15601 >      else
15602 >        case $cache_file in #(
15603 >        */* | ?:*)
15604 >          mv -f confcache "$cache_file"$$ &&
15605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15606 >        *)
15607 >          mv -f confcache "$cache_file" ;;
15608 >        esac
15609 >      fi
15610 >    fi
15611    else
15612      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13934 | Line 15623 | DEFS=-DHAVE_CONFIG_H
15623  
15624   ac_libobjs=
15625   ac_ltlibobjs=
15626 + U=
15627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15628    # 1. Remove the extension, and $U if already installed.
15629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13948 | Line 15638 | LIBOBJS=$ac_libobjs
15638   LTLIBOBJS=$ac_ltlibobjs
15639  
15640  
15641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15643 +   if test -n "$am_sleep_pid"; then
15644 +     # Hide warnings about reused PIDs.
15645 +     wait $am_sleep_pid 2>/dev/null
15646 +   fi
15647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15648 + $as_echo "done" >&6; }
15649   if test -n "$EXEEXT"; then
15650    am__EXEEXT_TRUE=
15651    am__EXEEXT_FALSE='#'
# Line 13957 | Line 15655 | else
15655   fi
15656  
15657   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15658 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15658 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15659   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15660   fi
15661   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15662 <  as_fn_error "conditional \"AMDEP\" was never defined.
15662 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15663   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15664   fi
15665   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15666 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15666 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15667   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15668   fi
15669   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15670 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15670 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15671   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15672   fi
15673   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15674 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15674 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15675   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15676   fi
15677   LT_CONFIG_H=config.h
# Line 13994 | Line 15692 | LT_CONFIG_H=config.h
15692  
15693  
15694  
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
15695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15696 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14003 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
14004 < fi
14005 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14006 <  as_fn_error "conditional \"EFNET\" was never defined.
15696 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698   fi
15699  
15700 < : ${CONFIG_STATUS=./config.status}
15700 > : "${CONFIG_STATUS=./config.status}"
15701   ac_write_fail=0
15702   ac_clean_files_save=$ac_clean_files
15703   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14108 | Line 15798 | fi
15798   IFS=" ""        $as_nl"
15799  
15800   # Find who we are.  Look in the path if we contain no directory separator.
15801 + as_myself=
15802   case $0 in #((
15803    *[\\/]* ) as_myself=$0 ;;
15804    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14153 | Line 15844 | export LANGUAGE
15844   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15845  
15846  
15847 < # as_fn_error ERROR [LINENO LOG_FD]
15848 < # ---------------------------------
15847 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15848 > # ----------------------------------------
15849   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15850   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15851 < # script with status $?, using 1 if that was 0.
15851 > # script with STATUS, using 1 if that was 0.
15852   as_fn_error ()
15853   {
15854 <  as_status=$?; test $as_status -eq 0 && as_status=1
15855 <  if test "$3"; then
15856 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15857 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15854 >  as_status=$1; test $as_status -eq 0 && as_status=1
15855 >  if test "$4"; then
15856 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15857 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15858    fi
15859 <  $as_echo "$as_me: error: $1" >&2
15859 >  $as_echo "$as_me: error: $2" >&2
15860    as_fn_exit $as_status
15861   } # as_fn_error
15862  
# Line 14303 | Line 15994 | if (echo >conf$$.file) 2>/dev/null; then
15994      # ... but there are two gotchas:
15995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15997 <    # In both cases, we have to default to `cp -p'.
15997 >    # In both cases, we have to default to `cp -pR'.
15998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15999 <      as_ln_s='cp -p'
15999 >      as_ln_s='cp -pR'
16000    elif ln conf$$.file conf$$ 2>/dev/null; then
16001      as_ln_s=ln
16002    else
16003 <    as_ln_s='cp -p'
16003 >    as_ln_s='cp -pR'
16004    fi
16005   else
16006 <  as_ln_s='cp -p'
16006 >  as_ln_s='cp -pR'
16007   fi
16008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16009   rmdir conf$$.dir 2>/dev/null
# Line 14361 | Line 16052 | $as_echo X"$as_dir" |
16052        test -d "$as_dir" && break
16053      done
16054      test -z "$as_dirs" || eval "mkdir $as_dirs"
16055 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16055 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16056  
16057  
16058   } # as_fn_mkdir_p
# Line 14372 | Line 16063 | else
16063    as_mkdir_p=false
16064   fi
16065  
16066 < if test -x / >/dev/null 2>&1; then
16067 <  as_test_x='test -x'
16068 < else
16069 <  if ls -dL / >/dev/null 2>&1; then
16070 <    as_ls_L_option=L
16071 <  else
16072 <    as_ls_L_option=
16073 <  fi
16074 <  as_test_x='
16075 <    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
16066 >
16067 > # as_fn_executable_p FILE
16068 > # -----------------------
16069 > # Test if FILE is an executable regular file.
16070 > as_fn_executable_p ()
16071 > {
16072 >  test -f "$1" && test -x "$1"
16073 > } # as_fn_executable_p
16074 > as_test_x='test -x'
16075 > as_executable_p=as_fn_executable_p
16076  
16077   # Sed expression to map a string onto a valid CPP name.
16078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14414 | Line 16093 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16093   # report actual input values of CONFIG_FILES etc. instead of their
16094   # values after options handling.
16095   ac_log="
16096 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16097 < generated by GNU Autoconf 2.65.  Invocation command line was
16096 > This file was extended by ircd-hybrid $as_me 8.2.0beta3, which was
16097 > generated by GNU Autoconf 2.69.  Invocation command line was
16098  
16099    CONFIG_FILES    = $CONFIG_FILES
16100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14480 | Line 16159 | _ACEOF
16159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16161   ac_cs_version="\\
16162 < ircd-hybrid config.status 7.3-rc1
16163 < configured by $0, generated by GNU Autoconf 2.65,
16162 > ircd-hybrid config.status 8.2.0beta3
16163 > configured by $0, generated by GNU Autoconf 2.69,
16164    with options \\"\$ac_cs_config\\"
16165  
16166 < Copyright (C) 2009 Free Software Foundation, Inc.
16166 > Copyright (C) 2012 Free Software Foundation, Inc.
16167   This config.status script is free software; the Free Software Foundation
16168   gives unlimited permission to copy, distribute and modify it."
16169  
# Line 14502 | Line 16181 | ac_need_defaults=:
16181   while test $# != 0
16182   do
16183    case $1 in
16184 <  --*=*)
16184 >  --*=?*)
16185      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16186      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16187      ac_shift=:
16188      ;;
16189 +  --*=)
16190 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16191 +    ac_optarg=
16192 +    ac_shift=:
16193 +    ;;
16194    *)
16195      ac_option=$1
16196      ac_optarg=$2
# Line 14528 | Line 16212 | do
16212      $ac_shift
16213      case $ac_optarg in
16214      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16215 +    '') as_fn_error $? "missing file argument" ;;
16216      esac
16217      as_fn_append CONFIG_FILES " '$ac_optarg'"
16218      ac_need_defaults=false;;
# Line 14540 | Line 16225 | do
16225      ac_need_defaults=false;;
16226    --he | --h)
16227      # Conflict between --help and --header
16228 <    as_fn_error "ambiguous option: \`$1'
16228 >    as_fn_error $? "ambiguous option: \`$1'
16229   Try \`$0 --help' for more information.";;
16230    --help | --hel | -h )
16231      $as_echo "$ac_cs_usage"; exit ;;
# Line 14549 | Line 16234 | Try \`$0 --help' for more information.";
16234      ac_cs_silent=: ;;
16235  
16236    # This is an error.
16237 <  -*) as_fn_error "unrecognized option: \`$1'
16237 >  -*) as_fn_error $? "unrecognized option: \`$1'
16238   Try \`$0 --help' for more information." ;;
16239  
16240    *) as_fn_append ac_config_targets " $1"
# Line 14569 | Line 16254 | fi
16254   _ACEOF
16255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256   if \$ac_cs_recheck; then
16257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16258    shift
16259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16260    CONFIG_SHELL='$SHELL'
# Line 14611 | Line 16296 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
16296   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16297   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16298   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16299 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16300   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16301   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16302   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14631 | Line 16317 | exeext='`$ECHO "$exeext" | $SED "$delay_
16317   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16318   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16319   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16320 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16321 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16322   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16323   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16324   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16325   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16326   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16327 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16328 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16329 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16330 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16331   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16332   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16333 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16334   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16335   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16336   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14652 | Line 16345 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
16345   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16346   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16347   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"`'
16348 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16349 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16350   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16351   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16352   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"`'
16353   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16354 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16355   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16356   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16357   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16358 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16359   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16360   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16361   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14683 | Line 16379 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
16379   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16380   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16381   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"`'
16382   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16383   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16384   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 16387 | hardcode_shlibpath_var='`$ECHO "$hardcod
16387   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16388   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16389   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"`'
16390   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16391   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16392   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16393   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16394   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16395 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16396   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16397   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16398   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14739 | Line 16434 | _LTECHO_EOF'
16434   # Quote evaled strings.
16435   for var in SHELL \
16436   ECHO \
16437 + PATH_SEPARATOR \
16438   SED \
16439   GREP \
16440   EGREP \
# Line 14752 | Line 16448 | reload_flag \
16448   OBJDUMP \
16449   deplibs_check_method \
16450   file_magic_cmd \
16451 + file_magic_glob \
16452 + want_nocaseglob \
16453 + DLLTOOL \
16454 + sharedlib_from_linklib_cmd \
16455   AR \
16456   AR_FLAGS \
16457 + archiver_list_spec \
16458   STRIP \
16459   RANLIB \
16460   CC \
# Line 14763 | Line 16464 | lt_cv_sys_global_symbol_pipe \
16464   lt_cv_sys_global_symbol_to_cdecl \
16465   lt_cv_sys_global_symbol_to_c_name_address \
16466   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16467 + nm_file_list_spec \
16468   lt_prog_compiler_no_builtin_flag \
14767 lt_prog_compiler_wl \
16469   lt_prog_compiler_pic \
16470 + lt_prog_compiler_wl \
16471   lt_prog_compiler_static \
16472   lt_cv_prog_compiler_c_o \
16473   need_locks \
16474 + MANIFEST_TOOL \
16475   DSYMUTIL \
16476   NMEDIT \
16477   LIPO \
# Line 14782 | Line 16485 | with_gnu_ld \
16485   allow_undefined_flag \
16486   no_undefined_flag \
16487   hardcode_libdir_flag_spec \
14785 hardcode_libdir_flag_spec_ld \
16488   hardcode_libdir_separator \
14787 fix_srcfile_path \
16489   exclude_expsyms \
16490   include_expsyms \
16491   file_list_spec \
# Line 14820 | Line 16521 | module_cmds \
16521   module_expsym_cmds \
16522   export_symbols_cmds \
16523   prelink_cmds \
16524 + postlink_cmds \
16525   postinstall_cmds \
16526   postuninstall_cmds \
16527   finish_cmds \
# Line 14867 | Line 16569 | do
16569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14871    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14872    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14873    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16572      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16573      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14876    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16574      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16575      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16576      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16577      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14881    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14882    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16578      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16579  
16580 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16580 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16581    esac
16582   done
16583  
# Line 14905 | Line 16600 | fi
16600   # after its creation but before its name has been assigned to `$tmp'.
16601   $debug ||
16602   {
16603 <  tmp=
16603 >  tmp= ac_tmp=
16604    trap 'exit_status=$?
16605 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16605 >  : "${ac_tmp:=$tmp}"
16606 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16607   ' 0
16608    trap 'as_fn_exit 1' 1 2 13 15
16609   }
# Line 14915 | Line 16611 | $debug ||
16611  
16612   {
16613    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16614 <  test -n "$tmp" && test -d "$tmp"
16614 >  test -d "$tmp"
16615   }  ||
16616   {
16617    tmp=./conf$$-$RANDOM
16618    (umask 077 && mkdir "$tmp")
16619 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16619 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16620 > ac_tmp=$tmp
16621  
16622   # Set up the scripts for CONFIG_FILES section.
16623   # No need to generate them if there are no CONFIG_FILES.
# Line 14937 | Line 16634 | if test "x$ac_cr" = x; then
16634   fi
16635   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16636   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16637 <  ac_cs_awk_cr='\r'
16637 >  ac_cs_awk_cr='\\r'
16638   else
16639    ac_cs_awk_cr=$ac_cr
16640   fi
16641  
16642 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16642 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16643   _ACEOF
16644  
16645  
# Line 14951 | Line 16648 | _ACEOF
16648    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16649    echo "_ACEOF"
16650   } >conf$$subs.sh ||
16651 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16652 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16651 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16652 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16653   ac_delim='%!_!# '
16654   for ac_last_try in false false false false false :; do
16655    . ./conf$$subs.sh ||
16656 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16656 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16657  
16658    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16659    if test $ac_delim_n = $ac_delim_num; then
16660      break
16661    elif $ac_last_try; then
16662 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16662 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16663    else
16664      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16665    fi
# Line 14970 | Line 16667 | done
16667   rm -f conf$$subs.sh
16668  
16669   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16670 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16670 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16671   _ACEOF
16672   sed -n '
16673   h
# Line 15018 | Line 16715 | t delim
16715   rm -f conf$$subs.awk
16716   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16717   _ACAWK
16718 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16718 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16719    for (key in S) S_is_set[key] = 1
16720    FS = ""
16721  
# Line 15050 | Line 16747 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16747    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16748   else
16749    cat
16750 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16751 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16750 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16751 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16752   _ACEOF
16753  
16754 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16755 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16754 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16755 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16756   # trailing colons and then remove the whole line if VPATH becomes empty
16757   # (actually we leave an empty line to preserve line numbers).
16758   if test "x$srcdir" = x.; then
16759 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16760 < s/:*\$(srcdir):*/:/
16761 < s/:*\${srcdir}:*/:/
16762 < s/:*@srcdir@:*/:/
16763 < s/^\([^=]*=[     ]*\):*/\1/
16759 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16760 > h
16761 > s///
16762 > s/^/:/
16763 > s/[      ]*$/:/
16764 > s/:\$(srcdir):/:/g
16765 > s/:\${srcdir}:/:/g
16766 > s/:@srcdir@:/:/g
16767 > s/^:*//
16768   s/:*$//
16769 + x
16770 + s/\(=[   ]*\).*/\1/
16771 + G
16772 + s/\n//
16773   s/^[^=]*=[       ]*$//
16774   }'
16775   fi
# Line 15076 | Line 16781 | fi # test -n "$CONFIG_FILES"
16781   # No need to generate them if there are no CONFIG_HEADERS.
16782   # This happens for instance with `./config.status Makefile'.
16783   if test -n "$CONFIG_HEADERS"; then
16784 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16784 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16785   BEGIN {
16786   _ACEOF
16787  
# Line 15088 | Line 16793 | _ACEOF
16793   # handling of long lines.
16794   ac_delim='%!_!# '
16795   for ac_last_try in false false :; do
16796 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16797 <  if test -z "$ac_t"; then
16796 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16797 >  if test -z "$ac_tt"; then
16798      break
16799    elif $ac_last_try; then
16800 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16800 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16801    else
16802      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16803    fi
# Line 15177 | Line 16882 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16882   _ACAWK
16883   _ACEOF
16884   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16885 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16885 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16886   fi # test -n "$CONFIG_HEADERS"
16887  
16888  
# Line 15190 | Line 16895 | do
16895    esac
16896    case $ac_mode$ac_tag in
16897    :[FHL]*:*);;
16898 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16898 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16899    :[FH]-) ac_tag=-:-;;
16900    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16901    esac
# Line 15209 | Line 16914 | do
16914      for ac_f
16915      do
16916        case $ac_f in
16917 <      -) ac_f="$tmp/stdin";;
16917 >      -) ac_f="$ac_tmp/stdin";;
16918        *) # Look for the file first in the build tree, then in the source tree
16919           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16920           # because $ac_f cannot contain `:'.
# Line 15218 | Line 16923 | do
16923             [\\/$]*) false;;
16924             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16925             esac ||
16926 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16926 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16927        esac
16928        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16929        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15244 | Line 16949 | $as_echo "$as_me: creating $ac_file" >&6
16949      esac
16950  
16951      case $ac_tag in
16952 <    *:-:* | *:-) cat >"$tmp/stdin" \
16953 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16952 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16953 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16954      esac
16955      ;;
16956    esac
# Line 15381 | Line 17086 | s&@INSTALL@&$ac_INSTALL&;t t
17086   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17087   $ac_datarootdir_hack
17088   "
17089 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17090 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17089 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17090 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17091  
17092   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17093 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17094 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17093 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17094 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17095 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17096    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17097 < which seems to be undefined.  Please make sure it is defined." >&5
17097 > which seems to be undefined.  Please make sure it is defined" >&5
17098   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17099 < which seems to be undefined.  Please make sure it is defined." >&2;}
17099 > which seems to be undefined.  Please make sure it is defined" >&2;}
17100  
17101 <  rm -f "$tmp/stdin"
17101 >  rm -f "$ac_tmp/stdin"
17102    case $ac_file in
17103 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17104 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17103 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17104 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17105    esac \
17106 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17106 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17107   ;;
17108    :H)
17109    #
# Line 15406 | Line 17112 | which seems to be undefined.  Please mak
17112    if test x"$ac_file" != x-; then
17113      {
17114        $as_echo "/* $configure_input  */" \
17115 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17116 <    } >"$tmp/config.h" \
17117 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17118 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17115 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17116 >    } >"$ac_tmp/config.h" \
17117 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17118 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17119        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17120   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17121      else
17122        rm -f "$ac_file"
17123 <      mv "$tmp/config.h" "$ac_file" \
17124 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17123 >      mv "$ac_tmp/config.h" "$ac_file" \
17124 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17125      fi
17126    else
17127      $as_echo "/* $configure_input  */" \
17128 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17129 <      || as_fn_error "could not create -" "$LINENO" 5
17128 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17129 >      || as_fn_error $? "could not create -" "$LINENO" 5
17130    fi
17131   # Compute "$ac_file"'s index in $config_headers.
17132   _am_arg="$ac_file"
# Line 15466 | Line 17172 | $as_echo "$as_me: executing $ac_file com
17172  
17173    case $ac_file$ac_mode in
17174      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17175 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17175 >  # Older Autoconf quotes --file arguments for eval, but not when files
17176    # are listed without --file.  Let's play safe and only enable the eval
17177    # if we detect the quoting.
17178    case $CONFIG_FILES in
# Line 15479 | Line 17185 | $as_echo "$as_me: executing $ac_file com
17185      # Strip MF so we end up with the name of the file.
17186      mf=`echo "$mf" | sed -e 's/:.*$//'`
17187      # Check whether this is an Automake generated Makefile or not.
17188 <    # We used to match only the files named `Makefile.in', but
17188 >    # We used to match only the files named 'Makefile.in', but
17189      # some people rename them; so instead we look at the file content.
17190      # Grep'ing the first line is not enough: some people post-process
17191      # each Makefile.in and add a new line on top of each file to say so.
# Line 15513 | Line 17219 | $as_echo X"$mf" |
17219        continue
17220      fi
17221      # Extract the definition of DEPDIR, am__include, and am__quote
17222 <    # from the Makefile without running `make'.
17222 >    # from the Makefile without running 'make'.
17223      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17224      test -z "$DEPDIR" && continue
17225      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17226 <    test -z "am__include" && continue
17226 >    test -z "$am__include" && continue
17227      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"`
17228      # Find all dependency output files, they are included files with
17229      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17230      # simplest approach to changing $(DEPDIR) to its actual value in the
17231      # expansion.
17232      for file in `sed -n "
17233        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17234 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17234 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17235        # Make sure the directory exists.
17236        test -f "$dirpart/$file" && continue
17237        fdir=`$as_dirname -- "$file" ||
# Line 15581 | Line 17285 | $as_echo X"$file" |
17285   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17286   #
17287   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17288 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17289 < #                 Inc.
17288 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17289 > #                 Foundation, Inc.
17290   #   Written by Gordon Matzigkeit, 1996
17291   #
17292   #   This file is part of GNU Libtool.
# Line 15636 | Line 17340 | SHELL=$lt_SHELL
17340   # An echo program that protects backslashes.
17341   ECHO=$lt_ECHO
17342  
17343 + # The PATH separator for the build system.
17344 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17345 +
17346   # The host system.
17347   host_alias=$host_alias
17348   host=$host
# Line 15685 | Line 17392 | SP2NL=$lt_lt_SP2NL
17392   # turn newlines into spaces.
17393   NL2SP=$lt_lt_NL2SP
17394  
17395 + # convert \$build file names to \$host format.
17396 + to_host_file_cmd=$lt_cv_to_host_file_cmd
17397 +
17398 + # convert \$build files to toolchain format.
17399 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17400 +
17401   # An object symbol dumper.
17402   OBJDUMP=$lt_OBJDUMP
17403  
17404   # Method to check whether dependent libraries are shared objects.
17405   deplibs_check_method=$lt_deplibs_check_method
17406  
17407 < # Command to use when deplibs_check_method == "file_magic".
17407 > # Command to use when deplibs_check_method = "file_magic".
17408   file_magic_cmd=$lt_file_magic_cmd
17409  
17410 + # How to find potential files when deplibs_check_method = "file_magic".
17411 + file_magic_glob=$lt_file_magic_glob
17412 +
17413 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17414 + want_nocaseglob=$lt_want_nocaseglob
17415 +
17416 + # DLL creation program.
17417 + DLLTOOL=$lt_DLLTOOL
17418 +
17419 + # Command to associate shared and link libraries.
17420 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17421 +
17422   # The archiver.
17423   AR=$lt_AR
17424 +
17425 + # Flags to create an archive.
17426   AR_FLAGS=$lt_AR_FLAGS
17427  
17428 + # How to feed a file listing to the archiver.
17429 + archiver_list_spec=$lt_archiver_list_spec
17430 +
17431   # A symbol stripping program.
17432   STRIP=$lt_STRIP
17433  
# Line 15727 | Line 17457 | global_symbol_to_c_name_address=$lt_lt_c
17457   # Transform the output of nm in a C name address pair when lib prefix is needed.
17458   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17459  
17460 + # Specify filename containing input files for \$NM.
17461 + nm_file_list_spec=$lt_nm_file_list_spec
17462 +
17463 + # The root where to search for dependent libraries,and in which our libraries should be installed.
17464 + lt_sysroot=$lt_sysroot
17465 +
17466   # The name of the directory that contains temporary libtool files.
17467   objdir=$objdir
17468  
# Line 15736 | Line 17472 | MAGIC_CMD=$MAGIC_CMD
17472   # Must we lock files when doing compilation?
17473   need_locks=$lt_need_locks
17474  
17475 + # Manifest tool.
17476 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17477 +
17478   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17479   DSYMUTIL=$lt_DSYMUTIL
17480  
# Line 15850 | Line 17589 | with_gcc=$GCC
17589   # Compiler flag to turn off builtin functions.
17590   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17591  
15853 # How to pass a linker flag through the compiler.
15854 wl=$lt_lt_prog_compiler_wl
15855
17592   # Additional compiler flags for building library objects.
17593   pic_flag=$lt_lt_prog_compiler_pic
17594  
17595 + # How to pass a linker flag through the compiler.
17596 + wl=$lt_lt_prog_compiler_wl
17597 +
17598   # Compiler flag to prevent dynamic linking.
17599   link_static_flag=$lt_lt_prog_compiler_static
17600  
# Line 15905 | Line 17644 | no_undefined_flag=$lt_no_undefined_flag
17644   # This must work even if \$libdir does not exist
17645   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17646  
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
17647   # Whether we need a single "-rpath" flag with a separated argument.
17648   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17649  
# Line 15942 | Line 17677 | inherit_rpath=$inherit_rpath
17677   # Whether libtool must link a program against all its dependency libraries.
17678   link_all_deplibs=$link_all_deplibs
17679  
15945 # Fix the shell variable \$srcfile for the compiler.
15946 fix_srcfile_path=$lt_fix_srcfile_path
15947
17680   # Set to "yes" if exported symbols are required.
17681   always_export_symbols=$always_export_symbols
17682  
# Line 15960 | Line 17692 | include_expsyms=$lt_include_expsyms
17692   # Commands necessary for linking programs (against libraries) with templates.
17693   prelink_cmds=$lt_prelink_cmds
17694  
17695 + # Commands necessary for finishing linking programs.
17696 + postlink_cmds=$lt_postlink_cmds
17697 +
17698   # Specify filename containing input files.
17699   file_list_spec=$lt_file_list_spec
17700  
# Line 15992 | Line 17727 | ltmain="$ac_aux_dir/ltmain.sh"
17727    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17728    # text mode, it properly converts lines to CR/LF.  This bash problem
17729    # is reportedly fixed, but why not run on old versions too?
17730 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17731 <    || (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
17730 >  sed '$q' "$ltmain" >> "$cfgfile" \
17731 >     || (rm -f "$cfgfile"; exit 1)
17732  
17733 +  if test x"$xsi_shell" = xyes; then
17734 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17735 + func_dirname ()\
17736 + {\
17737 + \    case ${1} in\
17738 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17739 + \      *  ) func_dirname_result="${3}" ;;\
17740 + \    esac\
17741 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17742 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17743 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17744 + test 0 -eq $? || _lt_function_replace_fail=:
17745 +
17746 +
17747 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17748 + func_basename ()\
17749 + {\
17750 + \    func_basename_result="${1##*/}"\
17751 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17752 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17753 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17754 + test 0 -eq $? || _lt_function_replace_fail=:
17755 +
17756 +
17757 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17758 + func_dirname_and_basename ()\
17759 + {\
17760 + \    case ${1} in\
17761 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17762 + \      *  ) func_dirname_result="${3}" ;;\
17763 + \    esac\
17764 + \    func_basename_result="${1##*/}"\
17765 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17766 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17767 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17768 + test 0 -eq $? || _lt_function_replace_fail=:
17769 +
17770 +
17771 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17772 + func_stripname ()\
17773 + {\
17774 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17775 + \    # positional parameters, so assign one to ordinary parameter first.\
17776 + \    func_stripname_result=${3}\
17777 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17778 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17779 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17780 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17781 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17782 + test 0 -eq $? || _lt_function_replace_fail=:
17783 +
17784 +
17785 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17786 + func_split_long_opt ()\
17787 + {\
17788 + \    func_split_long_opt_name=${1%%=*}\
17789 + \    func_split_long_opt_arg=${1#*=}\
17790 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17791 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17792 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17793 + test 0 -eq $? || _lt_function_replace_fail=:
17794 +
17795 +
17796 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17797 + func_split_short_opt ()\
17798 + {\
17799 + \    func_split_short_opt_arg=${1#??}\
17800 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17801 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17802 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17803 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17804 + test 0 -eq $? || _lt_function_replace_fail=:
17805 +
17806 +
17807 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17808 + func_lo2o ()\
17809 + {\
17810 + \    case ${1} in\
17811 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17812 + \      *)    func_lo2o_result=${1} ;;\
17813 + \    esac\
17814 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17815 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17816 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17817 + test 0 -eq $? || _lt_function_replace_fail=:
17818 +
17819 +
17820 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17821 + func_xform ()\
17822 + {\
17823 +    func_xform_result=${1%.*}.lo\
17824 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17825 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17826 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17827 + test 0 -eq $? || _lt_function_replace_fail=:
17828 +
17829 +
17830 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17831 + func_arith ()\
17832 + {\
17833 +    func_arith_result=$(( $* ))\
17834 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17835 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17836 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17837 + test 0 -eq $? || _lt_function_replace_fail=:
17838 +
17839 +
17840 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17841 + func_len ()\
17842 + {\
17843 +    func_len_result=${#1}\
17844 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17845 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17846 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17847 + test 0 -eq $? || _lt_function_replace_fail=:
17848 +
17849 + fi
17850 +
17851 + if test x"$lt_shell_append" = xyes; then
17852 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17853 + func_append ()\
17854 + {\
17855 +    eval "${1}+=\\${2}"\
17856 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17857 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17858 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17859 + test 0 -eq $? || _lt_function_replace_fail=:
17860 +
17861 +
17862 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17863 + func_append_quoted ()\
17864 + {\
17865 + \    func_quote_for_eval "${2}"\
17866 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17867 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17868 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17869 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17870 + test 0 -eq $? || _lt_function_replace_fail=:
17871 +
17872 +
17873 +  # Save a `func_append' function call where possible by direct use of '+='
17874 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17875 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17876 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17877 +  test 0 -eq $? || _lt_function_replace_fail=:
17878 + else
17879 +  # Save a `func_append' function call even when '+=' is not available
17880 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17881 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17882 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17883 +  test 0 -eq $? || _lt_function_replace_fail=:
17884 + fi
17885 +
17886 + if test x"$_lt_function_replace_fail" = x":"; then
17887 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17888 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17889 + fi
17890  
16195  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16196    || (rm -f "$cfgfile"; exit 1)
17891  
17892 <  mv -f "$cfgfile" "$ofile" ||
17892 >   mv -f "$cfgfile" "$ofile" ||
17893      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17894    chmod +x "$ofile"
17895  
# Line 16210 | Line 17904 | _ACEOF
17904   ac_clean_files=$ac_clean_files_save
17905  
17906   test $ac_write_fail = 0 ||
17907 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17907 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17908  
17909  
17910   # configure is writing to config.log, and then calls config.status.
# Line 16231 | Line 17925 | if test "$no_create" != yes; then
17925    exec 5>>config.log
17926    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17927    # would make configure fail if this is the last instruction.
17928 <  $ac_cs_success || as_fn_exit $?
17928 >  $ac_cs_success || as_fn_exit 1
17929   fi
17930   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 3725 by michael, Sat May 31 16:29:38 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)