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 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4482 by michael, Fri Aug 15 17:06:40 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 4371 2014-08-03 10:56:24Z 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.0rc2.
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'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | 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 320 | 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 360 | 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 445 | 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 479 | 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 500 | 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'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < 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 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
532
568   lt_ltdl_dir='libltdl'
569  
535
536 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 case X$lt_ECHO in
540 X*--fallback-echo)
541  # Remove one level of quotation (which was required for Make).
542  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543  ;;
544 esac
545
546 ECHO=${lt_ECHO-echo}
547 if test "X$1" = X--no-reexec; then
548  # Discard the --no-reexec flag, and continue.
549  shift
550 elif test "X$1" = X--fallback-echo; then
551  # Avoid inline document here, it may be left over
552  :
553 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554  # Yippee, $ECHO works!
555  :
556 else
557  # Restart under the correct shell.
558  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 fi
560
561 if test "X$1" = X--fallback-echo; then
562  # used as fallback echo
563  shift
564  cat <<_LT_EOF
565 $*
566 _LT_EOF
567  exit 0
568 fi
569
570 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 # if CDPATH is set.
572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
574 if test -z "$lt_ECHO"; then
575  if test "X${echo_test_string+set}" != Xset; then
576    # find a string as large as possible, as long as the shell can cope with it
577    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581      then
582        break
583      fi
584    done
585  fi
586
587  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589     test "X$echo_testing_string" = "X$echo_test_string"; then
590    :
591  else
592    # The Solaris, AIX, and Digital Unix default echo programs unquote
593    # backslashes.  This makes it impossible to quote backslashes using
594    #   echo "$something" | sed 's/\\/\\\\/g'
595    #
596    # So, first we look for a working echo in the user's PATH.
597
598    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599    for dir in $PATH /usr/ucb; do
600      IFS="$lt_save_ifs"
601      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604         test "X$echo_testing_string" = "X$echo_test_string"; then
605        ECHO="$dir/echo"
606        break
607      fi
608    done
609    IFS="$lt_save_ifs"
610
611    if test "X$ECHO" = Xecho; then
612      # We didn't find a better echo, so look for alternatives.
613      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615         test "X$echo_testing_string" = "X$echo_test_string"; then
616        # This shell has a builtin print -r that does the trick.
617        ECHO='print -r'
618      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619           test "X$CONFIG_SHELL" != X/bin/ksh; then
620        # If we have ksh, try running configure again with it.
621        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622        export ORIGINAL_CONFIG_SHELL
623        CONFIG_SHELL=/bin/ksh
624        export CONFIG_SHELL
625        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626      else
627        # Try using printf.
628        ECHO='printf %s\n'
629        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631           test "X$echo_testing_string" = "X$echo_test_string"; then
632          # Cool, printf works
633          :
634        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635             test "X$echo_testing_string" = 'X\t' &&
636             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637             test "X$echo_testing_string" = "X$echo_test_string"; then
638          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639          export CONFIG_SHELL
640          SHELL="$CONFIG_SHELL"
641          export SHELL
642          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644             test "X$echo_testing_string" = 'X\t' &&
645             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646             test "X$echo_testing_string" = "X$echo_test_string"; then
647          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        else
649          # maybe with a smaller string...
650          prev=:
651
652          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654            then
655              break
656            fi
657            prev="$cmd"
658          done
659
660          if test "$prev" != 'sed 50q "$0"'; then
661            echo_test_string=`eval $prev`
662            export echo_test_string
663            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664          else
665            # Oops.  We lost completely, so just stick with echo.
666            ECHO=echo
667          fi
668        fi
669      fi
670    fi
671  fi
672 fi
673
674 # Copy echo and quote the copy suitably for passing to libtool from
675 # the Makefile, instead of quoting the original, which is used later.
676 lt_ECHO=$ECHO
677 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 fi
680
681
682
683
684 lt_dlopen_dir="$lt_ltdl_dir"
572  
573   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 706 | 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.0rc2'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc2'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 EFNET_FALSE
766 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 ENABLE_PCRE_FALSE
770 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | 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 839 | 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 903 | 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 910 | 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
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
922 < enable_openssl
808 > enable_libgeoip
809   enable_assert
924 enable_small_net
810   enable_kqueue
811   enable_epoll
812   enable_devpoll
928 enable_rtsigio
813   enable_poll
930 enable_select
931 with_nicklen
932 with_topiclen
933 with_syslog_facility
934 enable_efnet
935 enable_halfops
814   enable_debugging
815   enable_warnings
816 < enable_syslog
816 > enable_openssl
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 948 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1010 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1082 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1286 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1302 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1332 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1341 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1351 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1359 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1388 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1405    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1418 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1459 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc2 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1503 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1559 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc2:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1567 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1449 >  --enable-maintainer-mode
1450 >                          enable make rules and dependencies not useful (and
1451 >                          sometimes confusing) to the casual installer
1452 >  --enable-dependency-tracking
1453 >                          do not reject slow dependency extractors
1454 >  --disable-dependency-tracking
1455 >                          speeds up one-time build
1456    --enable-static[=PKGS]  build static libraries [default=no]
1457    --enable-shared[=PKGS]  build shared libraries [default=yes]
1458    --enable-fast-install[=PKGS]
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-zlib          Disable ziplinks support
1581 <  --disable-libpcre       Disable PCRE support
1582 <  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1583 <  --disable-openssl            Disable OpenSSL support.
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-assert         Enable assert() statements
1585  --enable-small-net      Enable small network support.
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
1466    --enable-devpoll        Force devpoll usage.
1589  --enable-rtsigio        Force rtsigio usage.
1467    --enable-poll           Force poll usage.
1591  --enable-select         Force select usage.
1592  --enable-efnet          For IRCDs running on EFnet.
1593  --enable-halfops        Enable halfops support.
1468    --enable-debugging      Enable debugging.
1469    --enable-warnings       Enable compiler warnings.
1470 <  --enable-syslog="EVENTS"
1471 <                          Enable syslog for events: users oper (space
1598 <                          separated in quotes; default: disabled).
1470 >  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1471 >  --disable-openssl            Disable LibreSSL/OpenSSL support.
1472  
1473   Optional Packages:
1474    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1475    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1476 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1476 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1477                            both]
1478    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1479 +  --with-sysroot=DIR Search for dependent libraries within DIR
1480 +                        (or the compiler's sysroot if not specified).
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611  --with-nicklen=<value>  Set nickname length (default 9).
1612  --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1622 | Line 1490 | Some influential environment variables:
1490    LIBS        libraries to pass to the linker, e.g. -l<library>
1491    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492                you have headers in a nonstandard directory <include dir>
1493 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1494 <              the first program found out of: `bison -y', `byacc', `yacc'.
1493 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1494 >              Defaults to the first program found out of: `bison -y', `byacc',
1495 >              `yacc'.
1496    YFLAGS      The list of arguments that will be passed by default to $YACC.
1497                This script will default YFLAGS to the empty string to avoid a
1498                default value of `-d' given by some make applications.
# Line 1695 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 7.3-rc1
1568 < generated by GNU Autoconf 2.65
1567 > ircd-hybrid configure 8.2.0rc2
1568 > generated by GNU Autoconf 2.69
1569  
1570 < Copyright (C) 2009 Free Software Foundation, Inc.
1570 > Copyright (C) 2012 Free Software Foundation, Inc.
1571   This configure script is free software; the Free Software Foundation
1572   gives unlimited permission to copy, distribute and modify it.
1573   _ACEOF
# Line 1742 | Line 1611 | sed 's/^/| /' conftest.$ac_ext >&5
1611  
1612          ac_retval=1
1613   fi
1614 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615    as_fn_set_status $ac_retval
1616  
1617   } # ac_fn_c_try_compile
# Line 1774 | Line 1643 | $as_echo "$ac_try_echo"; } >&5
1643           test ! -s conftest.err
1644         } && test -s conftest$ac_exeext && {
1645           test "$cross_compiling" = yes ||
1646 <         $as_test_x conftest$ac_exeext
1646 >         test -x conftest$ac_exeext
1647         }; then :
1648    ac_retval=0
1649   else
# Line 1788 | Line 1657 | fi
1657    # interfere with the next link command; also delete a directory that is
1658    # left behind by Apple's compiler.  We do this before executing the actions.
1659    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1660 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661    as_fn_set_status $ac_retval
1662  
1663   } # ac_fn_c_try_link
# Line 1802 | Line 1671 | ac_fn_c_check_header_compile ()
1671    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673   $as_echo_n "checking for $2... " >&6; }
1674 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1674 > if eval \${$3+:} false; then :
1675    $as_echo_n "(cached) " >&6
1676   else
1677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1689 | fi
1689   eval ac_res=\$$3
1690                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691   $as_echo "$ac_res" >&6; }
1692 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693  
1694   } # ac_fn_c_check_header_compile
1695  
# Line 1845 | Line 1714 | $as_echo "$ac_try_echo"; } >&5
1714      mv -f conftest.er1 conftest.err
1715    fi
1716    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 <  test $ac_status = 0; } >/dev/null && {
1717 >  test $ac_status = 0; } > conftest.i && {
1718           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1719           test ! -s conftest.err
1720         }; then :
# Line 1856 | Line 1725 | sed 's/^/| /' conftest.$ac_ext >&5
1725  
1726      ac_retval=1
1727   fi
1728 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729    as_fn_set_status $ac_retval
1730  
1731   } # ac_fn_c_try_cpp
# Line 1898 | Line 1767 | sed 's/^/| /' conftest.$ac_ext >&5
1767         ac_retval=$ac_status
1768   fi
1769    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771    as_fn_set_status $ac_retval
1772  
1773   } # ac_fn_c_try_run
# Line 1911 | Line 1780 | ac_fn_c_check_func ()
1780    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782   $as_echo_n "checking for $2... " >&6; }
1783 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 > if eval \${$3+:} false; then :
1784    $as_echo_n "(cached) " >&6
1785   else
1786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1835 | fi
1835   eval ac_res=\$$3
1836                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837   $as_echo "$ac_res" >&6; }
1838 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839  
1840   } # ac_fn_c_check_func
1841  
1842 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1843 < # ------------------------------------
1844 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1842 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1843 > # ---------------------------------------------
1844 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1845 > # accordingly.
1846   ac_fn_c_check_decl ()
1847   {
1848    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1850 < $as_echo_n "checking whether $2 is declared... " >&6; }
1851 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1849 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1850 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1851 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1852 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1853 > if eval \${$3+:} false; then :
1854    $as_echo_n "(cached) " >&6
1855   else
1856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1859 | $4
1859   int
1860   main ()
1861   {
1862 < #ifndef $2
1863 <  (void) $2;
1862 > #ifndef $as_decl_name
1863 > #ifdef __cplusplus
1864 >  (void) $as_decl_use;
1865 > #else
1866 >  (void) $as_decl_name;
1867 > #endif
1868   #endif
1869  
1870    ;
# Line 2005 | Line 1881 | fi
1881   eval ac_res=\$$3
1882                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883   $as_echo "$ac_res" >&6; }
1884 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  
1886   } # ac_fn_c_check_decl
1887  
# Line 2018 | Line 1894 | ac_fn_c_check_type ()
1894    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896   $as_echo_n "checking for $2... " >&6; }
1897 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 > if eval \${$3+:} false; then :
1898    $as_echo_n "(cached) " >&6
1899   else
1900    eval "$3=no"
# Line 2059 | Line 1935 | fi
1935   eval ac_res=\$$3
1936                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937   $as_echo "$ac_res" >&6; }
1938 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939  
1940   } # ac_fn_c_check_type
1941  
2066 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 # ----------------------------------------------------
2068 # Tries to find if the field MEMBER exists in type AGGR, after including
2069 # INCLUDES, setting cache variable VAR accordingly.
2070 ac_fn_c_check_member ()
2071 {
2072  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 $as_echo_n "checking for $2.$3... " >&6; }
2075 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2076  $as_echo_n "(cached) " >&6
2077 else
2078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h.  */
2080 $5
2081 int
2082 main ()
2083 {
2084 static $2 ac_aggr;
2085 if (ac_aggr.$3)
2086 return 0;
2087  ;
2088  return 0;
2089 }
2090 _ACEOF
2091 if ac_fn_c_try_compile "$LINENO"; then :
2092  eval "$4=yes"
2093 else
2094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h.  */
2096 $5
2097 int
2098 main ()
2099 {
2100 static $2 ac_aggr;
2101 if (sizeof ac_aggr.$3)
2102 return 0;
2103  ;
2104  return 0;
2105 }
2106 _ACEOF
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108  eval "$4=yes"
2109 else
2110  eval "$4=no"
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 fi
2116 eval ac_res=\$$4
2117               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120
2121 } # ac_fn_c_check_member
2122
1942   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943   # -------------------------------------------------------
1944   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2128 | Line 1947 | $as_echo "$ac_res" >&6; }
1947   ac_fn_c_check_header_mongrel ()
1948   {
1949    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 >  if eval \${$3+:} false; then :
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952   $as_echo_n "checking for $2... " >&6; }
1953 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 > if eval \${$3+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   fi
1956   eval ac_res=\$$3
# Line 2167 | Line 1986 | if ac_fn_c_try_cpp "$LINENO"; then :
1986   else
1987    ac_header_preproc=no
1988   fi
1989 < rm -f conftest.err conftest.$ac_ext
1989 > rm -f conftest.err conftest.i conftest.$ac_ext
1990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991   $as_echo "$ac_header_preproc" >&6; }
1992  
# Line 2190 | Line 2009 | $as_echo "$as_me: WARNING: $2: see the A
2009   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2010      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2012 > ( $as_echo "## ----------------------------------- ##
2013   ## Report this to bugs@ircd-hybrid.org ##
2014 < ## ----------------------------------- ##
2197 < _ASBOX
2014 > ## ----------------------------------- ##"
2015       ) | sed "s/^/$as_me: WARNING:     /" >&2
2016      ;;
2017   esac
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019   $as_echo_n "checking for $2... " >&6; }
2020 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2020 > if eval \${$3+:} false; then :
2021    $as_echo_n "(cached) " >&6
2022   else
2023    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2026 | eval ac_res=\$$3
2026                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027   $as_echo "$ac_res" >&6; }
2028   fi
2029 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030  
2031   } # ac_fn_c_check_header_mongrel
2032   cat >config.log <<_ACEOF
2033   This file contains any messages produced by compilers while
2034   running configure, to aid debugging if configure makes a mistake.
2035  
2036 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2037 < generated by GNU Autoconf 2.65.  Invocation command line was
2036 > It was created by ircd-hybrid $as_me 8.2.0rc2, which was
2037 > generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
2040  
# Line 2327 | Line 2144 | trap 'exit_status=$?
2144    {
2145      echo
2146  
2147 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2147 >    $as_echo "## ---------------- ##
2148   ## Cache variables. ##
2149 < ## ---------------- ##
2334 < _ASBOX
2149 > ## ---------------- ##"
2150      echo
2151      # The following way of writing the cache mishandles newlines in values,
2152   (
# Line 2365 | Line 2180 | $as_echo "$as_me: WARNING: cache variabl
2180   )
2181      echo
2182  
2183 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2183 >    $as_echo "## ----------------- ##
2184   ## Output variables. ##
2185 < ## ----------------- ##
2372 < _ASBOX
2185 > ## ----------------- ##"
2186      echo
2187      for ac_var in $ac_subst_vars
2188      do
# Line 2382 | Line 2195 | _ASBOX
2195      echo
2196  
2197      if test -n "$ac_subst_files"; then
2198 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2198 >      $as_echo "## ------------------- ##
2199   ## File substitutions. ##
2200 < ## ------------------- ##
2389 < _ASBOX
2200 > ## ------------------- ##"
2201        echo
2202        for ac_var in $ac_subst_files
2203        do
# Line 2400 | Line 2211 | _ASBOX
2211      fi
2212  
2213      if test -s confdefs.h; then
2214 <      cat <<\_ASBOX
2404 < ## ----------- ##
2214 >      $as_echo "## ----------- ##
2215   ## confdefs.h. ##
2216 < ## ----------- ##
2407 < _ASBOX
2216 > ## ----------- ##"
2217        echo
2218        cat confdefs.h
2219        echo
# Line 2459 | Line 2268 | _ACEOF
2268   ac_site_file1=NONE
2269   ac_site_file2=NONE
2270   if test -n "$CONFIG_SITE"; then
2271 <  ac_site_file1=$CONFIG_SITE
2271 >  # We do not want a PATH search for config.site.
2272 >  case $CONFIG_SITE in #((
2273 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2274 >    */*) ac_site_file1=$CONFIG_SITE;;
2275 >    *)   ac_site_file1=./$CONFIG_SITE;;
2276 >  esac
2277   elif test "x$prefix" != xNONE; then
2278    ac_site_file1=$prefix/share/config.site
2279    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2288 | do
2288      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2289   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2290      sed 's/^/| /' "$ac_site_file" >&5
2291 <    . "$ac_site_file"
2291 >    . "$ac_site_file" \
2292 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 > as_fn_error $? "failed to load site script $ac_site_file
2295 > See \`config.log' for more details" "$LINENO" 5; }
2296    fi
2297   done
2298  
# Line 2495 | Line 2313 | $as_echo "$as_me: creating cache $cache_
2313    >$cache_file
2314   fi
2315  
2498 as_fn_append ac_func_list " mmap"
2316   as_fn_append ac_func_list " strtok_r"
2317   as_fn_append ac_func_list " usleep"
2318   as_fn_append ac_func_list " strlcat"
2319   as_fn_append ac_func_list " strlcpy"
2320   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2321   as_fn_append ac_header_list " sys/resource.h"
2322   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2323   as_fn_append ac_header_list " types.h"
2324   as_fn_append ac_header_list " socket.h"
2325   as_fn_append ac_header_list " sys/wait.h"
2326   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2327   # Check that the precious variables saved in the cache have kept the same
2328   # value.
2329   ac_cache_corrupted=false
# Line 2567 | Line 2379 | if $ac_cache_corrupted; then
2379   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2382 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2383   fi
2384   ## -------------------- ##
2385   ## Main body of script. ##
# Line 2580 | Line 2392 | ac_link='$CC -o conftest$ac_exeext $CFLA
2392   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2393  
2394  
2395 < am__api_version='1.11'
2395 > am__api_version='1.14'
2396  
2397   ac_aux_dir=
2398   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 <  for ac_t in install-sh install.sh shtool; do
2400 <    if test -f "$ac_dir/$ac_t"; then
2401 <      ac_aux_dir=$ac_dir
2402 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2403 <      break 2
2404 <    fi
2405 <  done
2399 >  if test -f "$ac_dir/install-sh"; then
2400 >    ac_aux_dir=$ac_dir
2401 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2402 >    break
2403 >  elif test -f "$ac_dir/install.sh"; then
2404 >    ac_aux_dir=$ac_dir
2405 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2406 >    break
2407 >  elif test -f "$ac_dir/shtool"; then
2408 >    ac_aux_dir=$ac_dir
2409 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2410 >    break
2411 >  fi
2412   done
2413   if test -z "$ac_aux_dir"; then
2414 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2415   fi
2416  
2417   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2440 | ac_configure="$SHELL $ac_aux_dir/configu
2440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442   if test -z "$INSTALL"; then
2443 < if test "${ac_cv_path_install+set}" = set; then :
2443 > if ${ac_cv_path_install+:} false; then :
2444    $as_echo_n "(cached) " >&6
2445   else
2446    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2460 | case $as_dir/ in #((
2460      # by default.
2461      for ac_prog in ginstall scoinst install; do
2462        for ac_exec_ext in '' $ac_executable_extensions; do
2463 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2463 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2464            if test $ac_prog = install &&
2465              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2518 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2518  
2519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 # Just in case
2704 sleep 1
2705 echo timestamp > conftest.file
2521   # Reject unsafe characters in $srcdir or the absolute working directory
2522   # name.  Accept space and tab only in the latter.
2523   am_lf='
2524   '
2525   case `pwd` in
2526    *[\\\"\#\$\&\'\`$am_lf]*)
2527 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2527 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2528   esac
2529   case $srcdir in
2530    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2531 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2531 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2532   esac
2533  
2534 < # Do `set' in a subshell so we don't clobber the current shell's
2534 > # Do 'set' in a subshell so we don't clobber the current shell's
2535   # arguments.  Must try -L first in case configure is actually a
2536   # symlink; some systems play weird games with the mod time of symlinks
2537   # (eg FreeBSD returns the mod time of the symlink's containing
2538   # directory).
2539   if (
2540 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 <   if test "$*" = "X"; then
2542 <      # -L didn't work.
2543 <      set X `ls -t "$srcdir/configure" conftest.file`
2544 <   fi
2545 <   rm -f conftest.file
2546 <   if test "$*" != "X $srcdir/configure conftest.file" \
2547 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2548 <
2549 <      # If neither matched, then we have a broken ls.  This can happen
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2540 >   am_has_slept=no
2541 >   for am_try in 1 2; do
2542 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2543 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 >     if test "$*" = "X"; then
2545 >        # -L didn't work.
2546 >        set X `ls -t "$srcdir/configure" conftest.file`
2547 >     fi
2548 >     if test "$*" != "X $srcdir/configure conftest.file" \
2549 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2550  
2551 +        # If neither matched, then we have a broken ls.  This can happen
2552 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2553 +        # broken ls alias from the environment.  This has actually
2554 +        # happened.  Such a system could not be considered "sane".
2555 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2556 +  alias in your environment" "$LINENO" 5
2557 +     fi
2558 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2559 +       break
2560 +     fi
2561 +     # Just in case.
2562 +     sleep 1
2563 +     am_has_slept=yes
2564 +   done
2565     test "$2" = conftest.file
2566     )
2567   then
2568     # Ok.
2569     :
2570   else
2571 <   as_fn_error "newly created file is older than distributed files!
2571 >   as_fn_error $? "newly created file is older than distributed files!
2572   Check your system clock" "$LINENO" 5
2573   fi
2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575   $as_echo "yes" >&6; }
2576 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2577 + # generated files are strictly newer.
2578 + am_sleep_pid=
2579 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2580 +  ( sleep 1 ) &
2581 +  am_sleep_pid=$!
2582 + fi
2583 +
2584 + rm -f conftest.file
2585 +
2586   test "$program_prefix" != NONE &&
2587    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2588   # Use a double $ so make ignores it.
# Line 2772 | Line 2605 | if test x"${MISSING+set}" != xset; then
2605    esac
2606   fi
2607   # Use eval to expand $SHELL
2608 < if eval "$MISSING --run true"; then
2609 <  am_missing_run="$MISSING --run "
2608 > if eval "$MISSING --is-lightweight"; then
2609 >  am_missing_run="$MISSING "
2610   else
2611    am_missing_run=
2612 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2613 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2613 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2614   fi
2615  
2616   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2622 | if test x"${install_sh}" != xset; then
2622    esac
2623   fi
2624  
2625 < # Installed binaries are usually stripped using `strip' when the user
2626 < # run `make install-strip'.  However `strip' might not be the right
2625 > # Installed binaries are usually stripped using 'strip' when the user
2626 > # run "make install-strip".  However 'strip' might not be the right
2627   # tool to use in cross-compilation environments, therefore Automake
2628 < # will honor the `STRIP' environment variable to overrule this program.
2628 > # will honor the 'STRIP' environment variable to overrule this program.
2629   if test "$cross_compiling" != no; then
2630    if test -n "$ac_tool_prefix"; then
2631    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2632   set dummy ${ac_tool_prefix}strip; ac_word=$2
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634   $as_echo_n "checking for $ac_word... " >&6; }
2635 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2635 > if ${ac_cv_prog_STRIP+:} false; then :
2636    $as_echo_n "(cached) " >&6
2637   else
2638    if test -n "$STRIP"; then
# Line 2811 | Line 2644 | do
2644    IFS=$as_save_IFS
2645    test -z "$as_dir" && as_dir=.
2646      for ac_exec_ext in '' $ac_executable_extensions; do
2647 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2649      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650      break 2
# Line 2839 | Line 2672 | if test -z "$ac_cv_prog_STRIP"; then
2672   set dummy strip; ac_word=$2
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674   $as_echo_n "checking for $ac_word... " >&6; }
2675 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2675 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2676    $as_echo_n "(cached) " >&6
2677   else
2678    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2684 | do
2684    IFS=$as_save_IFS
2685    test -z "$as_dir" && as_dir=.
2686      for ac_exec_ext in '' $ac_executable_extensions; do
2687 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688      ac_cv_prog_ac_ct_STRIP="strip"
2689      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690      break 2
# Line 2892 | Line 2725 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2726   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2727   if test -z "$MKDIR_P"; then
2728 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2728 >  if ${ac_cv_path_mkdir+:} false; then :
2729    $as_echo_n "(cached) " >&6
2730   else
2731    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2735 | do
2735    test -z "$as_dir" && as_dir=.
2736      for ac_prog in mkdir gmkdir; do
2737           for ac_exec_ext in '' $ac_executable_extensions; do
2738 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2738 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2739             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2740               'mkdir (GNU coreutils) '* | \
2741               'mkdir (coreutils) '* | \
# Line 2931 | Line 2764 | fi
2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2765   $as_echo "$MKDIR_P" >&6; }
2766  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
2767   for ac_prog in gawk mawk nawk awk
2768   do
2769    # Extract the first word of "$ac_prog", so it can be a program name with args.
2770   set dummy $ac_prog; ac_word=$2
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772   $as_echo_n "checking for $ac_word... " >&6; }
2773 < if test "${ac_cv_prog_AWK+set}" = set; then :
2773 > if ${ac_cv_prog_AWK+:} false; then :
2774    $as_echo_n "(cached) " >&6
2775   else
2776    if test -n "$AWK"; then
# Line 2955 | Line 2782 | do
2782    IFS=$as_save_IFS
2783    test -z "$as_dir" && as_dir=.
2784      for ac_exec_ext in '' $ac_executable_extensions; do
2785 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2786      ac_cv_prog_AWK="$ac_prog"
2787      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788      break 2
# Line 2983 | Line 2810 | done
2810   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2811   set x ${MAKE-make}
2812   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2813 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2813 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2814    $as_echo_n "(cached) " >&6
2815   else
2816    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2818 | SHELL = /bin/sh
2818   all:
2819          @echo '@@@%%%=$(MAKE)=@@@%%%'
2820   _ACEOF
2821 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2821 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2822   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2823    *@@@%%%=?*=@@@%%%*)
2824      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2846 | else
2846   fi
2847   rmdir .tst 2>/dev/null
2848  
2849 + # Check whether --enable-silent-rules was given.
2850 + if test "${enable_silent_rules+set}" = set; then :
2851 +  enableval=$enable_silent_rules;
2852 + fi
2853 +
2854 + case $enable_silent_rules in # (((
2855 +  yes) AM_DEFAULT_VERBOSITY=0;;
2856 +   no) AM_DEFAULT_VERBOSITY=1;;
2857 +    *) AM_DEFAULT_VERBOSITY=1;;
2858 + esac
2859 + am_make=${MAKE-make}
2860 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2861 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2862 + if ${am_cv_make_support_nested_variables+:} false; then :
2863 +  $as_echo_n "(cached) " >&6
2864 + else
2865 +  if $as_echo 'TRUE=$(BAR$(V))
2866 + BAR0=false
2867 + BAR1=true
2868 + V=1
2869 + am__doit:
2870 +        @$(TRUE)
2871 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2872 +  am_cv_make_support_nested_variables=yes
2873 + else
2874 +  am_cv_make_support_nested_variables=no
2875 + fi
2876 + fi
2877 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2878 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2879 + if test $am_cv_make_support_nested_variables = yes; then
2880 +    AM_V='$(V)'
2881 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2882 + else
2883 +  AM_V=$AM_DEFAULT_VERBOSITY
2884 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2885 + fi
2886 + AM_BACKSLASH='\'
2887 +
2888   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2889    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2890    # is not polluted with repeated "-I."
2891    am__isrc=' -I$(srcdir)'
2892    # test to see if srcdir already configured
2893    if test -f $srcdir/config.status; then
2894 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2894 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895    fi
2896   fi
2897  
# Line 3041 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='7.3-rc1'
2910 > VERSION='8.2.0rc2'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2935 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2935  
2936   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2937  
2938 + # For better backward compatibility.  To be removed once Automake 1.9.x
2939 + # dies out for good.  For more background, see:
2940 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2941 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2942 + mkdir_p='$(MKDIR_P)'
2943 +
2944   # We need awk for the "check" target.  The system "awk" is bad on
2945   # some platforms.
2946 < # Always define AMTAR for backward compatibility.
2946 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2947 > # in the wild :-(  We should find a proper way to deprecate it ...
2948 > AMTAR='$${TAR-tar}'
2949 >
2950 >
2951 > # We'll loop over all known methods to create a tar archive until one works.
2952 > _am_tools='gnutar  pax cpio none'
2953 >
2954 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2955  
3076 AMTAR=${AMTAR-"${am_missing_run}tar"}
2956  
3078 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2957  
2958  
2959  
2960  
2961 + # POSIX will say in a future version that running "rm -f" with no argument
2962 + # is OK; and we want to be able to make that assumption in our Makefile
2963 + # recipes.  So use an aggressive probe to check that the usage we want is
2964 + # actually supported "in the wild" to an acceptable degree.
2965 + # See automake bug#10828.
2966 + # To make any issue more visible, cause the running configure to be aborted
2967 + # by default if the 'rm' program in use doesn't match our expectations; the
2968 + # user can still override this though.
2969 + if rm -f && rm -fr && rm -rf; then : OK; else
2970 +  cat >&2 <<'END'
2971 + Oops!
2972 +
2973 + Your 'rm' program seems unable to run without file operands specified
2974 + on the command line, even when the '-f' option is present.  This is contrary
2975 + to the behaviour of most rm programs out there, and not conforming with
2976 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2977 +
2978 + Please tell bug-automake@gnu.org about your system, including the value
2979 + of your $PATH and any error possibly output before this message.  This
2980 + can help us improve future automake versions.
2981 +
2982 + END
2983 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2984 +    echo 'Configuration will proceed anyway, since you have set the' >&2
2985 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2986 +    echo >&2
2987 +  else
2988 +    cat >&2 <<'END'
2989 + Aborting the configuration process, to ensure you take notice of the issue.
2990  
2991 + You can download and install GNU coreutils to get an 'rm' implementation
2992 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
2993 +
2994 + If you want to complete the configuration process using your problematic
2995 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2996 + to "yes", and re-run configure.
2997 +
2998 + END
2999 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3000 +  fi
3001 + fi
3002  
3003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3004   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3104 | Line 3022 | fi
3022    MAINT=$MAINTAINER_MODE_TRUE
3023  
3024  
3025 +
3026   ac_config_headers="$ac_config_headers config.h"
3027  
3028  
# Line 3128 | Line 3047 | am__quote=
3047   _am_result=none
3048   # First try GNU make style include.
3049   echo "include confinc" > confmf
3050 < # Ignore all kinds of additional output from `make'.
3050 > # Ignore all kinds of additional output from 'make'.
3051   case `$am_make -s -f confmf 2> /dev/null` in #(
3052   *the\ am__doit\ target*)
3053    am__include=include
# Line 3161 | Line 3080 | fi
3080   if test "x$enable_dependency_tracking" != xno; then
3081    am_depcomp="$ac_aux_dir/depcomp"
3082    AMDEPBACKSLASH='\'
3083 +  am__nodep='_no'
3084   fi
3085   if test "x$enable_dependency_tracking" != xno; then
3086    AMDEP_TRUE=
# Line 3181 | Line 3101 | if test -n "$ac_tool_prefix"; then
3101   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103   $as_echo_n "checking for $ac_word... " >&6; }
3104 < if test "${ac_cv_prog_CC+set}" = set; then :
3104 > if ${ac_cv_prog_CC+:} false; then :
3105    $as_echo_n "(cached) " >&6
3106   else
3107    if test -n "$CC"; then
# Line 3193 | Line 3113 | do
3113    IFS=$as_save_IFS
3114    test -z "$as_dir" && as_dir=.
3115      for ac_exec_ext in '' $ac_executable_extensions; do
3116 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3118      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119      break 2
# Line 3221 | Line 3141 | if test -z "$ac_cv_prog_CC"; then
3141   set dummy gcc; ac_word=$2
3142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143   $as_echo_n "checking for $ac_word... " >&6; }
3144 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3144 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3145    $as_echo_n "(cached) " >&6
3146   else
3147    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3153 | do
3153    IFS=$as_save_IFS
3154    test -z "$as_dir" && as_dir=.
3155      for ac_exec_ext in '' $ac_executable_extensions; do
3156 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157      ac_cv_prog_ac_ct_CC="gcc"
3158      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159      break 2
# Line 3274 | Line 3194 | if test -z "$CC"; then
3194   set dummy ${ac_tool_prefix}cc; ac_word=$2
3195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196   $as_echo_n "checking for $ac_word... " >&6; }
3197 < if test "${ac_cv_prog_CC+set}" = set; then :
3197 > if ${ac_cv_prog_CC+:} false; then :
3198    $as_echo_n "(cached) " >&6
3199   else
3200    if test -n "$CC"; then
# Line 3286 | Line 3206 | do
3206    IFS=$as_save_IFS
3207    test -z "$as_dir" && as_dir=.
3208      for ac_exec_ext in '' $ac_executable_extensions; do
3209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210      ac_cv_prog_CC="${ac_tool_prefix}cc"
3211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212      break 2
# Line 3314 | Line 3234 | if test -z "$CC"; then
3234   set dummy cc; ac_word=$2
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236   $as_echo_n "checking for $ac_word... " >&6; }
3237 < if test "${ac_cv_prog_CC+set}" = set; then :
3237 > if ${ac_cv_prog_CC+:} false; then :
3238    $as_echo_n "(cached) " >&6
3239   else
3240    if test -n "$CC"; then
# Line 3327 | Line 3247 | do
3247    IFS=$as_save_IFS
3248    test -z "$as_dir" && as_dir=.
3249      for ac_exec_ext in '' $ac_executable_extensions; do
3250 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3250 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252         ac_prog_rejected=yes
3253         continue
# Line 3373 | Line 3293 | if test -z "$CC"; then
3293   set dummy $ac_tool_prefix$ac_prog; 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 3385 | Line 3305 | do
3305    IFS=$as_save_IFS
3306    test -z "$as_dir" && as_dir=.
3307      for ac_exec_ext in '' $ac_executable_extensions; do
3308 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3310      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311      break 2
# Line 3417 | Line 3337 | do
3337   set dummy $ac_prog; ac_word=$2
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339   $as_echo_n "checking for $ac_word... " >&6; }
3340 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3340 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3341    $as_echo_n "(cached) " >&6
3342   else
3343    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3349 | do
3349    IFS=$as_save_IFS
3350    test -z "$as_dir" && as_dir=.
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353      ac_cv_prog_ac_ct_CC="$ac_prog"
3354      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355      break 2
# Line 3471 | Line 3391 | fi
3391  
3392   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 < as_fn_error "no acceptable C compiler found in \$PATH
3395 < See \`config.log' for more details." "$LINENO" 5; }
3394 > as_fn_error $? "no acceptable C compiler found in \$PATH
3395 > See \`config.log' for more details" "$LINENO" 5; }
3396  
3397   # Provide some information about the compiler.
3398   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3506 | sed 's/^/| /' conftest.$ac_ext >&5
3506  
3507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 < { as_fn_set_status 77
3510 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3509 > as_fn_error 77 "C compiler cannot create executables
3510 > See \`config.log' for more details" "$LINENO" 5; }
3511   else
3512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513   $as_echo "yes" >&6; }
# Line 3630 | Line 3549 | done
3549   else
3550    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3553 < See \`config.log' for more details." "$LINENO" 5; }
3552 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553 > See \`config.log' for more details" "$LINENO" 5; }
3554   fi
3555   rm -f conftest conftest$ac_cv_exeext
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3607 | $as_echo "$ac_try_echo"; } >&5
3607      else
3608          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 < as_fn_error "cannot run C compiled programs.
3610 > as_fn_error $? "cannot run C compiled programs.
3611   If you meant to cross compile, use \`--host'.
3612 < See \`config.log' for more details." "$LINENO" 5; }
3612 > See \`config.log' for more details" "$LINENO" 5; }
3613      fi
3614    fi
3615   fi
# Line 3701 | Line 3620 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3620   ac_clean_files=$ac_clean_files_save
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3622   $as_echo_n "checking for suffix of object files... " >&6; }
3623 < if test "${ac_cv_objext+set}" = set; then :
3623 > if ${ac_cv_objext+:} false; then :
3624    $as_echo_n "(cached) " >&6
3625   else
3626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3660 | sed 's/^/| /' conftest.$ac_ext >&5
3660  
3661   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 < as_fn_error "cannot compute suffix of object files: cannot compile
3664 < See \`config.log' for more details." "$LINENO" 5; }
3663 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3664 > See \`config.log' for more details" "$LINENO" 5; }
3665   fi
3666   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667   fi
# Line 3752 | Line 3671 | OBJEXT=$ac_cv_objext
3671   ac_objext=$OBJEXT
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3673   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3674 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3674 > if ${ac_cv_c_compiler_gnu+:} false; then :
3675    $as_echo_n "(cached) " >&6
3676   else
3677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3708 | ac_test_CFLAGS=${CFLAGS+set}
3708   ac_save_CFLAGS=$CFLAGS
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3710   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3711 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3711 > if ${ac_cv_prog_cc_g+:} false; then :
3712    $as_echo_n "(cached) " >&6
3713   else
3714    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3786 | else
3786   fi
3787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3788   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3789 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3789 > if ${ac_cv_prog_cc_c89+:} false; then :
3790    $as_echo_n "(cached) " >&6
3791   else
3792    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3795 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3795   /* end confdefs.h.  */
3796   #include <stdarg.h>
3797   #include <stdio.h>
3798 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3798 > struct stat;
3799   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3800   struct buf { int x; };
3801   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3880   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882  
3883 + ac_ext=c
3884 + ac_cpp='$CPP $CPPFLAGS'
3885 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3889 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3890 + if ${am_cv_prog_cc_c_o+:} false; then :
3891 +  $as_echo_n "(cached) " >&6
3892 + else
3893 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 + /* end confdefs.h.  */
3895 +
3896 + int
3897 + main ()
3898 + {
3899 +
3900 +  ;
3901 +  return 0;
3902 + }
3903 + _ACEOF
3904 +  # Make sure it works both with $CC and with simple cc.
3905 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3906 +  # compilers refuse to overwrite an existing .o file with -o,
3907 +  # though they will create one.
3908 +  am_cv_prog_cc_c_o=yes
3909 +  for am_i in 1 2; do
3910 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3911 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3912 +   ac_status=$?
3913 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 +   (exit $ac_status); } \
3915 +         && test -f conftest2.$ac_objext; then
3916 +      : OK
3917 +    else
3918 +      am_cv_prog_cc_c_o=no
3919 +      break
3920 +    fi
3921 +  done
3922 +  rm -f core conftest*
3923 +  unset am_i
3924 + fi
3925 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3926 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3927 + if test "$am_cv_prog_cc_c_o" != yes; then
3928 +   # Losing compiler, so override with the script.
3929 +   # FIXME: It is wrong to rewrite CC.
3930 +   # But if we don't then we get into trouble of one sort or another.
3931 +   # A longer-term fix would be to have automake use am__CC in this case,
3932 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3933 +   CC="$am_aux_dir/compile $CC"
3934 + fi
3935 + ac_ext=c
3936 + ac_cpp='$CPP $CPPFLAGS'
3937 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940 +
3941 +
3942   depcc="$CC"   am_compiler_list=
3943  
3944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3945   $as_echo_n "checking dependency style of $depcc... " >&6; }
3946 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3946 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3947    $as_echo_n "(cached) " >&6
3948   else
3949    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3950    # We make a subdir and do the tests there.  Otherwise we can end up
3951    # making bogus files that we don't know about and never remove.  For
3952    # instance it was reported that on HP-UX the gcc test will end up
3953 <  # making a dummy file named `D' -- because `-MD' means `put the output
3954 <  # in D'.
3953 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3954 >  # in D".
3955 >  rm -rf conftest.dir
3956    mkdir conftest.dir
3957    # Copy depcomp to subdir because otherwise we won't find it if we're
3958    # using a relative directory.
# Line 4008 | Line 3986 | else
3986      : > sub/conftest.c
3987      for i in 1 2 3 4 5 6; do
3988        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3989 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3990 <      # Solaris 8's {/usr,}/bin/sh.
3991 <      touch sub/conftst$i.h
3989 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3990 >      # Solaris 10 /bin/sh.
3991 >      echo '/* dummy */' > sub/conftst$i.h
3992      done
3993      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3994  
3995 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3995 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3996      # mode.  It turns out that the SunPro C++ compiler does not properly
3997 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3998 <    # versions had trouble with output in subdirs
3997 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3998 >    # versions had trouble with output in subdirs.
3999      am__obj=sub/conftest.${OBJEXT-o}
4000      am__minus_obj="-o $am__obj"
4001      case $depmode in
# Line 4026 | Line 4004 | else
4004        test "$am__universal" = false || continue
4005        ;;
4006      nosideeffect)
4007 <      # after this tag, mechanisms are not by side-effect, so they'll
4008 <      # only be used when explicitly requested
4007 >      # After this tag, mechanisms are not by side-effect, so they'll
4008 >      # only be used when explicitly requested.
4009        if test "x$enable_dependency_tracking" = xyes; then
4010          continue
4011        else
4012          break
4013        fi
4014        ;;
4015 <    msvisualcpp | msvcmsys)
4016 <      # This compiler won't grok `-c -o', but also, the minuso test has
4015 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4016 >      # This compiler won't grok '-c -o', but also, the minuso test has
4017        # not run yet.  These depmodes are late enough in the game, and
4018        # so weak that their functioning should not be impacted.
4019        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4069 | fi
4069  
4070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4071   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4072 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4072 > if ${ac_cv_prog_cc_c99+:} false; then :
4073    $as_echo_n "(cached) " >&6
4074   else
4075    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4213 | main ()
4213    return 0;
4214   }
4215   _ACEOF
4216 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4216 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4217   do
4218    CC="$ac_save_CC $ac_arg"
4219    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4245 | fi
4245  
4246  
4247   if test "$ac_cv_prog_cc_c99" = "no"; then :
4248 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4248 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4249   fi
4250   for ac_prog in 'bison -y' byacc
4251   do
# Line 4275 | Line 4253 | do
4253   set dummy $ac_prog; ac_word=$2
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255   $as_echo_n "checking for $ac_word... " >&6; }
4256 < if test "${ac_cv_prog_YACC+set}" = set; then :
4256 > if ${ac_cv_prog_YACC+:} false; then :
4257    $as_echo_n "(cached) " >&6
4258   else
4259    if test -n "$YACC"; then
# Line 4287 | Line 4265 | do
4265    IFS=$as_save_IFS
4266    test -z "$as_dir" && as_dir=.
4267      for ac_exec_ext in '' $ac_executable_extensions; do
4268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269      ac_cv_prog_YACC="$ac_prog"
4270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271      break 2
# Line 4319 | Line 4297 | do
4297   set dummy $ac_prog; ac_word=$2
4298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299   $as_echo_n "checking for $ac_word... " >&6; }
4300 < if test "${ac_cv_prog_LEX+set}" = set; then :
4300 > if ${ac_cv_prog_LEX+:} false; then :
4301    $as_echo_n "(cached) " >&6
4302   else
4303    if test -n "$LEX"; then
# Line 4331 | Line 4309 | do
4309    IFS=$as_save_IFS
4310    test -z "$as_dir" && as_dir=.
4311      for ac_exec_ext in '' $ac_executable_extensions; do
4312 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4312 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313      ac_cv_prog_LEX="$ac_prog"
4314      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315      break 2
# Line 4363 | Line 4341 | a { ECHO; }
4341   b { REJECT; }
4342   c { yymore (); }
4343   d { yyless (1); }
4344 < e { yyless (input () != 0); }
4344 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4345 >    yyless ((input () != 0)); }
4346   f { unput (yytext[0]); }
4347   . { BEGIN INITIAL; }
4348   %%
# Line 4389 | Line 4368 | $as_echo "$ac_try_echo"; } >&5
4368    test $ac_status = 0; }
4369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4370   $as_echo_n "checking lex output file root... " >&6; }
4371 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4371 > if ${ac_cv_prog_lex_root+:} false; then :
4372    $as_echo_n "(cached) " >&6
4373   else
4374  
# Line 4398 | Line 4377 | if test -f lex.yy.c; then
4377   elif test -f lexyy.c; then
4378    ac_cv_prog_lex_root=lexyy
4379   else
4380 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4380 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4381   fi
4382   fi
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4387 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4387   if test -z "${LEXLIB+set}"; then
4388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4389   $as_echo_n "checking lex library... " >&6; }
4390 < if test "${ac_cv_lib_lex+set}" = set; then :
4390 > if ${ac_cv_lib_lex+:} false; then :
4391    $as_echo_n "(cached) " >&6
4392   else
4393  
# Line 4438 | Line 4417 | fi
4417  
4418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4419   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4420 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4420 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4421    $as_echo_n "(cached) " >&6
4422   else
4423    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4428 | ac_save_LIBS=$LIBS
4428   LIBS="$LEXLIB $ac_save_LIBS"
4429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430   /* end confdefs.h.  */
4431 < #define YYTEXT_POINTER 1
4431 >
4432 >  #define YYTEXT_POINTER 1
4433   `cat $LEX_OUTPUT_ROOT.c`
4434   _ACEOF
4435   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4463 | fi
4463  
4464  
4465  
4486
4466   case `pwd` in
4467    *\ * | *\     *)
4468      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4471 | esac
4471  
4472  
4473  
4474 < macro_version='2.2.6b'
4475 < macro_revision='1.3017'
4474 > macro_version='2.4.2'
4475 > macro_revision='1.3337'
4476  
4477  
4478  
# Line 4511 | Line 4490 | ltmain="$ac_aux_dir/ltmain.sh"
4490  
4491   # Make sure we can run config.sub.
4492   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4493 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4493 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4494  
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4496   $as_echo_n "checking build system type... " >&6; }
4497 < if test "${ac_cv_build+set}" = set; then :
4497 > if ${ac_cv_build+:} false; then :
4498    $as_echo_n "(cached) " >&6
4499   else
4500    ac_build_alias=$build_alias
4501   test "x$ac_build_alias" = x &&
4502    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4503   test "x$ac_build_alias" = x &&
4504 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4504 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4505   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4506 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4506 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4507  
4508   fi
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4510   $as_echo "$ac_cv_build" >&6; }
4511   case $ac_cv_build in
4512   *-*-*) ;;
4513 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4513 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4514   esac
4515   build=$ac_cv_build
4516   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4528 | case $build_os in *\ *) build_os=`echo "
4528  
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4530   $as_echo_n "checking host system type... " >&6; }
4531 < if test "${ac_cv_host+set}" = set; then :
4531 > if ${ac_cv_host+:} false; then :
4532    $as_echo_n "(cached) " >&6
4533   else
4534    if test "x$host_alias" = x; then
4535    ac_cv_host=$ac_cv_build
4536   else
4537    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4538 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4538 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4539   fi
4540  
4541   fi
# Line 4564 | Line 4543 | fi
4543   $as_echo "$ac_cv_host" >&6; }
4544   case $ac_cv_host in
4545   *-*-*) ;;
4546 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4546 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4547   esac
4548   host=$ac_cv_host
4549   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4559 | IFS=$ac_save_IFS
4559   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4560  
4561  
4562 + # Backslashify metacharacters that are still active within
4563 + # double-quoted strings.
4564 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4565 +
4566 + # Same as above, but do not quote variable references.
4567 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4568 +
4569 + # Sed substitution to delay expansion of an escaped shell variable in a
4570 + # double_quote_subst'ed string.
4571 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4572 +
4573 + # Sed substitution to delay expansion of an escaped single quote.
4574 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4575 +
4576 + # Sed substitution to avoid accidental globbing in evaled expressions
4577 + no_glob_subst='s/\*/\\\*/g'
4578 +
4579 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4580 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4581 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4582 +
4583 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4584 + $as_echo_n "checking how to print strings... " >&6; }
4585 + # Test print first, because it will be a builtin if present.
4586 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4587 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4588 +  ECHO='print -r --'
4589 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4590 +  ECHO='printf %s\n'
4591 + else
4592 +  # Use this function as a fallback that always works.
4593 +  func_fallback_echo ()
4594 +  {
4595 +    eval 'cat <<_LTECHO_EOF
4596 + $1
4597 + _LTECHO_EOF'
4598 +  }
4599 +  ECHO='func_fallback_echo'
4600 + fi
4601 +
4602 + # func_echo_all arg...
4603 + # Invoke $ECHO with all args, space-separated.
4604 + func_echo_all ()
4605 + {
4606 +    $ECHO ""
4607 + }
4608 +
4609 + case "$ECHO" in
4610 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4611 + $as_echo "printf" >&6; } ;;
4612 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4613 + $as_echo "print -r" >&6; } ;;
4614 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4615 + $as_echo "cat" >&6; } ;;
4616 + esac
4617 +
4618 +
4619 +
4620 +
4621 +
4622 +
4623 +
4624 +
4625 +
4626 +
4627 +
4628 +
4629 +
4630 +
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4632   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4633 < if test "${ac_cv_path_SED+set}" = set; then :
4633 > if ${ac_cv_path_SED+:} false; then :
4634    $as_echo_n "(cached) " >&6
4635   else
4636              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4650 | do
4650      for ac_prog in sed gsed; do
4651      for ac_exec_ext in '' $ac_executable_extensions; do
4652        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4653 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4653 >      as_fn_executable_p "$ac_path_SED" || continue
4654   # Check for GNU ac_path_SED and select it if it is found.
4655    # Check for GNU $ac_path_SED
4656   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4685 | esac
4685    done
4686   IFS=$as_save_IFS
4687    if test -z "$ac_cv_path_SED"; then
4688 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4688 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4689    fi
4690   else
4691    ac_cv_path_SED=$SED
# Line 4664 | Line 4712 | Xsed="$SED -e 1s/^X//"
4712  
4713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4714   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4715 < if test "${ac_cv_path_GREP+set}" = set; then :
4715 > if ${ac_cv_path_GREP+:} false; then :
4716    $as_echo_n "(cached) " >&6
4717   else
4718    if test -z "$GREP"; then
# Line 4678 | Line 4726 | do
4726      for ac_prog in grep ggrep; do
4727      for ac_exec_ext in '' $ac_executable_extensions; do
4728        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4729 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4729 >      as_fn_executable_p "$ac_path_GREP" || continue
4730   # Check for GNU ac_path_GREP and select it if it is found.
4731    # Check for GNU $ac_path_GREP
4732   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4761 | esac
4761    done
4762   IFS=$as_save_IFS
4763    if test -z "$ac_cv_path_GREP"; then
4764 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4764 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4765    fi
4766   else
4767    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4775 | $as_echo "$ac_cv_path_GREP" >&6; }
4775  
4776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4777   $as_echo_n "checking for egrep... " >&6; }
4778 < if test "${ac_cv_path_EGREP+set}" = set; then :
4778 > if ${ac_cv_path_EGREP+:} false; then :
4779    $as_echo_n "(cached) " >&6
4780   else
4781    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4792 | do
4792      for ac_prog in egrep; do
4793      for ac_exec_ext in '' $ac_executable_extensions; do
4794        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4795 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4795 >      as_fn_executable_p "$ac_path_EGREP" || continue
4796   # Check for GNU ac_path_EGREP and select it if it is found.
4797    # Check for GNU $ac_path_EGREP
4798   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4827 | esac
4827    done
4828   IFS=$as_save_IFS
4829    if test -z "$ac_cv_path_EGREP"; then
4830 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4830 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4831    fi
4832   else
4833    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4842 | $as_echo "$ac_cv_path_EGREP" >&6; }
4842  
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4844   $as_echo_n "checking for fgrep... " >&6; }
4845 < if test "${ac_cv_path_FGREP+set}" = set; then :
4845 > if ${ac_cv_path_FGREP+:} false; then :
4846    $as_echo_n "(cached) " >&6
4847   else
4848    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4859 | do
4859      for ac_prog in fgrep; do
4860      for ac_exec_ext in '' $ac_executable_extensions; do
4861        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4862 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4862 >      as_fn_executable_p "$ac_path_FGREP" || continue
4863   # Check for GNU ac_path_FGREP and select it if it is found.
4864    # Check for GNU $ac_path_FGREP
4865   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4894 | esac
4894    done
4895   IFS=$as_save_IFS
4896    if test -z "$ac_cv_path_FGREP"; then
4897 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4897 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4898    fi
4899   else
4900    ac_cv_path_FGREP=$FGREP
# Line 4925 | Line 4973 | else
4973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4974   $as_echo_n "checking for non-GNU ld... " >&6; }
4975   fi
4976 < if test "${lt_cv_path_LD+set}" = set; then :
4976 > if ${lt_cv_path_LD+:} false; then :
4977    $as_echo_n "(cached) " >&6
4978   else
4979    if test -z "$LD"; then
# Line 4962 | Line 5010 | else
5010    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011   $as_echo "no" >&6; }
5012   fi
5013 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5013 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5015   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5016 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5016 > if ${lt_cv_prog_gnu_ld+:} false; then :
5017    $as_echo_n "(cached) " >&6
5018   else
5019    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 5040 | with_gnu_ld=$lt_cv_prog_gnu_ld
5040  
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5042   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5043 < if test "${lt_cv_path_NM+set}" = set; then :
5043 > if ${lt_cv_path_NM+:} false; then :
5044    $as_echo_n "(cached) " >&6
5045   else
5046    if test -n "$NM"; then
# Line 5045 | Line 5093 | if test "$lt_cv_path_NM" != "no"; then
5093    NM="$lt_cv_path_NM"
5094   else
5095    # Didn't find any BSD compatible name lister, look for dumpbin.
5096 <  if test -n "$ac_tool_prefix"; then
5097 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5096 >  if test -n "$DUMPBIN"; then :
5097 >    # Let the user override the test.
5098 >  else
5099 >    if test -n "$ac_tool_prefix"; then
5100 >  for ac_prog in dumpbin "link -dump"
5101    do
5102      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5103   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105   $as_echo_n "checking for $ac_word... " >&6; }
5106 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5106 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5107    $as_echo_n "(cached) " >&6
5108   else
5109    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5115 | do
5115    IFS=$as_save_IFS
5116    test -z "$as_dir" && as_dir=.
5117      for ac_exec_ext in '' $ac_executable_extensions; do
5118 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5120      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121      break 2
# Line 5090 | Line 5141 | fi
5141   fi
5142   if test -z "$DUMPBIN"; then
5143    ac_ct_DUMPBIN=$DUMPBIN
5144 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5144 >  for ac_prog in dumpbin "link -dump"
5145   do
5146    # Extract the first word of "$ac_prog", so it can be a program name with args.
5147   set dummy $ac_prog; ac_word=$2
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149   $as_echo_n "checking for $ac_word... " >&6; }
5150 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5150 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5151    $as_echo_n "(cached) " >&6
5152   else
5153    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5159 | do
5159    IFS=$as_save_IFS
5160    test -z "$as_dir" && as_dir=.
5161      for ac_exec_ext in '' $ac_executable_extensions; do
5162 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5164      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165      break 2
# Line 5145 | Line 5196 | esac
5196    fi
5197   fi
5198  
5199 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5200 +    *COFF*)
5201 +      DUMPBIN="$DUMPBIN -symbols"
5202 +      ;;
5203 +    *)
5204 +      DUMPBIN=:
5205 +      ;;
5206 +    esac
5207 +  fi
5208  
5209    if test "$DUMPBIN" != ":"; then
5210      NM="$DUMPBIN"
# Line 5159 | Line 5219 | test -z "$NM" && NM=nm
5219  
5220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5221   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5222 < if test "${lt_cv_nm_interface+set}" = set; then :
5222 > if ${lt_cv_nm_interface+:} false; then :
5223    $as_echo_n "(cached) " >&6
5224   else
5225    lt_cv_nm_interface="BSD nm"
5226    echo "int some_variable = 0;" > conftest.$ac_ext
5227 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5227 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5228    (eval "$ac_compile" 2>conftest.err)
5229    cat conftest.err >&5
5230 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5230 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5231    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5232    cat conftest.err >&5
5233 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5233 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5234    cat conftest.out >&5
5235    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5236      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5254 | fi
5254   # find the maximum length of command line arguments
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5256   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5257 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5257 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5258    $as_echo_n "(cached) " >&6
5259   else
5260      i=0
# Line 5227 | Line 5287 | else
5287      lt_cv_sys_max_cmd_len=8192;
5288      ;;
5289  
5290 +  mint*)
5291 +    # On MiNT this can take a long time and run out of memory.
5292 +    lt_cv_sys_max_cmd_len=8192;
5293 +    ;;
5294 +
5295    amigaos*)
5296      # On AmigaOS with pdksh, this test takes hours, literally.
5297      # So we just punt and use a minimum line length of 8192.
# Line 5252 | Line 5317 | else
5317      lt_cv_sys_max_cmd_len=196608
5318      ;;
5319  
5320 +  os2*)
5321 +    # The test takes a long time on OS/2.
5322 +    lt_cv_sys_max_cmd_len=8192
5323 +    ;;
5324 +
5325    osf*)
5326      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5327      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5291 | Line 5361 | else
5361        # If test is not a shell built-in, we'll probably end up computing a
5362        # maximum length that is only half of the actual maximum length, but
5363        # we can't tell.
5364 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5365 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5364 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5365 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5366                test $i != 17 # 1/2 MB should be enough
5367        do
5368          i=`expr $i + 1`
# Line 5334 | Line 5404 | $as_echo_n "checking whether the shell u
5404   # Try some XSI features
5405   xsi_shell=no
5406   ( _lt_dummy="a/b/c"
5407 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5408 <      = c,a/b,, \
5407 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5408 >      = c,a/b,b/c, \
5409      && eval 'test $(( 1 + 1 )) -eq 2 \
5410      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5411    && xsi_shell=yes
# Line 5384 | Line 5454 | esac
5454  
5455  
5456  
5457 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5458 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5459 + if ${lt_cv_to_host_file_cmd+:} false; then :
5460 +  $as_echo_n "(cached) " >&6
5461 + else
5462 +  case $host in
5463 +  *-*-mingw* )
5464 +    case $build in
5465 +      *-*-mingw* ) # actually msys
5466 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5467 +        ;;
5468 +      *-*-cygwin* )
5469 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5470 +        ;;
5471 +      * ) # otherwise, assume *nix
5472 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5473 +        ;;
5474 +    esac
5475 +    ;;
5476 +  *-*-cygwin* )
5477 +    case $build in
5478 +      *-*-mingw* ) # actually msys
5479 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5480 +        ;;
5481 +      *-*-cygwin* )
5482 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5483 +        ;;
5484 +      * ) # otherwise, assume *nix
5485 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5486 +        ;;
5487 +    esac
5488 +    ;;
5489 +  * ) # unhandled hosts (and "normal" native builds)
5490 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5491 +    ;;
5492 + esac
5493 +
5494 + fi
5495 +
5496 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5498 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5499 +
5500 +
5501 +
5502 +
5503 +
5504 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5505 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5506 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5507 +  $as_echo_n "(cached) " >&6
5508 + else
5509 +  #assume ordinary cross tools, or native build.
5510 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5511 + case $host in
5512 +  *-*-mingw* )
5513 +    case $build in
5514 +      *-*-mingw* ) # actually msys
5515 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5516 +        ;;
5517 +    esac
5518 +    ;;
5519 + esac
5520 +
5521 + fi
5522 +
5523 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5524 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5525 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5526 +
5527 +
5528 +
5529 +
5530 +
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5532   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5533 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5533 > if ${lt_cv_ld_reload_flag+:} false; then :
5534    $as_echo_n "(cached) " >&6
5535   else
5536    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5544 | case $reload_flag in
5544   esac
5545   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5546   case $host_os in
5547 +  cygwin* | mingw* | pw32* | cegcc*)
5548 +    if test "$GCC" != yes; then
5549 +      reload_cmds=false
5550 +    fi
5551 +    ;;
5552    darwin*)
5553      if test "$GCC" = yes; then
5554        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5422 | Line 5571 | if test -n "$ac_tool_prefix"; then
5571   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573   $as_echo_n "checking for $ac_word... " >&6; }
5574 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5574 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5575    $as_echo_n "(cached) " >&6
5576   else
5577    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5583 | do
5583    IFS=$as_save_IFS
5584    test -z "$as_dir" && as_dir=.
5585      for ac_exec_ext in '' $ac_executable_extensions; do
5586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589      break 2
# Line 5462 | Line 5611 | if test -z "$ac_cv_prog_OBJDUMP"; then
5611   set dummy objdump; ac_word=$2
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613   $as_echo_n "checking for $ac_word... " >&6; }
5614 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5614 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5615    $as_echo_n "(cached) " >&6
5616   else
5617    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5623 | do
5623    IFS=$as_save_IFS
5624    test -z "$as_dir" && as_dir=.
5625      for ac_exec_ext in '' $ac_executable_extensions; do
5626 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5628      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629      break 2
# Line 5521 | Line 5670 | test -z "$OBJDUMP" && OBJDUMP=objdump
5670  
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5672   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5673 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5673 > if ${lt_cv_deplibs_check_method+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5563 | Line 5712 | mingw* | pw32*)
5712    # Base MSYS/MinGW do not provide the 'file' command needed by
5713    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5714    # unless we find 'file', for example because we are cross-compiling.
5715 <  if ( file / ) >/dev/null 2>&1; then
5715 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5716 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5717      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5718      lt_cv_file_magic_cmd='func_win32_libid'
5719    else
5720 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5720 >    # Keep this pattern in sync with the one in func_win32_libid.
5721 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5722      lt_cv_file_magic_cmd='$OBJDUMP -f'
5723    fi
5724    ;;
5725  
5726 < cegcc)
5726 > cegcc*)
5727    # use the weaker test based on 'objdump'. See mingw*.
5728    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5729    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5602 | Line 5753 | gnu*)
5753    lt_cv_deplibs_check_method=pass_all
5754    ;;
5755  
5756 + haiku*)
5757 +  lt_cv_deplibs_check_method=pass_all
5758 +  ;;
5759 +
5760   hpux10.20* | hpux11*)
5761    lt_cv_file_magic_cmd=/usr/bin/file
5762    case $host_cpu in
# Line 5610 | Line 5765 | hpux10.20* | hpux11*)
5765      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5766      ;;
5767    hppa*64*)
5768 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5768 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5769      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5770      ;;
5771    *)
5772 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5772 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5773      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774      ;;
5775    esac
# Line 5635 | Line 5790 | irix5* | irix6* | nonstopux*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < # This must be Linux ELF.
5794 < linux* | k*bsd*-gnu)
5793 > # This must be glibc/ELF.
5794 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5795    lt_cv_deplibs_check_method=pass_all
5796    ;;
5797  
# Line 5717 | Line 5872 | esac
5872   fi
5873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5874   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5875 +
5876 + file_magic_glob=
5877 + want_nocaseglob=no
5878 + if test "$build" = "$host"; then
5879 +  case $host_os in
5880 +  mingw* | pw32*)
5881 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5882 +      want_nocaseglob=yes
5883 +    else
5884 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5885 +    fi
5886 +    ;;
5887 +  esac
5888 + fi
5889 +
5890   file_magic_cmd=$lt_cv_file_magic_cmd
5891   deplibs_check_method=$lt_cv_deplibs_check_method
5892   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5902 | test -z "$deplibs_check_method" && depli
5902  
5903  
5904  
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915 + if test -n "$ac_tool_prefix"; then
5916 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5917 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 + $as_echo_n "checking for $ac_word... " >&6; }
5920 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5921 +  $as_echo_n "(cached) " >&6
5922 + else
5923 +  if test -n "$DLLTOOL"; then
5924 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5925 + else
5926 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 + for as_dir in $PATH
5928 + do
5929 +  IFS=$as_save_IFS
5930 +  test -z "$as_dir" && as_dir=.
5931 +    for ac_exec_ext in '' $ac_executable_extensions; do
5932 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5934 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 +    break 2
5936 +  fi
5937 + done
5938 +  done
5939 + IFS=$as_save_IFS
5940 +
5941 + fi
5942 + fi
5943 + DLLTOOL=$ac_cv_prog_DLLTOOL
5944 + if test -n "$DLLTOOL"; then
5945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5946 + $as_echo "$DLLTOOL" >&6; }
5947 + else
5948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 + $as_echo "no" >&6; }
5950 + fi
5951 +
5952 +
5953 + fi
5954 + if test -z "$ac_cv_prog_DLLTOOL"; then
5955 +  ac_ct_DLLTOOL=$DLLTOOL
5956 +  # Extract the first word of "dlltool", so it can be a program name with args.
5957 + set dummy dlltool; ac_word=$2
5958 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 + $as_echo_n "checking for $ac_word... " >&6; }
5960 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5961 +  $as_echo_n "(cached) " >&6
5962 + else
5963 +  if test -n "$ac_ct_DLLTOOL"; then
5964 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5965 + else
5966 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 + for as_dir in $PATH
5968 + do
5969 +  IFS=$as_save_IFS
5970 +  test -z "$as_dir" && as_dir=.
5971 +    for ac_exec_ext in '' $ac_executable_extensions; do
5972 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5974 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 +    break 2
5976 +  fi
5977 + done
5978 +  done
5979 + IFS=$as_save_IFS
5980 +
5981 + fi
5982 + fi
5983 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5984 + if test -n "$ac_ct_DLLTOOL"; then
5985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5986 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5987 + else
5988 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 + $as_echo "no" >&6; }
5990 + fi
5991 +
5992 +  if test "x$ac_ct_DLLTOOL" = x; then
5993 +    DLLTOOL="false"
5994 +  else
5995 +    case $cross_compiling:$ac_tool_warned in
5996 + yes:)
5997 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 + ac_tool_warned=yes ;;
6000 + esac
6001 +    DLLTOOL=$ac_ct_DLLTOOL
6002 +  fi
6003 + else
6004 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6005 + fi
6006 +
6007 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6008 +
6009 +
6010 +
6011 +
6012 +
6013 +
6014 +
6015 +
6016 +
6017 +
6018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6019 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6020 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6021 +  $as_echo_n "(cached) " >&6
6022 + else
6023 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6024 +
6025 + case $host_os in
6026 + cygwin* | mingw* | pw32* | cegcc*)
6027 +  # two different shell functions defined in ltmain.sh
6028 +  # decide which to use based on capabilities of $DLLTOOL
6029 +  case `$DLLTOOL --help 2>&1` in
6030 +  *--identify-strict*)
6031 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6032 +    ;;
6033 +  *)
6034 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6035 +    ;;
6036 +  esac
6037 +  ;;
6038 + *)
6039 +  # fallback: assume linklib IS sharedlib
6040 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6041 +  ;;
6042 + esac
6043 +
6044 + fi
6045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6046 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6047 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6048 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6049 +
6050 +
6051 +
6052 +
6053 +
6054 +
6055 +
6056   if test -n "$ac_tool_prefix"; then
6057 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6058 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6057 >  for ac_prog in ar
6058 >  do
6059 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062   $as_echo_n "checking for $ac_word... " >&6; }
6063 < if test "${ac_cv_prog_AR+set}" = set; then :
6063 > if ${ac_cv_prog_AR+:} false; then :
6064    $as_echo_n "(cached) " >&6
6065   else
6066    if test -n "$AR"; then
# Line 5749 | Line 6072 | do
6072    IFS=$as_save_IFS
6073    test -z "$as_dir" && as_dir=.
6074      for ac_exec_ext in '' $ac_executable_extensions; do
6075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078      break 2
6079    fi
# Line 5770 | Line 6093 | $as_echo "no" >&6; }
6093   fi
6094  
6095  
6096 +    test -n "$AR" && break
6097 +  done
6098   fi
6099 < if test -z "$ac_cv_prog_AR"; then
6099 > if test -z "$AR"; then
6100    ac_ct_AR=$AR
6101 <  # Extract the first word of "ar", so it can be a program name with args.
6102 < set dummy ar; ac_word=$2
6101 >  for ac_prog in ar
6102 > do
6103 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 > set dummy $ac_prog; ac_word=$2
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106   $as_echo_n "checking for $ac_word... " >&6; }
6107 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6107 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6108    $as_echo_n "(cached) " >&6
6109   else
6110    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6116 | do
6116    IFS=$as_save_IFS
6117    test -z "$as_dir" && as_dir=.
6118      for ac_exec_ext in '' $ac_executable_extensions; do
6119 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 <    ac_cv_prog_ac_ct_AR="ar"
6119 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6121      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122      break 2
6123    fi
# Line 5809 | Line 6136 | else
6136   $as_echo "no" >&6; }
6137   fi
6138  
6139 +
6140 +  test -n "$ac_ct_AR" && break
6141 + done
6142 +
6143    if test "x$ac_ct_AR" = x; then
6144      AR="false"
6145    else
# Line 5820 | Line 6151 | ac_tool_warned=yes ;;
6151   esac
6152      AR=$ac_ct_AR
6153    fi
5823 else
5824  AR="$ac_cv_prog_AR"
6154   fi
6155  
6156 < test -z "$AR" && AR=ar
6157 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6156 > : ${AR=ar}
6157 > : ${AR_FLAGS=cru}
6158  
6159  
6160  
# Line 5837 | Line 6166 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6166  
6167  
6168  
6169 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6170 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6171 + if ${lt_cv_ar_at_file+:} false; then :
6172 +  $as_echo_n "(cached) " >&6
6173 + else
6174 +  lt_cv_ar_at_file=no
6175 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 + /* end confdefs.h.  */
6177 +
6178 + int
6179 + main ()
6180 + {
6181 +
6182 +  ;
6183 +  return 0;
6184 + }
6185 + _ACEOF
6186 + if ac_fn_c_try_compile "$LINENO"; then :
6187 +  echo conftest.$ac_objext > conftest.lst
6188 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6189 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6190 +  (eval $lt_ar_try) 2>&5
6191 +  ac_status=$?
6192 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193 +  test $ac_status = 0; }
6194 +      if test "$ac_status" -eq 0; then
6195 +        # Ensure the archiver fails upon bogus file names.
6196 +        rm -f conftest.$ac_objext libconftest.a
6197 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6198 +  (eval $lt_ar_try) 2>&5
6199 +  ac_status=$?
6200 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6201 +  test $ac_status = 0; }
6202 +        if test "$ac_status" -ne 0; then
6203 +          lt_cv_ar_at_file=@
6204 +        fi
6205 +      fi
6206 +      rm -f conftest.* libconftest.a
6207 +
6208 + fi
6209 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 +
6211 + fi
6212 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6213 + $as_echo "$lt_cv_ar_at_file" >&6; }
6214 +
6215 + if test "x$lt_cv_ar_at_file" = xno; then
6216 +  archiver_list_spec=
6217 + else
6218 +  archiver_list_spec=$lt_cv_ar_at_file
6219 + fi
6220 +
6221 +
6222 +
6223 +
6224 +
6225 +
6226 +
6227   if test -n "$ac_tool_prefix"; then
6228    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6229   set dummy ${ac_tool_prefix}strip; ac_word=$2
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231   $as_echo_n "checking for $ac_word... " >&6; }
6232 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6232 > if ${ac_cv_prog_STRIP+:} false; then :
6233    $as_echo_n "(cached) " >&6
6234   else
6235    if test -n "$STRIP"; then
# Line 5854 | Line 6241 | do
6241    IFS=$as_save_IFS
6242    test -z "$as_dir" && as_dir=.
6243      for ac_exec_ext in '' $ac_executable_extensions; do
6244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247      break 2
# Line 5882 | Line 6269 | if test -z "$ac_cv_prog_STRIP"; then
6269   set dummy strip; ac_word=$2
6270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271   $as_echo_n "checking for $ac_word... " >&6; }
6272 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6272 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6273    $as_echo_n "(cached) " >&6
6274   else
6275    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6281 | do
6281    IFS=$as_save_IFS
6282    test -z "$as_dir" && as_dir=.
6283      for ac_exec_ext in '' $ac_executable_extensions; do
6284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285      ac_cv_prog_ac_ct_STRIP="strip"
6286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287      break 2
# Line 5941 | Line 6328 | if test -n "$ac_tool_prefix"; then
6328   set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then :
6331 > if ${ac_cv_prog_RANLIB+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$RANLIB"; then
# Line 5953 | 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_RANLIB="${ac_tool_prefix}ranlib"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5981 | Line 6368 | if test -z "$ac_cv_prog_RANLIB"; then
6368   set dummy ranlib; ac_word=$2
6369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370   $as_echo_n "checking for $ac_word... " >&6; }
6371 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6371 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6372    $as_echo_n "(cached) " >&6
6373   else
6374    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6380 | do
6380    IFS=$as_save_IFS
6381    test -z "$as_dir" && as_dir=.
6382      for ac_exec_ext in '' $ac_executable_extensions; do
6383 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6384      ac_cv_prog_ac_ct_RANLIB="ranlib"
6385      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386      break 2
# Line 6043 | Line 6430 | old_postuninstall_cmds=
6430   if test -n "$RANLIB"; then
6431    case $host_os in
6432    openbsd*)
6433 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6433 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6434      ;;
6435    *)
6436 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6436 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6437      ;;
6438    esac
6439 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6439 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6440   fi
6441  
6442 + case $host_os in
6443 +  darwin*)
6444 +    lock_old_archive_extraction=yes ;;
6445 +  *)
6446 +    lock_old_archive_extraction=no ;;
6447 + esac
6448 +
6449 +
6450 +
6451 +
6452 +
6453 +
6454  
6455  
6456  
# Line 6098 | Line 6497 | compiler=$CC
6497   # Check for command to grab the raw symbol name followed by C symbol from nm.
6498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6499   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6500 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6500 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6501    $as_echo_n "(cached) " >&6
6502   else
6503  
# Line 6159 | Line 6558 | esac
6558   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6559  
6560   # Transform an extracted symbol line into symbol name and symbol address
6561 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 < 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'"
6561 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 > 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'"
6563  
6564   # Handle CRLF in mingw tool chain
6565   opt_cr=
# Line 6184 | Line 6583 | for ac_symprfx in "" "_"; do
6583      # which start with @ or ?.
6584      lt_cv_sys_global_symbol_pipe="$AWK '"\
6585   "     {last_section=section; section=\$ 3};"\
6586 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6587   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6588   "     \$ 0!~/External *\|/{next};"\
6589   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6196 | Line 6596 | for ac_symprfx in "" "_"; do
6596    else
6597      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6598    fi
6599 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6600  
6601    # Check to see that the pipe works correctly.
6602    pipe_works=no
# Line 6221 | Line 6622 | _LT_EOF
6622    test $ac_status = 0; }; then
6623      # Now try to grab the symbols.
6624      nlist=conftest.nm
6625 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6626 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6625 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6626 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6627    ac_status=$?
6628    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6638 | _LT_EOF
6638        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6639          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6640            cat <<_LT_EOF > conftest.$ac_ext
6641 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6642 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6643 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6644 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6645 + # define LT_DLSYM_CONST
6646 + #elif defined(__osf__)
6647 + /* This system does not cope well with relocations in const data.  */
6648 + # define LT_DLSYM_CONST
6649 + #else
6650 + # define LT_DLSYM_CONST const
6651 + #endif
6652 +
6653   #ifdef __cplusplus
6654   extern "C" {
6655   #endif
# Line 6248 | Line 6661 | _LT_EOF
6661            cat <<_LT_EOF >> conftest.$ac_ext
6662  
6663   /* The mapping between symbol names and symbols.  */
6664 < const struct {
6664 > LT_DLSYM_CONST struct {
6665    const char *name;
6666    void       *address;
6667   }
# Line 6274 | Line 6687 | static const void *lt_preloaded_setup()
6687   _LT_EOF
6688            # Now try linking the two files.
6689            mv conftest.$ac_objext conftstm.$ac_objext
6690 <          lt_save_LIBS="$LIBS"
6691 <          lt_save_CFLAGS="$CFLAGS"
6690 >          lt_globsym_save_LIBS=$LIBS
6691 >          lt_globsym_save_CFLAGS=$CFLAGS
6692            LIBS="conftstm.$ac_objext"
6693            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6694            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6285 | Line 6698 | _LT_EOF
6698    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6699              pipe_works=yes
6700            fi
6701 <          LIBS="$lt_save_LIBS"
6702 <          CFLAGS="$lt_save_CFLAGS"
6701 >          LIBS=$lt_globsym_save_LIBS
6702 >          CFLAGS=$lt_globsym_save_CFLAGS
6703          else
6704            echo "cannot find nm_test_func in $nlist" >&5
6705          fi
# Line 6323 | Line 6736 | else
6736   $as_echo "ok" >&6; }
6737   fi
6738  
6739 + # Response file support.
6740 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6741 +  nm_file_list_spec='@'
6742 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6743 +  nm_file_list_spec='@'
6744 + fi
6745 +
6746 +
6747  
6748  
6749  
# Line 6344 | Line 6765 | fi
6765  
6766  
6767  
6768 +
6769 +
6770 +
6771 +
6772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6773 + $as_echo_n "checking for sysroot... " >&6; }
6774 +
6775 + # Check whether --with-sysroot was given.
6776 + if test "${with_sysroot+set}" = set; then :
6777 +  withval=$with_sysroot;
6778 + else
6779 +  with_sysroot=no
6780 + fi
6781 +
6782 +
6783 + lt_sysroot=
6784 + case ${with_sysroot} in #(
6785 + yes)
6786 +   if test "$GCC" = yes; then
6787 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6788 +   fi
6789 +   ;; #(
6790 + /*)
6791 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6792 +   ;; #(
6793 + no|'')
6794 +   ;; #(
6795 + *)
6796 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6797 + $as_echo "${with_sysroot}" >&6; }
6798 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6799 +   ;;
6800 + esac
6801 +
6802 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6803 + $as_echo "${lt_sysroot:-no}" >&6; }
6804 +
6805 +
6806 +
6807 +
6808 +
6809   # Check whether --enable-libtool-lock was given.
6810   if test "${enable_libtool_lock+set}" = set; then :
6811    enableval=$enable_libtool_lock;
# Line 6375 | Line 6837 | ia64-*-hpux*)
6837    ;;
6838   *-*-irix6*)
6839    # Find out which ABI we are using.
6840 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6840 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6841    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6842    (eval $ac_compile) 2>&5
6843    ac_status=$?
# Line 6469 | Line 6931 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6931    CFLAGS="$CFLAGS -belf"
6932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6933   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6934 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6934 > if ${lt_cv_cc_needs_belf+:} false; then :
6935    $as_echo_n "(cached) " >&6
6936   else
6937    ac_ext=c
# Line 6510 | Line 6972 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6972      CFLAGS="$SAVE_CFLAGS"
6973    fi
6974    ;;
6975 < sparc*-*solaris*)
6975 > *-*solaris*)
6976    # Find out which ABI we are using.
6977    echo 'int i;' > conftest.$ac_ext
6978    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6521 | Line 6983 | sparc*-*solaris*)
6983      case `/usr/bin/file conftest.o` in
6984      *64-bit*)
6985        case $lt_cv_prog_gnu_ld in
6986 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6986 >      yes*)
6987 >        case $host in
6988 >        i?86-*-solaris*)
6989 >          LD="${LD-ld} -m elf_x86_64"
6990 >          ;;
6991 >        sparc*-*-solaris*)
6992 >          LD="${LD-ld} -m elf64_sparc"
6993 >          ;;
6994 >        esac
6995 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6996 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6997 >          LD="${LD-ld}_sol2"
6998 >        fi
6999 >        ;;
7000        *)
7001          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7002            LD="${LD-ld} -64"
# Line 6537 | Line 7012 | esac
7012  
7013   need_locks="$enable_libtool_lock"
7014  
7015 + if test -n "$ac_tool_prefix"; then
7016 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7017 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 + $as_echo_n "checking for $ac_word... " >&6; }
7020 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7021 +  $as_echo_n "(cached) " >&6
7022 + else
7023 +  if test -n "$MANIFEST_TOOL"; then
7024 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7025 + else
7026 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 + for as_dir in $PATH
7028 + do
7029 +  IFS=$as_save_IFS
7030 +  test -z "$as_dir" && as_dir=.
7031 +    for ac_exec_ext in '' $ac_executable_extensions; do
7032 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7034 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 +    break 2
7036 +  fi
7037 + done
7038 +  done
7039 + IFS=$as_save_IFS
7040 +
7041 + fi
7042 + fi
7043 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7044 + if test -n "$MANIFEST_TOOL"; then
7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7046 + $as_echo "$MANIFEST_TOOL" >&6; }
7047 + else
7048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 + $as_echo "no" >&6; }
7050 + fi
7051 +
7052 +
7053 + fi
7054 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7055 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7056 +  # Extract the first word of "mt", so it can be a program name with args.
7057 + set dummy mt; ac_word=$2
7058 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 + $as_echo_n "checking for $ac_word... " >&6; }
7060 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7061 +  $as_echo_n "(cached) " >&6
7062 + else
7063 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7064 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7065 + else
7066 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 + for as_dir in $PATH
7068 + do
7069 +  IFS=$as_save_IFS
7070 +  test -z "$as_dir" && as_dir=.
7071 +    for ac_exec_ext in '' $ac_executable_extensions; do
7072 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7074 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 +    break 2
7076 +  fi
7077 + done
7078 +  done
7079 + IFS=$as_save_IFS
7080 +
7081 + fi
7082 + fi
7083 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7084 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7085 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7086 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7087 + else
7088 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 + $as_echo "no" >&6; }
7090 + fi
7091 +
7092 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7093 +    MANIFEST_TOOL=":"
7094 +  else
7095 +    case $cross_compiling:$ac_tool_warned in
7096 + yes:)
7097 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 + ac_tool_warned=yes ;;
7100 + esac
7101 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7102 +  fi
7103 + else
7104 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7105 + fi
7106 +
7107 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7108 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7109 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7110 + if ${lt_cv_path_mainfest_tool+:} false; then :
7111 +  $as_echo_n "(cached) " >&6
7112 + else
7113 +  lt_cv_path_mainfest_tool=no
7114 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7115 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7116 +  cat conftest.err >&5
7117 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7118 +    lt_cv_path_mainfest_tool=yes
7119 +  fi
7120 +  rm -f conftest*
7121 + fi
7122 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7123 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7124 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7125 +  MANIFEST_TOOL=:
7126 + fi
7127 +
7128 +
7129 +
7130 +
7131 +
7132  
7133    case $host_os in
7134      rhapsody* | darwin*)
# Line 6545 | Line 7137 | need_locks="$enable_libtool_lock"
7137   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139   $as_echo_n "checking for $ac_word... " >&6; }
7140 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7140 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7141    $as_echo_n "(cached) " >&6
7142   else
7143    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7149 | do
7149    IFS=$as_save_IFS
7150    test -z "$as_dir" && as_dir=.
7151      for ac_exec_ext in '' $ac_executable_extensions; do
7152 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7154      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155      break 2
# Line 6585 | Line 7177 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7177   set dummy dsymutil; ac_word=$2
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179   $as_echo_n "checking for $ac_word... " >&6; }
7180 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7180 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7181    $as_echo_n "(cached) " >&6
7182   else
7183    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7189 | do
7189    IFS=$as_save_IFS
7190    test -z "$as_dir" && as_dir=.
7191      for ac_exec_ext in '' $ac_executable_extensions; do
7192 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7192 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7194      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195      break 2
# Line 6637 | Line 7229 | fi
7229   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231   $as_echo_n "checking for $ac_word... " >&6; }
7232 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7232 > if ${ac_cv_prog_NMEDIT+:} false; then :
7233    $as_echo_n "(cached) " >&6
7234   else
7235    if test -n "$NMEDIT"; then
# Line 6649 | Line 7241 | do
7241    IFS=$as_save_IFS
7242    test -z "$as_dir" && as_dir=.
7243      for ac_exec_ext in '' $ac_executable_extensions; do
7244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247      break 2
# Line 6677 | Line 7269 | if test -z "$ac_cv_prog_NMEDIT"; then
7269   set dummy nmedit; ac_word=$2
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271   $as_echo_n "checking for $ac_word... " >&6; }
7272 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7272 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7273    $as_echo_n "(cached) " >&6
7274   else
7275    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7281 | do
7281    IFS=$as_save_IFS
7282    test -z "$as_dir" && as_dir=.
7283      for ac_exec_ext in '' $ac_executable_extensions; do
7284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287      break 2
# Line 6729 | Line 7321 | fi
7321   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323   $as_echo_n "checking for $ac_word... " >&6; }
7324 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7324 > if ${ac_cv_prog_LIPO+:} false; then :
7325    $as_echo_n "(cached) " >&6
7326   else
7327    if test -n "$LIPO"; then
# Line 6741 | Line 7333 | do
7333    IFS=$as_save_IFS
7334    test -z "$as_dir" && as_dir=.
7335      for ac_exec_ext in '' $ac_executable_extensions; do
7336 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339      break 2
# Line 6769 | Line 7361 | if test -z "$ac_cv_prog_LIPO"; then
7361   set dummy lipo; ac_word=$2
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363   $as_echo_n "checking for $ac_word... " >&6; }
7364 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7364 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7365    $as_echo_n "(cached) " >&6
7366   else
7367    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7373 | do
7373    IFS=$as_save_IFS
7374    test -z "$as_dir" && as_dir=.
7375      for ac_exec_ext in '' $ac_executable_extensions; do
7376 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377      ac_cv_prog_ac_ct_LIPO="lipo"
7378      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379      break 2
# Line 6821 | Line 7413 | fi
7413   set dummy ${ac_tool_prefix}otool; ac_word=$2
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415   $as_echo_n "checking for $ac_word... " >&6; }
7416 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7416 > if ${ac_cv_prog_OTOOL+:} false; then :
7417    $as_echo_n "(cached) " >&6
7418   else
7419    if test -n "$OTOOL"; then
# Line 6833 | Line 7425 | do
7425    IFS=$as_save_IFS
7426    test -z "$as_dir" && as_dir=.
7427      for ac_exec_ext in '' $ac_executable_extensions; do
7428 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7430      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431      break 2
# Line 6861 | Line 7453 | if test -z "$ac_cv_prog_OTOOL"; then
7453   set dummy otool; ac_word=$2
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455   $as_echo_n "checking for $ac_word... " >&6; }
7456 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7456 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7457    $as_echo_n "(cached) " >&6
7458   else
7459    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7465 | do
7465    IFS=$as_save_IFS
7466    test -z "$as_dir" && as_dir=.
7467      for ac_exec_ext in '' $ac_executable_extensions; do
7468 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7469      ac_cv_prog_ac_ct_OTOOL="otool"
7470      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471      break 2
# Line 6913 | Line 7505 | fi
7505   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507   $as_echo_n "checking for $ac_word... " >&6; }
7508 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7508 > if ${ac_cv_prog_OTOOL64+:} false; then :
7509    $as_echo_n "(cached) " >&6
7510   else
7511    if test -n "$OTOOL64"; then
# Line 6925 | Line 7517 | do
7517    IFS=$as_save_IFS
7518    test -z "$as_dir" && as_dir=.
7519      for ac_exec_ext in '' $ac_executable_extensions; do
7520 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7522      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523      break 2
# Line 6953 | Line 7545 | if test -z "$ac_cv_prog_OTOOL64"; then
7545   set dummy otool64; ac_word=$2
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547   $as_echo_n "checking for $ac_word... " >&6; }
7548 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7548 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7549    $as_echo_n "(cached) " >&6
7550   else
7551    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7557 | do
7557    IFS=$as_save_IFS
7558    test -z "$as_dir" && as_dir=.
7559      for ac_exec_ext in '' $ac_executable_extensions; do
7560 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561      ac_cv_prog_ac_ct_OTOOL64="otool64"
7562      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563      break 2
# Line 7028 | Line 7620 | fi
7620  
7621      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7622   $as_echo_n "checking for -single_module linker flag... " >&6; }
7623 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7623 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7624    $as_echo_n "(cached) " >&6
7625   else
7626    lt_cv_apple_cc_single_mod=no
# Line 7044 | Line 7636 | else
7636          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7637            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7638          _lt_result=$?
7639 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7639 >        # If there is a non-empty error log, and "single_module"
7640 >        # appears in it, assume the flag caused a linker warning
7641 >        if test -s conftest.err && $GREP single_module conftest.err; then
7642 >          cat conftest.err >&5
7643 >        # Otherwise, if the output was created with a 0 exit code from
7644 >        # the compiler, it worked.
7645 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7646            lt_cv_apple_cc_single_mod=yes
7647          else
7648            cat conftest.err >&5
# Line 7055 | Line 7653 | else
7653   fi
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7655   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7656 +
7657      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7658   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7659 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7659 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7660    $as_echo_n "(cached) " >&6
7661   else
7662    lt_cv_ld_exported_symbols_list=no
# Line 7087 | Line 7686 | rm -f core conftest.err conftest.$ac_obj
7686   fi
7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7688   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7689 +
7690 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7691 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7692 + if ${lt_cv_ld_force_load+:} false; then :
7693 +  $as_echo_n "(cached) " >&6
7694 + else
7695 +  lt_cv_ld_force_load=no
7696 +      cat > conftest.c << _LT_EOF
7697 + int forced_loaded() { return 2;}
7698 + _LT_EOF
7699 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7700 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7701 +      echo "$AR cru libconftest.a conftest.o" >&5
7702 +      $AR cru libconftest.a conftest.o 2>&5
7703 +      echo "$RANLIB libconftest.a" >&5
7704 +      $RANLIB libconftest.a 2>&5
7705 +      cat > conftest.c << _LT_EOF
7706 + int main() { return 0;}
7707 + _LT_EOF
7708 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7709 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7710 +      _lt_result=$?
7711 +      if test -s conftest.err && $GREP force_load conftest.err; then
7712 +        cat conftest.err >&5
7713 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7714 +        lt_cv_ld_force_load=yes
7715 +      else
7716 +        cat conftest.err >&5
7717 +      fi
7718 +        rm -f conftest.err libconftest.a conftest conftest.c
7719 +        rm -rf conftest.dSYM
7720 +
7721 + fi
7722 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7723 + $as_echo "$lt_cv_ld_force_load" >&6; }
7724      case $host_os in
7725      rhapsody* | darwin1.[012])
7726        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7114 | Line 7748 | $as_echo "$lt_cv_ld_exported_symbols_lis
7748      else
7749        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7750      fi
7751 <    if test "$DSYMUTIL" != ":"; then
7751 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7752        _lt_dsymutil='~$DSYMUTIL $lib || :'
7753      else
7754        _lt_dsymutil=
# Line 7134 | Line 7768 | if test -n "$CPP" && test -d "$CPP"; the
7768    CPP=
7769   fi
7770   if test -z "$CPP"; then
7771 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7771 >  if ${ac_cv_prog_CPP+:} false; then :
7772    $as_echo_n "(cached) " >&6
7773   else
7774        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7798 | else
7798    # Broken: fails on valid input.
7799   continue
7800   fi
7801 < rm -f conftest.err conftest.$ac_ext
7801 > rm -f conftest.err conftest.i conftest.$ac_ext
7802  
7803    # OK, works on sane cases.  Now check whether nonexistent headers
7804    # can be detected and how.
# Line 7180 | Line 7814 | else
7814   ac_preproc_ok=:
7815   break
7816   fi
7817 < rm -f conftest.err conftest.$ac_ext
7817 > rm -f conftest.err conftest.i conftest.$ac_ext
7818  
7819   done
7820   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7821 < rm -f conftest.err conftest.$ac_ext
7821 > rm -f conftest.i conftest.err conftest.$ac_ext
7822   if $ac_preproc_ok; then :
7823    break
7824   fi
# Line 7223 | 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 7239 | 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  
7883   else
7884    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7885   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7886 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7887 < See \`config.log' for more details." "$LINENO" 5; }
7886 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7887 > See \`config.log' for more details" "$LINENO" 5; }
7888   fi
7889  
7890   ac_ext=c
# Line 7262 | Line 7896 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7896  
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7898   $as_echo_n "checking for ANSI C header files... " >&6; }
7899 < if test "${ac_cv_header_stdc+set}" = set; then :
7899 > if ${ac_cv_header_stdc+:} false; then :
7900    $as_echo_n "(cached) " >&6
7901   else
7902    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 8013 | do :
8013    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8014   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8015   "
8016 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
8016 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8017    cat >>confdefs.h <<_ACEOF
8018   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8019   _ACEOF
# Line 7394 | Line 8027 | for ac_header in dlfcn.h
8027   do :
8028    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8029   "
8030 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8031    cat >>confdefs.h <<_ACEOF
8032   #define HAVE_DLFCN_H 1
8033   _ACEOF
# Line 7405 | Line 8038 | done
8038  
8039  
8040  
8041 +
8042 +
8043   # Set options
8044   enable_dlopen=yes
8045   # Check whether --enable-static was given.
# Line 7478 | Line 8113 | fi
8113  
8114   # Check whether --with-pic was given.
8115   if test "${with_pic+set}" = set; then :
8116 <  withval=$with_pic; pic_mode="$withval"
8116 >  withval=$with_pic; lt_p=${PACKAGE-default}
8117 >    case $withval in
8118 >    yes|no) pic_mode=$withval ;;
8119 >    *)
8120 >      pic_mode=default
8121 >      # Look at the argument we got.  We use all the common list separators.
8122 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8123 >      for lt_pkg in $withval; do
8124 >        IFS="$lt_save_ifs"
8125 >        if test "X$lt_pkg" = "X$lt_p"; then
8126 >          pic_mode=yes
8127 >        fi
8128 >      done
8129 >      IFS="$lt_save_ifs"
8130 >      ;;
8131 >    esac
8132   else
8133    pic_mode=default
8134   fi
# Line 7555 | Line 8205 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8205  
8206  
8207  
8208 +
8209 +
8210 +
8211 +
8212 +
8213   test -z "$LN_S" && LN_S="ln -s"
8214  
8215  
# Line 7576 | Line 8231 | fi
8231  
8232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8233   $as_echo_n "checking for objdir... " >&6; }
8234 < if test "${lt_cv_objdir+set}" = set; then :
8234 > if ${lt_cv_objdir+:} false; then :
8235    $as_echo_n "(cached) " >&6
8236   else
8237    rm -f .libs 2>/dev/null
# Line 7604 | Line 8259 | _ACEOF
8259  
8260  
8261  
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
8262   case $host_os in
8263   aix3*)
8264    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7629 | Line 8271 | aix3*)
8271    ;;
8272   esac
8273  
7632 # Sed substitution that helps us do robust quoting.  It backslashifies
7633 # metacharacters that are still active within double-quoted strings.
7634 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635
7636 # Same as above, but do not quote variable references.
7637 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638
7639 # Sed substitution to delay expansion of an escaped shell variable in a
7640 # double_quote_subst'ed string.
7641 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642
7643 # Sed substitution to delay expansion of an escaped single quote.
7644 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645
7646 # Sed substitution to avoid accidental globbing in evaled expressions
7647 no_glob_subst='s/\*/\\\*/g'
7648
8274   # Global variables:
8275   ofile=libtool
8276   can_build_shared=yes
# Line 7674 | Line 8299 | for cc_temp in $compiler""; do
8299      *) break;;
8300    esac
8301   done
8302 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8302 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8303  
8304  
8305   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8309 | file_magic*)
8309    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8310      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8311   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8312 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8312 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8313    $as_echo_n "(cached) " >&6
8314   else
8315    case $MAGIC_CMD in
# Line 7750 | Line 8375 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8375    if test -n "$ac_tool_prefix"; then
8376      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8377   $as_echo_n "checking for file... " >&6; }
8378 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8378 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8379    $as_echo_n "(cached) " >&6
8380   else
8381    case $MAGIC_CMD in
# Line 7874 | Line 8499 | _lt_linker_boilerplate=`cat conftest.err
8499   $RM -r conftest*
8500  
8501  
8502 + ## CAVEAT EMPTOR:
8503 + ## There is no encapsulation within the following macros, do not change
8504 + ## the running order or otherwise move them around unless you know exactly
8505 + ## what you are doing...
8506   if test -n "$compiler"; then
8507  
8508   lt_prog_compiler_no_builtin_flag=
8509  
8510   if test "$GCC" = yes; then
8511 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8511 >  case $cc_basename in
8512 >  nvcc*)
8513 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8514 >  *)
8515 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8516 >  esac
8517  
8518    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8519   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8520 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8520 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8521    $as_echo_n "(cached) " >&6
8522   else
8523    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7899 | Line 8533 | else
8533     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8534     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8535     -e 's:$: $lt_compiler_flag:'`
8536 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8536 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8537     (eval "$lt_compile" 2>conftest.err)
8538     ac_status=$?
8539     cat conftest.err >&5
8540 <   echo "$as_me:7906: \$? = $ac_status" >&5
8540 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541     if (exit $ac_status) && test -s "$ac_outfile"; then
8542       # The compiler can only warn and ignore the option if not recognized
8543       # So say no if there are warnings other than the usual output.
8544 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8544 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8545       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8546       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8547         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7936 | Line 8570 | fi
8570   lt_prog_compiler_pic=
8571   lt_prog_compiler_static=
8572  
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8573  
8574    if test "$GCC" = yes; then
8575      lt_prog_compiler_wl='-Wl,'
# Line 7985 | Line 8617 | $as_echo_n "checking for $compiler optio
8617        lt_prog_compiler_pic='-fno-common'
8618        ;;
8619  
8620 +    haiku*)
8621 +      # PIC is the default for Haiku.
8622 +      # The "-static" flag exists, but is broken.
8623 +      lt_prog_compiler_static=
8624 +      ;;
8625 +
8626      hpux*)
8627        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8628        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8665 | $as_echo_n "checking for $compiler optio
8665        lt_prog_compiler_pic='-fPIC'
8666        ;;
8667      esac
8668 +
8669 +    case $cc_basename in
8670 +    nvcc*) # Cuda Compiler Driver 2.2
8671 +      lt_prog_compiler_wl='-Xlinker '
8672 +      if test -n "$lt_prog_compiler_pic"; then
8673 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8674 +      fi
8675 +      ;;
8676 +    esac
8677    else
8678      # PORTME Check for flag to pass linker flags through the system compiler.
8679      case $host_os in
# Line 8068 | Line 8715 | $as_echo_n "checking for $compiler optio
8715        lt_prog_compiler_static='-non_shared'
8716        ;;
8717  
8718 <    linux* | k*bsd*-gnu)
8718 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8719        case $cc_basename in
8720        # old Intel for x86_64 which still supported -KPIC.
8721        ecc*)
# Line 8089 | Line 8736 | $as_echo_n "checking for $compiler optio
8736          lt_prog_compiler_pic='--shared'
8737          lt_prog_compiler_static='--static'
8738          ;;
8739 <      pgcc* | pgf77* | pgf90* | pgf95*)
8739 >      nagfor*)
8740 >        # NAG Fortran compiler
8741 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8742 >        lt_prog_compiler_pic='-PIC'
8743 >        lt_prog_compiler_static='-Bstatic'
8744 >        ;;
8745 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8746          # Portland Group compilers (*not* the Pentium gcc compiler,
8747          # which looks to be a dead project)
8748          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8754 | $as_echo_n "checking for $compiler optio
8754          # All Alpha code is PIC.
8755          lt_prog_compiler_static='-non_shared'
8756          ;;
8757 <      xl*)
8758 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8757 >      xl* | bgxl* | bgf* | mpixl*)
8758 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8759          lt_prog_compiler_wl='-Wl,'
8760          lt_prog_compiler_pic='-qpic'
8761          lt_prog_compiler_static='-qstaticlink'
8762          ;;
8763        *)
8764          case `$CC -V 2>&1 | sed 5q` in
8765 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8766 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8767 +          lt_prog_compiler_pic='-KPIC'
8768 +          lt_prog_compiler_static='-Bstatic'
8769 +          lt_prog_compiler_wl=''
8770 +          ;;
8771 +        *Sun\ F* | *Sun*Fortran*)
8772 +          lt_prog_compiler_pic='-KPIC'
8773 +          lt_prog_compiler_static='-Bstatic'
8774 +          lt_prog_compiler_wl='-Qoption ld '
8775 +          ;;
8776          *Sun\ C*)
8777            # Sun C 5.9
8778            lt_prog_compiler_pic='-KPIC'
8779            lt_prog_compiler_static='-Bstatic'
8780            lt_prog_compiler_wl='-Wl,'
8781            ;;
8782 <        *Sun\ F*)
8783 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8784 <          lt_prog_compiler_pic='-KPIC'
8782 >        *Intel*\ [CF]*Compiler*)
8783 >          lt_prog_compiler_wl='-Wl,'
8784 >          lt_prog_compiler_pic='-fPIC'
8785 >          lt_prog_compiler_static='-static'
8786 >          ;;
8787 >        *Portland\ Group*)
8788 >          lt_prog_compiler_wl='-Wl,'
8789 >          lt_prog_compiler_pic='-fpic'
8790            lt_prog_compiler_static='-Bstatic'
8122          lt_prog_compiler_wl=''
8791            ;;
8792          esac
8793          ;;
# Line 8151 | Line 8819 | $as_echo_n "checking for $compiler optio
8819        lt_prog_compiler_pic='-KPIC'
8820        lt_prog_compiler_static='-Bstatic'
8821        case $cc_basename in
8822 <      f77* | f90* | f95*)
8822 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8823          lt_prog_compiler_wl='-Qoption ld ';;
8824        *)
8825          lt_prog_compiler_wl='-Wl,';;
# Line 8208 | Line 8876 | case $host_os in
8876      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8877      ;;
8878   esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 $as_echo "$lt_prog_compiler_pic" >&6; }
8213
8214
8215
8216
8879  
8880 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8881 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8882 + if ${lt_cv_prog_compiler_pic+:} false; then :
8883 +  $as_echo_n "(cached) " >&6
8884 + else
8885 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8886 + fi
8887 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8888 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8889 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8890  
8891   #
8892   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 8894 | $as_echo "$lt_prog_compiler_pic" >&6; }
8894   if test -n "$lt_prog_compiler_pic"; then
8895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8896   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8897 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8897 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8898    $as_echo_n "(cached) " >&6
8899   else
8900    lt_cv_prog_compiler_pic_works=no
# Line 8238 | Line 8910 | else
8910     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8911     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8912     -e 's:$: $lt_compiler_flag:'`
8913 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8913 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8914     (eval "$lt_compile" 2>conftest.err)
8915     ac_status=$?
8916     cat conftest.err >&5
8917 <   echo "$as_me:8245: \$? = $ac_status" >&5
8917 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918     if (exit $ac_status) && test -s "$ac_outfile"; then
8919       # The compiler can only warn and ignore the option if not recognized
8920       # So say no if there are warnings other than the usual output.
8921 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8921 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8922       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8923       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8924         lt_cv_prog_compiler_pic_works=yes
# Line 8275 | Line 8947 | fi
8947  
8948  
8949  
8950 +
8951 +
8952 +
8953 +
8954 +
8955   #
8956   # Check to make sure the static flag actually works.
8957   #
8958   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8960   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8961 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8961 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8962    $as_echo_n "(cached) " >&6
8963   else
8964    lt_cv_prog_compiler_static_works=no
# Line 8294 | Line 8971 | else
8971       if test -s conftest.err; then
8972         # Append any errors to the config.log.
8973         cat conftest.err 1>&5
8974 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8974 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8975         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8976         if diff conftest.exp conftest.er2 >/dev/null; then
8977           lt_cv_prog_compiler_static_works=yes
# Line 8324 | Line 9001 | fi
9001  
9002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9003   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9004 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9005    $as_echo_n "(cached) " >&6
9006   else
9007    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 9020 | else
9020     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022     -e 's:$: $lt_compiler_flag:'`
9023 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
9023 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9024     (eval "$lt_compile" 2>out/conftest.err)
9025     ac_status=$?
9026     cat out/conftest.err >&5
9027 <   echo "$as_me:8350: \$? = $ac_status" >&5
9027 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9029     then
9030       # The compiler can only warn and ignore the option if not recognized
9031       # So say no if there are warnings
9032 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9032 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9033       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9034       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9035         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 9056 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9056  
9057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9058   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9059 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9059 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9060    $as_echo_n "(cached) " >&6
9061   else
9062    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 9075 | else
9075     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077     -e 's:$: $lt_compiler_flag:'`
9078 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
9078 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9079     (eval "$lt_compile" 2>out/conftest.err)
9080     ac_status=$?
9081     cat out/conftest.err >&5
9082 <   echo "$as_me:8405: \$? = $ac_status" >&5
9082 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9084     then
9085       # The compiler can only warn and ignore the option if not recognized
9086       # So say no if there are warnings
9087 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9087 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9088       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9089       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9090         lt_cv_prog_compiler_c_o=yes
# Line 8473 | Line 9150 | $as_echo_n "checking whether the $compil
9150    hardcode_direct=no
9151    hardcode_direct_absolute=no
9152    hardcode_libdir_flag_spec=
8476  hardcode_libdir_flag_spec_ld=
9153    hardcode_libdir_separator=
9154    hardcode_minus_L=no
9155    hardcode_shlibpath_var=unsupported
# Line 8520 | Line 9196 | $as_echo_n "checking whether the $compil
9196    esac
9197  
9198    ld_shlibs=yes
9199 +
9200 +  # On some targets, GNU ld is compatible enough with the native linker
9201 +  # that we're better off using the native interface for both.
9202 +  lt_use_gnu_ld_interface=no
9203    if test "$with_gnu_ld" = yes; then
9204 +    case $host_os in
9205 +      aix*)
9206 +        # The AIX port of GNU ld has always aspired to compatibility
9207 +        # with the native linker.  However, as the warning in the GNU ld
9208 +        # block says, versions before 2.19.5* couldn't really create working
9209 +        # shared libraries, regardless of the interface used.
9210 +        case `$LD -v 2>&1` in
9211 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9212 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9213 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9214 +          *)
9215 +            lt_use_gnu_ld_interface=yes
9216 +            ;;
9217 +        esac
9218 +        ;;
9219 +      *)
9220 +        lt_use_gnu_ld_interface=yes
9221 +        ;;
9222 +    esac
9223 +  fi
9224 +
9225 +  if test "$lt_use_gnu_ld_interface" = yes; then
9226      # If archive_cmds runs LD, not CC, wlarc should be empty
9227      wlarc='${wl}'
9228  
# Line 8538 | Line 9240 | $as_echo_n "checking whether the $compil
9240      fi
9241      supports_anon_versioning=no
9242      case `$LD -v 2>&1` in
9243 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9244        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9245        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9246        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8553 | Line 9256 | $as_echo_n "checking whether the $compil
9256          ld_shlibs=no
9257          cat <<_LT_EOF 1>&2
9258  
9259 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9259 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9260   *** to be unable to reliably create shared libraries on AIX.
9261   *** Therefore, libtool is disabling shared libraries support.  If you
9262 < *** really care for shared libraries, you may want to modify your PATH
9263 < *** so that a non-GNU linker is found, and then restart.
9262 > *** really care for shared libraries, you may want to install binutils
9263 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9264 > *** You will then need to restart the configuration process.
9265  
9266   _LT_EOF
9267        fi
# Line 8593 | Line 9297 | _LT_EOF
9297        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9298        # as there is no search path for DLLs.
9299        hardcode_libdir_flag_spec='-L$libdir'
9300 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9301        allow_undefined_flag=unsupported
9302        always_export_symbols=no
9303        enable_shared_with_static_runtimes=yes
9304 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9304 >      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'
9305 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9306  
9307        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9308          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8614 | Line 9320 | _LT_EOF
9320        fi
9321        ;;
9322  
9323 +    haiku*)
9324 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 +      link_all_deplibs=yes
9326 +      ;;
9327 +
9328      interix[3-9]*)
9329        hardcode_direct=no
9330        hardcode_shlibpath_var=no
# Line 8629 | Line 9340 | _LT_EOF
9340        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9341        ;;
9342  
9343 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9343 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9344        tmp_diet=no
9345        if test "$host_os" = linux-dietlibc; then
9346          case $cc_basename in
# Line 8639 | Line 9350 | _LT_EOF
9350        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9351           && test "$tmp_diet" = no
9352        then
9353 <        tmp_addflag=
9353 >        tmp_addflag=' $pic_flag'
9354          tmp_sharedflag='-shared'
9355          case $cc_basename,$host_cpu in
9356          pgcc*)                          # Portland Group C compiler
9357 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9357 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9358            tmp_addflag=' $pic_flag'
9359            ;;
9360 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9361 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9360 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9361 >                                        # Portland Group f77 and f90 compilers
9362 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9363            tmp_addflag=' $pic_flag -Mnomain' ;;
9364          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9365            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9370 | _LT_EOF
9370          lf95*)                          # Lahey Fortran 8.1
9371            whole_archive_flag_spec=
9372            tmp_sharedflag='--shared' ;;
9373 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9373 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9374            tmp_sharedflag='-qmkshrobj'
9375            tmp_addflag= ;;
9376 +        nvcc*)  # Cuda Compiler Driver 2.2
9377 +          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9378 +          compiler_needs_object=yes
9379 +          ;;
9380          esac
9381          case `$CC -V 2>&1 | sed 5q` in
9382          *Sun\ C*)                       # Sun C 5.9
9383 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9383 >          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9384            compiler_needs_object=yes
9385            tmp_sharedflag='-G' ;;
9386          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8680 | Line 9396 | _LT_EOF
9396          fi
9397  
9398          case $cc_basename in
9399 <        xlf*)
9399 >        xlf* | bgf* | bgxlf* | mpixlf*)
9400            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9401            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9402 <          hardcode_libdir_flag_spec=
9403 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8688 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9402 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9403 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9404            if test "x$supports_anon_versioning" = xyes; then
9405              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9406                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9407                echo "local: *; };" >> $output_objdir/$libname.ver~
9408 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9408 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9409            fi
9410            ;;
9411          esac
# Line 8704 | Line 9419 | _LT_EOF
9419          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9420          wlarc=
9421        else
9422 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424        fi
9425        ;;
9426  
# Line 8723 | Line 9438 | _LT_EOF
9438  
9439   _LT_EOF
9440        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443        else
9444          ld_shlibs=no
9445        fi
# Line 8770 | Line 9485 | _LT_EOF
9485  
9486      *)
9487        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9488 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9490        else
9491          ld_shlibs=no
9492        fi
# Line 8811 | Line 9526 | _LT_EOF
9526        else
9527          # If we're using GNU nm, then we don't want the "-C" option.
9528          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9529 +        # Also, AIX nm treats weak defined symbols like other global
9530 +        # defined symbols, whereas GNU nm marks them as "W".
9531          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9532 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9532 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9533          else
9534            export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9535          fi
# Line 8899 | Line 9616 | _LT_EOF
9616          allow_undefined_flag='-berok'
9617          # Determine the default libpath from the value encoded in an
9618          # empty executable.
9619 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 >        if test "${lt_cv_aix_libpath+set}" = set; then
9620 >  aix_libpath=$lt_cv_aix_libpath
9621 > else
9622 >  if ${lt_cv_aix_libpath_+:} false; then :
9623 >  $as_echo_n "(cached) " >&6
9624 > else
9625 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626   /* end confdefs.h.  */
9627  
9628   int
# Line 8912 | Line 9635 | main ()
9635   _ACEOF
9636   if ac_fn_c_try_link "$LINENO"; then :
9637  
9638 < lt_aix_libpath_sed='
9639 <    /Import File Strings/,/^$/ {
9640 <        /^0/ {
9641 <            s/^0  *\(.*\)$/\1/
9642 <            p
9643 <        }
9644 <    }'
9645 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 < # Check for a 64-bit object if we didn't find anything.
9647 < if test -z "$aix_libpath"; then
9648 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 < fi
9638 >  lt_aix_libpath_sed='
9639 >      /Import File Strings/,/^$/ {
9640 >          /^0/ {
9641 >              s/^0  *\([^ ]*\) *$/\1/
9642 >              p
9643 >          }
9644 >      }'
9645 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 >  # Check for a 64-bit object if we didn't find anything.
9647 >  if test -z "$lt_cv_aix_libpath_"; then
9648 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 >  fi
9650   fi
9651   rm -f core conftest.err conftest.$ac_objext \
9652      conftest$ac_exeext conftest.$ac_ext
9653 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9653 >  if test -z "$lt_cv_aix_libpath_"; then
9654 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9655 >  fi
9656 >
9657 > fi
9658 >
9659 >  aix_libpath=$lt_cv_aix_libpath_
9660 > fi
9661  
9662          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9663 >        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"
9664        else
9665          if test "$host_cpu" = ia64; then
9666            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8939 | Line 9669 | if test -z "$aix_libpath"; then aix_libp
9669          else
9670           # Determine the default libpath from the value encoded in an
9671           # empty executable.
9672 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 >         if test "${lt_cv_aix_libpath+set}" = set; then
9673 >  aix_libpath=$lt_cv_aix_libpath
9674 > else
9675 >  if ${lt_cv_aix_libpath_+:} false; then :
9676 >  $as_echo_n "(cached) " >&6
9677 > else
9678 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679   /* end confdefs.h.  */
9680  
9681   int
# Line 8952 | Line 9688 | main ()
9688   _ACEOF
9689   if ac_fn_c_try_link "$LINENO"; then :
9690  
9691 < lt_aix_libpath_sed='
9692 <    /Import File Strings/,/^$/ {
9693 <        /^0/ {
9694 <            s/^0  *\(.*\)$/\1/
9695 <            p
9696 <        }
9697 <    }'
9698 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 < # Check for a 64-bit object if we didn't find anything.
9700 < if test -z "$aix_libpath"; then
9701 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 < fi
9691 >  lt_aix_libpath_sed='
9692 >      /Import File Strings/,/^$/ {
9693 >          /^0/ {
9694 >              s/^0  *\([^ ]*\) *$/\1/
9695 >              p
9696 >          }
9697 >      }'
9698 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 >  # Check for a 64-bit object if we didn't find anything.
9700 >  if test -z "$lt_cv_aix_libpath_"; then
9701 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 >  fi
9703   fi
9704   rm -f core conftest.err conftest.$ac_objext \
9705      conftest$ac_exeext conftest.$ac_ext
9706 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9708 >  fi
9709 >
9710 > fi
9711 >
9712 >  aix_libpath=$lt_cv_aix_libpath_
9713 > fi
9714  
9715           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716            # Warning - without using the other run time loading flags,
9717            # -berok will link without error, but may produce a broken library.
9718            no_undefined_flag=' ${wl}-bernotok'
9719            allow_undefined_flag=' ${wl}-berok'
9720 <          # Exported symbols can be pulled into shared objects from archives
9721 <          whole_archive_flag_spec='$convenience'
9720 >          if test "$with_gnu_ld" = yes; then
9721 >            # We only use this code for GNU lds that support --whole-archive.
9722 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9723 >          else
9724 >            # Exported symbols can be pulled into shared objects from archives
9725 >            whole_archive_flag_spec='$convenience'
9726 >          fi
9727            archive_cmds_need_lc=yes
9728            # This is similar to how AIX traditionally builds its shared libraries.
9729            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 9007 | Line 9755 | if test -z "$aix_libpath"; then aix_libp
9755        # Microsoft Visual C++.
9756        # hardcode_libdir_flag_spec is actually meaningless, as there is
9757        # no search path for DLLs.
9758 <      hardcode_libdir_flag_spec=' '
9759 <      allow_undefined_flag=unsupported
9760 <      # Tell ltmain to make .lib files, not .a files.
9761 <      libext=lib
9762 <      # Tell ltmain to make .dll files, not .so files.
9763 <      shrext_cmds=".dll"
9764 <      # FIXME: Setting linknames here is a bad hack.
9765 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9766 <      # The linker will automatically build a .lib file if we build a DLL.
9767 <      old_archive_from_new_cmds='true'
9768 <      # FIXME: Should let the user specify the lib program.
9769 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9771 <      enable_shared_with_static_runtimes=yes
9758 >      case $cc_basename in
9759 >      cl*)
9760 >        # Native MSVC
9761 >        hardcode_libdir_flag_spec=' '
9762 >        allow_undefined_flag=unsupported
9763 >        always_export_symbols=yes
9764 >        file_list_spec='@'
9765 >        # Tell ltmain to make .lib files, not .a files.
9766 >        libext=lib
9767 >        # Tell ltmain to make .dll files, not .so files.
9768 >        shrext_cmds=".dll"
9769 >        # FIXME: Setting linknames here is a bad hack.
9770 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9771 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9772 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9773 >          else
9774 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9775 >          fi~
9776 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9777 >          linknames='
9778 >        # The linker will not automatically build a static lib if we build a DLL.
9779 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9780 >        enable_shared_with_static_runtimes=yes
9781 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9782 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9783 >        # Don't use ranlib
9784 >        old_postinstall_cmds='chmod 644 $oldlib'
9785 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9786 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9787 >          case $lt_outputfile in
9788 >            *.exe|*.EXE) ;;
9789 >            *)
9790 >              lt_outputfile="$lt_outputfile.exe"
9791 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9792 >              ;;
9793 >          esac~
9794 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9795 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9796 >            $RM "$lt_outputfile.manifest";
9797 >          fi'
9798 >        ;;
9799 >      *)
9800 >        # Assume MSVC wrapper
9801 >        hardcode_libdir_flag_spec=' '
9802 >        allow_undefined_flag=unsupported
9803 >        # Tell ltmain to make .lib files, not .a files.
9804 >        libext=lib
9805 >        # Tell ltmain to make .dll files, not .so files.
9806 >        shrext_cmds=".dll"
9807 >        # FIXME: Setting linknames here is a bad hack.
9808 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9809 >        # The linker will automatically build a .lib file if we build a DLL.
9810 >        old_archive_from_new_cmds='true'
9811 >        # FIXME: Should let the user specify the lib program.
9812 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9813 >        enable_shared_with_static_runtimes=yes
9814 >        ;;
9815 >      esac
9816        ;;
9817  
9818      darwin* | rhapsody*)
# Line 9030 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822    hardcode_direct=no
9823    hardcode_automatic=yes
9824    hardcode_shlibpath_var=unsupported
9825 <  whole_archive_flag_spec=''
9825 >  if test "$lt_cv_ld_force_load" = "yes"; then
9826 >    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\"`'
9827 >
9828 >  else
9829 >    whole_archive_flag_spec=''
9830 >  fi
9831    link_all_deplibs=yes
9832    allow_undefined_flag="$_lt_dar_allow_undefined"
9833    case $cc_basename in
# Line 9038 | Line 9835 | if test -z "$aix_libpath"; then aix_libp
9835       *) _lt_dar_can_shared=$GCC ;;
9836    esac
9837    if test "$_lt_dar_can_shared" = "yes"; then
9838 <    output_verbose_link_cmd=echo
9838 >    output_verbose_link_cmd=func_echo_all
9839      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9840      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9841      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9056 | Line 9853 | if test -z "$aix_libpath"; then aix_libp
9853        hardcode_shlibpath_var=no
9854        ;;
9855  
9059    freebsd1*)
9060      ld_shlibs=no
9061      ;;
9062
9856      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9857      # support.  Future versions do this automatically, but an explicit c++rt0.o
9858      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 9865 | if test -z "$aix_libpath"; then aix_libp
9865        ;;
9866  
9867      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9868 <    freebsd2*)
9868 >    freebsd2.*)
9869        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9870        hardcode_direct=yes
9871        hardcode_minus_L=yes
# Line 9081 | Line 9874 | if test -z "$aix_libpath"; then aix_libp
9874  
9875      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9876      freebsd* | dragonfly*)
9877 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9877 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9878        hardcode_libdir_flag_spec='-R$libdir'
9879        hardcode_direct=yes
9880        hardcode_shlibpath_var=no
# Line 9089 | Line 9882 | if test -z "$aix_libpath"; then aix_libp
9882  
9883      hpux9*)
9884        if test "$GCC" = yes; then
9885 <        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'
9885 >        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'
9886        else
9887          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'
9888        fi
# Line 9104 | Line 9897 | if test -z "$aix_libpath"; then aix_libp
9897        ;;
9898  
9899      hpux10*)
9900 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9901 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9900 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9901 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9902        else
9903          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9904        fi
9905        if test "$with_gnu_ld" = no; then
9906          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114        hardcode_libdir_flag_spec_ld='+b $libdir'
9907          hardcode_libdir_separator=:
9908          hardcode_direct=yes
9909          hardcode_direct_absolute=yes
# Line 9123 | Line 9915 | if test -z "$aix_libpath"; then aix_libp
9915        ;;
9916  
9917      hpux11*)
9918 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9918 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9919          case $host_cpu in
9920          hppa*64*)
9921            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9922            ;;
9923          ia64*)
9924 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9924 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9925            ;;
9926          *)
9927 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9928            ;;
9929          esac
9930        else
# Line 9144 | Line 9936 | if test -z "$aix_libpath"; then aix_libp
9936            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9937            ;;
9938          *)
9939 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 >
9940 >          # Older versions of the 11.00 compiler do not understand -b yet
9941 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9942 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9943 > $as_echo_n "checking if $CC understands -b... " >&6; }
9944 > if ${lt_cv_prog_compiler__b+:} false; then :
9945 >  $as_echo_n "(cached) " >&6
9946 > else
9947 >  lt_cv_prog_compiler__b=no
9948 >   save_LDFLAGS="$LDFLAGS"
9949 >   LDFLAGS="$LDFLAGS -b"
9950 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9951 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9952 >     # The linker can only warn and ignore the option if not recognized
9953 >     # So say no if there are warnings
9954 >     if test -s conftest.err; then
9955 >       # Append any errors to the config.log.
9956 >       cat conftest.err 1>&5
9957 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9958 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9959 >       if diff conftest.exp conftest.er2 >/dev/null; then
9960 >         lt_cv_prog_compiler__b=yes
9961 >       fi
9962 >     else
9963 >       lt_cv_prog_compiler__b=yes
9964 >     fi
9965 >   fi
9966 >   $RM -r conftest*
9967 >   LDFLAGS="$save_LDFLAGS"
9968 >
9969 > fi
9970 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9971 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9972 >
9973 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9974 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9975 > else
9976 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9977 > fi
9978 >
9979            ;;
9980          esac
9981        fi
# Line 9172 | Line 10003 | if test -z "$aix_libpath"; then aix_libp
10003  
10004      irix5* | irix6* | nonstopux*)
10005        if test "$GCC" = yes; then
10006 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10006 >        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'
10007          # Try to use the -exported_symbol ld option, if it does not
10008          # work, assume that -exports_file does not work either and
10009          # implicitly export all symbols.
10010 <        save_LDFLAGS="$LDFLAGS"
10011 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10012 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 >        # This should be the same for all languages, so no per-tag cache variable.
10011 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10012 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10013 > if ${lt_cv_irix_exported_symbol+:} false; then :
10014 >  $as_echo_n "(cached) " >&6
10015 > else
10016 >  save_LDFLAGS="$LDFLAGS"
10017 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10018 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019   /* end confdefs.h.  */
10020 < int foo(void) {}
10020 > int foo (void) { return 0; }
10021   _ACEOF
10022   if ac_fn_c_try_link "$LINENO"; then :
10023 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10024 <
10023 >  lt_cv_irix_exported_symbol=yes
10024 > else
10025 >  lt_cv_irix_exported_symbol=no
10026   fi
10027   rm -f core conftest.err conftest.$ac_objext \
10028      conftest$ac_exeext conftest.$ac_ext
10029 <        LDFLAGS="$save_LDFLAGS"
10029 >           LDFLAGS="$save_LDFLAGS"
10030 > fi
10031 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10032 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10033 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10034 >          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'
10035 >        fi
10036        else
10037 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10038 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10037 >        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'
10038 >        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'
10039        fi
10040        archive_cmds_need_lc='no'
10041        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9253 | Line 10097 | rm -f core conftest.err conftest.$ac_obj
10097        hardcode_libdir_flag_spec='-L$libdir'
10098        hardcode_minus_L=yes
10099        allow_undefined_flag=unsupported
10100 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10100 >      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10101        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10102        ;;
10103  
10104      osf3*)
10105        if test "$GCC" = yes; then
10106          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10107 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10107 >        archive_cmds='$CC -shared${allow_undefined_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'
10108        else
10109          allow_undefined_flag=' -expect_unresolved \*'
10110 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10110 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10111        fi
10112        archive_cmds_need_lc='no'
10113        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9273 | Line 10117 | rm -f core conftest.err conftest.$ac_obj
10117      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10118        if test "$GCC" = yes; then
10119          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10120 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10120 >        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'
10121          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10122        else
10123          allow_undefined_flag=' -expect_unresolved \*'
10124 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10124 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10125          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10126 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10126 >        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10127  
10128          # Both c and cxx compiler support -rpath directly
10129          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9292 | Line 10136 | rm -f core conftest.err conftest.$ac_obj
10136        no_undefined_flag=' -z defs'
10137        if test "$GCC" = yes; then
10138          wlarc='${wl}'
10139 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10140          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10141 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10141 >          $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'
10142        else
10143          case `$CC -V 2>&1` in
10144          *"Compilers 5.0"*)
# Line 9482 | Line 10326 | x|xyes)
10326        # to ld, don't add -lc before -lgcc.
10327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10328   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10329 <      $RM conftest*
10330 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10329 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10330 >  $as_echo_n "(cached) " >&6
10331 > else
10332 >  $RM conftest*
10333 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10334  
10335 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10335 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10336    (eval $ac_compile) 2>&5
10337    ac_status=$?
10338    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10339    test $ac_status = 0; } 2>conftest.err; then
10340 <        soname=conftest
10341 <        lib=conftest
10342 <        libobjs=conftest.$ac_objext
10343 <        deplibs=
10344 <        wl=$lt_prog_compiler_wl
10345 <        pic_flag=$lt_prog_compiler_pic
10346 <        compiler_flags=-v
10347 <        linker_flags=-v
10348 <        verstring=
10349 <        output_objdir=.
10350 <        libname=conftest
10351 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10352 <        allow_undefined_flag=
10353 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10340 >          soname=conftest
10341 >          lib=conftest
10342 >          libobjs=conftest.$ac_objext
10343 >          deplibs=
10344 >          wl=$lt_prog_compiler_wl
10345 >          pic_flag=$lt_prog_compiler_pic
10346 >          compiler_flags=-v
10347 >          linker_flags=-v
10348 >          verstring=
10349 >          output_objdir=.
10350 >          libname=conftest
10351 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10352 >          allow_undefined_flag=
10353 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10354    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10355    ac_status=$?
10356    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10357    test $ac_status = 0; }
10358 <        then
10359 <          archive_cmds_need_lc=no
10360 <        else
10361 <          archive_cmds_need_lc=yes
10362 <        fi
10363 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10364 <      else
10365 <        cat conftest.err 1>&5
10366 <      fi
10367 <      $RM conftest*
10368 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10369 < $as_echo "$archive_cmds_need_lc" >&6; }
10358 >          then
10359 >            lt_cv_archive_cmds_need_lc=no
10360 >          else
10361 >            lt_cv_archive_cmds_need_lc=yes
10362 >          fi
10363 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10364 >        else
10365 >          cat conftest.err 1>&5
10366 >        fi
10367 >        $RM conftest*
10368 >
10369 > fi
10370 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10371 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10372 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10373        ;;
10374      esac
10375    fi
# Line 9677 | Line 10527 | esac
10527  
10528  
10529  
9680
9681
9682
9683
9684
10530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10531   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10532  
# Line 9690 | Line 10535 | if test "$GCC" = yes; then
10535      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10536      *) lt_awk_arg="/^libraries:/" ;;
10537    esac
10538 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10539 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10538 >  case $host_os in
10539 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10540 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10541 >  esac
10542 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10543 >  case $lt_search_path_spec in
10544 >  *\;*)
10545      # if the path contains ";" then we assume it to be the separator
10546      # otherwise default to the standard path separator (i.e. ":") - it is
10547      # assumed that no part of a normal pathname contains ";" but that should
10548      # okay in the real world where ";" in dirpaths is itself problematic.
10549 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10550 <  else
10551 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10552 <  fi
10549 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10550 >    ;;
10551 >  *)
10552 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10553 >    ;;
10554 >  esac
10555    # Ok, now we have the path, separated by spaces, we can step through it
10556    # and add multilib dir if necessary.
10557    lt_tmp_lt_search_path_spec=
# Line 9712 | Line 10564 | if test "$GCC" = yes; then
10564          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565      fi
10566    done
10567 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10567 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10568   BEGIN {RS=" "; FS="/|\n";} {
10569    lt_foo="";
10570    lt_count=0;
# Line 9732 | Line 10584 | BEGIN {RS=" "; FS="/|\n";} {
10584    if (lt_foo != "") { lt_freq[lt_foo]++; }
10585    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10586   }'`
10587 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10587 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10588 >  # for these hosts.
10589 >  case $host_os in
10590 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10591 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10592 >  esac
10593 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10594   else
10595    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10596   fi
# Line 9758 | Line 10616 | need_version=unknown
10616  
10617   case $host_os in
10618   aix3*)
10619 <  version_type=linux
10619 >  version_type=linux # correct to gnu/linux during the next big refactor
10620    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10621    shlibpath_var=LIBPATH
10622  
# Line 9767 | Line 10625 | aix3*)
10625    ;;
10626  
10627   aix[4-9]*)
10628 <  version_type=linux
10628 >  version_type=linux # correct to gnu/linux during the next big refactor
10629    need_lib_prefix=no
10630    need_version=no
10631    hardcode_into_libs=yes
# Line 9820 | Line 10678 | amigaos*)
10678    m68k)
10679      library_names_spec='$libname.ixlibrary $libname.a'
10680      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10681 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10681 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10682      ;;
10683    esac
10684    ;;
# Line 9832 | Line 10690 | beos*)
10690    ;;
10691  
10692   bsdi[45]*)
10693 <  version_type=linux
10693 >  version_type=linux # correct to gnu/linux during the next big refactor
10694    need_version=no
10695    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9851 | Line 10709 | cygwin* | mingw* | pw32* | cegcc*)
10709    need_version=no
10710    need_lib_prefix=no
10711  
10712 <  case $GCC,$host_os in
10713 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10712 >  case $GCC,$cc_basename in
10713 >  yes,*)
10714 >    # gcc
10715      library_names_spec='$libname.dll.a'
10716      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10717      postinstall_cmds='base_file=`basename \${file}`~
# Line 9873 | Line 10732 | cygwin* | mingw* | pw32* | cegcc*)
10732      cygwin*)
10733        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10734        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10735 >
10736 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10737        ;;
10738      mingw* | cegcc*)
10739        # MinGW DLLs use traditional 'lib' prefix
10740        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9882      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9883        # It is most probably a Windows format PATH printed by
9884        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885        # path with ; separators, and with drive letters. We can handle the
9886        # drive letters (cygwin fileutils understands them), so leave them,
9887        # especially as we might pass files found there to a mingw objdump,
9888        # which wouldn't understand a cygwinified path. Ahh.
9889        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890      else
9891        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9892      fi
10741        ;;
10742      pw32*)
10743        # pw32 DLLs use 'pw' prefix rather than 'lib'
10744        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10745        ;;
10746      esac
10747 +    dynamic_linker='Win32 ld.exe'
10748 +    ;;
10749 +
10750 +  *,cl*)
10751 +    # Native MSVC
10752 +    libname_spec='$name'
10753 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10754 +    library_names_spec='${libname}.dll.lib'
10755 +
10756 +    case $build_os in
10757 +    mingw*)
10758 +      sys_lib_search_path_spec=
10759 +      lt_save_ifs=$IFS
10760 +      IFS=';'
10761 +      for lt_path in $LIB
10762 +      do
10763 +        IFS=$lt_save_ifs
10764 +        # Let DOS variable expansion print the short 8.3 style file name.
10765 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10766 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10767 +      done
10768 +      IFS=$lt_save_ifs
10769 +      # Convert to MSYS style.
10770 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10771 +      ;;
10772 +    cygwin*)
10773 +      # Convert to unix form, then to dos form, then back to unix form
10774 +      # but this time dos style (no spaces!) so that the unix form looks
10775 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10776 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10777 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10778 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10779 +      ;;
10780 +    *)
10781 +      sys_lib_search_path_spec="$LIB"
10782 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10783 +        # It is most probably a Windows format PATH.
10784 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10785 +      else
10786 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10787 +      fi
10788 +      # FIXME: find the short name or the path components, as spaces are
10789 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10790 +      ;;
10791 +    esac
10792 +
10793 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10794 +    postinstall_cmds='base_file=`basename \${file}`~
10795 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10796 +      dldir=$destdir/`dirname \$dlpath`~
10797 +      test -d \$dldir || mkdir -p \$dldir~
10798 +      $install_prog $dir/$dlname \$dldir/$dlname'
10799 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10800 +      dlpath=$dir/\$dldll~
10801 +       $RM \$dlpath'
10802 +    shlibpath_overrides_runpath=yes
10803 +    dynamic_linker='Win32 link.exe'
10804      ;;
10805  
10806    *)
10807 +    # Assume MSVC wrapper
10808      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10809 +    dynamic_linker='Win32 ld.exe'
10810      ;;
10811    esac
9905  dynamic_linker='Win32 ld.exe'
10812    # FIXME: first we should search . and the directory the executable is in
10813    shlibpath_var=PATH
10814    ;;
# Line 9923 | Line 10829 | darwin* | rhapsody*)
10829    ;;
10830  
10831   dgux*)
10832 <  version_type=linux
10832 >  version_type=linux # correct to gnu/linux during the next big refactor
10833    need_lib_prefix=no
10834    need_version=no
10835    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9931 | Line 10837 | dgux*)
10837    shlibpath_var=LD_LIBRARY_PATH
10838    ;;
10839  
9934 freebsd1*)
9935  dynamic_linker=no
9936  ;;
9937
10840   freebsd* | dragonfly*)
10841    # DragonFly does not have aout.  When/if they implement a new
10842    # versioning mechanism, adjust this.
# Line 9942 | Line 10844 | freebsd* | dragonfly*)
10844      objformat=`/usr/bin/objformat`
10845    else
10846      case $host_os in
10847 <    freebsd[123]*) objformat=aout ;;
10847 >    freebsd[23].*) objformat=aout ;;
10848      *) objformat=elf ;;
10849      esac
10850    fi
# Line 9960 | Line 10862 | freebsd* | dragonfly*)
10862    esac
10863    shlibpath_var=LD_LIBRARY_PATH
10864    case $host_os in
10865 <  freebsd2*)
10865 >  freebsd2.*)
10866      shlibpath_overrides_runpath=yes
10867      ;;
10868    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9980 | Line 10882 | freebsd* | dragonfly*)
10882    ;;
10883  
10884   gnu*)
10885 <  version_type=linux
10885 >  version_type=linux # correct to gnu/linux during the next big refactor
10886    need_lib_prefix=no
10887    need_version=no
10888    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10889    soname_spec='${libname}${release}${shared_ext}$major'
10890    shlibpath_var=LD_LIBRARY_PATH
10891 +  shlibpath_overrides_runpath=no
10892 +  hardcode_into_libs=yes
10893 +  ;;
10894 +
10895 + haiku*)
10896 +  version_type=linux # correct to gnu/linux during the next big refactor
10897 +  need_lib_prefix=no
10898 +  need_version=no
10899 +  dynamic_linker="$host_os runtime_loader"
10900 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10901 +  soname_spec='${libname}${release}${shared_ext}$major'
10902 +  shlibpath_var=LIBRARY_PATH
10903 +  shlibpath_overrides_runpath=yes
10904 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10905    hardcode_into_libs=yes
10906    ;;
10907  
# Line 10031 | Line 10947 | hpux9* | hpux10* | hpux11*)
10947      soname_spec='${libname}${release}${shared_ext}$major'
10948      ;;
10949    esac
10950 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10950 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10951    postinstall_cmds='chmod 555 $lib'
10952 +  # or fails outright, so override atomically:
10953 +  install_override_mode=555
10954    ;;
10955  
10956   interix[3-9]*)
10957 <  version_type=linux
10957 >  version_type=linux # correct to gnu/linux during the next big refactor
10958    need_lib_prefix=no
10959    need_version=no
10960    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10052 | Line 10970 | irix5* | irix6* | nonstopux*)
10970      nonstopux*) version_type=nonstopux ;;
10971      *)
10972          if test "$lt_cv_prog_gnu_ld" = yes; then
10973 <                version_type=linux
10973 >                version_type=linux # correct to gnu/linux during the next big refactor
10974          else
10975                  version_type=irix
10976          fi ;;
# Line 10089 | Line 11007 | linux*oldld* | linux*aout* | linux*coff*
11007    dynamic_linker=no
11008    ;;
11009  
11010 < # This must be Linux ELF.
11011 < linux* | k*bsd*-gnu)
11012 <  version_type=linux
11010 > # This must be glibc/ELF.
11011 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11012 >  version_type=linux # correct to gnu/linux during the next big refactor
11013    need_lib_prefix=no
11014    need_version=no
11015    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10099 | Line 11017 | linux* | k*bsd*-gnu)
11017    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11018    shlibpath_var=LD_LIBRARY_PATH
11019    shlibpath_overrides_runpath=no
11020 +
11021    # Some binutils ld are patched to set DT_RUNPATH
11022 <  save_LDFLAGS=$LDFLAGS
11023 <  save_libdir=$libdir
11024 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11025 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11026 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11023 >  $as_echo_n "(cached) " >&6
11024 > else
11025 >  lt_cv_shlibpath_overrides_runpath=no
11026 >    save_LDFLAGS=$LDFLAGS
11027 >    save_libdir=$libdir
11028 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11029 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11030 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031   /* end confdefs.h.  */
11032  
11033   int
# Line 10117 | Line 11040 | main ()
11040   _ACEOF
11041   if ac_fn_c_try_link "$LINENO"; then :
11042    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043 <  shlibpath_overrides_runpath=yes
11043 >  lt_cv_shlibpath_overrides_runpath=yes
11044   fi
11045   fi
11046   rm -f core conftest.err conftest.$ac_objext \
11047      conftest$ac_exeext conftest.$ac_ext
11048 <  LDFLAGS=$save_LDFLAGS
11049 <  libdir=$save_libdir
11048 >    LDFLAGS=$save_LDFLAGS
11049 >    libdir=$save_libdir
11050 >
11051 > fi
11052 >
11053 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11054  
11055    # This implies no fast_install, which is unacceptable.
11056    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 11059 | rm -f core conftest.err conftest.$ac_obj
11059  
11060    # Append ld.so.conf contents to the search path
11061    if test -f /etc/ld.so.conf; then
11062 <    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11062 >    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11063      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11064    fi
11065  
# Line 10164 | Line 11091 | netbsd*)
11091    ;;
11092  
11093   newsos6)
11094 <  version_type=linux
11094 >  version_type=linux # correct to gnu/linux during the next big refactor
11095    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096    shlibpath_var=LD_LIBRARY_PATH
11097    shlibpath_overrides_runpath=yes
# Line 10233 | Line 11160 | rdos*)
11160    ;;
11161  
11162   solaris*)
11163 <  version_type=linux
11163 >  version_type=linux # correct to gnu/linux during the next big refactor
11164    need_lib_prefix=no
11165    need_version=no
11166    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10258 | Line 11185 | sunos4*)
11185    ;;
11186  
11187   sysv4 | sysv4.3*)
11188 <  version_type=linux
11188 >  version_type=linux # correct to gnu/linux during the next big refactor
11189    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190    soname_spec='${libname}${release}${shared_ext}$major'
11191    shlibpath_var=LD_LIBRARY_PATH
# Line 10282 | Line 11209 | sysv4 | sysv4.3*)
11209  
11210   sysv4*MP*)
11211    if test -d /usr/nec ;then
11212 <    version_type=linux
11212 >    version_type=linux # correct to gnu/linux during the next big refactor
11213      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11214      soname_spec='$libname${shared_ext}.$major'
11215      shlibpath_var=LD_LIBRARY_PATH
# Line 10313 | Line 11240 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11240  
11241   tpf*)
11242    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11243 <  version_type=linux
11243 >  version_type=linux # correct to gnu/linux during the next big refactor
11244    need_lib_prefix=no
11245    need_version=no
11246    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10323 | Line 11250 | tpf*)
11250    ;;
11251  
11252   uts4*)
11253 <  version_type=linux
11253 >  version_type=linux # correct to gnu/linux during the next big refactor
11254    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255    soname_spec='${libname}${release}${shared_ext}$major'
11256    shlibpath_var=LD_LIBRARY_PATH
# Line 10435 | Line 11362 | fi
11362  
11363  
11364  
11365 +
11366 +
11367 +
11368 +
11369 +
11370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11371   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11372   hardcode_action=
# Line 10507 | Line 11439 | else
11439    # if libdl is installed we need to link against it
11440      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11442 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11443    $as_echo_n "(cached) " >&6
11444   else
11445    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11473 | LIBS=$ac_check_lib_save_LIBS
11473   fi
11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11476 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478   else
11479  
# Line 10555 | Line 11487 | fi
11487  
11488    *)
11489      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11490 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11490 > if test "x$ac_cv_func_shl_load" = xyes; then :
11491    lt_cv_dlopen="shl_load"
11492   else
11493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11494   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11495 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11495 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11496    $as_echo_n "(cached) " >&6
11497   else
11498    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11526 | LIBS=$ac_check_lib_save_LIBS
11526   fi
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11528   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11529 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11529 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11530    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11531   else
11532    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11533 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11533 > if test "x$ac_cv_func_dlopen" = xyes; then :
11534    lt_cv_dlopen="dlopen"
11535   else
11536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11537   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11538 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11538 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11539    $as_echo_n "(cached) " >&6
11540   else
11541    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11569 | LIBS=$ac_check_lib_save_LIBS
11569   fi
11570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11571   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11572 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11572 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11573    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11574   else
11575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11576   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11577 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11577 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11578    $as_echo_n "(cached) " >&6
11579   else
11580    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 11608 | LIBS=$ac_check_lib_save_LIBS
11608   fi
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11610   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11611 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11611 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11612    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11613   else
11614    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11615   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11616 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11616 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11617    $as_echo_n "(cached) " >&6
11618   else
11619    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 11647 | LIBS=$ac_check_lib_save_LIBS
11647   fi
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11649   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11650 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11650 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11651    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11652   fi
11653  
# Line 10756 | Line 11688 | fi
11688  
11689      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11690   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11691 < if test "${lt_cv_dlopen_self+set}" = set; then :
11691 > if ${lt_cv_dlopen_self+:} false; then :
11692    $as_echo_n "(cached) " >&6
11693   else
11694            if test "$cross_compiling" = yes; then :
# Line 10765 | Line 11697 | else
11697    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11698    lt_status=$lt_dlunknown
11699    cat > conftest.$ac_ext <<_LT_EOF
11700 < #line 10768 "configure"
11700 > #line $LINENO "configure"
11701   #include "confdefs.h"
11702  
11703   #if HAVE_DLFCN_H
# Line 10806 | Line 11738 | else
11738   #  endif
11739   #endif
11740  
11741 < void fnord() { int i=42;}
11741 > /* When -fvisbility=hidden is used, assume the code has been annotated
11742 >   correspondingly for the symbols needed.  */
11743 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11744 > int fnord () __attribute__((visibility("default")));
11745 > #endif
11746 >
11747 > int fnord () { return 42; }
11748   int main ()
11749   {
11750    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 11753 | int main ()
11753    if (self)
11754      {
11755        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11756 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11756 >      else
11757 >        {
11758 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11759 >          else puts (dlerror ());
11760 >        }
11761        /* dlclose (self); */
11762      }
11763    else
# Line 10852 | Line 11794 | $as_echo "$lt_cv_dlopen_self" >&6; }
11794        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11795        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11796   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11797 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11797 > if ${lt_cv_dlopen_self_static+:} false; then :
11798    $as_echo_n "(cached) " >&6
11799   else
11800            if test "$cross_compiling" = yes; then :
# Line 10861 | Line 11803 | else
11803    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11804    lt_status=$lt_dlunknown
11805    cat > conftest.$ac_ext <<_LT_EOF
11806 < #line 10864 "configure"
11806 > #line $LINENO "configure"
11807   #include "confdefs.h"
11808  
11809   #if HAVE_DLFCN_H
# Line 10902 | Line 11844 | else
11844   #  endif
11845   #endif
11846  
11847 < void fnord() { int i=42;}
11847 > /* When -fvisbility=hidden is used, assume the code has been annotated
11848 >   correspondingly for the symbols needed.  */
11849 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11850 > int fnord () __attribute__((visibility("default")));
11851 > #endif
11852 >
11853 > int fnord () { return 42; }
11854   int main ()
11855   {
11856    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 11859 | int main ()
11859    if (self)
11860      {
11861        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11862 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11862 >      else
11863 >        {
11864 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11865 >          else puts (dlerror ());
11866 >        }
11867        /* dlclose (self); */
11868      }
11869    else
# Line 11080 | Line 12032 | CC="$lt_save_CC"
12032  
12033  
12034  
12035 +
12036 +
12037          ac_config_commands="$ac_config_commands libtool"
12038  
12039  
# Line 11090 | Line 12044 | CC="$lt_save_CC"
12044  
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12046   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12047 < if test "${libltdl_cv_shlibext+set}" = set; then :
12047 > if ${libltdl_cv_shlibext+:} false; then :
12048    $as_echo_n "(cached) " >&6
12049   else
12050  
12051   module=yes
12052   eval libltdl_cv_shlibext=$shrext_cmds
12053 + module=no
12054 + eval libltdl_cv_shrext=$shrext_cmds
12055  
12056   fi
12057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 12063 | cat >>confdefs.h <<_ACEOF
12063   _ACEOF
12064  
12065   fi
12066 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12067 +
12068 + cat >>confdefs.h <<_ACEOF
12069 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12070 + _ACEOF
12071 +
12072 + fi
12073  
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12075   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12076 < if test "${lt_cv_module_path_var+set}" = set; then :
12076 > if ${lt_cv_module_path_var+:} false; then :
12077    $as_echo_n "(cached) " >&6
12078   else
12079    lt_cv_module_path_var="$shlibpath_var"
# Line 11127 | Line 12090 | fi
12090  
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12092   $as_echo_n "checking for the default library search path... " >&6; }
12093 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12093 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12094    $as_echo_n "(cached) " >&6
12095   else
12096    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11164 | Line 12127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12127   LIBADD_DLOPEN=
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12129   $as_echo_n "checking for library containing dlopen... " >&6; }
12130 < if test "${ac_cv_search_dlopen+set}" = set; then :
12130 > if ${ac_cv_search_dlopen+:} false; then :
12131    $as_echo_n "(cached) " >&6
12132   else
12133    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12161 | for ac_lib in '' dl; do
12161   fi
12162   rm -f core conftest.err conftest.$ac_objext \
12163      conftest$ac_exeext
12164 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12164 >  if ${ac_cv_search_dlopen+:} false; then :
12165    break
12166   fi
12167   done
12168 < if test "${ac_cv_search_dlopen+set}" = set; then :
12168 > if ${ac_cv_search_dlopen+:} false; then :
12169  
12170   else
12171    ac_cv_search_dlopen=no
# Line 11247 | Line 12210 | $as_echo "#define HAVE_LIBDL 1" >>confde
12210   else
12211    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12212   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12213 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12213 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12214    $as_echo_n "(cached) " >&6
12215   else
12216    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12244 | LIBS=$ac_check_lib_save_LIBS
12244   fi
12245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12246   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12247 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12247 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12248  
12249   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12250  
# Line 11301 | Line 12264 | then
12264    for ac_func in dlerror
12265   do :
12266    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12267 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12267 > if test "x$ac_cv_func_dlerror" = xyes; then :
12268    cat >>confdefs.h <<_ACEOF
12269   #define HAVE_DLERROR 1
12270   _ACEOF
# Line 11315 | Line 12278 | fi
12278  
12279   LIBADD_SHL_LOAD=
12280   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12281 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12281 > if test "x$ac_cv_func_shl_load" = xyes; then :
12282  
12283   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12284  
# Line 11323 | Line 12286 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12286   else
12287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12288   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12289 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12289 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12290    $as_echo_n "(cached) " >&6
12291   else
12292    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12320 | LIBS=$ac_check_lib_save_LIBS
12320   fi
12321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12322   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12323 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12323 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12324  
12325   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12326  
# Line 11373 | Line 12336 | case $host_os in
12336   darwin[1567].*)
12337   # We only want this for pre-Mac OS X 10.4.
12338    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12339 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12339 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12340  
12341   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12342  
# Line 11387 | Line 12350 | beos*)
12350   cygwin* | mingw* | os2* | pw32*)
12351    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12352   "
12353 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12353 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12354    ac_have_decl=1
12355   else
12356    ac_have_decl=0
# Line 11403 | Line 12366 | esac
12366  
12367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12368   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12369 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12369 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12370    $as_echo_n "(cached) " >&6
12371   else
12372    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12400 | LIBS=$ac_check_lib_save_LIBS
12400   fi
12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12402   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12403 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12403 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12404  
12405   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12406  
# Line 11471 | Line 12434 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12434  
12435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12436   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12437 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12437 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12438    $as_echo_n "(cached) " >&6
12439   else
12440    lt_cv_sys_symbol_underscore=no
# Line 11521 | Line 12484 | if test x"$lt_cv_sys_symbol_underscore"
12484       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12485          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12486   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12487 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12487 > if ${libltdl_cv_need_uscore+:} false; then :
12488    $as_echo_n "(cached) " >&6
12489   else
12490    libltdl_cv_need_uscore=unknown
# Line 11533 | Line 12496 | else
12496    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12497    lt_status=$lt_dlunknown
12498    cat > conftest.$ac_ext <<_LT_EOF
12499 < #line 11536 "configure"
12499 > #line $LINENO "configure"
12500   #include "confdefs.h"
12501  
12502   #if HAVE_DLFCN_H
# Line 11574 | Line 12537 | else
12537   #  endif
12538   #endif
12539  
12540 < void fnord() { int i=42;}
12540 > /* When -fvisbility=hidden is used, assume the code has been annotated
12541 >   correspondingly for the symbols needed.  */
12542 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12543 > int fnord () __attribute__((visibility("default")));
12544 > #endif
12545 >
12546 > int fnord () { return 42; }
12547   int main ()
12548   {
12549    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11583 | Line 12552 | int main ()
12552    if (self)
12553      {
12554        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12555 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12555 >      else
12556 >        {
12557 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12558 >          else puts (dlerror ());
12559 >        }
12560        /* dlclose (self); */
12561      }
12562    else
# Line 11627 | Line 12600 | fi
12600  
12601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12602   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12603 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12603 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12604    $as_echo_n "(cached) " >&6
12605   else
12606    # PORTME does your system automatically load deplibs for dlopen?
# Line 11659 | Line 12632 | else
12632    freebsd* | dragonfly*)
12633      lt_cv_sys_dlopen_deplibs=yes
12634      ;;
12635 <  gnu* | linux* | k*bsd*-gnu)
12635 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12636      # GNU and its variants, using gnu ld.so (Glibc)
12637      lt_cv_sys_dlopen_deplibs=yes
12638      ;;
# Line 11733 | Line 12706 | for ac_header in argz.h
12706   do :
12707    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12708   "
12709 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12709 > if test "x$ac_cv_header_argz_h" = xyes; then :
12710    cat >>confdefs.h <<_ACEOF
12711   #define HAVE_ARGZ_H 1
12712   _ACEOF
# Line 11747 | Line 12720 | ac_fn_c_check_type "$LINENO" "error_t" "
12720   #  include <argz.h>
12721   #endif
12722   "
12723 < if test "x$ac_cv_type_error_t" = x""yes; then :
12723 > if test "x$ac_cv_type_error_t" = xyes; then :
12724  
12725   cat >>confdefs.h <<_ACEOF
12726   #define HAVE_ERROR_T 1
# Line 11770 | Line 12743 | for ac_func in argz_add argz_append argz
12743   do :
12744    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12745   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12746 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
12746 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12747    cat >>confdefs.h <<_ACEOF
12748   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12749   _ACEOF
# Line 11788 | Line 12760 | done
12760   if test -z "$ARGZ_H"; then :
12761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12762   $as_echo_n "checking if argz actually works... " >&6; }
12763 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12763 > if ${lt_cv_sys_argz_works+:} false; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    case $host_os in #(
# Line 11819 | Line 12791 | else
12791   fi
12792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12793   $as_echo "$lt_cv_sys_argz_works" >&6; }
12794 <     if test $lt_cv_sys_argz_works = yes; then :
12794 >     if test "$lt_cv_sys_argz_works" = yes; then :
12795  
12796   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12797  
# Line 11836 | Line 12808 | fi
12808  
12809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12810   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12811 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12811 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12812    $as_echo_n "(cached) " >&6
12813   else
12814    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11854 | Line 12826 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12826  
12827   fi
12828  
11857
11858
12829   # Set options
12830  
12831  
# Line 11868 | Line 12838 | fi
12838  
12839  
12840  
11871
12841   # Check whether --with-included_ltdl was given.
12842   if test "${with_included_ltdl+set}" = set; then :
12843    withval=$with_included_ltdl;
# Line 11881 | Line 12850 | if test "x$with_included_ltdl" != xyes;
12850    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12851  
12852   "
12853 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12853 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12854    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12855              #include <ltdl.h>
12856   "
12857 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12857 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12859   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12860 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12860 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12861    $as_echo_n "(cached) " >&6
12862   else
12863    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 12891 | LIBS=$ac_check_lib_save_LIBS
12891   fi
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12893   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12894 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12894 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12895    with_included_ltdl=no
12896   else
12897    with_included_ltdl=yes
# Line 11951 | Line 12920 | fi
12920   if test -n "$with_ltdl_include"; then
12921    if test -f "$with_ltdl_include/ltdl.h"; then :
12922    else
12923 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12923 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12924    fi
12925   else
12926    with_ltdl_include=no
# Line 11967 | Line 12936 | fi
12936   if test -n "$with_ltdl_lib"; then
12937    if test -f "$with_ltdl_lib/libltdl.la"; then :
12938    else
12939 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12939 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12940    fi
12941   else
12942    with_ltdl_lib=no
# Line 11976 | Line 12945 | fi
12945   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12946    ,yes,no,no,)
12947          case $enable_ltdl_convenience in
12948 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12948 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12949    "") enable_ltdl_convenience=yes
12950        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12951   esac
# Line 12004 | Line 12973 | $as_echo "#define HAVE_LTDL 1" >>confdef
12973          LTDLINCL=
12974          ;;
12975    ,no*,no,*)
12976 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12976 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12977          ;;
12978    *)    with_included_ltdl=no
12979          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12055 | Line 13024 | fi
13024  
13025  
13026  
12058    subdirs="$subdirs libltdl"
12059
12060
13027  
13028  
13029  
# Line 12074 | Line 13040 | do :
13040    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13041   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13042   "
13043 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
13043 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13044    cat >>confdefs.h <<_ACEOF
13045   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13046   _ACEOF
# Line 12089 | Line 13054 | for ac_func in closedir opendir readdir
13054   do :
13055    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13056   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13057 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13057 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13058    cat >>confdefs.h <<_ACEOF
13059   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13060   _ACEOF
# Line 12107 | Line 13071 | for ac_func in strlcat strlcpy
13071   do :
13072    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13073   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13074 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
13074 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13075    cat >>confdefs.h <<_ACEOF
13076   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13077   _ACEOF
# Line 12128 | Line 13091 | cat >>confdefs.h <<_ACEOF
13091   _ACEOF
13092  
13093  
13094 + name=
13095 + eval "lt_libprefix=\"$libname_spec\""
13096 +
13097 + cat >>confdefs.h <<_ACEOF
13098 + #define LT_LIBPREFIX "$lt_libprefix"
13099 + _ACEOF
13100 +
13101 +
13102   name=ltdl
13103 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13103 > eval "LTDLOPEN=\"$libname_spec\""
13104  
13105  
13106  
# Line 12145 | Line 13116 | LIBTOOL="$LIBTOOL --silent"
13116  
13117   # Checks for libraries.
13118  
13119 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13120 < $as_echo_n "checking for library containing socket... " >&6; }
13121 < if test "${ac_cv_search_socket+set}" = set; then :
13119 >
13120 >  if test "X$CC" != "X"; then
13121 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13122 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13123 > if ${ssp_cv_cc+:} false; then :
13124 >  $as_echo_n "(cached) " >&6
13125 > else
13126 >  ssp_old_cflags="$CFLAGS"
13127 >       CFLAGS="$CFLAGS -fstack-protector"
13128 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 > /* end confdefs.h.  */
13130 >
13131 > int
13132 > main ()
13133 > {
13134 >
13135 >  ;
13136 >  return 0;
13137 > }
13138 > _ACEOF
13139 > if ac_fn_c_try_compile "$LINENO"; then :
13140 >  ssp_cv_cc=yes
13141 > else
13142 >  ssp_cv_cc=no
13143 > fi
13144 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 >       CFLAGS="$ssp_old_cflags"
13146 >
13147 > fi
13148 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13149 > $as_echo "$ssp_cv_cc" >&6; }
13150 >    if test $ssp_cv_cc = yes; then
13151 >      CFLAGS="$CFLAGS -fstack-protector"
13152 >
13153 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13154 >
13155 >    fi
13156 >  fi
13157 >
13158 >
13159 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13160 > $as_echo_n "checking whether libssp exists... " >&6; }
13161 > if ${ssp_cv_lib+:} false; then :
13162 >  $as_echo_n "(cached) " >&6
13163 > else
13164 >  ssp_old_libs="$LIBS"
13165 >     LIBS="$LIBS -lssp"
13166 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 > /* end confdefs.h.  */
13168 >
13169 > int
13170 > main ()
13171 > {
13172 >
13173 >  ;
13174 >  return 0;
13175 > }
13176 > _ACEOF
13177 > if ac_fn_c_try_link "$LINENO"; then :
13178 >  ssp_cv_lib=yes
13179 > else
13180 >  ssp_cv_lib=no
13181 > fi
13182 > rm -f core conftest.err conftest.$ac_objext \
13183 >    conftest$ac_exeext conftest.$ac_ext
13184 >     LIBS="$ssp_old_libs"
13185 >
13186 > fi
13187 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13188 > $as_echo "$ssp_cv_lib" >&6; }
13189 >  if test $ssp_cv_lib = yes; then
13190 >    LIBS="$LIBS -lssp"
13191 >  fi
13192 >
13193 >
13194 >
13195 >
13196 >
13197 >
13198 > for flag in -fno-strict-aliasing; do
13199 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13200 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13201 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13202 > if eval \${$as_CACHEVAR+:} false; then :
13203 >  $as_echo_n "(cached) " >&6
13204 > else
13205 >
13206 >  ax_check_save_flags=$CFLAGS
13207 >  CFLAGS="$CFLAGS  $flag"
13208 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 > /* end confdefs.h.  */
13210 >
13211 > int
13212 > main ()
13213 > {
13214 >
13215 >  ;
13216 >  return 0;
13217 > }
13218 > _ACEOF
13219 > if ac_fn_c_try_compile "$LINENO"; then :
13220 >  eval "$as_CACHEVAR=yes"
13221 > else
13222 >  eval "$as_CACHEVAR=no"
13223 > fi
13224 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 >  CFLAGS=$ax_check_save_flags
13226 > fi
13227 > eval ac_res=\$$as_CACHEVAR
13228 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13229 > $as_echo "$ac_res" >&6; }
13230 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13231 >  if ${CFLAGS+:} false; then :
13232 >  case " $CFLAGS " in
13233 >    *" $flag "*)
13234 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13235 >  (: CFLAGS already contains $flag) 2>&5
13236 >  ac_status=$?
13237 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13238 >  test $ac_status = 0; }
13239 >      ;;
13240 >    *)
13241 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13242 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13243 >  ac_status=$?
13244 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13245 >  test $ac_status = 0; }
13246 >      CFLAGS="$CFLAGS $flag"
13247 >      ;;
13248 >   esac
13249 > else
13250 >  CFLAGS="$flag"
13251 > fi
13252 >
13253 > else
13254 >  :
13255 > fi
13256 >
13257 > done
13258 >
13259 >
13260 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13261 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13262 >
13263 > else
13264 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13265 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13266 > if ${ac_cv_search_getaddrinfo+:} false; then :
13267    $as_echo_n "(cached) " >&6
13268   else
13269    ac_func_search_save_LIBS=$LIBS
# Line 12160 | Line 13276 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13276   #ifdef __cplusplus
13277   extern "C"
13278   #endif
13279 < char socket ();
13279 > char getaddrinfo ();
13280   int
13281   main ()
13282   {
13283 < return socket ();
13283 > return getaddrinfo ();
13284    ;
13285    return 0;
13286   }
13287   _ACEOF
13288 < for ac_lib in '' socket; do
13288 > for ac_lib in '' nsl; do
13289    if test -z "$ac_lib"; then
13290      ac_res="none required"
13291    else
# Line 12177 | Line 13293 | for ac_lib in '' socket; do
13293      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13294    fi
13295    if ac_fn_c_try_link "$LINENO"; then :
13296 <  ac_cv_search_socket=$ac_res
13296 >  ac_cv_search_getaddrinfo=$ac_res
13297   fi
13298   rm -f core conftest.err conftest.$ac_objext \
13299      conftest$ac_exeext
13300 <  if test "${ac_cv_search_socket+set}" = set; then :
13300 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13301    break
13302   fi
13303   done
13304 < if test "${ac_cv_search_socket+set}" = set; then :
13304 > if ${ac_cv_search_getaddrinfo+:} false; then :
13305  
13306   else
13307 <  ac_cv_search_socket=no
13307 >  ac_cv_search_getaddrinfo=no
13308   fi
13309   rm conftest.$ac_ext
13310   LIBS=$ac_func_search_save_LIBS
13311   fi
13312 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13313 < $as_echo "$ac_cv_search_socket" >&6; }
13314 < ac_res=$ac_cv_search_socket
13312 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13313 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13314 > ac_res=$ac_cv_search_getaddrinfo
13315   if test "$ac_res" != no; then :
13316    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13317  
12202 else
12203  as_fn_error "socket library not found" "$LINENO" 5
13318   fi
13319  
12206  for ac_func in inet_aton inet_ntop inet_pton
12207 do :
12208  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 eval as_val=\$$as_ac_var
12211   if test "x$as_val" = x""yes; then :
12212  cat >>confdefs.h <<_ACEOF
12213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 _ACEOF
12215
13320   fi
12217 done
13321  
13322 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13323 <   #include <sys/socket.h>
12221 <   #include <netdb.h>
13322 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13323 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13324  
13325 < "
13326 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13325 > else
13326 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13327 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13328 > if ${ac_cv_search_getnameinfo+:} false; then :
13329 >  $as_echo_n "(cached) " >&6
13330 > else
13331 >  ac_func_search_save_LIBS=$LIBS
13332 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 > /* end confdefs.h.  */
13334  
13335 < cat >>confdefs.h <<_ACEOF
13336 < #define HAVE_STRUCT_SOCKADDR_IN 1
13335 > /* Override any GCC internal prototype to avoid an error.
13336 >   Use char because int might match the return type of a GCC
13337 >   builtin and then its argument prototype would still apply.  */
13338 > #ifdef __cplusplus
13339 > extern "C"
13340 > #endif
13341 > char getnameinfo ();
13342 > int
13343 > main ()
13344 > {
13345 > return getnameinfo ();
13346 >  ;
13347 >  return 0;
13348 > }
13349   _ACEOF
13350 <
13351 <
13350 > for ac_lib in '' nsl; do
13351 >  if test -z "$ac_lib"; then
13352 >    ac_res="none required"
13353 >  else
13354 >    ac_res=-l$ac_lib
13355 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13356 >  fi
13357 >  if ac_fn_c_try_link "$LINENO"; then :
13358 >  ac_cv_search_getnameinfo=$ac_res
13359   fi
13360 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13361 <   #include <sys/socket.h>
13362 <   #include <netdb.h>
13363 <
12236 < "
12237 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12238 <
12239 < cat >>confdefs.h <<_ACEOF
12240 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12241 < _ACEOF
12242 <
12243 <
13360 > rm -f core conftest.err conftest.$ac_objext \
13361 >    conftest$ac_exeext
13362 >  if ${ac_cv_search_getnameinfo+:} false; then :
13363 >  break
13364   fi
13365 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13366 <   #include <sys/socket.h>
12247 <   #include <netdb.h>
12248 <
12249 < "
12250 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12251 <
12252 < cat >>confdefs.h <<_ACEOF
12253 < #define HAVE_STRUCT_ADDRINFO 1
12254 < _ACEOF
12255 <
13365 > done
13366 > if ${ac_cv_search_getnameinfo+:} false; then :
13367  
13368 + else
13369 +  ac_cv_search_getnameinfo=no
13370   fi
13371 <
13372 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12260 <  <sys/socket.h>
12261 < "
12262 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12263 <
12264 < cat >>confdefs.h <<_ACEOF
12265 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12266 < _ACEOF
12267 <
12268 <
13371 > rm conftest.$ac_ext
13372 > LIBS=$ac_func_search_save_LIBS
13373   fi
13374 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13375 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13376 + ac_res=$ac_cv_search_getnameinfo
13377 + if test "$ac_res" != no; then :
13378 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13379  
13380 + fi
13381  
13382 + fi
13383  
13384 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13385 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13384 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13385 > $as_echo_n "checking for library containing socket... " >&6; }
13386 > if ${ac_cv_search_socket+:} false; then :
13387 >  $as_echo_n "(cached) " >&6
13388 > else
13389 >  ac_func_search_save_LIBS=$LIBS
13390 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 > /* end confdefs.h.  */
13392  
13393 < cat >>confdefs.h <<_ACEOF
13394 < #define HAVE_STRUCT_SOCKADDR_IN6 1
13393 > /* Override any GCC internal prototype to avoid an error.
13394 >   Use char because int might match the return type of a GCC
13395 >   builtin and then its argument prototype would still apply.  */
13396 > #ifdef __cplusplus
13397 > extern "C"
13398 > #endif
13399 > char socket ();
13400 > int
13401 > main ()
13402 > {
13403 > return socket ();
13404 >  ;
13405 >  return 0;
13406 > }
13407   _ACEOF
13408 <
13408 > for ac_lib in '' socket; do
13409 >  if test -z "$ac_lib"; then
13410 >    ac_res="none required"
13411 >  else
13412 >    ac_res=-l$ac_lib
13413 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13414 >  fi
13415 >  if ac_fn_c_try_link "$LINENO"; then :
13416 >  ac_cv_search_socket=$ac_res
13417 > fi
13418 > rm -f core conftest.err conftest.$ac_objext \
13419 >    conftest$ac_exeext
13420 >  if ${ac_cv_search_socket+:} false; then :
13421 >  break
13422 > fi
13423 > done
13424 > if ${ac_cv_search_socket+:} false; then :
13425  
13426   else
13427 +  ac_cv_search_socket=no
13428 + fi
13429 + rm conftest.$ac_ext
13430 + LIBS=$ac_func_search_save_LIBS
13431 + fi
13432 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13433 + $as_echo "$ac_cv_search_socket" >&6; }
13434 + ac_res=$ac_cv_search_socket
13435 + if test "$ac_res" != no; then :
13436 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13437  
13438 < $as_echo "#define IPV6 1" >>confdefs.h
13439 <
13438 > else
13439 >  as_fn_error $? "socket library not found" "$LINENO" 5
13440   fi
13441  
13442  
# Line 12289 | Line 13444 | fi
13444   # Checks for typedefs, structures, and compiler characteristics.
13445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13446   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13447 < if test "${ac_cv_c_bigendian+set}" = set; then :
13447 > if ${ac_cv_c_bigendian+:} false; then :
13448    $as_echo_n "(cached) " >&6
13449   else
13450    ac_cv_c_bigendian=unknown
# Line 12507 | Line 13662 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13662  
13663       ;; #(
13664     *)
13665 <     as_fn_error "unknown endianness
13665 >     as_fn_error $? "unknown endianness
13666   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13667   esac
13668  
# Line 12520 | Line 13675 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13675   do :
13676    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13677   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13678 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
13678 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13679    cat >>confdefs.h <<_ACEOF
13680   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13681   _ACEOF
# Line 12539 | Line 13693 | done
13693  
13694  
13695  
12542
12543
13696   # Checks for header files.
13697  
13698  
# Line 12550 | Line 13702 | do :
13702    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13703   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13704   "
13705 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
13705 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13706    cat >>confdefs.h <<_ACEOF
13707   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13708   _ACEOF
# Line 12576 | Line 13727 | done
13727  
13728  
13729  
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589 # check for /dev/null so we can use it to hold evil fd's
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 $as_echo_n "checking for /dev/null... " >&6; }
12592 if test -c /dev/null; then :
12593
12594
12595 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599 else
12600
12601
12602 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 $as_echo "no - using devnull.log" >&6; }
12606 fi
12607
12608
13730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13731   $as_echo_n "checking for library containing crypt... " >&6; }
13732 < if test "${ac_cv_search_crypt+set}" = set; then :
13732 > if ${ac_cv_search_crypt+:} false; then :
13733    $as_echo_n "(cached) " >&6
13734   else
13735    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 13763 | for ac_lib in '' crypt; do
13763   fi
13764   rm -f core conftest.err conftest.$ac_objext \
13765      conftest$ac_exeext
13766 <  if test "${ac_cv_search_crypt+set}" = set; then :
13766 >  if ${ac_cv_search_crypt+:} false; then :
13767    break
13768   fi
13769   done
13770 < if test "${ac_cv_search_crypt+set}" = set; then :
13770 > if ${ac_cv_search_crypt+:} false; then :
13771  
13772   else
13773    ac_cv_search_crypt=no
# Line 12663 | Line 13784 | if test "$ac_res" != no; then :
13784   fi
13785  
13786  
13787 <
13788 <
13789 < # Check whether --with-zlib-path was given.
13790 < if test "${with_zlib_path+set}" = set; then :
13791 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13792 < fi
13793 <
13794 <
13795 < # Check whether --enable-zlib was given.
12675 < if test "${enable_zlib+set}" = set; then :
12676 <  enableval=$enable_zlib; zlib=$enableval
12677 < else
12678 <  zlib=yes
12679 < fi
12680 <
12681 <
12682 < if test "$zlib" = "yes"; then :
12683 <
12684 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13787 > # Check whether --enable-libgeoip was given.
13788 > if test "${enable_libgeoip+set}" = set; then :
13789 >  enableval=$enable_libgeoip;
13790 > else
13791 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13792 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13793 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13794 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13795 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13796    $as_echo_n "(cached) " >&6
13797   else
13798 <  ac_check_lib_save_LIBS=$LIBS
12692 < LIBS="-lz  $LIBS"
13798 >  ac_func_search_save_LIBS=$LIBS
13799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800   /* end confdefs.h.  */
13801  
# Line 12699 | Line 13805 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13805   #ifdef __cplusplus
13806   extern "C"
13807   #endif
13808 < char zlibVersion ();
13808 > char GeoIP_id_by_ipnum_v6_gl ();
13809   int
13810   main ()
13811   {
13812 < return zlibVersion ();
13812 > return GeoIP_id_by_ipnum_v6_gl ();
13813    ;
13814    return 0;
13815   }
13816   _ACEOF
13817 < if ac_fn_c_try_link "$LINENO"; then :
13818 <  ac_cv_lib_z_zlibVersion=yes
13819 < else
13820 <  ac_cv_lib_z_zlibVersion=no
13817 > for ac_lib in '' GeoIP; do
13818 >  if test -z "$ac_lib"; then
13819 >    ac_res="none required"
13820 >  else
13821 >    ac_res=-l$ac_lib
13822 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13823 >  fi
13824 >  if ac_fn_c_try_link "$LINENO"; then :
13825 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13826   fi
13827   rm -f core conftest.err conftest.$ac_objext \
13828 <    conftest$ac_exeext conftest.$ac_ext
13829 < LIBS=$ac_check_lib_save_LIBS
13828 >    conftest$ac_exeext
13829 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13830 >  break
13831   fi
13832 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13833 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13832 > done
13833 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13834  
13835 <      LIBS="-lz $LIBS"
13835 > else
13836 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13837 > fi
13838 > rm conftest.$ac_ext
13839 > LIBS=$ac_func_search_save_LIBS
13840 > fi
13841 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13842 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13843 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13844 > if test "$ac_res" != no; then :
13845 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13846  
13847 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13847 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13848  
13849 + fi
13850  
12729 else
12730  zlib=no
13851   fi
13852  
13853  
13854 + fi
13855 +
13856 +
13857 + # Check whether --enable-assert was given.
13858 + if test "${enable_assert+set}" = set; then :
13859 +  enableval=$enable_assert; assert=$enableval
13860   else
13861 <  zlib=no
13861 >  assert=no
13862   fi
13863  
13864  
13865 + if test "$assert" = "no"; then :
13866 +
13867 + $as_echo "#define NDEBUG 1" >>confdefs.h
13868  
13869   fi
13870  
13871  
13872 < # Check whether --with-libpcre-path was given.
13873 < if test "${with_libpcre_path+set}" = set; then :
13874 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13872 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
13873 >
13874 >
13875 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
13876 >
13877 >
13878 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
13879 >
13880 >
13881 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
13882 >
13883 >
13884 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
13885 >
13886 >
13887 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
13888 >
13889 >
13890 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
13891 >
13892 >
13893 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13894 >
13895 >
13896 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
13897 >
13898 >
13899 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
13900 >
13901 >
13902 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
13903 >
13904 >
13905 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
13906 >
13907 >
13908 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
13909 >
13910 >
13911 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
13912 >
13913 >
13914 > # Argument processing.
13915 >
13916 >  desired_iopoll_mechanism="none"
13917 >
13918 >  # Check whether --enable-kqueue was given.
13919 > if test "${enable_kqueue+set}" = set; then :
13920 >  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13921   fi
13922  
13923 +  # Check whether --enable-epoll was given.
13924 + if test "${enable_epoll+set}" = set; then :
13925 +  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13926 + fi
13927  
13928 < # Check whether --enable-libpcre was given.
13929 < if test "${enable_libpcre+set}" = set; then :
13930 <  enableval=$enable_libpcre; libpcre=$enableval
12752 < else
12753 <  libpcre=yes
13928 >  # Check whether --enable-devpoll was given.
13929 > if test "${enable_devpoll+set}" = set; then :
13930 >  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13931   fi
13932  
13933 +  # Check whether --enable-poll was given.
13934 + if test "${enable_poll+set}" = set; then :
13935 +  enableval=$enable_poll; desired_iopoll_mechanism="poll"
13936 + fi
13937  
12757 if test "$libpcre" = "yes"; then :
13938  
13939 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13940 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13941 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13942 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13943 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13944 <  $as_echo_n "(cached) " >&6
13945 < else
13946 <  ac_check_lib_save_LIBS=$LIBS
13947 < LIBS="-lpcre  $LIBS"
13948 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13940 > $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13941 >
13942 >  iopoll_mechanism_none=0
13943 >
13944 > cat >>confdefs.h <<_ACEOF
13945 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13946 > _ACEOF
13947 >
13948 >
13949 >  iopoll_mechanism_kqueue=1
13950 >
13951 > cat >>confdefs.h <<_ACEOF
13952 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13953 > _ACEOF
13954 >
13955 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956   /* end confdefs.h.  */
13957 + /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13958 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13959 + #define kevent innocuous_kevent
13960 +
13961 + /* System header to define __stub macros and hopefully few prototypes,
13962 +    which can conflict with char kevent (); below.
13963 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13964 +    <limits.h> exists even on freestanding compilers.  */
13965 +
13966 + #ifdef __STDC__
13967 + # include <limits.h>
13968 + #else
13969 + # include <assert.h>
13970 + #endif
13971 +
13972 + #undef kevent
13973  
13974   /* Override any GCC internal prototype to avoid an error.
13975     Use char because int might match the return type of a GCC
# Line 12774 | Line 13977 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13977   #ifdef __cplusplus
13978   extern "C"
13979   #endif
13980 < char pcre_study ();
13980 > char kevent ();
13981 > /* The GNU C library defines this for functions which it implements
13982 >    to always fail with ENOSYS.  Some functions are actually named
13983 >    something starting with __ and the normal name is an alias.  */
13984 > #if defined __stub_kevent || defined __stub___kevent
13985 > choke me
13986 > #endif
13987 >
13988   int
13989   main ()
13990   {
13991 < return pcre_study ();
13991 > return kevent ();
13992    ;
13993    return 0;
13994   }
13995   _ACEOF
13996   if ac_fn_c_try_link "$LINENO"; then :
13997 <  ac_cv_lib_pcre_pcre_study=yes
13997 >  is_kqueue_mechanism_available="yes"
13998   else
13999 <  ac_cv_lib_pcre_pcre_study=no
13999 >  is_kqueue_mechanism_available="no"
14000   fi
14001   rm -f core conftest.err conftest.$ac_objext \
14002      conftest$ac_exeext conftest.$ac_ext
12793 LIBS=$ac_check_lib_save_LIBS
12794 fi
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12796 $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
14003  
14004 <      LIBS="-lpcre $LIBS"
12800 <
12801 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14004 >  iopoll_mechanism_epoll=2
14005  
14006 + cat >>confdefs.h <<_ACEOF
14007 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14008 + _ACEOF
14009  
14010 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 + /* end confdefs.h.  */
14012 + #include <sys/epoll.h>
14013 + int
14014 + main ()
14015 + {
14016 + epoll_create(256);
14017 +  ;
14018 +  return 0;
14019 + }
14020 + _ACEOF
14021 + if ac_fn_c_try_link "$LINENO"; then :
14022 +  is_epoll_mechanism_available="yes"
14023   else
14024 <  libpcre=no
14024 >  is_epoll_mechanism_available="no"
14025   fi
14026 + rm -f core conftest.err conftest.$ac_objext \
14027 +    conftest$ac_exeext conftest.$ac_ext
14028  
14029 +  iopoll_mechanism_devpoll=3
14030  
14031 + cat >>confdefs.h <<_ACEOF
14032 + #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14033 + _ACEOF
14034 +
14035 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 + /* end confdefs.h.  */
14037 + #include <devpoll.h>
14038 + int
14039 + main ()
14040 + {
14041 +
14042 +  ;
14043 +  return 0;
14044 + }
14045 + _ACEOF
14046 + if ac_fn_c_try_compile "$LINENO"; then :
14047 +  is_devpoll_mechanism_available="yes"
14048   else
14049 <  libpcre=no
14049 >  is_devpoll_mechanism_available="no"
14050   fi
14051 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14052 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14053  
14054 + $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14055  
14056 +  fi
14057 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 + /* end confdefs.h.  */
14059 + #include <sys/devpoll.h>
14060 + int
14061 + main ()
14062 + {
14063  
14064 < fi
14065 < if test "$libpcre" = yes; then
14066 <  ENABLE_PCRE_TRUE=
14067 <  ENABLE_PCRE_FALSE='#'
14064 >  ;
14065 >  return 0;
14066 > }
14067 > _ACEOF
14068 > if ac_fn_c_try_compile "$LINENO"; then :
14069 >  is_devpoll_mechanism_available="yes"
14070   else
14071 <  ENABLE_PCRE_TRUE='#'
12821 <  ENABLE_PCRE_FALSE=
14071 >  is_devpoll_mechanism_available="no"
14072   fi
14073 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14074 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14075  
14076 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14077  
14078 +  fi
14079  
14080 < # Check whether --enable-openssl was given.
14081 < if test "${enable_openssl+set}" = set; then :
14082 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
14080 >  iopoll_mechanism_poll=4
14081 >
14082 > cat >>confdefs.h <<_ACEOF
14083 > #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14084 > _ACEOF
14085 >
14086 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 > /* end confdefs.h.  */
14088 > /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14089 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14090 > #define poll innocuous_poll
14091 >
14092 > /* System header to define __stub macros and hopefully few prototypes,
14093 >    which can conflict with char poll (); below.
14094 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14095 >    <limits.h> exists even on freestanding compilers.  */
14096 >
14097 > #ifdef __STDC__
14098 > # include <limits.h>
14099 > #else
14100 > # include <assert.h>
14101 > #endif
14102 >
14103 > #undef poll
14104 >
14105 > /* Override any GCC internal prototype to avoid an error.
14106 >   Use char because int might match the return type of a GCC
14107 >   builtin and then its argument prototype would still apply.  */
14108 > #ifdef __cplusplus
14109 > extern "C"
14110 > #endif
14111 > char poll ();
14112 > /* The GNU C library defines this for functions which it implements
14113 >    to always fail with ENOSYS.  Some functions are actually named
14114 >    something starting with __ and the normal name is an alias.  */
14115 > #if defined __stub_poll || defined __stub___poll
14116 > choke me
14117 > #endif
14118 >
14119 > int
14120 > main ()
14121 > {
14122 > return poll ();
14123 >  ;
14124 >  return 0;
14125 > }
14126 > _ACEOF
14127 > if ac_fn_c_try_link "$LINENO"; then :
14128 >  is_poll_mechanism_available="yes"
14129   else
14130 <   cf_enable_openssl="auto"
14130 >  is_poll_mechanism_available="no"
14131   fi
14132 + rm -f core conftest.err conftest.$ac_objext \
14133 +    conftest$ac_exeext conftest.$ac_ext
14134  
14135 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14136 < $as_echo_n "checking for OpenSSL... " >&6; }
14137 < if test "$cf_enable_openssl" != "no"; then
14138 <  cf_openssl_basedir=""
14139 <  if test "$cf_enable_openssl" != "auto" &&
14140 <     test "$cf_enable_openssl" != "yes"; then
14141 <          cf_openssl_basedir="${cf_enable_openssl}"
14142 <  else
12841 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12842 <                /opt /opt/openssl /usr/local/openssl; do
12843 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12844 <        cf_openssl_basedir="${dirs}"
12845 <        break
12846 <      fi
12847 <    done
12848 <    unset dirs
12849 <  fi
14135 >  optimal_iopoll_mechanism="none"
14136 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14137 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14138 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14139 >      optimal_iopoll_mechanism="$mechanism"
14140 >      break
14141 >    fi
14142 >  done
14143  
14144 <    if test ! -z "$cf_openssl_basedir"; then
14145 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
14146 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
14147 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
14144 >  if test "$desired_iopoll_mechanism" = "none" ; then
14145 >    if test "$optimal_iopoll_mechanism" = "none" ; then
14146 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14147 > $as_echo "none" >&6; }
14148 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14149      else
14150 <                  cf_openssl_basedir=""
14150 >      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14151 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14152 > $as_echo "$selected_iopoll_mechanism" >&6; }
14153      fi
14154    else
14155 <                            if test -f "/usr/include/openssl/opensslv.h"; then
14156 <      cf_openssl_basedir="/usr"
14155 >    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14156 >    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14157 >      selected_iopoll_mechanism=$desired_iopoll_mechanism
14158 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14159 > $as_echo "$selected_iopoll_mechanism" >&6; }
14160 >    else
14161 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14162 > $as_echo "none" >&6; }
14163 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14164      fi
14165    fi
14166  
14167 <      if test ! -z "$cf_openssl_basedir"; then
12865 <    LIBS="-lcrypto -lssl $LIBS"
12866 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12867 < $as_echo "$cf_openssl_basedir" >&6; }
12868 <    cf_enable_openssl="yes"
14167 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14168  
14169 < $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
14169 > cat >>confdefs.h <<_ACEOF
14170 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14171 > _ACEOF
14172  
14173 <  else
14174 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14175 < $as_echo "not found. Please check your path." >&6; }
14176 <    cf_enable_openssl="no"
14173 >
14174 >
14175 >  # Check whether --enable-debugging was given.
14176 > if test "${enable_debugging+set}" = set; then :
14177 >  enableval=$enable_debugging; debugging="$enableval"
14178 > else
14179 >  debugging="no"
14180 > fi
14181 >
14182 >  if test "$debugging" = "yes" ; then
14183 >    CFLAGS="-Wall -g -O0"
14184    fi
14185 <  unset cf_openssl_basedir
14185 >
14186 >
14187 >  # Check whether --enable-warnings was given.
14188 > if test "${enable_warnings+set}" = set; then :
14189 >  enableval=$enable_warnings; warnings="$enableval"
14190   else
14191 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12880 < $as_echo "disabled" >&6; }
14191 >  warnings="no"
14192   fi
14193  
14194 < if test "$cf_enable_openssl" != "no"; then :
14195 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14196 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14197 <  if test "$cross_compiling" = yes; then :
14198 <  cf_openssl_version_ok=no
14194 >
14195 >  if test "$warnings" = "yes" ; then
14196 >
14197 >
14198 >
14199 >
14200 > for flag in -Wall; do
14201 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14202 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14203 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14204 > if eval \${$as_CACHEVAR+:} false; then :
14205 >  $as_echo_n "(cached) " >&6
14206   else
14207 +
14208 +  ax_check_save_flags=$CFLAGS
14209 +  CFLAGS="$CFLAGS  $flag"
14210    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211   /* end confdefs.h.  */
14212  
12892    #include <openssl/opensslv.h>
12893    #include <stdlib.h>
14213   int
14214   main ()
14215   {
14216 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14216 >
14217    ;
14218    return 0;
14219   }
14220   _ACEOF
14221 < if ac_fn_c_try_run "$LINENO"; then :
14222 <  cf_openssl_version_ok=yes
14221 > if ac_fn_c_try_compile "$LINENO"; then :
14222 >  eval "$as_CACHEVAR=yes"
14223   else
14224 <  cf_openssl_version_ok=no
14224 >  eval "$as_CACHEVAR=no"
14225   fi
14226 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14227 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14226 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14227 >  CFLAGS=$ax_check_save_flags
14228 > fi
14229 > eval ac_res=\$$as_CACHEVAR
14230 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14231 > $as_echo "$ac_res" >&6; }
14232 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14233 >  if ${CFLAGS+:} false; then :
14234 >  case " $CFLAGS " in
14235 >    *" $flag "*)
14236 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14237 >  (: CFLAGS already contains $flag) 2>&5
14238 >  ac_status=$?
14239 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14240 >  test $ac_status = 0; }
14241 >      ;;
14242 >    *)
14243 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14244 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14245 >  ac_status=$?
14246 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14247 >  test $ac_status = 0; }
14248 >      CFLAGS="$CFLAGS $flag"
14249 >      ;;
14250 >   esac
14251 > else
14252 >  CFLAGS="$flag"
14253   fi
14254  
14255 + else
14256 +  :
14257 + fi
14258  
14259 <  if test "$cf_openssl_version_ok" = "yes"; then :
12913 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12914 < $as_echo "found" >&6; }
14259 > done
14260  
14261 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14262 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14263 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14261 >
14262 >
14263 >
14264 >
14265 > for flag in -Wbad-function-cast; do
14266 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14267 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14268 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14269 > if eval \${$as_CACHEVAR+:} false; then :
14270    $as_echo_n "(cached) " >&6
14271   else
14272 <  ac_check_lib_save_LIBS=$LIBS
14273 < LIBS="-lcrypto  $LIBS"
14274 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 >
14273 >  ax_check_save_flags=$CFLAGS
14274 >  CFLAGS="$CFLAGS  $flag"
14275 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276   /* end confdefs.h.  */
14277  
12926 /* Override any GCC internal prototype to avoid an error.
12927   Use char because int might match the return type of a GCC
12928   builtin and then its argument prototype would still apply.  */
12929 #ifdef __cplusplus
12930 extern "C"
12931 #endif
12932 char RSA_free ();
14278   int
14279   main ()
14280   {
14281 < return RSA_free ();
14281 >
14282    ;
14283    return 0;
14284   }
14285   _ACEOF
14286 < if ac_fn_c_try_link "$LINENO"; then :
14287 <  ac_cv_lib_crypto_RSA_free=yes
14286 > if ac_fn_c_try_compile "$LINENO"; then :
14287 >  eval "$as_CACHEVAR=yes"
14288   else
14289 <  ac_cv_lib_crypto_RSA_free=no
14289 >  eval "$as_CACHEVAR=no"
14290   fi
14291 < rm -f core conftest.err conftest.$ac_objext \
14292 <    conftest$ac_exeext conftest.$ac_ext
14293 < LIBS=$ac_check_lib_save_LIBS
14291 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14292 >  CFLAGS=$ax_check_save_flags
14293 > fi
14294 > eval ac_res=\$$as_CACHEVAR
14295 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14296 > $as_echo "$ac_res" >&6; }
14297 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14298 >  if ${CFLAGS+:} false; then :
14299 >  case " $CFLAGS " in
14300 >    *" $flag "*)
14301 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14302 >  (: CFLAGS already contains $flag) 2>&5
14303 >  ac_status=$?
14304 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14305 >  test $ac_status = 0; }
14306 >      ;;
14307 >    *)
14308 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14309 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14310 >  ac_status=$?
14311 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14312 >  test $ac_status = 0; }
14313 >      CFLAGS="$CFLAGS $flag"
14314 >      ;;
14315 >   esac
14316 > else
14317 >  CFLAGS="$flag"
14318   fi
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12951 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12952 if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12953  cat >>confdefs.h <<_ACEOF
12954 #define HAVE_LIBCRYPTO 1
12955 _ACEOF
12956
12957  LIBS="-lcrypto $LIBS"
14319  
14320 + else
14321 +  :
14322   fi
14323  
14324 <    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14325 <  for ac_func in EVP_bf_cfb           \
14326 <                      EVP_cast5_cfb        \
14327 <                      EVP_idea_cfb         \
14328 <                      EVP_rc5_32_12_16_cfb \
14329 <                      EVP_des_ede3_cfb     \
14330 <                      EVP_des_cfb
14331 < do :
14332 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14333 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14334 < eval as_val=\$$as_ac_var
14335 <   if test "x$as_val" = x""yes; then :
14336 <  cat >>confdefs.h <<_ACEOF
14337 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14324 > done
14325 >
14326 >
14327 >
14328 >
14329 >
14330 > for flag in -Wcast-align; do
14331 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14332 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14333 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14334 > if eval \${$as_CACHEVAR+:} false; then :
14335 >  $as_echo_n "(cached) " >&6
14336 > else
14337 >
14338 >  ax_check_save_flags=$CFLAGS
14339 >  CFLAGS="$CFLAGS  $flag"
14340 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 > /* end confdefs.h.  */
14342 >
14343 > int
14344 > main ()
14345 > {
14346 >
14347 >  ;
14348 >  return 0;
14349 > }
14350   _ACEOF
14351 + if ac_fn_c_try_compile "$LINENO"; then :
14352 +  eval "$as_CACHEVAR=yes"
14353 + else
14354 +  eval "$as_CACHEVAR=no"
14355 + fi
14356 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 +  CFLAGS=$ax_check_save_flags
14358 + fi
14359 + eval ac_res=\$$as_CACHEVAR
14360 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14361 + $as_echo "$ac_res" >&6; }
14362 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14363 +  if ${CFLAGS+:} false; then :
14364 +  case " $CFLAGS " in
14365 +    *" $flag "*)
14366 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14367 +  (: CFLAGS already contains $flag) 2>&5
14368 +  ac_status=$?
14369 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14370 +  test $ac_status = 0; }
14371 +      ;;
14372 +    *)
14373 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14374 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14375 +  ac_status=$?
14376 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 +  test $ac_status = 0; }
14378 +      CFLAGS="$CFLAGS $flag"
14379 +      ;;
14380 +   esac
14381 + else
14382 +  CFLAGS="$flag"
14383 + fi
14384  
14385 + else
14386 +  :
14387   fi
14388 +
14389   done
14390  
12980 fi
14391  
14392 +
14393 +
14394 +
14395 + for flag in -Wcast-qual; do
14396 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14397 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14398 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14399 + if eval \${$as_CACHEVAR+:} false; then :
14400 +  $as_echo_n "(cached) " >&6
14401   else
14402 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14403 < $as_echo "no - OpenSSL support disabled" >&6; }
14404 <    cf_enable_openssl="no"
14402 >
14403 >  ax_check_save_flags=$CFLAGS
14404 >  CFLAGS="$CFLAGS  $flag"
14405 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 > /* end confdefs.h.  */
14407 >
14408 > int
14409 > main ()
14410 > {
14411 >
14412 >  ;
14413 >  return 0;
14414 > }
14415 > _ACEOF
14416 > if ac_fn_c_try_compile "$LINENO"; then :
14417 >  eval "$as_CACHEVAR=yes"
14418 > else
14419 >  eval "$as_CACHEVAR=no"
14420   fi
14421 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14422 +  CFLAGS=$ax_check_save_flags
14423 + fi
14424 + eval ac_res=\$$as_CACHEVAR
14425 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14426 + $as_echo "$ac_res" >&6; }
14427 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14428 +  if ${CFLAGS+:} false; then :
14429 +  case " $CFLAGS " in
14430 +    *" $flag "*)
14431 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14432 +  (: CFLAGS already contains $flag) 2>&5
14433 +  ac_status=$?
14434 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14435 +  test $ac_status = 0; }
14436 +      ;;
14437 +    *)
14438 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14439 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14440 +  ac_status=$?
14441 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14442 +  test $ac_status = 0; }
14443 +      CFLAGS="$CFLAGS $flag"
14444 +      ;;
14445 +   esac
14446 + else
14447 +  CFLAGS="$flag"
14448   fi
14449  
12989 if test "$cf_enable_openssl" = yes; then
12990  ENABLE_SSL_TRUE=
12991  ENABLE_SSL_FALSE='#'
14450   else
14451 <  ENABLE_SSL_TRUE='#'
12994 <  ENABLE_SSL_FALSE=
14451 >  :
14452   fi
14453  
14454 + done
14455  
14456  
12999 # Check whether --enable-assert was given.
13000 if test "${enable_assert+set}" = set; then :
13001  enableval=$enable_assert; assert=$enableval
13002 else
13003  assert=no
13004 fi
14457  
14458  
13007 if test "$assert" = "no"; then :
14459  
14460 < $as_echo "#define NDEBUG 1" >>confdefs.h
14460 > for flag in -Wclobbered; do
14461 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14462 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14463 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14464 > if eval \${$as_CACHEVAR+:} false; then :
14465 >  $as_echo_n "(cached) " >&6
14466 > else
14467  
14468 < fi
14468 >  ax_check_save_flags=$CFLAGS
14469 >  CFLAGS="$CFLAGS  $flag"
14470 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 > /* end confdefs.h.  */
14472  
14473 + int
14474 + main ()
14475 + {
14476 +
14477 +  ;
14478 +  return 0;
14479 + }
14480 + _ACEOF
14481 + if ac_fn_c_try_compile "$LINENO"; then :
14482 +  eval "$as_CACHEVAR=yes"
14483 + else
14484 +  eval "$as_CACHEVAR=no"
14485 + fi
14486 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14487 +  CFLAGS=$ax_check_save_flags
14488 + fi
14489 + eval ac_res=\$$as_CACHEVAR
14490 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14491 + $as_echo "$ac_res" >&6; }
14492 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14493 +  if ${CFLAGS+:} false; then :
14494 +  case " $CFLAGS " in
14495 +    *" $flag "*)
14496 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14497 +  (: CFLAGS already contains $flag) 2>&5
14498 +  ac_status=$?
14499 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14500 +  test $ac_status = 0; }
14501 +      ;;
14502 +    *)
14503 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14504 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14505 +  ac_status=$?
14506 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14507 +  test $ac_status = 0; }
14508 +      CFLAGS="$CFLAGS $flag"
14509 +      ;;
14510 +   esac
14511 + else
14512 +  CFLAGS="$flag"
14513 + fi
14514  
13014 # Check whether --enable-small-net was given.
13015 if test "${enable_small_net+set}" = set; then :
13016  enableval=$enable_small_net; small_net=$enableval
14515   else
14516 <  small_net=no
14516 >  :
14517   fi
14518  
14519 + done
14520  
13022 if test "$small_net" = "yes"; then :
14521  
14522  
13025 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14523  
14524  
14525 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14525 > for flag in -Wempty-body; do
14526 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14527 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14528 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14529 > if eval \${$as_CACHEVAR+:} false; then :
14530 >  $as_echo_n "(cached) " >&6
14531 > else
14532  
14533 +  ax_check_save_flags=$CFLAGS
14534 +  CFLAGS="$CFLAGS  $flag"
14535 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 + /* end confdefs.h.  */
14537  
14538 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14538 > int
14539 > main ()
14540 > {
14541  
14542 +  ;
14543 +  return 0;
14544 + }
14545 + _ACEOF
14546 + if ac_fn_c_try_compile "$LINENO"; then :
14547 +  eval "$as_CACHEVAR=yes"
14548 + else
14549 +  eval "$as_CACHEVAR=no"
14550 + fi
14551 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14552 +  CFLAGS=$ax_check_save_flags
14553 + fi
14554 + eval ac_res=\$$as_CACHEVAR
14555 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14556 + $as_echo "$ac_res" >&6; }
14557 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14558 +  if ${CFLAGS+:} false; then :
14559 +  case " $CFLAGS " in
14560 +    *" $flag "*)
14561 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14562 +  (: CFLAGS already contains $flag) 2>&5
14563 +  ac_status=$?
14564 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14565 +  test $ac_status = 0; }
14566 +      ;;
14567 +    *)
14568 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14569 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14570 +  ac_status=$?
14571 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14572 +  test $ac_status = 0; }
14573 +      CFLAGS="$CFLAGS $flag"
14574 +      ;;
14575 +   esac
14576 + else
14577 +  CFLAGS="$flag"
14578 + fi
14579 +
14580 + else
14581 +  :
14582 + fi
14583  
14584 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14584 > done
14585  
14586  
13037 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14587  
14588  
13040 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14589  
14590 + for flag in -Wignored-qualifiers; do
14591 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14593 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14594 + if eval \${$as_CACHEVAR+:} false; then :
14595 +  $as_echo_n "(cached) " >&6
14596 + else
14597  
14598 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14598 >  ax_check_save_flags=$CFLAGS
14599 >  CFLAGS="$CFLAGS  $flag"
14600 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 > /* end confdefs.h.  */
14602  
14603 + int
14604 + main ()
14605 + {
14606  
14607 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14607 >  ;
14608 >  return 0;
14609 > }
14610 > _ACEOF
14611 > if ac_fn_c_try_compile "$LINENO"; then :
14612 >  eval "$as_CACHEVAR=yes"
14613 > else
14614 >  eval "$as_CACHEVAR=no"
14615 > fi
14616 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 >  CFLAGS=$ax_check_save_flags
14618 > fi
14619 > eval ac_res=\$$as_CACHEVAR
14620 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14621 > $as_echo "$ac_res" >&6; }
14622 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14623 >  if ${CFLAGS+:} false; then :
14624 >  case " $CFLAGS " in
14625 >    *" $flag "*)
14626 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14627 >  (: CFLAGS already contains $flag) 2>&5
14628 >  ac_status=$?
14629 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14630 >  test $ac_status = 0; }
14631 >      ;;
14632 >    *)
14633 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14634 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14635 >  ac_status=$?
14636 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 >  test $ac_status = 0; }
14638 >      CFLAGS="$CFLAGS $flag"
14639 >      ;;
14640 >   esac
14641 > else
14642 >  CFLAGS="$flag"
14643 > fi
14644  
14645 + else
14646 +  :
14647 + fi
14648  
14649 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14649 > done
14650  
14651  
13052 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14652  
13054 else
14653  
14654  
14655 + for flag in -Wlogical-op; do
14656 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14657 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14658 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14659 + if eval \${$as_CACHEVAR+:} false; then :
14660 +  $as_echo_n "(cached) " >&6
14661 + else
14662  
14663 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14663 >  ax_check_save_flags=$CFLAGS
14664 >  CFLAGS="$CFLAGS  $flag"
14665 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 > /* end confdefs.h.  */
14667  
14668 + int
14669 + main ()
14670 + {
14671  
14672 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14672 >  ;
14673 >  return 0;
14674 > }
14675 > _ACEOF
14676 > if ac_fn_c_try_compile "$LINENO"; then :
14677 >  eval "$as_CACHEVAR=yes"
14678 > else
14679 >  eval "$as_CACHEVAR=no"
14680 > fi
14681 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14682 >  CFLAGS=$ax_check_save_flags
14683 > fi
14684 > eval ac_res=\$$as_CACHEVAR
14685 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14686 > $as_echo "$ac_res" >&6; }
14687 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14688 >  if ${CFLAGS+:} false; then :
14689 >  case " $CFLAGS " in
14690 >    *" $flag "*)
14691 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14692 >  (: CFLAGS already contains $flag) 2>&5
14693 >  ac_status=$?
14694 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14695 >  test $ac_status = 0; }
14696 >      ;;
14697 >    *)
14698 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14699 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14700 >  ac_status=$?
14701 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14702 >  test $ac_status = 0; }
14703 >      CFLAGS="$CFLAGS $flag"
14704 >      ;;
14705 >   esac
14706 > else
14707 >  CFLAGS="$flag"
14708 > fi
14709  
14710 + else
14711 +  :
14712 + fi
14713  
14714 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14714 > done
14715  
14716  
13067 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14717  
14718  
13070 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14719  
14720 + for flag in -Wmissing-declarations; do
14721 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14722 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14723 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14724 + if eval \${$as_CACHEVAR+:} false; then :
14725 +  $as_echo_n "(cached) " >&6
14726 + else
14727  
14728 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14728 >  ax_check_save_flags=$CFLAGS
14729 >  CFLAGS="$CFLAGS  $flag"
14730 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 > /* end confdefs.h.  */
14732  
14733 + int
14734 + main ()
14735 + {
14736  
14737 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14737 >  ;
14738 >  return 0;
14739 > }
14740 > _ACEOF
14741 > if ac_fn_c_try_compile "$LINENO"; then :
14742 >  eval "$as_CACHEVAR=yes"
14743 > else
14744 >  eval "$as_CACHEVAR=no"
14745 > fi
14746 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 >  CFLAGS=$ax_check_save_flags
14748 > fi
14749 > eval ac_res=\$$as_CACHEVAR
14750 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14751 > $as_echo "$ac_res" >&6; }
14752 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14753 >  if ${CFLAGS+:} false; then :
14754 >  case " $CFLAGS " in
14755 >    *" $flag "*)
14756 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14757 >  (: CFLAGS already contains $flag) 2>&5
14758 >  ac_status=$?
14759 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 >  test $ac_status = 0; }
14761 >      ;;
14762 >    *)
14763 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14764 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14765 >  ac_status=$?
14766 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14767 >  test $ac_status = 0; }
14768 >      CFLAGS="$CFLAGS $flag"
14769 >      ;;
14770 >   esac
14771 > else
14772 >  CFLAGS="$flag"
14773 > fi
14774  
14775 + else
14776 +  :
14777 + fi
14778  
14779 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14779 > done
14780  
14781  
13082 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14782  
14783  
13085 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14784  
14785 < fi
14785 > for flag in -Wmissing-field-initializers; do
14786 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 > if eval \${$as_CACHEVAR+:} false; then :
14790 >  $as_echo_n "(cached) " >&6
14791 > else
14792  
14793 +  ax_check_save_flags=$CFLAGS
14794 +  CFLAGS="$CFLAGS  $flag"
14795 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 + /* end confdefs.h.  */
14797  
14798 < # Argument processing.
14798 > int
14799 > main ()
14800 > {
14801  
14802 <    desired_iopoll_mechanism="none"
14803 <    # Check whether --enable-kqueue was given.
14804 < if test "${enable_kqueue+set}" = set; then :
14805 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14802 >  ;
14803 >  return 0;
14804 > }
14805 > _ACEOF
14806 > if ac_fn_c_try_compile "$LINENO"; then :
14807 >  eval "$as_CACHEVAR=yes"
14808 > else
14809 >  eval "$as_CACHEVAR=no"
14810   fi
14811 <
14812 <  # Check whether --enable-epoll was given.
13099 < if test "${enable_epoll+set}" = set; then :
13100 <  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14811 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 >  CFLAGS=$ax_check_save_flags
14813   fi
14814 <
14815 <  # Check whether --enable-devpoll was given.
14816 < if test "${enable_devpoll+set}" = set; then :
14817 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14814 > eval ac_res=\$$as_CACHEVAR
14815 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 > $as_echo "$ac_res" >&6; }
14817 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14818 >  if ${CFLAGS+:} false; then :
14819 >  case " $CFLAGS " in
14820 >    *" $flag "*)
14821 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14822 >  (: CFLAGS already contains $flag) 2>&5
14823 >  ac_status=$?
14824 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 >  test $ac_status = 0; }
14826 >      ;;
14827 >    *)
14828 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14829 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14830 >  ac_status=$?
14831 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 >  test $ac_status = 0; }
14833 >      CFLAGS="$CFLAGS $flag"
14834 >      ;;
14835 >   esac
14836 > else
14837 >  CFLAGS="$flag"
14838   fi
14839  
14840 <  # Check whether --enable-rtsigio was given.
14841 < if test "${enable_rtsigio+set}" = set; then :
13110 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14840 > else
14841 >  :
14842   fi
14843  
14844 <  # Check whether --enable-poll was given.
13114 < if test "${enable_poll+set}" = set; then :
13115 <  enableval=$enable_poll; desired_iopoll_mechanism="poll"
13116 < fi
14844 > done
14845  
13118  # Check whether --enable-select was given.
13119 if test "${enable_select+set}" = set; then :
13120  enableval=$enable_select; desired_iopoll_mechanism="select"
13121 fi
14846  
13123      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13124 $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13125  iopoll_mechanism_none=0
14847  
13127 cat >>confdefs.h <<_ACEOF
13128 #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13129 _ACEOF
14848  
13131      iopoll_mechanism_kqueue=1
14849  
14850 < cat >>confdefs.h <<_ACEOF
14851 < #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14852 < _ACEOF
14850 > for flag in -Wmissing-include-dirs; do
14851 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14852 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14853 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14854 > if eval \${$as_CACHEVAR+:} false; then :
14855 >  $as_echo_n "(cached) " >&6
14856 > else
14857  
14858 +  ax_check_save_flags=$CFLAGS
14859 +  CFLAGS="$CFLAGS  $flag"
14860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861   /* end confdefs.h.  */
13139 /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13140   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13141 #define kevent innocuous_kevent
14862  
14863 < /* System header to define __stub macros and hopefully few prototypes,
14864 <    which can conflict with char kevent (); below.
14865 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13146 <    <limits.h> exists even on freestanding compilers.  */
14863 > int
14864 > main ()
14865 > {
14866  
14867 < #ifdef __STDC__
14868 < # include <limits.h>
14869 < #else
14870 < # include <assert.h>
14871 < #endif
14867 >  ;
14868 >  return 0;
14869 > }
14870 > _ACEOF
14871 > if ac_fn_c_try_compile "$LINENO"; then :
14872 >  eval "$as_CACHEVAR=yes"
14873 > else
14874 >  eval "$as_CACHEVAR=no"
14875 > fi
14876 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14877 >  CFLAGS=$ax_check_save_flags
14878 > fi
14879 > eval ac_res=\$$as_CACHEVAR
14880 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14881 > $as_echo "$ac_res" >&6; }
14882 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14883 >  if ${CFLAGS+:} false; then :
14884 >  case " $CFLAGS " in
14885 >    *" $flag "*)
14886 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14887 >  (: CFLAGS already contains $flag) 2>&5
14888 >  ac_status=$?
14889 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14890 >  test $ac_status = 0; }
14891 >      ;;
14892 >    *)
14893 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14894 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14895 >  ac_status=$?
14896 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14897 >  test $ac_status = 0; }
14898 >      CFLAGS="$CFLAGS $flag"
14899 >      ;;
14900 >   esac
14901 > else
14902 >  CFLAGS="$flag"
14903 > fi
14904  
14905 < #undef kevent
14905 > else
14906 >  :
14907 > fi
14908  
14909 < /* Override any GCC internal prototype to avoid an error.
14910 <   Use char because int might match the return type of a GCC
14911 <   builtin and then its argument prototype would still apply.  */
14912 < #ifdef __cplusplus
14913 < extern "C"
14914 < #endif
14915 < char kevent ();
14916 < /* The GNU C library defines this for functions which it implements
14917 <    to always fail with ENOSYS.  Some functions are actually named
14918 <    something starting with __ and the normal name is an alias.  */
14919 < #if defined __stub_kevent || defined __stub___kevent
14920 < choke me
14921 < #endif
14909 > done
14910 >
14911 >
14912 >
14913 >
14914 >
14915 > for flag in -Wmissing-parameter-type; do
14916 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14917 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14918 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14919 > if eval \${$as_CACHEVAR+:} false; then :
14920 >  $as_echo_n "(cached) " >&6
14921 > else
14922 >
14923 >  ax_check_save_flags=$CFLAGS
14924 >  CFLAGS="$CFLAGS  $flag"
14925 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 > /* end confdefs.h.  */
14927  
14928   int
14929   main ()
14930   {
14931 < return kevent ();
14931 >
14932    ;
14933    return 0;
14934   }
14935   _ACEOF
14936 < if ac_fn_c_try_link "$LINENO"; then :
14937 <  is_kqueue_mechanism_available="yes"
14936 > if ac_fn_c_try_compile "$LINENO"; then :
14937 >  eval "$as_CACHEVAR=yes"
14938   else
14939 <  is_kqueue_mechanism_available="no"
14939 >  eval "$as_CACHEVAR=no"
14940 > fi
14941 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 >  CFLAGS=$ax_check_save_flags
14943 > fi
14944 > eval ac_res=\$$as_CACHEVAR
14945 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14946 > $as_echo "$ac_res" >&6; }
14947 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14948 >  if ${CFLAGS+:} false; then :
14949 >  case " $CFLAGS " in
14950 >    *" $flag "*)
14951 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14952 >  (: CFLAGS already contains $flag) 2>&5
14953 >  ac_status=$?
14954 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 >  test $ac_status = 0; }
14956 >      ;;
14957 >    *)
14958 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14959 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14960 >  ac_status=$?
14961 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14962 >  test $ac_status = 0; }
14963 >      CFLAGS="$CFLAGS $flag"
14964 >      ;;
14965 >   esac
14966 > else
14967 >  CFLAGS="$flag"
14968   fi
13183 rm -f core conftest.err conftest.$ac_objext \
13184    conftest$ac_exeext conftest.$ac_ext
13185      iopoll_mechanism_epoll=2
14969  
14970 < cat >>confdefs.h <<_ACEOF
14971 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14972 < _ACEOF
14970 > else
14971 >  :
14972 > fi
14973  
14974 <  if test "$cross_compiling" = yes; then :
14975 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14976 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14977 < as_fn_error "cannot run test program while cross compiling
14978 < See \`config.log' for more details." "$LINENO" 5; }
14974 > done
14975 >
14976 >
14977 >
14978 >
14979 >
14980 > for flag in -Wmissing-prototypes; do
14981 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14982 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14983 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14984 > if eval \${$as_CACHEVAR+:} false; then :
14985 >  $as_echo_n "(cached) " >&6
14986   else
14987 +
14988 +  ax_check_save_flags=$CFLAGS
14989 +  CFLAGS="$CFLAGS  $flag"
14990    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991   /* end confdefs.h.  */
14992  
14993 < #include <sys/epoll.h>
14994 < #include <sys/syscall.h>
14995 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13203 < #if !defined(__NR_epoll_create)
13204 < #if defined(__ia64__)
13205 < #define __NR_epoll_create 1243
13206 < #elif defined(__x86_64__)
13207 < #define __NR_epoll_create 214
13208 < #elif defined(__sparc64__) || defined(__sparc__)
13209 < #define __NR_epoll_create 193
13210 < #elif defined(__s390__) || defined(__m68k__)
13211 < #define __NR_epoll_create 249
13212 < #elif defined(__ppc64__) || defined(__ppc__)
13213 < #define __NR_epoll_create 236
13214 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13215 < #define __NR_epoll_create 224
13216 < #elif defined(__alpha__)
13217 < #define __NR_epoll_create 407
13218 < #elif defined(__sh64__)
13219 < #define __NR_epoll_create 282
13220 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13221 < #define __NR_epoll_create 254
13222 < #else
13223 < #error No system call numbers defined for epoll family.
13224 < #endif
13225 < #endif
13226 < _syscall1(int, epoll_create, int, size)
13227 < #endif
13228 < main() { return epoll_create(256) == -1 ? 1 : 0; }
14993 > int
14994 > main ()
14995 > {
14996  
14997 +  ;
14998 +  return 0;
14999 + }
15000   _ACEOF
15001 < if ac_fn_c_try_run "$LINENO"; then :
15002 <  is_epoll_mechanism_available="yes"
15001 > if ac_fn_c_try_compile "$LINENO"; then :
15002 >  eval "$as_CACHEVAR=yes"
15003   else
15004 <  is_epoll_mechanism_available="no"
15004 >  eval "$as_CACHEVAR=no"
15005   fi
15006 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15007 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15006 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15007 >  CFLAGS=$ax_check_save_flags
15008 > fi
15009 > eval ac_res=\$$as_CACHEVAR
15010 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15011 > $as_echo "$ac_res" >&6; }
15012 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15013 >  if ${CFLAGS+:} false; then :
15014 >  case " $CFLAGS " in
15015 >    *" $flag "*)
15016 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15017 >  (: CFLAGS already contains $flag) 2>&5
15018 >  ac_status=$?
15019 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15020 >  test $ac_status = 0; }
15021 >      ;;
15022 >    *)
15023 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15024 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15025 >  ac_status=$?
15026 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15027 >  test $ac_status = 0; }
15028 >      CFLAGS="$CFLAGS $flag"
15029 >      ;;
15030 >   esac
15031 > else
15032 >  CFLAGS="$flag"
15033   fi
15034  
15035 <      iopoll_mechanism_devpoll=3
15035 > else
15036 >  :
15037 > fi
15038  
15039 < cat >>confdefs.h <<_ACEOF
15040 < #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
15041 < _ACEOF
15039 > done
15040 >
15041 >
15042 >
15043 >
15044 >
15045 > for flag in -Wnested-externs; do
15046 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15047 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15048 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15049 > if eval \${$as_CACHEVAR+:} false; then :
15050 >  $as_echo_n "(cached) " >&6
15051 > else
15052  
15053 +  ax_check_save_flags=$CFLAGS
15054 +  CFLAGS="$CFLAGS  $flag"
15055    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056   /* end confdefs.h.  */
15057 < #include <devpoll.h>
15057 >
15058   int
15059   main ()
15060   {
# Line 13255 | Line 15064 | main ()
15064   }
15065   _ACEOF
15066   if ac_fn_c_try_compile "$LINENO"; then :
15067 <  is_devpoll_mechanism_available="yes"
15067 >  eval "$as_CACHEVAR=yes"
15068   else
15069 <  is_devpoll_mechanism_available="no"
15069 >  eval "$as_CACHEVAR=no"
15070   fi
15071   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15072 >  CFLAGS=$ax_check_save_flags
15073 > fi
15074 > eval ac_res=\$$as_CACHEVAR
15075 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15076 > $as_echo "$ac_res" >&6; }
15077 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15078 >  if ${CFLAGS+:} false; then :
15079 >  case " $CFLAGS " in
15080 >    *" $flag "*)
15081 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15082 >  (: CFLAGS already contains $flag) 2>&5
15083 >  ac_status=$?
15084 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15085 >  test $ac_status = 0; }
15086 >      ;;
15087 >    *)
15088 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15089 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15090 >  ac_status=$?
15091 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15092 >  test $ac_status = 0; }
15093 >      CFLAGS="$CFLAGS $flag"
15094 >      ;;
15095 >   esac
15096 > else
15097 >  CFLAGS="$flag"
15098 > fi
15099  
15100 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
15100 > else
15101 >  :
15102 > fi
15103  
15104 <  fi
15104 > done
15105 >
15106 >
15107 >
15108 >
15109 >
15110 > for flag in -Wold-style-declaration; do
15111 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15113 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15114 > if eval \${$as_CACHEVAR+:} false; then :
15115 >  $as_echo_n "(cached) " >&6
15116 > else
15117 >
15118 >  ax_check_save_flags=$CFLAGS
15119 >  CFLAGS="$CFLAGS  $flag"
15120    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121   /* end confdefs.h.  */
15122 < #include <sys/devpoll.h>
15122 >
15123   int
15124   main ()
15125   {
# Line 13277 | Line 15129 | main ()
15129   }
15130   _ACEOF
15131   if ac_fn_c_try_compile "$LINENO"; then :
15132 <  is_devpoll_mechanism_available="yes"
15132 >  eval "$as_CACHEVAR=yes"
15133   else
15134 <  is_devpoll_mechanism_available="no"
15134 >  eval "$as_CACHEVAR=no"
15135   fi
15136   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15137 >  CFLAGS=$ax_check_save_flags
15138 > fi
15139 > eval ac_res=\$$as_CACHEVAR
15140 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15141 > $as_echo "$ac_res" >&6; }
15142 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15143 >  if ${CFLAGS+:} false; then :
15144 >  case " $CFLAGS " in
15145 >    *" $flag "*)
15146 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15147 >  (: CFLAGS already contains $flag) 2>&5
15148 >  ac_status=$?
15149 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15150 >  test $ac_status = 0; }
15151 >      ;;
15152 >    *)
15153 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15154 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15155 >  ac_status=$?
15156 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 >  test $ac_status = 0; }
15158 >      CFLAGS="$CFLAGS $flag"
15159 >      ;;
15160 >   esac
15161 > else
15162 >  CFLAGS="$flag"
15163 > fi
15164  
15165 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
15165 > else
15166 >  :
15167 > fi
15168  
15169 <  fi
13290 <      iopoll_mechanism_rtsigio=4
15169 > done
15170  
13292 cat >>confdefs.h <<_ACEOF
13293 #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13294 _ACEOF
15171  
15172 <  if test "$cross_compiling" = yes; then :
15173 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15174 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15175 < as_fn_error "cannot run test program while cross compiling
15176 < See \`config.log' for more details." "$LINENO" 5; }
15172 >
15173 >
15174 >
15175 > for flag in -Woverride-init; do
15176 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15177 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15178 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15179 > if eval \${$as_CACHEVAR+:} false; then :
15180 >  $as_echo_n "(cached) " >&6
15181   else
15182 +
15183 +  ax_check_save_flags=$CFLAGS
15184 +  CFLAGS="$CFLAGS  $flag"
15185    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186   /* end confdefs.h.  */
15187  
13305 #include <fcntl.h>
13306 #ifdef F_SETSIG
13307 main () { return 0; } /* F_SETSIG defined */
13308 #else
13309 main () { return 1; } /* F_SETSIG not defined */
13310 #endif
13311
15188   int
15189   main ()
15190   {
# Line 13317 | Line 15193 | main ()
15193    return 0;
15194   }
15195   _ACEOF
15196 < if ac_fn_c_try_run "$LINENO"; then :
15197 <  is_rtsigio_mechanism_available="yes"
15196 > if ac_fn_c_try_compile "$LINENO"; then :
15197 >  eval "$as_CACHEVAR=yes"
15198   else
15199 <  is_rtsigio_mechanism_available="no"
15199 >  eval "$as_CACHEVAR=no"
15200   fi
15201 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15202 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15201 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202 >  CFLAGS=$ax_check_save_flags
15203 > fi
15204 > eval ac_res=\$$as_CACHEVAR
15205 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15206 > $as_echo "$ac_res" >&6; }
15207 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15208 >  if ${CFLAGS+:} false; then :
15209 >  case " $CFLAGS " in
15210 >    *" $flag "*)
15211 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15212 >  (: CFLAGS already contains $flag) 2>&5
15213 >  ac_status=$?
15214 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15215 >  test $ac_status = 0; }
15216 >      ;;
15217 >    *)
15218 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15219 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15220 >  ac_status=$?
15221 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15222 >  test $ac_status = 0; }
15223 >      CFLAGS="$CFLAGS $flag"
15224 >      ;;
15225 >   esac
15226 > else
15227 >  CFLAGS="$flag"
15228   fi
15229  
15230 <      iopoll_mechanism_poll=5
15230 > else
15231 >  :
15232 > fi
15233  
15234 < cat >>confdefs.h <<_ACEOF
13332 < #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13333 < _ACEOF
15234 > done
15235  
13335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h.  */
13337 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13338   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13339 #define poll innocuous_poll
15236  
13341 /* System header to define __stub macros and hopefully few prototypes,
13342    which can conflict with char poll (); below.
13343    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344    <limits.h> exists even on freestanding compilers.  */
15237  
13346 #ifdef __STDC__
13347 # include <limits.h>
13348 #else
13349 # include <assert.h>
13350 #endif
15238  
13352 #undef poll
15239  
15240 < /* Override any GCC internal prototype to avoid an error.
15241 <   Use char because int might match the return type of a GCC
15242 <   builtin and then its argument prototype would still apply.  */
15243 < #ifdef __cplusplus
15244 < extern "C"
15245 < #endif
15246 < char poll ();
15247 < /* The GNU C library defines this for functions which it implements
15248 <    to always fail with ENOSYS.  Some functions are actually named
15249 <    something starting with __ and the normal name is an alias.  */
15250 < #if defined __stub_poll || defined __stub___poll
15251 < choke me
13366 < #endif
15240 > for flag in -Wpointer-arith; do
15241 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15242 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15243 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15244 > if eval \${$as_CACHEVAR+:} false; then :
15245 >  $as_echo_n "(cached) " >&6
15246 > else
15247 >
15248 >  ax_check_save_flags=$CFLAGS
15249 >  CFLAGS="$CFLAGS  $flag"
15250 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 > /* end confdefs.h.  */
15252  
15253   int
15254   main ()
15255   {
15256 < return poll ();
15256 >
15257    ;
15258    return 0;
15259   }
15260   _ACEOF
15261 < if ac_fn_c_try_link "$LINENO"; then :
15262 <  is_poll_mechanism_available="yes"
15261 > if ac_fn_c_try_compile "$LINENO"; then :
15262 >  eval "$as_CACHEVAR=yes"
15263   else
15264 <  is_poll_mechanism_available="no"
15264 >  eval "$as_CACHEVAR=no"
15265 > fi
15266 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 >  CFLAGS=$ax_check_save_flags
15268 > fi
15269 > eval ac_res=\$$as_CACHEVAR
15270 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15271 > $as_echo "$ac_res" >&6; }
15272 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15273 >  if ${CFLAGS+:} false; then :
15274 >  case " $CFLAGS " in
15275 >    *" $flag "*)
15276 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15277 >  (: CFLAGS already contains $flag) 2>&5
15278 >  ac_status=$?
15279 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15280 >  test $ac_status = 0; }
15281 >      ;;
15282 >    *)
15283 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15284 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15285 >  ac_status=$?
15286 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15287 >  test $ac_status = 0; }
15288 >      CFLAGS="$CFLAGS $flag"
15289 >      ;;
15290 >   esac
15291 > else
15292 >  CFLAGS="$flag"
15293   fi
13381 rm -f core conftest.err conftest.$ac_objext \
13382    conftest$ac_exeext conftest.$ac_ext
13383      iopoll_mechanism_select=6
15294  
15295 < cat >>confdefs.h <<_ACEOF
15296 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
15297 < _ACEOF
15295 > else
15296 >  :
15297 > fi
15298 >
15299 > done
15300 >
15301 >
15302 >
15303 >
15304 >
15305 > for flag in -Wredundant-decls; do
15306 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15307 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15308 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15309 > if eval \${$as_CACHEVAR+:} false; then :
15310 >  $as_echo_n "(cached) " >&6
15311 > else
15312  
15313 +  ax_check_save_flags=$CFLAGS
15314 +  CFLAGS="$CFLAGS  $flag"
15315    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316   /* end confdefs.h.  */
13391 /* Define select to an innocuous variant, in case <limits.h> declares select.
13392   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13393 #define select innocuous_select
15317  
15318 < /* System header to define __stub macros and hopefully few prototypes,
15319 <    which can conflict with char select (); below.
15320 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13398 <    <limits.h> exists even on freestanding compilers.  */
15318 > int
15319 > main ()
15320 > {
15321  
15322 < #ifdef __STDC__
15323 < # include <limits.h>
15324 < #else
15325 < # include <assert.h>
15326 < #endif
15322 >  ;
15323 >  return 0;
15324 > }
15325 > _ACEOF
15326 > if ac_fn_c_try_compile "$LINENO"; then :
15327 >  eval "$as_CACHEVAR=yes"
15328 > else
15329 >  eval "$as_CACHEVAR=no"
15330 > fi
15331 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15332 >  CFLAGS=$ax_check_save_flags
15333 > fi
15334 > eval ac_res=\$$as_CACHEVAR
15335 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15336 > $as_echo "$ac_res" >&6; }
15337 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15338 >  if ${CFLAGS+:} false; then :
15339 >  case " $CFLAGS " in
15340 >    *" $flag "*)
15341 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15342 >  (: CFLAGS already contains $flag) 2>&5
15343 >  ac_status=$?
15344 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345 >  test $ac_status = 0; }
15346 >      ;;
15347 >    *)
15348 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15349 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15350 >  ac_status=$?
15351 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15352 >  test $ac_status = 0; }
15353 >      CFLAGS="$CFLAGS $flag"
15354 >      ;;
15355 >   esac
15356 > else
15357 >  CFLAGS="$flag"
15358 > fi
15359  
15360 < #undef select
15360 > else
15361 >  :
15362 > fi
15363  
15364 < /* Override any GCC internal prototype to avoid an error.
15365 <   Use char because int might match the return type of a GCC
15366 <   builtin and then its argument prototype would still apply.  */
15367 < #ifdef __cplusplus
15368 < extern "C"
15369 < #endif
15370 < char select ();
15371 < /* The GNU C library defines this for functions which it implements
15372 <    to always fail with ENOSYS.  Some functions are actually named
15373 <    something starting with __ and the normal name is an alias.  */
15374 < #if defined __stub_select || defined __stub___select
15375 < choke me
15376 < #endif
15364 > done
15365 >
15366 >
15367 >
15368 >
15369 >
15370 > for flag in -Wshadow; do
15371 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15372 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15373 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15374 > if eval \${$as_CACHEVAR+:} false; then :
15375 >  $as_echo_n "(cached) " >&6
15376 > else
15377 >
15378 >  ax_check_save_flags=$CFLAGS
15379 >  CFLAGS="$CFLAGS  $flag"
15380 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 > /* end confdefs.h.  */
15382  
15383   int
15384   main ()
15385   {
15386 < return select ();
15386 >
15387    ;
15388    return 0;
15389   }
15390   _ACEOF
15391 < if ac_fn_c_try_link "$LINENO"; then :
15392 <  is_select_mechanism_available="yes"
15391 > if ac_fn_c_try_compile "$LINENO"; then :
15392 >  eval "$as_CACHEVAR=yes"
15393   else
15394 <  is_select_mechanism_available="no"
15394 >  eval "$as_CACHEVAR=no"
15395 > fi
15396 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15397 >  CFLAGS=$ax_check_save_flags
15398 > fi
15399 > eval ac_res=\$$as_CACHEVAR
15400 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15401 > $as_echo "$ac_res" >&6; }
15402 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15403 >  if ${CFLAGS+:} false; then :
15404 >  case " $CFLAGS " in
15405 >    *" $flag "*)
15406 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15407 >  (: CFLAGS already contains $flag) 2>&5
15408 >  ac_status=$?
15409 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15410 >  test $ac_status = 0; }
15411 >      ;;
15412 >    *)
15413 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15414 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15415 >  ac_status=$?
15416 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417 >  test $ac_status = 0; }
15418 >      CFLAGS="$CFLAGS $flag"
15419 >      ;;
15420 >   esac
15421 > else
15422 >  CFLAGS="$flag"
15423   fi
13435 rm -f core conftest.err conftest.$ac_objext \
13436    conftest$ac_exeext conftest.$ac_ext
13437      optimal_iopoll_mechanism="none"
13438  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13439    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
13440    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
13441      optimal_iopoll_mechanism="$mechanism"
13442      break
13443    fi
13444  done
13445      if test "$desired_iopoll_mechanism" = "none" ; then
13446    if test "$optimal_iopoll_mechanism" = "none" ; then
13447      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13448 $as_echo "none" >&6; }
13449      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13450    else
13451      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13452      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13453 $as_echo "$selected_iopoll_mechanism" >&6; }
13454    fi
13455  else
13456    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13457    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13458      selected_iopoll_mechanism=$desired_iopoll_mechanism
13459      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13460 $as_echo "$selected_iopoll_mechanism" >&6; }
13461    else
13462      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13463 $as_echo "none" >&6; }
13464      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13465    fi
13466  fi
13467      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
15424  
15425 < cat >>confdefs.h <<_ACEOF
15426 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
15427 < _ACEOF
15425 > else
15426 >  :
15427 > fi
15428 >
15429 > done
15430 >
15431  
15432  
15433  
15434  
15435 < # Check whether --with-nicklen was given.
15436 < if test "${with_nicklen+set}" = set; then :
15437 <  withval=$with_nicklen; nicklen="$withval"
15435 > for flag in -Wsign-compare; do
15436 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15437 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15438 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15439 > if eval \${$as_CACHEVAR+:} false; then :
15440 >  $as_echo_n "(cached) " >&6
15441   else
13480  nicklen="9"
13481 fi
15442  
15443 +  ax_check_save_flags=$CFLAGS
15444 +  CFLAGS="$CFLAGS  $flag"
15445 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 + /* end confdefs.h.  */
15447 +
15448 + int
15449 + main ()
15450 + {
15451  
15452 < cat >>confdefs.h <<_ACEOF
15453 < #define NICKLEN ($nicklen+1)
15452 >  ;
15453 >  return 0;
15454 > }
15455   _ACEOF
15456 + if ac_fn_c_try_compile "$LINENO"; then :
15457 +  eval "$as_CACHEVAR=yes"
15458 + else
15459 +  eval "$as_CACHEVAR=no"
15460 + fi
15461 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15462 +  CFLAGS=$ax_check_save_flags
15463 + fi
15464 + eval ac_res=\$$as_CACHEVAR
15465 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15466 + $as_echo "$ac_res" >&6; }
15467 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15468 +  if ${CFLAGS+:} false; then :
15469 +  case " $CFLAGS " in
15470 +    *" $flag "*)
15471 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15472 +  (: CFLAGS already contains $flag) 2>&5
15473 +  ac_status=$?
15474 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15475 +  test $ac_status = 0; }
15476 +      ;;
15477 +    *)
15478 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15479 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15480 +  ac_status=$?
15481 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15482 +  test $ac_status = 0; }
15483 +      CFLAGS="$CFLAGS $flag"
15484 +      ;;
15485 +   esac
15486 + else
15487 +  CFLAGS="$flag"
15488 + fi
15489 +
15490 + else
15491 +  :
15492 + fi
15493 +
15494 + done
15495  
15496  
15497  
15498  
15499 < # Check whether --with-topiclen was given.
15500 < if test "${with_topiclen+set}" = set; then :
15501 <  withval=$with_topiclen; topiclen="$withval"
15499 >
15500 > for flag in -Wtype-limits; do
15501 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15502 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15503 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15504 > if eval \${$as_CACHEVAR+:} false; then :
15505 >  $as_echo_n "(cached) " >&6
15506   else
13495  topiclen="160"
13496 fi
15507  
15508 +  ax_check_save_flags=$CFLAGS
15509 +  CFLAGS="$CFLAGS  $flag"
15510 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 + /* end confdefs.h.  */
15512  
15513 < cat >>confdefs.h <<_ACEOF
15514 < #define TOPICLEN ($topiclen)
15513 > int
15514 > main ()
15515 > {
15516 >
15517 >  ;
15518 >  return 0;
15519 > }
15520   _ACEOF
15521 + if ac_fn_c_try_compile "$LINENO"; then :
15522 +  eval "$as_CACHEVAR=yes"
15523 + else
15524 +  eval "$as_CACHEVAR=no"
15525 + fi
15526 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15527 +  CFLAGS=$ax_check_save_flags
15528 + fi
15529 + eval ac_res=\$$as_CACHEVAR
15530 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15531 + $as_echo "$ac_res" >&6; }
15532 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15533 +  if ${CFLAGS+:} false; then :
15534 +  case " $CFLAGS " in
15535 +    *" $flag "*)
15536 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15537 +  (: CFLAGS already contains $flag) 2>&5
15538 +  ac_status=$?
15539 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15540 +  test $ac_status = 0; }
15541 +      ;;
15542 +    *)
15543 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15544 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15545 +  ac_status=$?
15546 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 +  test $ac_status = 0; }
15548 +      CFLAGS="$CFLAGS $flag"
15549 +      ;;
15550 +   esac
15551 + else
15552 +  CFLAGS="$flag"
15553 + fi
15554 +
15555 + else
15556 +  :
15557 + fi
15558 +
15559 + done
15560 +
15561  
15562  
15563  
15564  
15565 < # Check whether --with-syslog-facility was given.
15566 < if test "${with_syslog_facility+set}" = set; then :
15567 <  withval=$with_syslog_facility; syslog_facility="$withval"
15565 > for flag in -Wundef; do
15566 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15567 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15568 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15569 > if eval \${$as_CACHEVAR+:} false; then :
15570 >  $as_echo_n "(cached) " >&6
15571   else
13510  syslog_facility="LOG_LOCAL4"
13511 fi
15572  
15573 +  ax_check_save_flags=$CFLAGS
15574 +  CFLAGS="$CFLAGS  $flag"
15575 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 + /* end confdefs.h.  */
15577  
15578 < cat >>confdefs.h <<_ACEOF
15579 < #define LOG_FACILITY $syslog_facility
15578 > int
15579 > main ()
15580 > {
15581 >
15582 >  ;
15583 >  return 0;
15584 > }
15585   _ACEOF
15586 + if ac_fn_c_try_compile "$LINENO"; then :
15587 +  eval "$as_CACHEVAR=yes"
15588 + else
15589 +  eval "$as_CACHEVAR=no"
15590 + fi
15591 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15592 +  CFLAGS=$ax_check_save_flags
15593 + fi
15594 + eval ac_res=\$$as_CACHEVAR
15595 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15596 + $as_echo "$ac_res" >&6; }
15597 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15598 +  if ${CFLAGS+:} false; then :
15599 +  case " $CFLAGS " in
15600 +    *" $flag "*)
15601 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15602 +  (: CFLAGS already contains $flag) 2>&5
15603 +  ac_status=$?
15604 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 +  test $ac_status = 0; }
15606 +      ;;
15607 +    *)
15608 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15609 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15610 +  ac_status=$?
15611 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612 +  test $ac_status = 0; }
15613 +      CFLAGS="$CFLAGS $flag"
15614 +      ;;
15615 +   esac
15616 + else
15617 +  CFLAGS="$flag"
15618 + fi
15619  
15620 + else
15621 +  :
15622 + fi
15623  
15624 + done
15625 +
15626 +
15627 +
15628 +
15629 +
15630 + for flag in -Wuninitialized; do
15631 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15632 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15633 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15634 + if eval \${$as_CACHEVAR+:} false; then :
15635 +  $as_echo_n "(cached) " >&6
15636 + else
15637 +
15638 +  ax_check_save_flags=$CFLAGS
15639 +  CFLAGS="$CFLAGS  $flag"
15640 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 + /* end confdefs.h.  */
15642 +
15643 + int
15644 + main ()
15645 + {
15646 +
15647 +  ;
15648 +  return 0;
15649 + }
15650 + _ACEOF
15651 + if ac_fn_c_try_compile "$LINENO"; then :
15652 +  eval "$as_CACHEVAR=yes"
15653 + else
15654 +  eval "$as_CACHEVAR=no"
15655 + fi
15656 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15657 +  CFLAGS=$ax_check_save_flags
15658 + fi
15659 + eval ac_res=\$$as_CACHEVAR
15660 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15661 + $as_echo "$ac_res" >&6; }
15662 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15663 +  if ${CFLAGS+:} false; then :
15664 +  case " $CFLAGS " in
15665 +    *" $flag "*)
15666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15667 +  (: CFLAGS already contains $flag) 2>&5
15668 +  ac_status=$?
15669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15670 +  test $ac_status = 0; }
15671 +      ;;
15672 +    *)
15673 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15674 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15675 +  ac_status=$?
15676 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15677 +  test $ac_status = 0; }
15678 +      CFLAGS="$CFLAGS $flag"
15679 +      ;;
15680 +   esac
15681 + else
15682 +  CFLAGS="$flag"
15683 + fi
15684  
13520  # Check whether --enable-efnet was given.
13521 if test "${enable_efnet+set}" = set; then :
13522  enableval=$enable_efnet; efnet="$enableval"
15685   else
15686 <  efnet="no"
15686 >  :
15687   fi
15688  
15689 <  if test "$efnet" = "yes" ; then
13528 <                use_efnet="yes"
15689 > done
15690  
13530 $as_echo "#define EFNET 1" >>confdefs.h
15691  
15692  
13533 $as_echo "#define TS5_ONLY 1" >>confdefs.h
15693  
15694 <        else
15695 <                use_efnet="no"
15696 <  fi
15697 <   if test "$use_efnet" = "yes"; then
15698 <  EFNET_TRUE=
15699 <  EFNET_FALSE='#'
15694 >
15695 > for flag in -Wwrite-strings; do
15696 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15697 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15698 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15699 > if eval \${$as_CACHEVAR+:} false; then :
15700 >  $as_echo_n "(cached) " >&6
15701   else
13542  EFNET_TRUE='#'
13543  EFNET_FALSE=
13544 fi
15702  
15703 +  ax_check_save_flags=$CFLAGS
15704 +  CFLAGS="$CFLAGS  $flag"
15705 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 + /* end confdefs.h.  */
15707  
15708 + int
15709 + main ()
15710 + {
15711  
15712 <  # Check whether --enable-halfops was given.
15713 < if test "${enable_halfops+set}" = set; then :
15714 <  enableval=$enable_halfops; halfops="$enableval"
15712 >  ;
15713 >  return 0;
15714 > }
15715 > _ACEOF
15716 > if ac_fn_c_try_compile "$LINENO"; then :
15717 >  eval "$as_CACHEVAR=yes"
15718 > else
15719 >  eval "$as_CACHEVAR=no"
15720 > fi
15721 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 >  CFLAGS=$ax_check_save_flags
15723 > fi
15724 > eval ac_res=\$$as_CACHEVAR
15725 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15726 > $as_echo "$ac_res" >&6; }
15727 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15728 >  if ${CFLAGS+:} false; then :
15729 >  case " $CFLAGS " in
15730 >    *" $flag "*)
15731 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15732 >  (: CFLAGS already contains $flag) 2>&5
15733 >  ac_status=$?
15734 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15735 >  test $ac_status = 0; }
15736 >      ;;
15737 >    *)
15738 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15739 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15740 >  ac_status=$?
15741 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 >  test $ac_status = 0; }
15743 >      CFLAGS="$CFLAGS $flag"
15744 >      ;;
15745 >   esac
15746   else
15747 <  halfops="no"
15747 >  CFLAGS="$flag"
15748   fi
15749  
15750 <  if test "$halfops" = "yes" ; then
15750 > else
15751 >  :
15752 > fi
15753  
15754 < $as_echo "#define HALFOPS 1" >>confdefs.h
15754 > done
15755  
15756    fi
15757  
15758  
15759 <  # Check whether --enable-debugging was given.
15760 < if test "${enable_debugging+set}" = set; then :
15761 <  enableval=$enable_debugging; debugging="$enableval"
15759 > # Check whether --enable-openssl was given.
15760 > if test "${enable_openssl+set}" = set; then :
15761 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15762   else
15763 <  debugging="no"
15763 >   cf_enable_openssl="auto"
15764   fi
15765  
15766 <  if test "$debugging" = "yes" ; then
15767 <
15768 < $as_echo "#define DEBUG 1" >>confdefs.h
15769 <
15770 <    CFLAGS="-Wall -g -O0"
15766 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
15767 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
15768 > if test "$cf_enable_openssl" != "no"; then
15769 >  cf_openssl_basedir=""
15770 >  if test "$cf_enable_openssl" != "auto" &&
15771 >     test "$cf_enable_openssl" != "yes"; then
15772 >          cf_openssl_basedir="${cf_enable_openssl}"
15773    else
15774 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
15775 +                /opt /opt/openssl /usr/local/openssl; do
15776 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
15777 +        cf_openssl_basedir="${dirs}"
15778 +        break
15779 +      fi
15780 +    done
15781 +    unset dirs
15782 +  fi
15783  
15784 < $as_echo "#define NDEBUG 1" >>confdefs.h
15784 >    if test ! -z "$cf_openssl_basedir"; then
15785 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15786 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15787 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15788 >    else
15789 >                  cf_openssl_basedir=""
15790 >    fi
15791 >  else
15792 >                            if test -f "/usr/include/openssl/opensslv.h"; then
15793 >      cf_openssl_basedir="/usr"
15794 >    fi
15795 >  fi
15796  
15797 +      if test ! -z "$cf_openssl_basedir"; then
15798 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15799 + $as_echo "$cf_openssl_basedir" >&6; }
15800 +    cf_enable_openssl="yes"
15801 +  else
15802 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
15803 + $as_echo "not found. Please check your path." >&6; }
15804 +    cf_enable_openssl="no"
15805    fi
15806 +  unset cf_openssl_basedir
15807 + else
15808 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15809 + $as_echo "disabled" >&6; }
15810 + fi
15811  
15812 + if test "$cf_enable_openssl" != "no"; then :
15813 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
15814 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
15815 +  if test "$cross_compiling" = yes; then :
15816 +  cf_openssl_version_ok=no
15817 + else
15818 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 + /* end confdefs.h.  */
15820  
15821 <  # Check whether --enable-warnings was given.
15822 < if test "${enable_warnings+set}" = set; then :
15823 <  enableval=$enable_warnings; warnings="$enableval"
15821 >
15822 >    #include <openssl/opensslv.h>
15823 >    #include <stdlib.h>
15824 > int
15825 > main ()
15826 > {
15827 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
15828 >  ;
15829 >  return 0;
15830 > }
15831 > _ACEOF
15832 > if ac_fn_c_try_run "$LINENO"; then :
15833 >  cf_openssl_version_ok=yes
15834   else
15835 <  warnings="no"
15835 >  cf_openssl_version_ok=no
15836 > fi
15837 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15838 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
15839   fi
15840  
13588  if test "$warnings" = "yes" ; then
13589    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13590  fi
15841  
15842 +  if test "$cf_openssl_version_ok" = "yes"; then :
15843 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15844 + $as_echo "found" >&6; }
15845 +
15846 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
15847 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
15848 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
15849 +  $as_echo_n "(cached) " >&6
15850 + else
15851 +  ac_check_lib_save_LIBS=$LIBS
15852 + LIBS="-lcrypto  $LIBS"
15853 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 + /* end confdefs.h.  */
15855  
15856 <  for ac_header in syslog.h sys/syslog.h
15857 < do :
15858 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15859 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15860 < eval as_val=\$$as_ac_Header
15861 <   if test "x$as_val" = x""yes; then :
15856 > /* Override any GCC internal prototype to avoid an error.
15857 >   Use char because int might match the return type of a GCC
15858 >   builtin and then its argument prototype would still apply.  */
15859 > #ifdef __cplusplus
15860 > extern "C"
15861 > #endif
15862 > char RSA_free ();
15863 > int
15864 > main ()
15865 > {
15866 > return RSA_free ();
15867 >  ;
15868 >  return 0;
15869 > }
15870 > _ACEOF
15871 > if ac_fn_c_try_link "$LINENO"; then :
15872 >  ac_cv_lib_crypto_RSA_free=yes
15873 > else
15874 >  ac_cv_lib_crypto_RSA_free=no
15875 > fi
15876 > rm -f core conftest.err conftest.$ac_objext \
15877 >    conftest$ac_exeext conftest.$ac_ext
15878 > LIBS=$ac_check_lib_save_LIBS
15879 > fi
15880 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
15881 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
15882 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
15883    cat >>confdefs.h <<_ACEOF
15884 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15884 > #define HAVE_LIBCRYPTO 1
15885   _ACEOF
15886  
15887 +  LIBS="-lcrypto $LIBS"
15888 +
15889   fi
15890  
15891 < done
15891 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
15892 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
15893 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
15894 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
15895 >  $as_echo_n "(cached) " >&6
15896 > else
15897 >  ac_check_lib_save_LIBS=$LIBS
15898 > LIBS="-lssl  $LIBS"
15899 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 > /* end confdefs.h.  */
15901  
15902 <  # Check whether --enable-syslog was given.
15903 < if test "${enable_syslog+set}" = set; then :
15904 <  enableval=$enable_syslog; syslog="$enableval"
15905 < else
15906 <  syslog="no"
15902 > /* Override any GCC internal prototype to avoid an error.
15903 >   Use char because int might match the return type of a GCC
15904 >   builtin and then its argument prototype would still apply.  */
15905 > #ifdef __cplusplus
15906 > extern "C"
15907 > #endif
15908 > char SSL_connect ();
15909 > int
15910 > main ()
15911 > {
15912 > return SSL_connect ();
15913 >  ;
15914 >  return 0;
15915 > }
15916 > _ACEOF
15917 > if ac_fn_c_try_link "$LINENO"; then :
15918 >  ac_cv_lib_ssl_SSL_connect=yes
15919 > else
15920 >  ac_cv_lib_ssl_SSL_connect=no
15921   fi
15922 + rm -f core conftest.err conftest.$ac_objext \
15923 +    conftest$ac_exeext conftest.$ac_ext
15924 + LIBS=$ac_check_lib_save_LIBS
15925 + fi
15926 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
15927 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
15928 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
15929 +  cat >>confdefs.h <<_ACEOF
15930 + #define HAVE_LIBSSL 1
15931 + _ACEOF
15932  
15933 <  if test "$enableval" != "no" ; then
13615 <    for option in $enableval ; do
13616 <      case "$option" in
13617 <        users)
13618 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 < ;;
13620 <        oper)
13621 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 < ;;
13623 <        yes) : ;;
13624 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625 <      esac
13626 <    done
15933 >  LIBS="-lssl $LIBS"
15934  
15935 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15935 > fi
15936 >
15937 > fi
15938 >
15939 > else
15940 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
15941 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
15942 >    cf_enable_openssl="no"
15943 > fi
15944 > fi
15945 >
15946 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
15947 >  ENABLE_SSL_TRUE=
15948 >  ENABLE_SSL_FALSE='#'
15949 > else
15950 >  ENABLE_SSL_TRUE='#'
15951 >  ENABLE_SSL_FALSE=
15952 > fi
15953  
13630  fi
15954  
15955  
15956  
# Line 13716 | Line 16039 | _ACEOF
16039    test "$exec_prefix_NONE" && exec_prefix=NONE
16040  
16041  
16042 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
16042 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
16043  
16044  
16045   cat >confcache <<\_ACEOF
# Line 13783 | Line 16106 | $as_echo "$as_me: WARNING: cache variabl
16106       :end' >>confcache
16107   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16108    if test -w "$cache_file"; then
16109 <    test "x$cache_file" != "x/dev/null" &&
16109 >    if test "x$cache_file" != "x/dev/null"; then
16110        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16111   $as_echo "$as_me: updating cache $cache_file" >&6;}
16112 <    cat confcache >$cache_file
16112 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
16113 >        cat confcache >"$cache_file"
16114 >      else
16115 >        case $cache_file in #(
16116 >        */* | ?:*)
16117 >          mv -f confcache "$cache_file"$$ &&
16118 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
16119 >        *)
16120 >          mv -f confcache "$cache_file" ;;
16121 >        esac
16122 >      fi
16123 >    fi
16124    else
16125      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16126   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 16136 | DEFS=-DHAVE_CONFIG_H
16136  
16137   ac_libobjs=
16138   ac_ltlibobjs=
16139 + U=
16140   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16141    # 1. Remove the extension, and $U if already installed.
16142    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 16151 | LIBOBJS=$ac_libobjs
16151   LTLIBOBJS=$ac_ltlibobjs
16152  
16153  
16154 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16155 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
16156 +   if test -n "$am_sleep_pid"; then
16157 +     # Hide warnings about reused PIDs.
16158 +     wait $am_sleep_pid 2>/dev/null
16159 +   fi
16160 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16161 + $as_echo "done" >&6; }
16162   if test -n "$EXEEXT"; then
16163    am__EXEEXT_TRUE=
16164    am__EXEEXT_FALSE='#'
# Line 13825 | Line 16168 | else
16168   fi
16169  
16170   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16171 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16171 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16172   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16173   fi
16174   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16175 <  as_fn_error "conditional \"AMDEP\" was never defined.
16175 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
16176   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16177   fi
16178   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16179 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
16179 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16180   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16181   fi
16182   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
16183 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
16183 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
16184   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16185   fi
16186   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
16187 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
16187 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
16188   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16189   fi
16190   LT_CONFIG_H=config.h
# Line 13862 | Line 16205 | LT_CONFIG_H=config.h
16205  
16206  
16207  
13865 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 fi
16208   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
16209 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 < fi
13873 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  as_fn_error "conditional \"EFNET\" was never defined.
16209 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
16210   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16211   fi
16212  
16213 < : ${CONFIG_STATUS=./config.status}
16213 > : "${CONFIG_STATUS=./config.status}"
16214   ac_write_fail=0
16215   ac_clean_files_save=$ac_clean_files
16216   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 16311 | fi
16311   IFS=" ""        $as_nl"
16312  
16313   # Find who we are.  Look in the path if we contain no directory separator.
16314 + as_myself=
16315   case $0 in #((
16316    *[\\/]* ) as_myself=$0 ;;
16317    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 16357 | export LANGUAGE
16357   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16358  
16359  
16360 < # as_fn_error ERROR [LINENO LOG_FD]
16361 < # ---------------------------------
16360 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
16361 > # ----------------------------------------
16362   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16363   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16364 < # script with status $?, using 1 if that was 0.
16364 > # script with STATUS, using 1 if that was 0.
16365   as_fn_error ()
16366   {
16367 <  as_status=$?; test $as_status -eq 0 && as_status=1
16368 <  if test "$3"; then
16369 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16370 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16367 >  as_status=$1; test $as_status -eq 0 && as_status=1
16368 >  if test "$4"; then
16369 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16370 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16371    fi
16372 <  $as_echo "$as_me: error: $1" >&2
16372 >  $as_echo "$as_me: error: $2" >&2
16373    as_fn_exit $as_status
16374   } # as_fn_error
16375  
# Line 14171 | Line 16507 | if (echo >conf$$.file) 2>/dev/null; then
16507      # ... but there are two gotchas:
16508      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16509      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16510 <    # In both cases, we have to default to `cp -p'.
16510 >    # In both cases, we have to default to `cp -pR'.
16511      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16512 <      as_ln_s='cp -p'
16512 >      as_ln_s='cp -pR'
16513    elif ln conf$$.file conf$$ 2>/dev/null; then
16514      as_ln_s=ln
16515    else
16516 <    as_ln_s='cp -p'
16516 >    as_ln_s='cp -pR'
16517    fi
16518   else
16519 <  as_ln_s='cp -p'
16519 >  as_ln_s='cp -pR'
16520   fi
16521   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16522   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 16565 | $as_echo X"$as_dir" |
16565        test -d "$as_dir" && break
16566      done
16567      test -z "$as_dirs" || eval "mkdir $as_dirs"
16568 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16568 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16569  
16570  
16571   } # as_fn_mkdir_p
# Line 14240 | Line 16576 | else
16576    as_mkdir_p=false
16577   fi
16578  
16579 < if test -x / >/dev/null 2>&1; then
16580 <  as_test_x='test -x'
16581 < else
16582 <  if ls -dL / >/dev/null 2>&1; then
16583 <    as_ls_L_option=L
16584 <  else
16585 <    as_ls_L_option=
16586 <  fi
16587 <  as_test_x='
16588 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
16579 >
16580 > # as_fn_executable_p FILE
16581 > # -----------------------
16582 > # Test if FILE is an executable regular file.
16583 > as_fn_executable_p ()
16584 > {
16585 >  test -f "$1" && test -x "$1"
16586 > } # as_fn_executable_p
16587 > as_test_x='test -x'
16588 > as_executable_p=as_fn_executable_p
16589  
16590   # Sed expression to map a string onto a valid CPP name.
16591   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 16606 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16606   # report actual input values of CONFIG_FILES etc. instead of their
16607   # values after options handling.
16608   ac_log="
16609 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16610 < generated by GNU Autoconf 2.65.  Invocation command line was
16609 > This file was extended by ircd-hybrid $as_me 8.2.0rc2, which was
16610 > generated by GNU Autoconf 2.69.  Invocation command line was
16611  
16612    CONFIG_FILES    = $CONFIG_FILES
16613    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 16672 | _ACEOF
16672   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16673   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16674   ac_cs_version="\\
16675 < ircd-hybrid config.status 7.3-rc1
16676 < configured by $0, generated by GNU Autoconf 2.65,
16675 > ircd-hybrid config.status 8.2.0rc2
16676 > configured by $0, generated by GNU Autoconf 2.69,
16677    with options \\"\$ac_cs_config\\"
16678  
16679 < Copyright (C) 2009 Free Software Foundation, Inc.
16679 > Copyright (C) 2012 Free Software Foundation, Inc.
16680   This config.status script is free software; the Free Software Foundation
16681   gives unlimited permission to copy, distribute and modify it."
16682  
# Line 14370 | Line 16694 | ac_need_defaults=:
16694   while test $# != 0
16695   do
16696    case $1 in
16697 <  --*=*)
16697 >  --*=?*)
16698      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16699      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16700      ac_shift=:
16701      ;;
16702 +  --*=)
16703 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16704 +    ac_optarg=
16705 +    ac_shift=:
16706 +    ;;
16707    *)
16708      ac_option=$1
16709      ac_optarg=$2
# Line 14396 | Line 16725 | do
16725      $ac_shift
16726      case $ac_optarg in
16727      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16728 +    '') as_fn_error $? "missing file argument" ;;
16729      esac
16730      as_fn_append CONFIG_FILES " '$ac_optarg'"
16731      ac_need_defaults=false;;
# Line 14408 | Line 16738 | do
16738      ac_need_defaults=false;;
16739    --he | --h)
16740      # Conflict between --help and --header
16741 <    as_fn_error "ambiguous option: \`$1'
16741 >    as_fn_error $? "ambiguous option: \`$1'
16742   Try \`$0 --help' for more information.";;
16743    --help | --hel | -h )
16744      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 16747 | Try \`$0 --help' for more information.";
16747      ac_cs_silent=: ;;
16748  
16749    # This is an error.
16750 <  -*) as_fn_error "unrecognized option: \`$1'
16750 >  -*) as_fn_error $? "unrecognized option: \`$1'
16751   Try \`$0 --help' for more information." ;;
16752  
16753    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 16767 | fi
16767   _ACEOF
16768   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16769   if \$ac_cs_recheck; then
16770 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16770 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16771    shift
16772    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16773    CONFIG_SHELL='$SHELL'
# Line 14471 | Line 16801 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16801   sed_quote_subst='$sed_quote_subst'
16802   double_quote_subst='$double_quote_subst'
16803   delay_variable_subst='$delay_variable_subst'
16804 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16805 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16806 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16807 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16808 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16809 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16810 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16811 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16812 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16813 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16814 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16815 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16816 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16817 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16818 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16819 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16820 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16821 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16822 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16823 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16824 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16825 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16826 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16827 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16828 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16829 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16830 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16831 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16832 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16833 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16834 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16835 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16836 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16837 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16838 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16839 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16840 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16841 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16842 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16843 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16844 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16845 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16846 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16847 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16848 < lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16849 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16850 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16851 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16852 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16853 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16854 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16855 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16856 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16857 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16858 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16859 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16860 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16861 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16862 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16863 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16864 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16865 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16866 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16867 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16868 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16869 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16870 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16871 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16872 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16873 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16874 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16875 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16876 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16877 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16878 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16879 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16880 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16881 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16882 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16883 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16884 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16885 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16886 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16887 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16888 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16889 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16890 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16891 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16892 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16893 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16894 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16895 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16896 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16897 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16898 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16899 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16900 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16901 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16902 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16903 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16904 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16905 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16906 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16907 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16908 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16909 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16910 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16911 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16912 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16913 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16914 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16915 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16916 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16917 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16918 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16919 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16920 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16921 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16804 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16805 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16806 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16807 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16808 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16809 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16810 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16811 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16812 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16813 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16814 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16815 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16816 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16817 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16818 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16819 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16820 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16821 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16822 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16823 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16824 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16825 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16826 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16827 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16828 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16829 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16830 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16831 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16832 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16833 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16834 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16835 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16836 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16837 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16838 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16839 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16840 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16841 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16842 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16843 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16844 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16845 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16846 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16847 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16848 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16849 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16850 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16851 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16852 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16853 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16854 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16855 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16856 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16857 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16858 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16859 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16860 > 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"`'
16861 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16862 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16863 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16864 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16865 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16866 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16867 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16868 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16869 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16870 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16871 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16872 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16873 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16874 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16875 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16876 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16877 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16878 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16879 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16880 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16881 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16882 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16883 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16884 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16885 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16886 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16887 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16888 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16889 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16890 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16891 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16892 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16893 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16894 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16895 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16896 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16897 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16898 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16899 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16900 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16901 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16902 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16903 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16904 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16905 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16906 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16907 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16908 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16909 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16910 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16911 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16912 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16913 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16914 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16915 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16916 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16917 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16918 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16919 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16920 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16921 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16922 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16923 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16924 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16925 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16926 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16927 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16928 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16929 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16930 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16931 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16932 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16933 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16934  
16935   LTCC='$LTCC'
16936   LTCFLAGS='$LTCFLAGS'
16937   compiler='$compiler_DEFAULT'
16938  
16939 + # A function that is used when there is no print builtin or printf.
16940 + func_fallback_echo ()
16941 + {
16942 +  eval 'cat <<_LTECHO_EOF
16943 + \$1
16944 + _LTECHO_EOF'
16945 + }
16946 +
16947   # Quote evaled strings.
16948 < for var in SED \
16948 > for var in SHELL \
16949 > ECHO \
16950 > PATH_SEPARATOR \
16951 > SED \
16952   GREP \
16953   EGREP \
16954   FGREP \
# Line 14608 | Line 16961 | reload_flag \
16961   OBJDUMP \
16962   deplibs_check_method \
16963   file_magic_cmd \
16964 + file_magic_glob \
16965 + want_nocaseglob \
16966 + DLLTOOL \
16967 + sharedlib_from_linklib_cmd \
16968   AR \
16969   AR_FLAGS \
16970 + archiver_list_spec \
16971   STRIP \
16972   RANLIB \
16973   CC \
# Line 14619 | Line 16977 | lt_cv_sys_global_symbol_pipe \
16977   lt_cv_sys_global_symbol_to_cdecl \
16978   lt_cv_sys_global_symbol_to_c_name_address \
16979   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16980 < SHELL \
14623 < ECHO \
16980 > nm_file_list_spec \
16981   lt_prog_compiler_no_builtin_flag \
14625 lt_prog_compiler_wl \
16982   lt_prog_compiler_pic \
16983 + lt_prog_compiler_wl \
16984   lt_prog_compiler_static \
16985   lt_cv_prog_compiler_c_o \
16986   need_locks \
16987 + MANIFEST_TOOL \
16988   DSYMUTIL \
16989   NMEDIT \
16990   LIPO \
# Line 14640 | Line 16998 | with_gnu_ld \
16998   allow_undefined_flag \
16999   no_undefined_flag \
17000   hardcode_libdir_flag_spec \
14643 hardcode_libdir_flag_spec_ld \
17001   hardcode_libdir_separator \
14645 fix_srcfile_path \
17002   exclude_expsyms \
17003   include_expsyms \
17004   file_list_spec \
# Line 14650 | Line 17006 | variables_saved_for_relink \
17006   libname_spec \
17007   library_names_spec \
17008   soname_spec \
17009 + install_override_mode \
17010   finish_eval \
17011   old_striplib \
17012   striplib; do
17013 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17013 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17014      *[\\\\\\\`\\"\\\$]*)
17015 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17015 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17016        ;;
17017      *)
17018        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 17034 | module_cmds \
17034   module_expsym_cmds \
17035   export_symbols_cmds \
17036   prelink_cmds \
17037 + postlink_cmds \
17038   postinstall_cmds \
17039   postuninstall_cmds \
17040   finish_cmds \
17041   sys_lib_search_path_spec \
17042   sys_lib_dlsearch_path_spec; do
17043 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17043 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17044      *[\\\\\\\`\\"\\\$]*)
17045 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17045 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17046        ;;
17047      *)
17048        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 17050 | sys_lib_dlsearch_path_spec; do
17050      esac
17051   done
17052  
14695 # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 case \$lt_ECHO in
14697 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698  ;;
14699 esac
14700
17053   ac_aux_dir='$ac_aux_dir'
17054   xsi_shell='$xsi_shell'
17055   lt_shell_append='$lt_shell_append'
# Line 14730 | Line 17082 | do
17082      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17083      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17084      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
17085      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17086 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
17086 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
17087      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
17088      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
17089      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17090      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
17091      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17092  
17093 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17093 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17094    esac
17095   done
17096  
# Line 14767 | Line 17113 | fi
17113   # after its creation but before its name has been assigned to `$tmp'.
17114   $debug ||
17115   {
17116 <  tmp=
17116 >  tmp= ac_tmp=
17117    trap 'exit_status=$?
17118 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17118 >  : "${ac_tmp:=$tmp}"
17119 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17120   ' 0
17121    trap 'as_fn_exit 1' 1 2 13 15
17122   }
# Line 14777 | Line 17124 | $debug ||
17124  
17125   {
17126    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17127 <  test -n "$tmp" && test -d "$tmp"
17127 >  test -d "$tmp"
17128   }  ||
17129   {
17130    tmp=./conf$$-$RANDOM
17131    (umask 077 && mkdir "$tmp")
17132 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17132 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17133 > ac_tmp=$tmp
17134  
17135   # Set up the scripts for CONFIG_FILES section.
17136   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 17147 | if test "x$ac_cr" = x; then
17147   fi
17148   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17149   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17150 <  ac_cs_awk_cr='\r'
17150 >  ac_cs_awk_cr='\\r'
17151   else
17152    ac_cs_awk_cr=$ac_cr
17153   fi
17154  
17155 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
17155 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17156   _ACEOF
17157  
17158  
# Line 14813 | Line 17161 | _ACEOF
17161    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17162    echo "_ACEOF"
17163   } >conf$$subs.sh ||
17164 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17165 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17164 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17165 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17166   ac_delim='%!_!# '
17167   for ac_last_try in false false false false false :; do
17168    . ./conf$$subs.sh ||
17169 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17169 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17170  
17171    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17172    if test $ac_delim_n = $ac_delim_num; then
17173      break
17174    elif $ac_last_try; then
17175 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17175 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17176    else
17177      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17178    fi
# Line 14832 | Line 17180 | done
17180   rm -f conf$$subs.sh
17181  
17182   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17183 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17183 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17184   _ACEOF
17185   sed -n '
17186   h
# Line 14880 | Line 17228 | t delim
17228   rm -f conf$$subs.awk
17229   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17230   _ACAWK
17231 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17231 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17232    for (key in S) S_is_set[key] = 1
17233    FS = ""
17234  
# Line 14912 | Line 17260 | if sed "s/$ac_cr//" < /dev/null > /dev/n
17260    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17261   else
17262    cat
17263 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17264 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
17263 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17264 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17265   _ACEOF
17266  
17267 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
17268 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17267 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17268 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17269   # trailing colons and then remove the whole line if VPATH becomes empty
17270   # (actually we leave an empty line to preserve line numbers).
17271   if test "x$srcdir" = x.; then
17272 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17273 < s/:*\$(srcdir):*/:/
17274 < s/:*\${srcdir}:*/:/
17275 < s/:*@srcdir@:*/:/
17276 < s/^\([^=]*=[     ]*\):*/\1/
17272 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17273 > h
17274 > s///
17275 > s/^/:/
17276 > s/[      ]*$/:/
17277 > s/:\$(srcdir):/:/g
17278 > s/:\${srcdir}:/:/g
17279 > s/:@srcdir@:/:/g
17280 > s/^:*//
17281   s/:*$//
17282 + x
17283 + s/\(=[   ]*\).*/\1/
17284 + G
17285 + s/\n//
17286   s/^[^=]*=[       ]*$//
17287   }'
17288   fi
# Line 14938 | Line 17294 | fi # test -n "$CONFIG_FILES"
17294   # No need to generate them if there are no CONFIG_HEADERS.
17295   # This happens for instance with `./config.status Makefile'.
17296   if test -n "$CONFIG_HEADERS"; then
17297 < cat >"$tmp/defines.awk" <<\_ACAWK ||
17297 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17298   BEGIN {
17299   _ACEOF
17300  
# Line 14950 | Line 17306 | _ACEOF
17306   # handling of long lines.
17307   ac_delim='%!_!# '
17308   for ac_last_try in false false :; do
17309 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17310 <  if test -z "$ac_t"; then
17309 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17310 >  if test -z "$ac_tt"; then
17311      break
17312    elif $ac_last_try; then
17313 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17313 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17314    else
17315      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17316    fi
# Line 15039 | Line 17395 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17395   _ACAWK
17396   _ACEOF
17397   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17398 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
17398 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17399   fi # test -n "$CONFIG_HEADERS"
17400  
17401  
# Line 15052 | Line 17408 | do
17408    esac
17409    case $ac_mode$ac_tag in
17410    :[FHL]*:*);;
17411 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17411 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17412    :[FH]-) ac_tag=-:-;;
17413    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17414    esac
# Line 15071 | Line 17427 | do
17427      for ac_f
17428      do
17429        case $ac_f in
17430 <      -) ac_f="$tmp/stdin";;
17430 >      -) ac_f="$ac_tmp/stdin";;
17431        *) # Look for the file first in the build tree, then in the source tree
17432           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17433           # because $ac_f cannot contain `:'.
# Line 15080 | Line 17436 | do
17436             [\\/$]*) false;;
17437             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17438             esac ||
17439 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17439 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17440        esac
17441        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17442        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 17462 | $as_echo "$as_me: creating $ac_file" >&6
17462      esac
17463  
17464      case $ac_tag in
17465 <    *:-:* | *:-) cat >"$tmp/stdin" \
17466 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17465 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17466 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17467      esac
17468      ;;
17469    esac
# Line 15243 | Line 17599 | s&@INSTALL@&$ac_INSTALL&;t t
17599   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17600   $ac_datarootdir_hack
17601   "
17602 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17603 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17602 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17603 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17604  
17605   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17606 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17607 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17606 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17607 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17608 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17609    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17610 < which seems to be undefined.  Please make sure it is defined." >&5
17610 > which seems to be undefined.  Please make sure it is defined" >&5
17611   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17612 < which seems to be undefined.  Please make sure it is defined." >&2;}
17612 > which seems to be undefined.  Please make sure it is defined" >&2;}
17613  
17614 <  rm -f "$tmp/stdin"
17614 >  rm -f "$ac_tmp/stdin"
17615    case $ac_file in
17616 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17617 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17616 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17617 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17618    esac \
17619 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17619 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17620   ;;
17621    :H)
17622    #
# Line 15268 | Line 17625 | which seems to be undefined.  Please mak
17625    if test x"$ac_file" != x-; then
17626      {
17627        $as_echo "/* $configure_input  */" \
17628 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17629 <    } >"$tmp/config.h" \
17630 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17631 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17628 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17629 >    } >"$ac_tmp/config.h" \
17630 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17631 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17632        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17633   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17634      else
17635        rm -f "$ac_file"
17636 <      mv "$tmp/config.h" "$ac_file" \
17637 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17636 >      mv "$ac_tmp/config.h" "$ac_file" \
17637 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17638      fi
17639    else
17640      $as_echo "/* $configure_input  */" \
17641 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17642 <      || as_fn_error "could not create -" "$LINENO" 5
17641 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17642 >      || as_fn_error $? "could not create -" "$LINENO" 5
17643    fi
17644   # Compute "$ac_file"'s index in $config_headers.
17645   _am_arg="$ac_file"
# Line 15328 | Line 17685 | $as_echo "$as_me: executing $ac_file com
17685  
17686    case $ac_file$ac_mode in
17687      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17688 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17688 >  # Older Autoconf quotes --file arguments for eval, but not when files
17689    # are listed without --file.  Let's play safe and only enable the eval
17690    # if we detect the quoting.
17691    case $CONFIG_FILES in
# Line 15341 | Line 17698 | $as_echo "$as_me: executing $ac_file com
17698      # Strip MF so we end up with the name of the file.
17699      mf=`echo "$mf" | sed -e 's/:.*$//'`
17700      # Check whether this is an Automake generated Makefile or not.
17701 <    # We used to match only the files named `Makefile.in', but
17701 >    # We used to match only the files named 'Makefile.in', but
17702      # some people rename them; so instead we look at the file content.
17703      # Grep'ing the first line is not enough: some people post-process
17704      # each Makefile.in and add a new line on top of each file to say so.
# Line 15375 | Line 17732 | $as_echo X"$mf" |
17732        continue
17733      fi
17734      # Extract the definition of DEPDIR, am__include, and am__quote
17735 <    # from the Makefile without running `make'.
17735 >    # from the Makefile without running 'make'.
17736      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17737      test -z "$DEPDIR" && continue
17738      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17739 <    test -z "am__include" && continue
17739 >    test -z "$am__include" && continue
17740      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384    # When using ansi2knr, U may be empty or an underscore; expand it
15385    U=`sed -n 's/^U = //p' < "$mf"`
17741      # Find all dependency output files, they are included files with
17742      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17743      # simplest approach to changing $(DEPDIR) to its actual value in the
17744      # expansion.
17745      for file in `sed -n "
17746        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17747 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17747 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17748        # Make sure the directory exists.
17749        test -f "$dirpart/$file" && continue
17750        fdir=`$as_dirname -- "$file" ||
# Line 15443 | Line 17798 | $as_echo X"$file" |
17798   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17799   #
17800   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17801 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17801 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17802 > #                 Foundation, Inc.
17803   #   Written by Gordon Matzigkeit, 1996
17804   #
17805   #   This file is part of GNU Libtool.
# Line 15491 | Line 17847 | pic_mode=$pic_mode
17847   # Whether or not to optimize for fast installation.
17848   fast_install=$enable_fast_install
17849  
17850 + # Shell to use when invoking shell scripts.
17851 + SHELL=$lt_SHELL
17852 +
17853 + # An echo program that protects backslashes.
17854 + ECHO=$lt_ECHO
17855 +
17856 + # The PATH separator for the build system.
17857 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17858 +
17859   # The host system.
17860   host_alias=$host_alias
17861   host=$host
# Line 15540 | Line 17905 | SP2NL=$lt_lt_SP2NL
17905   # turn newlines into spaces.
17906   NL2SP=$lt_lt_NL2SP
17907  
17908 < # How to create reloadable object files.
17909 < reload_flag=$lt_reload_flag
17910 < reload_cmds=$lt_reload_cmds
17908 > # convert \$build file names to \$host format.
17909 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17910 >
17911 > # convert \$build files to toolchain format.
17912 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17913  
17914   # An object symbol dumper.
17915   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 17917 | OBJDUMP=$lt_OBJDUMP
17917   # Method to check whether dependent libraries are shared objects.
17918   deplibs_check_method=$lt_deplibs_check_method
17919  
17920 < # Command to use when deplibs_check_method == "file_magic".
17920 > # Command to use when deplibs_check_method = "file_magic".
17921   file_magic_cmd=$lt_file_magic_cmd
17922  
17923 + # How to find potential files when deplibs_check_method = "file_magic".
17924 + file_magic_glob=$lt_file_magic_glob
17925 +
17926 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17927 + want_nocaseglob=$lt_want_nocaseglob
17928 +
17929 + # DLL creation program.
17930 + DLLTOOL=$lt_DLLTOOL
17931 +
17932 + # Command to associate shared and link libraries.
17933 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17934 +
17935   # The archiver.
17936   AR=$lt_AR
17937 +
17938 + # Flags to create an archive.
17939   AR_FLAGS=$lt_AR_FLAGS
17940  
17941 + # How to feed a file listing to the archiver.
17942 + archiver_list_spec=$lt_archiver_list_spec
17943 +
17944   # A symbol stripping program.
17945   STRIP=$lt_STRIP
17946  
# Line 15565 | Line 17949 | RANLIB=$lt_RANLIB
17949   old_postinstall_cmds=$lt_old_postinstall_cmds
17950   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17951  
17952 + # Whether to use a lock for old archive extraction.
17953 + lock_old_archive_extraction=$lock_old_archive_extraction
17954 +
17955   # A C compiler.
17956   LTCC=$lt_CC
17957  
# Line 15583 | Line 17970 | global_symbol_to_c_name_address=$lt_lt_c
17970   # Transform the output of nm in a C name address pair when lib prefix is needed.
17971   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17972  
17973 < # The name of the directory that contains temporary libtool files.
17974 < objdir=$objdir
17973 > # Specify filename containing input files for \$NM.
17974 > nm_file_list_spec=$lt_nm_file_list_spec
17975  
17976 < # Shell to use when invoking shell scripts.
17977 < SHELL=$lt_SHELL
17976 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17977 > lt_sysroot=$lt_sysroot
17978  
17979 < # An echo program that does not interpret backslashes.
17980 < ECHO=$lt_ECHO
17979 > # The name of the directory that contains temporary libtool files.
17980 > objdir=$objdir
17981  
17982   # Used to examine libraries when file_magic_cmd begins with "file".
17983   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 17985 | MAGIC_CMD=$MAGIC_CMD
17985   # Must we lock files when doing compilation?
17986   need_locks=$lt_need_locks
17987  
17988 + # Manifest tool.
17989 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17990 +
17991   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17992   DSYMUTIL=$lt_DSYMUTIL
17993  
# Line 15654 | Line 18044 | library_names_spec=$lt_library_names_spe
18044   # The coded name of the library, if different from the real name.
18045   soname_spec=$lt_soname_spec
18046  
18047 + # Permission mode override for installation of shared libraries.
18048 + install_override_mode=$lt_install_override_mode
18049 +
18050   # Command to use after installation of a shared archive.
18051   postinstall_cmds=$lt_postinstall_cmds
18052  
# Line 15693 | Line 18086 | striplib=$lt_striplib
18086   # The linker used to build libraries.
18087   LD=$lt_LD
18088  
18089 + # How to create reloadable object files.
18090 + reload_flag=$lt_reload_flag
18091 + reload_cmds=$lt_reload_cmds
18092 +
18093   # Commands used to build an old-style archive.
18094   old_archive_cmds=$lt_old_archive_cmds
18095  
# Line 15705 | Line 18102 | with_gcc=$GCC
18102   # Compiler flag to turn off builtin functions.
18103   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18104  
15708 # How to pass a linker flag through the compiler.
15709 wl=$lt_lt_prog_compiler_wl
15710
18105   # Additional compiler flags for building library objects.
18106   pic_flag=$lt_lt_prog_compiler_pic
18107  
18108 + # How to pass a linker flag through the compiler.
18109 + wl=$lt_lt_prog_compiler_wl
18110 +
18111   # Compiler flag to prevent dynamic linking.
18112   link_static_flag=$lt_lt_prog_compiler_static
18113  
# Line 15760 | Line 18157 | no_undefined_flag=$lt_no_undefined_flag
18157   # This must work even if \$libdir does not exist
18158   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18159  
15763 # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 # during linking.  This must work even if \$libdir does not exist.
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766
18160   # Whether we need a single "-rpath" flag with a separated argument.
18161   hardcode_libdir_separator=$lt_hardcode_libdir_separator
18162  
# Line 15797 | Line 18190 | inherit_rpath=$inherit_rpath
18190   # Whether libtool must link a program against all its dependency libraries.
18191   link_all_deplibs=$link_all_deplibs
18192  
15800 # Fix the shell variable \$srcfile for the compiler.
15801 fix_srcfile_path=$lt_fix_srcfile_path
15802
18193   # Set to "yes" if exported symbols are required.
18194   always_export_symbols=$always_export_symbols
18195  
# Line 15815 | Line 18205 | include_expsyms=$lt_include_expsyms
18205   # Commands necessary for linking programs (against libraries) with templates.
18206   prelink_cmds=$lt_prelink_cmds
18207  
18208 + # Commands necessary for finishing linking programs.
18209 + postlink_cmds=$lt_postlink_cmds
18210 +
18211   # Specify filename containing input files.
18212   file_list_spec=$lt_file_list_spec
18213  
# Line 15847 | Line 18240 | ltmain="$ac_aux_dir/ltmain.sh"
18240    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18241    # text mode, it properly converts lines to CR/LF.  This bash problem
18242    # is reportedly fixed, but why not run on old versions too?
18243 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18244 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
18243 >  sed '$q' "$ltmain" >> "$cfgfile" \
18244 >     || (rm -f "$cfgfile"; exit 1)
18245  
18246 +  if test x"$xsi_shell" = xyes; then
18247 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18248 + func_dirname ()\
18249 + {\
18250 + \    case ${1} in\
18251 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
18252 + \      *  ) func_dirname_result="${3}" ;;\
18253 + \    esac\
18254 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18255 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18256 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18257 + test 0 -eq $? || _lt_function_replace_fail=:
18258 +
18259 +
18260 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18261 + func_basename ()\
18262 + {\
18263 + \    func_basename_result="${1##*/}"\
18264 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18265 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18266 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18267 + test 0 -eq $? || _lt_function_replace_fail=:
18268 +
18269 +
18270 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18271 + func_dirname_and_basename ()\
18272 + {\
18273 + \    case ${1} in\
18274 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
18275 + \      *  ) func_dirname_result="${3}" ;;\
18276 + \    esac\
18277 + \    func_basename_result="${1##*/}"\
18278 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18279 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18280 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18281 + test 0 -eq $? || _lt_function_replace_fail=:
18282 +
18283 +
18284 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18285 + func_stripname ()\
18286 + {\
18287 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18288 + \    # positional parameters, so assign one to ordinary parameter first.\
18289 + \    func_stripname_result=${3}\
18290 + \    func_stripname_result=${func_stripname_result#"${1}"}\
18291 + \    func_stripname_result=${func_stripname_result%"${2}"}\
18292 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18293 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18294 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18295 + test 0 -eq $? || _lt_function_replace_fail=:
18296 +
18297 +
18298 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18299 + func_split_long_opt ()\
18300 + {\
18301 + \    func_split_long_opt_name=${1%%=*}\
18302 + \    func_split_long_opt_arg=${1#*=}\
18303 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18304 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18305 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18306 + test 0 -eq $? || _lt_function_replace_fail=:
18307 +
18308 +
18309 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18310 + func_split_short_opt ()\
18311 + {\
18312 + \    func_split_short_opt_arg=${1#??}\
18313 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18314 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18315 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18316 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18317 + test 0 -eq $? || _lt_function_replace_fail=:
18318 +
18319 +
18320 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18321 + func_lo2o ()\
18322 + {\
18323 + \    case ${1} in\
18324 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18325 + \      *)    func_lo2o_result=${1} ;;\
18326 + \    esac\
18327 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18328 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18329 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18330 + test 0 -eq $? || _lt_function_replace_fail=:
18331 +
18332 +
18333 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18334 + func_xform ()\
18335 + {\
18336 +    func_xform_result=${1%.*}.lo\
18337 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18338 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18339 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18340 + test 0 -eq $? || _lt_function_replace_fail=:
18341 +
18342 +
18343 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18344 + func_arith ()\
18345 + {\
18346 +    func_arith_result=$(( $* ))\
18347 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18348 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18349 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18350 + test 0 -eq $? || _lt_function_replace_fail=:
18351 +
18352 +
18353 +  sed -e '/^func_len ()$/,/^} # func_len /c\
18354 + func_len ()\
18355 + {\
18356 +    func_len_result=${#1}\
18357 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18358 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18359 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18360 + test 0 -eq $? || _lt_function_replace_fail=:
18361 +
18362 + fi
18363 +
18364 + if test x"$lt_shell_append" = xyes; then
18365 +  sed -e '/^func_append ()$/,/^} # func_append /c\
18366 + func_append ()\
18367 + {\
18368 +    eval "${1}+=\\${2}"\
18369 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18370 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18371 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18372 + test 0 -eq $? || _lt_function_replace_fail=:
18373 +
18374 +
18375 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18376 + func_append_quoted ()\
18377 + {\
18378 + \    func_quote_for_eval "${2}"\
18379 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18380 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18381 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18382 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18383 + test 0 -eq $? || _lt_function_replace_fail=:
18384 +
18385 +
18386 +  # Save a `func_append' function call where possible by direct use of '+='
18387 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18388 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
18389 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18390 +  test 0 -eq $? || _lt_function_replace_fail=:
18391 + else
18392 +  # Save a `func_append' function call even when '+=' is not available
18393 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18394 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
18395 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18396 +  test 0 -eq $? || _lt_function_replace_fail=:
18397 + fi
18398 +
18399 + if test x"$_lt_function_replace_fail" = x":"; then
18400 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18401 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18402 + fi
18403  
16052  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053    || (rm -f "$cfgfile"; exit 1)
18404  
18405 <  mv -f "$cfgfile" "$ofile" ||
18405 >   mv -f "$cfgfile" "$ofile" ||
18406      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18407    chmod +x "$ofile"
18408  
# Line 16067 | Line 18417 | _ACEOF
18417   ac_clean_files=$ac_clean_files_save
18418  
18419   test $ac_write_fail = 0 ||
18420 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18420 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18421  
18422  
18423   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 18438 | if test "$no_create" != yes; then
18438    exec 5>>config.log
18439    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18440    # would make configure fail if this is the last instruction.
18441 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
18441 >  $ac_cs_success || as_fn_exit 1
18442   fi
18443   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18444    { $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 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4482 by michael, Fri Aug 15 17:06:40 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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