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 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4354 by michael, Sat Aug 2 18:09:39 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1090 2010-03-24 22:37:53Z michael .
2 > # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z 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.0rc1.
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
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 704 | 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.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 759 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
762 EFNET_FALSE
763 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
766 ENABLE_PCRE_FALSE
767 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 789 | 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 819 | 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 835 | 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 899 | 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 906 | 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
915 < enable_zlib
916 < with_libpcre_path
917 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
920 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
924 enable_rtsigio
814   enable_poll
926 enable_select
927 with_nicklen
928 with_topiclen
929 with_syslog_facility
930 enable_efnet
931 enable_halfops
815   enable_debugging
816   enable_warnings
934 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 1006 | 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 1052 | 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 1078 | 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 1282 | 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 1298 | 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 1328 | 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 1337 | 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 1347 | 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 1355 | 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 1384 | 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 1398 | 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
1401    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402    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 1414 | 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 1455 | 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 1485 | 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.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1499 | 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 1555 | 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.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1563 | 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
1577 <  --disable-libpcre       Disable PCRE support
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464    --disable-openssl            Disable OpenSSL support.
1465    --enable-assert         Enable assert() statements
1581  --enable-small-net      Enable small network support.
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1585  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1587  --enable-select         Force select usage.
1588  --enable-efnet          For IRCDs running on EFnet.
1589  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1592  --enable-syslog="EVENTS"
1593                          Enable syslog for events: users oper (space
1594                          separated in quotes; default: disabled).
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
1605  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1606  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1607  --with-nicklen=<value>  Set nickname length (default 9).
1608  --with-topiclen=<value> Set topic length (default 160).
1609  --with-syslog-facility=LOG
1610                          Define the syslog facility to use (default:
1611                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1618 | 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 1691 | 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.0rc1
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 1738 | 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 1770 | 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 1784 | 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 1798 | 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 1816 | 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 1841 | 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 1852 | 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 1894 | 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 1907 | 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 1962 | 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 1983 | 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 2001 | 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 2014 | 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 2055 | 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  
# Line 2068 | Line 1948 | ac_fn_c_check_member ()
1948    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1950   $as_echo_n "checking for $2.$3... " >&6; }
1951 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1951 > if eval \${$4+:} false; then :
1952    $as_echo_n "(cached) " >&6
1953   else
1954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2112 | Line 1992 | fi
1992   eval ac_res=\$$4
1993                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994   $as_echo "$ac_res" >&6; }
1995 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996  
1997   } # ac_fn_c_check_member
1998  
# Line 2124 | Line 2004 | $as_echo "$ac_res" >&6; }
2004   ac_fn_c_check_header_mongrel ()
2005   {
2006    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2007 >  if eval \${$3+:} false; then :
2008    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2009   $as_echo_n "checking for $2... " >&6; }
2010 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 > if eval \${$3+:} false; then :
2011    $as_echo_n "(cached) " >&6
2012   fi
2013   eval ac_res=\$$3
# Line 2163 | Line 2043 | if ac_fn_c_try_cpp "$LINENO"; then :
2043   else
2044    ac_header_preproc=no
2045   fi
2046 < rm -f conftest.err conftest.$ac_ext
2046 > rm -f conftest.err conftest.i conftest.$ac_ext
2047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2048   $as_echo "$ac_header_preproc" >&6; }
2049  
# Line 2186 | Line 2066 | $as_echo "$as_me: WARNING: $2: see the A
2066   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2067      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2068   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2069 < ( cat <<\_ASBOX
2190 < ## ----------------------------------- ##
2069 > ( $as_echo "## ----------------------------------- ##
2070   ## Report this to bugs@ircd-hybrid.org ##
2071 < ## ----------------------------------- ##
2193 < _ASBOX
2071 > ## ----------------------------------- ##"
2072       ) | sed "s/^/$as_me: WARNING:     /" >&2
2073      ;;
2074   esac
2075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076   $as_echo_n "checking for $2... " >&6; }
2077 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2077 > if eval \${$3+:} false; then :
2078    $as_echo_n "(cached) " >&6
2079   else
2080    eval "$3=\$ac_header_compiler"
# Line 2205 | Line 2083 | eval ac_res=\$$3
2083                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084   $as_echo "$ac_res" >&6; }
2085   fi
2086 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2086 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087  
2088   } # ac_fn_c_check_header_mongrel
2089   cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2094 < generated by GNU Autoconf 2.65.  Invocation command line was
2093 > It was created by ircd-hybrid $as_me 8.2.0rc1, which was
2094 > generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
2097  
# Line 2323 | Line 2201 | trap 'exit_status=$?
2201    {
2202      echo
2203  
2204 <    cat <<\_ASBOX
2327 < ## ---------------- ##
2204 >    $as_echo "## ---------------- ##
2205   ## Cache variables. ##
2206 < ## ---------------- ##
2330 < _ASBOX
2206 > ## ---------------- ##"
2207      echo
2208      # The following way of writing the cache mishandles newlines in values,
2209   (
# Line 2361 | Line 2237 | $as_echo "$as_me: WARNING: cache variabl
2237   )
2238      echo
2239  
2240 <    cat <<\_ASBOX
2365 < ## ----------------- ##
2240 >    $as_echo "## ----------------- ##
2241   ## Output variables. ##
2242 < ## ----------------- ##
2368 < _ASBOX
2242 > ## ----------------- ##"
2243      echo
2244      for ac_var in $ac_subst_vars
2245      do
# Line 2378 | Line 2252 | _ASBOX
2252      echo
2253  
2254      if test -n "$ac_subst_files"; then
2255 <      cat <<\_ASBOX
2382 < ## ------------------- ##
2255 >      $as_echo "## ------------------- ##
2256   ## File substitutions. ##
2257 < ## ------------------- ##
2385 < _ASBOX
2257 > ## ------------------- ##"
2258        echo
2259        for ac_var in $ac_subst_files
2260        do
# Line 2396 | Line 2268 | _ASBOX
2268      fi
2269  
2270      if test -s confdefs.h; then
2271 <      cat <<\_ASBOX
2400 < ## ----------- ##
2271 >      $as_echo "## ----------- ##
2272   ## confdefs.h. ##
2273 < ## ----------- ##
2403 < _ASBOX
2273 > ## ----------- ##"
2274        echo
2275        cat confdefs.h
2276        echo
# Line 2455 | Line 2325 | _ACEOF
2325   ac_site_file1=NONE
2326   ac_site_file2=NONE
2327   if test -n "$CONFIG_SITE"; then
2328 <  ac_site_file1=$CONFIG_SITE
2328 >  # We do not want a PATH search for config.site.
2329 >  case $CONFIG_SITE in #((
2330 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2331 >    */*) ac_site_file1=$CONFIG_SITE;;
2332 >    *)   ac_site_file1=./$CONFIG_SITE;;
2333 >  esac
2334   elif test "x$prefix" != xNONE; then
2335    ac_site_file1=$prefix/share/config.site
2336    ac_site_file2=$prefix/etc/config.site
# Line 2470 | Line 2345 | do
2345      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2346   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2347      sed 's/^/| /' "$ac_site_file" >&5
2348 <    . "$ac_site_file"
2348 >    . "$ac_site_file" \
2349 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 > as_fn_error $? "failed to load site script $ac_site_file
2352 > See \`config.log' for more details" "$LINENO" 5; }
2353    fi
2354   done
2355  
# Line 2491 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2494 as_fn_append ac_func_list " mmap"
2373   as_fn_append ac_func_list " strtok_r"
2374   as_fn_append ac_func_list " usleep"
2375   as_fn_append ac_func_list " strlcat"
2376   as_fn_append ac_func_list " strlcpy"
2377   as_fn_append ac_header_list " crypt.h"
2500 as_fn_append ac_header_list " inttypes.h"
2501 as_fn_append ac_header_list " stdint.h"
2378   as_fn_append ac_header_list " sys/resource.h"
2379   as_fn_append ac_header_list " sys/param.h"
2504 as_fn_append ac_header_list " errno.h"
2505 as_fn_append ac_header_list " sys/syslog.h"
2380   as_fn_append ac_header_list " types.h"
2381   as_fn_append ac_header_list " socket.h"
2382   as_fn_append ac_header_list " sys/wait.h"
2383   as_fn_append ac_header_list " wait.h"
2510 as_fn_append ac_header_list " link.h"
2384   # Check that the precious variables saved in the cache have kept the same
2385   # value.
2386   ac_cache_corrupted=false
# Line 2563 | Line 2436 | if $ac_cache_corrupted; then
2436   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2438   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2439 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2440   fi
2441   ## -------------------- ##
2442   ## Main body of script. ##
# Line 2576 | Line 2449 | ac_link='$CC -o conftest$ac_exeext $CFLA
2449   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450  
2451  
2452 < am__api_version='1.11'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2456 <  for ac_t in install-sh install.sh shtool; do
2457 <    if test -f "$ac_dir/$ac_t"; then
2458 <      ac_aux_dir=$ac_dir
2459 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2460 <      break 2
2461 <    fi
2462 <  done
2456 >  if test -f "$ac_dir/install-sh"; then
2457 >    ac_aux_dir=$ac_dir
2458 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2459 >    break
2460 >  elif test -f "$ac_dir/install.sh"; then
2461 >    ac_aux_dir=$ac_dir
2462 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2463 >    break
2464 >  elif test -f "$ac_dir/shtool"; then
2465 >    ac_aux_dir=$ac_dir
2466 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2467 >    break
2468 >  fi
2469   done
2470   if test -z "$ac_aux_dir"; then
2471 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2471 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2472   fi
2473  
2474   # These three variables are undocumented and unsupported,
# Line 2618 | Line 2497 | ac_configure="$SHELL $ac_aux_dir/configu
2497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2498   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2499   if test -z "$INSTALL"; then
2500 < if test "${ac_cv_path_install+set}" = set; then :
2500 > if ${ac_cv_path_install+:} false; then :
2501    $as_echo_n "(cached) " >&6
2502   else
2503    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2638 | Line 2517 | case $as_dir/ in #((
2517      # by default.
2518      for ac_prog in ginstall scoinst install; do
2519        for ac_exec_ext in '' $ac_executable_extensions; do
2520 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2520 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2521            if test $ac_prog = install &&
2522              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2523              # AIX install.  It has an incompatible calling convention.
# Line 2696 | Line 2575 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2575  
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2577   $as_echo_n "checking whether build environment is sane... " >&6; }
2699 # Just in case
2700 sleep 1
2701 echo timestamp > conftest.file
2578   # Reject unsafe characters in $srcdir or the absolute working directory
2579   # name.  Accept space and tab only in the latter.
2580   am_lf='
2581   '
2582   case `pwd` in
2583    *[\\\"\#\$\&\'\`$am_lf]*)
2584 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2584 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2585   esac
2586   case $srcdir in
2587    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2588 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2588 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2589   esac
2590  
2591 < # Do `set' in a subshell so we don't clobber the current shell's
2591 > # Do 'set' in a subshell so we don't clobber the current shell's
2592   # arguments.  Must try -L first in case configure is actually a
2593   # symlink; some systems play weird games with the mod time of symlinks
2594   # (eg FreeBSD returns the mod time of the symlink's containing
2595   # directory).
2596   if (
2597 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2598 <   if test "$*" = "X"; then
2599 <      # -L didn't work.
2600 <      set X `ls -t "$srcdir/configure" conftest.file`
2601 <   fi
2602 <   rm -f conftest.file
2603 <   if test "$*" != "X $srcdir/configure conftest.file" \
2604 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2605 <
2606 <      # If neither matched, then we have a broken ls.  This can happen
2731 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2732 <      # broken ls alias from the environment.  This has actually
2733 <      # happened.  Such a system could not be considered "sane".
2734 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2735 < alias in your environment" "$LINENO" 5
2736 <   fi
2597 >   am_has_slept=no
2598 >   for am_try in 1 2; do
2599 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2600 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2601 >     if test "$*" = "X"; then
2602 >        # -L didn't work.
2603 >        set X `ls -t "$srcdir/configure" conftest.file`
2604 >     fi
2605 >     if test "$*" != "X $srcdir/configure conftest.file" \
2606 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2607  
2608 +        # If neither matched, then we have a broken ls.  This can happen
2609 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2610 +        # broken ls alias from the environment.  This has actually
2611 +        # happened.  Such a system could not be considered "sane".
2612 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613 +  alias in your environment" "$LINENO" 5
2614 +     fi
2615 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2616 +       break
2617 +     fi
2618 +     # Just in case.
2619 +     sleep 1
2620 +     am_has_slept=yes
2621 +   done
2622     test "$2" = conftest.file
2623     )
2624   then
2625     # Ok.
2626     :
2627   else
2628 <   as_fn_error "newly created file is older than distributed files!
2628 >   as_fn_error $? "newly created file is older than distributed files!
2629   Check your system clock" "$LINENO" 5
2630   fi
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632   $as_echo "yes" >&6; }
2633 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2634 + # generated files are strictly newer.
2635 + am_sleep_pid=
2636 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2637 +  ( sleep 1 ) &
2638 +  am_sleep_pid=$!
2639 + fi
2640 +
2641 + rm -f conftest.file
2642 +
2643   test "$program_prefix" != NONE &&
2644    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2645   # Use a double $ so make ignores it.
# Line 2768 | Line 2662 | if test x"${MISSING+set}" != xset; then
2662    esac
2663   fi
2664   # Use eval to expand $SHELL
2665 < if eval "$MISSING --run true"; then
2666 <  am_missing_run="$MISSING --run "
2665 > if eval "$MISSING --is-lightweight"; then
2666 >  am_missing_run="$MISSING "
2667   else
2668    am_missing_run=
2669 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2670 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2669 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2670 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2671   fi
2672  
2673   if test x"${install_sh}" != xset; then
# Line 2785 | Line 2679 | if test x"${install_sh}" != xset; then
2679    esac
2680   fi
2681  
2682 < # Installed binaries are usually stripped using `strip' when the user
2683 < # run `make install-strip'.  However `strip' might not be the right
2682 > # Installed binaries are usually stripped using 'strip' when the user
2683 > # run "make install-strip".  However 'strip' might not be the right
2684   # tool to use in cross-compilation environments, therefore Automake
2685 < # will honor the `STRIP' environment variable to overrule this program.
2685 > # will honor the 'STRIP' environment variable to overrule this program.
2686   if test "$cross_compiling" != no; then
2687    if test -n "$ac_tool_prefix"; then
2688    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2689   set dummy ${ac_tool_prefix}strip; ac_word=$2
2690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691   $as_echo_n "checking for $ac_word... " >&6; }
2692 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2692 > if ${ac_cv_prog_STRIP+:} false; then :
2693    $as_echo_n "(cached) " >&6
2694   else
2695    if test -n "$STRIP"; then
# Line 2807 | Line 2701 | do
2701    IFS=$as_save_IFS
2702    test -z "$as_dir" && as_dir=.
2703      for ac_exec_ext in '' $ac_executable_extensions; do
2704 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2706      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707      break 2
# Line 2835 | Line 2729 | if test -z "$ac_cv_prog_STRIP"; then
2729   set dummy strip; ac_word=$2
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731   $as_echo_n "checking for $ac_word... " >&6; }
2732 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2732 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2733    $as_echo_n "(cached) " >&6
2734   else
2735    if test -n "$ac_ct_STRIP"; then
# Line 2847 | Line 2741 | do
2741    IFS=$as_save_IFS
2742    test -z "$as_dir" && as_dir=.
2743      for ac_exec_ext in '' $ac_executable_extensions; do
2744 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745      ac_cv_prog_ac_ct_STRIP="strip"
2746      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747      break 2
# Line 2888 | Line 2782 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2783   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2784   if test -z "$MKDIR_P"; then
2785 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2785 >  if ${ac_cv_path_mkdir+:} false; then :
2786    $as_echo_n "(cached) " >&6
2787   else
2788    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2898 | Line 2792 | do
2792    test -z "$as_dir" && as_dir=.
2793      for ac_prog in mkdir gmkdir; do
2794           for ac_exec_ext in '' $ac_executable_extensions; do
2795 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2795 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2796             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2797               'mkdir (GNU coreutils) '* | \
2798               'mkdir (coreutils) '* | \
# Line 2927 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2930 mkdir_p="$MKDIR_P"
2931 case $mkdir_p in
2932  [\\/$]* | ?:[\\/]*) ;;
2933  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2934 esac
2935
2824   for ac_prog in gawk mawk nawk awk
2825   do
2826    # Extract the first word of "$ac_prog", so it can be a program name with args.
2827   set dummy $ac_prog; ac_word=$2
2828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829   $as_echo_n "checking for $ac_word... " >&6; }
2830 < if test "${ac_cv_prog_AWK+set}" = set; then :
2830 > if ${ac_cv_prog_AWK+:} false; then :
2831    $as_echo_n "(cached) " >&6
2832   else
2833    if test -n "$AWK"; then
# Line 2951 | Line 2839 | do
2839    IFS=$as_save_IFS
2840    test -z "$as_dir" && as_dir=.
2841      for ac_exec_ext in '' $ac_executable_extensions; do
2842 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843      ac_cv_prog_AWK="$ac_prog"
2844      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845      break 2
# Line 2979 | Line 2867 | done
2867   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868   set x ${MAKE-make}
2869   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2870 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2871    $as_echo_n "(cached) " >&6
2872   else
2873    cat >conftest.make <<\_ACEOF
# Line 2987 | Line 2875 | SHELL = /bin/sh
2875   all:
2876          @echo '@@@%%%=$(MAKE)=@@@%%%'
2877   _ACEOF
2878 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2878 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880    *@@@%%%=?*=@@@%%%*)
2881      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3015 | Line 2903 | else
2903   fi
2904   rmdir .tst 2>/dev/null
2905  
2906 + # Check whether --enable-silent-rules was given.
2907 + if test "${enable_silent_rules+set}" = set; then :
2908 +  enableval=$enable_silent_rules;
2909 + fi
2910 +
2911 + case $enable_silent_rules in # (((
2912 +  yes) AM_DEFAULT_VERBOSITY=0;;
2913 +   no) AM_DEFAULT_VERBOSITY=1;;
2914 +    *) AM_DEFAULT_VERBOSITY=1;;
2915 + esac
2916 + am_make=${MAKE-make}
2917 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2918 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2919 + if ${am_cv_make_support_nested_variables+:} false; then :
2920 +  $as_echo_n "(cached) " >&6
2921 + else
2922 +  if $as_echo 'TRUE=$(BAR$(V))
2923 + BAR0=false
2924 + BAR1=true
2925 + V=1
2926 + am__doit:
2927 +        @$(TRUE)
2928 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2929 +  am_cv_make_support_nested_variables=yes
2930 + else
2931 +  am_cv_make_support_nested_variables=no
2932 + fi
2933 + fi
2934 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2935 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2936 + if test $am_cv_make_support_nested_variables = yes; then
2937 +    AM_V='$(V)'
2938 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2939 + else
2940 +  AM_V=$AM_DEFAULT_VERBOSITY
2941 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2942 + fi
2943 + AM_BACKSLASH='\'
2944 +
2945   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2946    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2947    # is not polluted with repeated "-I."
2948    am__isrc=' -I$(srcdir)'
2949    # test to see if srcdir already configured
2950    if test -f $srcdir/config.status; then
2951 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2951 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2952    fi
2953   fi
2954  
# Line 3037 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='7.3-rc1'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 3065 | Line 2992 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2992  
2993   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2994  
2995 + # For better backward compatibility.  To be removed once Automake 1.9.x
2996 + # dies out for good.  For more background, see:
2997 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2998 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2999 + mkdir_p='$(MKDIR_P)'
3000 +
3001   # We need awk for the "check" target.  The system "awk" is bad on
3002   # some platforms.
3003 < # Always define AMTAR for backward compatibility.
3003 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3004 > # in the wild :-(  We should find a proper way to deprecate it ...
3005 > AMTAR='$${TAR-tar}'
3006 >
3007 >
3008 > # We'll loop over all known methods to create a tar archive until one works.
3009 > _am_tools='gnutar  pax cpio none'
3010 >
3011 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3072 AMTAR=${AMTAR-"${am_missing_run}tar"}
3013  
3074 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3014  
3015  
3016  
3017  
3018 + # POSIX will say in a future version that running "rm -f" with no argument
3019 + # is OK; and we want to be able to make that assumption in our Makefile
3020 + # recipes.  So use an aggressive probe to check that the usage we want is
3021 + # actually supported "in the wild" to an acceptable degree.
3022 + # See automake bug#10828.
3023 + # To make any issue more visible, cause the running configure to be aborted
3024 + # by default if the 'rm' program in use doesn't match our expectations; the
3025 + # user can still override this though.
3026 + if rm -f && rm -fr && rm -rf; then : OK; else
3027 +  cat >&2 <<'END'
3028 + Oops!
3029  
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034 +
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038 +
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050 +
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054 +
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059  
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3100 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3124 | Line 3104 | am__quote=
3104   _am_result=none
3105   # First try GNU make style include.
3106   echo "include confinc" > confmf
3107 < # Ignore all kinds of additional output from `make'.
3107 > # Ignore all kinds of additional output from 'make'.
3108   case `$am_make -s -f confmf 2> /dev/null` in #(
3109   *the\ am__doit\ target*)
3110    am__include=include
# Line 3157 | Line 3137 | fi
3137   if test "x$enable_dependency_tracking" != xno; then
3138    am_depcomp="$ac_aux_dir/depcomp"
3139    AMDEPBACKSLASH='\'
3140 +  am__nodep='_no'
3141   fi
3142   if test "x$enable_dependency_tracking" != xno; then
3143    AMDEP_TRUE=
# Line 3177 | Line 3158 | if test -n "$ac_tool_prefix"; then
3158   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160   $as_echo_n "checking for $ac_word... " >&6; }
3161 < if test "${ac_cv_prog_CC+set}" = set; then :
3161 > if ${ac_cv_prog_CC+:} false; then :
3162    $as_echo_n "(cached) " >&6
3163   else
3164    if test -n "$CC"; then
# Line 3189 | Line 3170 | do
3170    IFS=$as_save_IFS
3171    test -z "$as_dir" && as_dir=.
3172      for ac_exec_ext in '' $ac_executable_extensions; do
3173 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3175      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176      break 2
# Line 3217 | Line 3198 | if test -z "$ac_cv_prog_CC"; then
3198   set dummy gcc; ac_word=$2
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200   $as_echo_n "checking for $ac_word... " >&6; }
3201 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3201 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3202    $as_echo_n "(cached) " >&6
3203   else
3204    if test -n "$ac_ct_CC"; then
# Line 3229 | Line 3210 | do
3210    IFS=$as_save_IFS
3211    test -z "$as_dir" && as_dir=.
3212      for ac_exec_ext in '' $ac_executable_extensions; do
3213 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214      ac_cv_prog_ac_ct_CC="gcc"
3215      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216      break 2
# Line 3270 | Line 3251 | if test -z "$CC"; then
3251   set dummy ${ac_tool_prefix}cc; ac_word=$2
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253   $as_echo_n "checking for $ac_word... " >&6; }
3254 < if test "${ac_cv_prog_CC+set}" = set; then :
3254 > if ${ac_cv_prog_CC+:} false; then :
3255    $as_echo_n "(cached) " >&6
3256   else
3257    if test -n "$CC"; then
# Line 3282 | Line 3263 | do
3263    IFS=$as_save_IFS
3264    test -z "$as_dir" && as_dir=.
3265      for ac_exec_ext in '' $ac_executable_extensions; do
3266 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267      ac_cv_prog_CC="${ac_tool_prefix}cc"
3268      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269      break 2
# Line 3310 | Line 3291 | if test -z "$CC"; then
3291   set dummy cc; ac_word=$2
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293   $as_echo_n "checking for $ac_word... " >&6; }
3294 < if test "${ac_cv_prog_CC+set}" = set; then :
3294 > if ${ac_cv_prog_CC+:} false; then :
3295    $as_echo_n "(cached) " >&6
3296   else
3297    if test -n "$CC"; then
# Line 3323 | Line 3304 | do
3304    IFS=$as_save_IFS
3305    test -z "$as_dir" && as_dir=.
3306      for ac_exec_ext in '' $ac_executable_extensions; do
3307 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3309         ac_prog_rejected=yes
3310         continue
# Line 3369 | Line 3350 | if test -z "$CC"; then
3350   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352   $as_echo_n "checking for $ac_word... " >&6; }
3353 < if test "${ac_cv_prog_CC+set}" = set; then :
3353 > if ${ac_cv_prog_CC+:} false; then :
3354    $as_echo_n "(cached) " >&6
3355   else
3356    if test -n "$CC"; then
# Line 3381 | Line 3362 | do
3362    IFS=$as_save_IFS
3363    test -z "$as_dir" && as_dir=.
3364      for ac_exec_ext in '' $ac_executable_extensions; do
3365 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3367      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368      break 2
# Line 3413 | Line 3394 | do
3394   set dummy $ac_prog; ac_word=$2
3395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396   $as_echo_n "checking for $ac_word... " >&6; }
3397 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3397 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3398    $as_echo_n "(cached) " >&6
3399   else
3400    if test -n "$ac_ct_CC"; then
# Line 3425 | Line 3406 | do
3406    IFS=$as_save_IFS
3407    test -z "$as_dir" && as_dir=.
3408      for ac_exec_ext in '' $ac_executable_extensions; do
3409 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410      ac_cv_prog_ac_ct_CC="$ac_prog"
3411      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412      break 2
# Line 3467 | Line 3448 | fi
3448  
3449   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 < as_fn_error "no acceptable C compiler found in \$PATH
3452 < See \`config.log' for more details." "$LINENO" 5; }
3451 > as_fn_error $? "no acceptable C compiler found in \$PATH
3452 > See \`config.log' for more details" "$LINENO" 5; }
3453  
3454   # Provide some information about the compiler.
3455   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3582 | Line 3563 | sed 's/^/| /' conftest.$ac_ext >&5
3563  
3564   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 < { as_fn_set_status 77
3567 < as_fn_error "C compiler cannot create executables
3587 < See \`config.log' for more details." "$LINENO" 5; }; }
3566 > as_fn_error 77 "C compiler cannot create executables
3567 > See \`config.log' for more details" "$LINENO" 5; }
3568   else
3569    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3570   $as_echo "yes" >&6; }
# Line 3626 | Line 3606 | done
3606   else
3607    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3610 < See \`config.log' for more details." "$LINENO" 5; }
3609 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3610 > See \`config.log' for more details" "$LINENO" 5; }
3611   fi
3612   rm -f conftest conftest$ac_cv_exeext
3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3684 | Line 3664 | $as_echo "$ac_try_echo"; } >&5
3664      else
3665          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 < as_fn_error "cannot run C compiled programs.
3667 > as_fn_error $? "cannot run C compiled programs.
3668   If you meant to cross compile, use \`--host'.
3669 < See \`config.log' for more details." "$LINENO" 5; }
3669 > See \`config.log' for more details" "$LINENO" 5; }
3670      fi
3671    fi
3672   fi
# Line 3697 | Line 3677 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3677   ac_clean_files=$ac_clean_files_save
3678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3679   $as_echo_n "checking for suffix of object files... " >&6; }
3680 < if test "${ac_cv_objext+set}" = set; then :
3680 > if ${ac_cv_objext+:} false; then :
3681    $as_echo_n "(cached) " >&6
3682   else
3683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3737 | Line 3717 | sed 's/^/| /' conftest.$ac_ext >&5
3717  
3718   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 < as_fn_error "cannot compute suffix of object files: cannot compile
3721 < See \`config.log' for more details." "$LINENO" 5; }
3720 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3721 > See \`config.log' for more details" "$LINENO" 5; }
3722   fi
3723   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3724   fi
# Line 3748 | Line 3728 | OBJEXT=$ac_cv_objext
3728   ac_objext=$OBJEXT
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3730   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3731 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3731 > if ${ac_cv_c_compiler_gnu+:} false; then :
3732    $as_echo_n "(cached) " >&6
3733   else
3734    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3785 | Line 3765 | ac_test_CFLAGS=${CFLAGS+set}
3765   ac_save_CFLAGS=$CFLAGS
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3767   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3768 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3768 > if ${ac_cv_prog_cc_g+:} false; then :
3769    $as_echo_n "(cached) " >&6
3770   else
3771    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3863 | Line 3843 | else
3843   fi
3844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3845   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3846 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3846 > if ${ac_cv_prog_cc_c89+:} false; then :
3847    $as_echo_n "(cached) " >&6
3848   else
3849    ac_cv_prog_cc_c89=no
# Line 3872 | Line 3852 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3852   /* end confdefs.h.  */
3853   #include <stdarg.h>
3854   #include <stdio.h>
3855 < #include <sys/types.h>
3876 < #include <sys/stat.h>
3855 > struct stat;
3856   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3857   struct buf { int x; };
3858   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3958 | Line 3937 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3937   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939  
3940 + ac_ext=c
3941 + ac_cpp='$CPP $CPPFLAGS'
3942 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 + if ${am_cv_prog_cc_c_o+:} false; then :
3948 +  $as_echo_n "(cached) " >&6
3949 + else
3950 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 + /* end confdefs.h.  */
3952 +
3953 + int
3954 + main ()
3955 + {
3956 +
3957 +  ;
3958 +  return 0;
3959 + }
3960 + _ACEOF
3961 +  # Make sure it works both with $CC and with simple cc.
3962 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3963 +  # compilers refuse to overwrite an existing .o file with -o,
3964 +  # though they will create one.
3965 +  am_cv_prog_cc_c_o=yes
3966 +  for am_i in 1 2; do
3967 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969 +   ac_status=$?
3970 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 +   (exit $ac_status); } \
3972 +         && test -f conftest2.$ac_objext; then
3973 +      : OK
3974 +    else
3975 +      am_cv_prog_cc_c_o=no
3976 +      break
3977 +    fi
3978 +  done
3979 +  rm -f core conftest*
3980 +  unset am_i
3981 + fi
3982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 + if test "$am_cv_prog_cc_c_o" != yes; then
3985 +   # Losing compiler, so override with the script.
3986 +   # FIXME: It is wrong to rewrite CC.
3987 +   # But if we don't then we get into trouble of one sort or another.
3988 +   # A longer-term fix would be to have automake use am__CC in this case,
3989 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 +   CC="$am_aux_dir/compile $CC"
3991 + fi
3992 + ac_ext=c
3993 + ac_cpp='$CPP $CPPFLAGS'
3994 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 +
3998 +
3999   depcc="$CC"   am_compiler_list=
4000  
4001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4002   $as_echo_n "checking dependency style of $depcc... " >&6; }
4003 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4003 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4004    $as_echo_n "(cached) " >&6
4005   else
4006    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4007    # We make a subdir and do the tests there.  Otherwise we can end up
4008    # making bogus files that we don't know about and never remove.  For
4009    # instance it was reported that on HP-UX the gcc test will end up
4010 <  # making a dummy file named `D' -- because `-MD' means `put the output
4011 <  # in D'.
4010 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4011 >  # in D".
4012 >  rm -rf conftest.dir
4013    mkdir conftest.dir
4014    # Copy depcomp to subdir because otherwise we won't find it if we're
4015    # using a relative directory.
# Line 4004 | Line 4043 | else
4043      : > sub/conftest.c
4044      for i in 1 2 3 4 5 6; do
4045        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047 <      # Solaris 8's {/usr,}/bin/sh.
4048 <      touch sub/conftst$i.h
4046 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4047 >      # Solaris 10 /bin/sh.
4048 >      echo '/* dummy */' > sub/conftst$i.h
4049      done
4050      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051  
4052 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4052 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4053      # mode.  It turns out that the SunPro C++ compiler does not properly
4054 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4055 <    # versions had trouble with output in subdirs
4054 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4055 >    # versions had trouble with output in subdirs.
4056      am__obj=sub/conftest.${OBJEXT-o}
4057      am__minus_obj="-o $am__obj"
4058      case $depmode in
# Line 4022 | Line 4061 | else
4061        test "$am__universal" = false || continue
4062        ;;
4063      nosideeffect)
4064 <      # after this tag, mechanisms are not by side-effect, so they'll
4065 <      # only be used when explicitly requested
4064 >      # After this tag, mechanisms are not by side-effect, so they'll
4065 >      # only be used when explicitly requested.
4066        if test "x$enable_dependency_tracking" = xyes; then
4067          continue
4068        else
4069          break
4070        fi
4071        ;;
4072 <    msvisualcpp | msvcmsys)
4073 <      # This compiler won't grok `-c -o', but also, the minuso test has
4072 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4073 >      # This compiler won't grok '-c -o', but also, the minuso test has
4074        # not run yet.  These depmodes are late enough in the game, and
4075        # so weak that their functioning should not be impacted.
4076        am__obj=conftest.${OBJEXT-o}
# Line 4087 | Line 4126 | fi
4126  
4127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4128   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4129 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4129 > if ${ac_cv_prog_cc_c99+:} false; then :
4130    $as_echo_n "(cached) " >&6
4131   else
4132    ac_cv_prog_cc_c99=no
# Line 4231 | Line 4270 | main ()
4270    return 0;
4271   }
4272   _ACEOF
4273 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4273 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4274   do
4275    CC="$ac_save_CC $ac_arg"
4276    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4263 | Line 4302 | fi
4302  
4303  
4304   if test "$ac_cv_prog_cc_c99" = "no"; then :
4305 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4305 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4306   fi
4307   for ac_prog in 'bison -y' byacc
4308   do
# Line 4271 | Line 4310 | do
4310   set dummy $ac_prog; ac_word=$2
4311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312   $as_echo_n "checking for $ac_word... " >&6; }
4313 < if test "${ac_cv_prog_YACC+set}" = set; then :
4313 > if ${ac_cv_prog_YACC+:} false; then :
4314    $as_echo_n "(cached) " >&6
4315   else
4316    if test -n "$YACC"; then
# Line 4283 | Line 4322 | do
4322    IFS=$as_save_IFS
4323    test -z "$as_dir" && as_dir=.
4324      for ac_exec_ext in '' $ac_executable_extensions; do
4325 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326      ac_cv_prog_YACC="$ac_prog"
4327      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328      break 2
# Line 4315 | Line 4354 | do
4354   set dummy $ac_prog; ac_word=$2
4355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356   $as_echo_n "checking for $ac_word... " >&6; }
4357 < if test "${ac_cv_prog_LEX+set}" = set; then :
4357 > if ${ac_cv_prog_LEX+:} false; then :
4358    $as_echo_n "(cached) " >&6
4359   else
4360    if test -n "$LEX"; then
# Line 4327 | Line 4366 | do
4366    IFS=$as_save_IFS
4367    test -z "$as_dir" && as_dir=.
4368      for ac_exec_ext in '' $ac_executable_extensions; do
4369 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370      ac_cv_prog_LEX="$ac_prog"
4371      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372      break 2
# Line 4359 | Line 4398 | a { ECHO; }
4398   b { REJECT; }
4399   c { yymore (); }
4400   d { yyless (1); }
4401 < e { yyless (input () != 0); }
4401 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4402 >    yyless ((input () != 0)); }
4403   f { unput (yytext[0]); }
4404   . { BEGIN INITIAL; }
4405   %%
# Line 4385 | Line 4425 | $as_echo "$ac_try_echo"; } >&5
4425    test $ac_status = 0; }
4426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4427   $as_echo_n "checking lex output file root... " >&6; }
4428 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4428 > if ${ac_cv_prog_lex_root+:} false; then :
4429    $as_echo_n "(cached) " >&6
4430   else
4431  
# Line 4394 | Line 4434 | if test -f lex.yy.c; then
4434   elif test -f lexyy.c; then
4435    ac_cv_prog_lex_root=lexyy
4436   else
4437 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4437 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4438   fi
4439   fi
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4404 | Line 4444 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4444   if test -z "${LEXLIB+set}"; then
4445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4446   $as_echo_n "checking lex library... " >&6; }
4447 < if test "${ac_cv_lib_lex+set}" = set; then :
4447 > if ${ac_cv_lib_lex+:} false; then :
4448    $as_echo_n "(cached) " >&6
4449   else
4450  
# Line 4434 | Line 4474 | fi
4474  
4475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4476   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4477 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4477 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4478    $as_echo_n "(cached) " >&6
4479   else
4480    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4445 | Line 4485 | ac_save_LIBS=$LIBS
4485   LIBS="$LEXLIB $ac_save_LIBS"
4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487   /* end confdefs.h.  */
4488 < #define YYTEXT_POINTER 1
4488 >
4489 >  #define YYTEXT_POINTER 1
4490   `cat $LEX_OUTPUT_ROOT.c`
4491   _ACEOF
4492   if ac_fn_c_try_link "$LINENO"; then :
# Line 4479 | Line 4520 | fi
4520  
4521  
4522  
4482
4523   case `pwd` in
4524    *\ * | *\     *)
4525      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4488 | Line 4528 | esac
4528  
4529  
4530  
4531 < macro_version='2.2.6b'
4532 < macro_revision='1.3017'
4531 > macro_version='2.4.2'
4532 > macro_revision='1.3337'
4533  
4534  
4535  
# Line 4507 | Line 4547 | ltmain="$ac_aux_dir/ltmain.sh"
4547  
4548   # Make sure we can run config.sub.
4549   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4550 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4550 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4551  
4552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4553   $as_echo_n "checking build system type... " >&6; }
4554 < if test "${ac_cv_build+set}" = set; then :
4554 > if ${ac_cv_build+:} false; then :
4555    $as_echo_n "(cached) " >&6
4556   else
4557    ac_build_alias=$build_alias
4558   test "x$ac_build_alias" = x &&
4559    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4560   test "x$ac_build_alias" = x &&
4561 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4561 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4562   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4563 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4563 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4564  
4565   fi
4566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4567   $as_echo "$ac_cv_build" >&6; }
4568   case $ac_cv_build in
4569   *-*-*) ;;
4570 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4570 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4571   esac
4572   build=$ac_cv_build
4573   ac_save_IFS=$IFS; IFS='-'
# Line 4545 | Line 4585 | case $build_os in *\ *) build_os=`echo "
4585  
4586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4587   $as_echo_n "checking host system type... " >&6; }
4588 < if test "${ac_cv_host+set}" = set; then :
4588 > if ${ac_cv_host+:} false; then :
4589    $as_echo_n "(cached) " >&6
4590   else
4591    if test "x$host_alias" = x; then
4592    ac_cv_host=$ac_cv_build
4593   else
4594    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4595 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4595 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4596   fi
4597  
4598   fi
# Line 4560 | Line 4600 | fi
4600   $as_echo "$ac_cv_host" >&6; }
4601   case $ac_cv_host in
4602   *-*-*) ;;
4603 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4603 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4604   esac
4605   host=$ac_cv_host
4606   ac_save_IFS=$IFS; IFS='-'
# Line 4576 | Line 4616 | IFS=$ac_save_IFS
4616   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4617  
4618  
4619 + # Backslashify metacharacters that are still active within
4620 + # double-quoted strings.
4621 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4622 +
4623 + # Same as above, but do not quote variable references.
4624 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4625 +
4626 + # Sed substitution to delay expansion of an escaped shell variable in a
4627 + # double_quote_subst'ed string.
4628 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4629 +
4630 + # Sed substitution to delay expansion of an escaped single quote.
4631 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4632 +
4633 + # Sed substitution to avoid accidental globbing in evaled expressions
4634 + no_glob_subst='s/\*/\\\*/g'
4635 +
4636 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4637 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4638 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4639 +
4640 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4641 + $as_echo_n "checking how to print strings... " >&6; }
4642 + # Test print first, because it will be a builtin if present.
4643 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4644 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4645 +  ECHO='print -r --'
4646 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4647 +  ECHO='printf %s\n'
4648 + else
4649 +  # Use this function as a fallback that always works.
4650 +  func_fallback_echo ()
4651 +  {
4652 +    eval 'cat <<_LTECHO_EOF
4653 + $1
4654 + _LTECHO_EOF'
4655 +  }
4656 +  ECHO='func_fallback_echo'
4657 + fi
4658 +
4659 + # func_echo_all arg...
4660 + # Invoke $ECHO with all args, space-separated.
4661 + func_echo_all ()
4662 + {
4663 +    $ECHO ""
4664 + }
4665 +
4666 + case "$ECHO" in
4667 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4668 + $as_echo "printf" >&6; } ;;
4669 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4670 + $as_echo "print -r" >&6; } ;;
4671 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4672 + $as_echo "cat" >&6; } ;;
4673 + esac
4674 +
4675 +
4676 +
4677 +
4678 +
4679 +
4680 +
4681 +
4682 +
4683 +
4684 +
4685 +
4686 +
4687 +
4688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4689   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4690 < if test "${ac_cv_path_SED+set}" = set; then :
4690 > if ${ac_cv_path_SED+:} false; then :
4691    $as_echo_n "(cached) " >&6
4692   else
4693              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4598 | Line 4707 | do
4707      for ac_prog in sed gsed; do
4708      for ac_exec_ext in '' $ac_executable_extensions; do
4709        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4710 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4710 >      as_fn_executable_p "$ac_path_SED" || continue
4711   # Check for GNU ac_path_SED and select it if it is found.
4712    # Check for GNU $ac_path_SED
4713   case `"$ac_path_SED" --version 2>&1` in
# Line 4633 | Line 4742 | esac
4742    done
4743   IFS=$as_save_IFS
4744    if test -z "$ac_cv_path_SED"; then
4745 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4745 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4746    fi
4747   else
4748    ac_cv_path_SED=$SED
# Line 4660 | Line 4769 | Xsed="$SED -e 1s/^X//"
4769  
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4771   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4772 < if test "${ac_cv_path_GREP+set}" = set; then :
4772 > if ${ac_cv_path_GREP+:} false; then :
4773    $as_echo_n "(cached) " >&6
4774   else
4775    if test -z "$GREP"; then
# Line 4674 | Line 4783 | do
4783      for ac_prog in grep ggrep; do
4784      for ac_exec_ext in '' $ac_executable_extensions; do
4785        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4786 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4786 >      as_fn_executable_p "$ac_path_GREP" || continue
4787   # Check for GNU ac_path_GREP and select it if it is found.
4788    # Check for GNU $ac_path_GREP
4789   case `"$ac_path_GREP" --version 2>&1` in
# Line 4709 | Line 4818 | esac
4818    done
4819   IFS=$as_save_IFS
4820    if test -z "$ac_cv_path_GREP"; then
4821 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4821 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4822    fi
4823   else
4824    ac_cv_path_GREP=$GREP
# Line 4723 | Line 4832 | $as_echo "$ac_cv_path_GREP" >&6; }
4832  
4833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4834   $as_echo_n "checking for egrep... " >&6; }
4835 < if test "${ac_cv_path_EGREP+set}" = set; then :
4835 > if ${ac_cv_path_EGREP+:} false; then :
4836    $as_echo_n "(cached) " >&6
4837   else
4838    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4740 | Line 4849 | do
4849      for ac_prog in egrep; do
4850      for ac_exec_ext in '' $ac_executable_extensions; do
4851        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4852 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4852 >      as_fn_executable_p "$ac_path_EGREP" || continue
4853   # Check for GNU ac_path_EGREP and select it if it is found.
4854    # Check for GNU $ac_path_EGREP
4855   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4775 | Line 4884 | esac
4884    done
4885   IFS=$as_save_IFS
4886    if test -z "$ac_cv_path_EGREP"; then
4887 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4887 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888    fi
4889   else
4890    ac_cv_path_EGREP=$EGREP
# Line 4790 | Line 4899 | $as_echo "$ac_cv_path_EGREP" >&6; }
4899  
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4901   $as_echo_n "checking for fgrep... " >&6; }
4902 < if test "${ac_cv_path_FGREP+set}" = set; then :
4902 > if ${ac_cv_path_FGREP+:} false; then :
4903    $as_echo_n "(cached) " >&6
4904   else
4905    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4807 | Line 4916 | do
4916      for ac_prog in fgrep; do
4917      for ac_exec_ext in '' $ac_executable_extensions; do
4918        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4919 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4919 >      as_fn_executable_p "$ac_path_FGREP" || continue
4920   # Check for GNU ac_path_FGREP and select it if it is found.
4921    # Check for GNU $ac_path_FGREP
4922   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4842 | Line 4951 | esac
4951    done
4952   IFS=$as_save_IFS
4953    if test -z "$ac_cv_path_FGREP"; then
4954 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4954 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4955    fi
4956   else
4957    ac_cv_path_FGREP=$FGREP
# Line 4921 | Line 5030 | else
5030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5031   $as_echo_n "checking for non-GNU ld... " >&6; }
5032   fi
5033 < if test "${lt_cv_path_LD+set}" = set; then :
5033 > if ${lt_cv_path_LD+:} false; then :
5034    $as_echo_n "(cached) " >&6
5035   else
5036    if test -z "$LD"; then
# Line 4958 | Line 5067 | else
5067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068   $as_echo "no" >&6; }
5069   fi
5070 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5070 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5072   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5073 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5073 > if ${lt_cv_prog_gnu_ld+:} false; then :
5074    $as_echo_n "(cached) " >&6
5075   else
5076    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4988 | Line 5097 | with_gnu_ld=$lt_cv_prog_gnu_ld
5097  
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5099   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5100 < if test "${lt_cv_path_NM+set}" = set; then :
5100 > if ${lt_cv_path_NM+:} false; then :
5101    $as_echo_n "(cached) " >&6
5102   else
5103    if test -n "$NM"; then
# Line 5041 | Line 5150 | if test "$lt_cv_path_NM" != "no"; then
5150    NM="$lt_cv_path_NM"
5151   else
5152    # Didn't find any BSD compatible name lister, look for dumpbin.
5153 <  if test -n "$ac_tool_prefix"; then
5154 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5153 >  if test -n "$DUMPBIN"; then :
5154 >    # Let the user override the test.
5155 >  else
5156 >    if test -n "$ac_tool_prefix"; then
5157 >  for ac_prog in dumpbin "link -dump"
5158    do
5159      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5160   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162   $as_echo_n "checking for $ac_word... " >&6; }
5163 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5163 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5164    $as_echo_n "(cached) " >&6
5165   else
5166    if test -n "$DUMPBIN"; then
# Line 5060 | Line 5172 | do
5172    IFS=$as_save_IFS
5173    test -z "$as_dir" && as_dir=.
5174      for ac_exec_ext in '' $ac_executable_extensions; do
5175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178      break 2
# Line 5086 | Line 5198 | fi
5198   fi
5199   if test -z "$DUMPBIN"; then
5200    ac_ct_DUMPBIN=$DUMPBIN
5201 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5201 >  for ac_prog in dumpbin "link -dump"
5202   do
5203    # Extract the first word of "$ac_prog", so it can be a program name with args.
5204   set dummy $ac_prog; ac_word=$2
5205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206   $as_echo_n "checking for $ac_word... " >&6; }
5207 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5207 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5208    $as_echo_n "(cached) " >&6
5209   else
5210    if test -n "$ac_ct_DUMPBIN"; then
# Line 5104 | Line 5216 | do
5216    IFS=$as_save_IFS
5217    test -z "$as_dir" && as_dir=.
5218      for ac_exec_ext in '' $ac_executable_extensions; do
5219 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5221      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222      break 2
# Line 5141 | Line 5253 | esac
5253    fi
5254   fi
5255  
5256 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5257 +    *COFF*)
5258 +      DUMPBIN="$DUMPBIN -symbols"
5259 +      ;;
5260 +    *)
5261 +      DUMPBIN=:
5262 +      ;;
5263 +    esac
5264 +  fi
5265  
5266    if test "$DUMPBIN" != ":"; then
5267      NM="$DUMPBIN"
# Line 5155 | Line 5276 | test -z "$NM" && NM=nm
5276  
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5278   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5279 < if test "${lt_cv_nm_interface+set}" = set; then :
5279 > if ${lt_cv_nm_interface+:} false; then :
5280    $as_echo_n "(cached) " >&6
5281   else
5282    lt_cv_nm_interface="BSD nm"
5283    echo "int some_variable = 0;" > conftest.$ac_ext
5284 <  (eval echo "\"\$as_me:5163: $ac_compile\"" >&5)
5284 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5285    (eval "$ac_compile" 2>conftest.err)
5286    cat conftest.err >&5
5287 <  (eval echo "\"\$as_me:5166: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5287 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5288    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5289    cat conftest.err >&5
5290 <  (eval echo "\"\$as_me:5169: output\"" >&5)
5290 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5291    cat conftest.out >&5
5292    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5293      lt_cv_nm_interface="MS dumpbin"
# Line 5190 | Line 5311 | fi
5311   # find the maximum length of command line arguments
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5313   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5314 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5314 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5315    $as_echo_n "(cached) " >&6
5316   else
5317      i=0
# Line 5223 | Line 5344 | else
5344      lt_cv_sys_max_cmd_len=8192;
5345      ;;
5346  
5347 +  mint*)
5348 +    # On MiNT this can take a long time and run out of memory.
5349 +    lt_cv_sys_max_cmd_len=8192;
5350 +    ;;
5351 +
5352    amigaos*)
5353      # On AmigaOS with pdksh, this test takes hours, literally.
5354      # So we just punt and use a minimum line length of 8192.
# Line 5248 | Line 5374 | else
5374      lt_cv_sys_max_cmd_len=196608
5375      ;;
5376  
5377 +  os2*)
5378 +    # The test takes a long time on OS/2.
5379 +    lt_cv_sys_max_cmd_len=8192
5380 +    ;;
5381 +
5382    osf*)
5383      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5384      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5287 | Line 5418 | else
5418        # If test is not a shell built-in, we'll probably end up computing a
5419        # maximum length that is only half of the actual maximum length, but
5420        # we can't tell.
5421 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5422 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5421 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5422 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5423                test $i != 17 # 1/2 MB should be enough
5424        do
5425          i=`expr $i + 1`
# Line 5330 | Line 5461 | $as_echo_n "checking whether the shell u
5461   # Try some XSI features
5462   xsi_shell=no
5463   ( _lt_dummy="a/b/c"
5464 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5465 <      = c,a/b,, \
5464 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5465 >      = c,a/b,b/c, \
5466      && eval 'test $(( 1 + 1 )) -eq 2 \
5467      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5468    && xsi_shell=yes
# Line 5380 | Line 5511 | esac
5511  
5512  
5513  
5514 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5515 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5516 + if ${lt_cv_to_host_file_cmd+:} false; then :
5517 +  $as_echo_n "(cached) " >&6
5518 + else
5519 +  case $host in
5520 +  *-*-mingw* )
5521 +    case $build in
5522 +      *-*-mingw* ) # actually msys
5523 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5524 +        ;;
5525 +      *-*-cygwin* )
5526 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5527 +        ;;
5528 +      * ) # otherwise, assume *nix
5529 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5530 +        ;;
5531 +    esac
5532 +    ;;
5533 +  *-*-cygwin* )
5534 +    case $build in
5535 +      *-*-mingw* ) # actually msys
5536 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5537 +        ;;
5538 +      *-*-cygwin* )
5539 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5540 +        ;;
5541 +      * ) # otherwise, assume *nix
5542 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5543 +        ;;
5544 +    esac
5545 +    ;;
5546 +  * ) # unhandled hosts (and "normal" native builds)
5547 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5548 +    ;;
5549 + esac
5550 +
5551 + fi
5552 +
5553 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5554 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5555 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5556 +
5557 +
5558 +
5559 +
5560 +
5561 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5562 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5563 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5564 +  $as_echo_n "(cached) " >&6
5565 + else
5566 +  #assume ordinary cross tools, or native build.
5567 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5568 + case $host in
5569 +  *-*-mingw* )
5570 +    case $build in
5571 +      *-*-mingw* ) # actually msys
5572 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5573 +        ;;
5574 +    esac
5575 +    ;;
5576 + esac
5577 +
5578 + fi
5579 +
5580 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5581 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5582 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5583 +
5584 +
5585 +
5586 +
5587 +
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5589   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5590 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5590 > if ${lt_cv_ld_reload_flag+:} false; then :
5591    $as_echo_n "(cached) " >&6
5592   else
5593    lt_cv_ld_reload_flag='-r'
# Line 5396 | Line 5601 | case $reload_flag in
5601   esac
5602   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5603   case $host_os in
5604 +  cygwin* | mingw* | pw32* | cegcc*)
5605 +    if test "$GCC" != yes; then
5606 +      reload_cmds=false
5607 +    fi
5608 +    ;;
5609    darwin*)
5610      if test "$GCC" = yes; then
5611        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5418 | Line 5628 | if test -n "$ac_tool_prefix"; then
5628   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630   $as_echo_n "checking for $ac_word... " >&6; }
5631 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5631 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5632    $as_echo_n "(cached) " >&6
5633   else
5634    if test -n "$OBJDUMP"; then
# Line 5430 | Line 5640 | do
5640    IFS=$as_save_IFS
5641    test -z "$as_dir" && as_dir=.
5642      for ac_exec_ext in '' $ac_executable_extensions; do
5643 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5645      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646      break 2
# Line 5458 | Line 5668 | if test -z "$ac_cv_prog_OBJDUMP"; then
5668   set dummy objdump; ac_word=$2
5669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670   $as_echo_n "checking for $ac_word... " >&6; }
5671 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5671 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5672    $as_echo_n "(cached) " >&6
5673   else
5674    if test -n "$ac_ct_OBJDUMP"; then
# Line 5470 | Line 5680 | do
5680    IFS=$as_save_IFS
5681    test -z "$as_dir" && as_dir=.
5682      for ac_exec_ext in '' $ac_executable_extensions; do
5683 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5685      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686      break 2
# Line 5517 | Line 5727 | test -z "$OBJDUMP" && OBJDUMP=objdump
5727  
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5729   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5730 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5730 > if ${lt_cv_deplibs_check_method+:} false; then :
5731    $as_echo_n "(cached) " >&6
5732   else
5733    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5559 | Line 5769 | mingw* | pw32*)
5769    # Base MSYS/MinGW do not provide the 'file' command needed by
5770    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5771    # unless we find 'file', for example because we are cross-compiling.
5772 <  if ( file / ) >/dev/null 2>&1; then
5772 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5773 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5774      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5775      lt_cv_file_magic_cmd='func_win32_libid'
5776    else
5777 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5777 >    # Keep this pattern in sync with the one in func_win32_libid.
5778 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5779      lt_cv_file_magic_cmd='$OBJDUMP -f'
5780    fi
5781    ;;
5782  
5783 < cegcc)
5783 > cegcc*)
5784    # use the weaker test based on 'objdump'. See mingw*.
5785    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5786    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5598 | Line 5810 | gnu*)
5810    lt_cv_deplibs_check_method=pass_all
5811    ;;
5812  
5813 + haiku*)
5814 +  lt_cv_deplibs_check_method=pass_all
5815 +  ;;
5816 +
5817   hpux10.20* | hpux11*)
5818    lt_cv_file_magic_cmd=/usr/bin/file
5819    case $host_cpu in
# Line 5606 | Line 5822 | hpux10.20* | hpux11*)
5822      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5823      ;;
5824    hppa*64*)
5825 <    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]'
5825 >    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]'
5826      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5827      ;;
5828    *)
5829 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5829 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5830      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5831      ;;
5832    esac
# Line 5631 | Line 5847 | irix5* | irix6* | nonstopux*)
5847    lt_cv_deplibs_check_method=pass_all
5848    ;;
5849  
5850 < # This must be Linux ELF.
5851 < linux* | k*bsd*-gnu)
5850 > # This must be glibc/ELF.
5851 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5852    lt_cv_deplibs_check_method=pass_all
5853    ;;
5854  
# Line 5713 | Line 5929 | esac
5929   fi
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5931   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5932 +
5933 + file_magic_glob=
5934 + want_nocaseglob=no
5935 + if test "$build" = "$host"; then
5936 +  case $host_os in
5937 +  mingw* | pw32*)
5938 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5939 +      want_nocaseglob=yes
5940 +    else
5941 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5942 +    fi
5943 +    ;;
5944 +  esac
5945 + fi
5946 +
5947   file_magic_cmd=$lt_cv_file_magic_cmd
5948   deplibs_check_method=$lt_cv_deplibs_check_method
5949   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5728 | Line 5959 | test -z "$deplibs_check_method" && depli
5959  
5960  
5961  
5962 +
5963 +
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 + if test -n "$ac_tool_prefix"; then
5973 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5974 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5975 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 + $as_echo_n "checking for $ac_word... " >&6; }
5977 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5978 +  $as_echo_n "(cached) " >&6
5979 + else
5980 +  if test -n "$DLLTOOL"; then
5981 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5982 + else
5983 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 + for as_dir in $PATH
5985 + do
5986 +  IFS=$as_save_IFS
5987 +  test -z "$as_dir" && as_dir=.
5988 +    for ac_exec_ext in '' $ac_executable_extensions; do
5989 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5991 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 +    break 2
5993 +  fi
5994 + done
5995 +  done
5996 + IFS=$as_save_IFS
5997 +
5998 + fi
5999 + fi
6000 + DLLTOOL=$ac_cv_prog_DLLTOOL
6001 + if test -n "$DLLTOOL"; then
6002 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6003 + $as_echo "$DLLTOOL" >&6; }
6004 + else
6005 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 + $as_echo "no" >&6; }
6007 + fi
6008 +
6009 +
6010 + fi
6011 + if test -z "$ac_cv_prog_DLLTOOL"; then
6012 +  ac_ct_DLLTOOL=$DLLTOOL
6013 +  # Extract the first word of "dlltool", so it can be a program name with args.
6014 + set dummy dlltool; ac_word=$2
6015 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 + $as_echo_n "checking for $ac_word... " >&6; }
6017 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6018 +  $as_echo_n "(cached) " >&6
6019 + else
6020 +  if test -n "$ac_ct_DLLTOOL"; then
6021 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6022 + else
6023 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 + for as_dir in $PATH
6025 + do
6026 +  IFS=$as_save_IFS
6027 +  test -z "$as_dir" && as_dir=.
6028 +    for ac_exec_ext in '' $ac_executable_extensions; do
6029 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6031 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 +    break 2
6033 +  fi
6034 + done
6035 +  done
6036 + IFS=$as_save_IFS
6037 +
6038 + fi
6039 + fi
6040 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6041 + if test -n "$ac_ct_DLLTOOL"; then
6042 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6043 + $as_echo "$ac_ct_DLLTOOL" >&6; }
6044 + else
6045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 + $as_echo "no" >&6; }
6047 + fi
6048 +
6049 +  if test "x$ac_ct_DLLTOOL" = x; then
6050 +    DLLTOOL="false"
6051 +  else
6052 +    case $cross_compiling:$ac_tool_warned in
6053 + yes:)
6054 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6055 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6056 + ac_tool_warned=yes ;;
6057 + esac
6058 +    DLLTOOL=$ac_ct_DLLTOOL
6059 +  fi
6060 + else
6061 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6062 + fi
6063 +
6064 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6065 +
6066 +
6067 +
6068 +
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6076 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6077 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6078 +  $as_echo_n "(cached) " >&6
6079 + else
6080 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6081 +
6082 + case $host_os in
6083 + cygwin* | mingw* | pw32* | cegcc*)
6084 +  # two different shell functions defined in ltmain.sh
6085 +  # decide which to use based on capabilities of $DLLTOOL
6086 +  case `$DLLTOOL --help 2>&1` in
6087 +  *--identify-strict*)
6088 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6089 +    ;;
6090 +  *)
6091 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6092 +    ;;
6093 +  esac
6094 +  ;;
6095 + *)
6096 +  # fallback: assume linklib IS sharedlib
6097 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6098 +  ;;
6099 + esac
6100 +
6101 + fi
6102 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6103 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6104 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6105 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6106 +
6107 +
6108 +
6109 +
6110 +
6111 +
6112 +
6113   if test -n "$ac_tool_prefix"; then
6114 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6115 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6114 >  for ac_prog in ar
6115 >  do
6116 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6117 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119   $as_echo_n "checking for $ac_word... " >&6; }
6120 < if test "${ac_cv_prog_AR+set}" = set; then :
6120 > if ${ac_cv_prog_AR+:} false; then :
6121    $as_echo_n "(cached) " >&6
6122   else
6123    if test -n "$AR"; then
# Line 5745 | Line 6129 | do
6129    IFS=$as_save_IFS
6130    test -z "$as_dir" && as_dir=.
6131      for ac_exec_ext in '' $ac_executable_extensions; do
6132 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6132 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6134      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135      break 2
6136    fi
# Line 5766 | Line 6150 | $as_echo "no" >&6; }
6150   fi
6151  
6152  
6153 +    test -n "$AR" && break
6154 +  done
6155   fi
6156 < if test -z "$ac_cv_prog_AR"; then
6156 > if test -z "$AR"; then
6157    ac_ct_AR=$AR
6158 <  # Extract the first word of "ar", so it can be a program name with args.
6159 < set dummy ar; ac_word=$2
6158 >  for ac_prog in ar
6159 > do
6160 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6161 > set dummy $ac_prog; ac_word=$2
6162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163   $as_echo_n "checking for $ac_word... " >&6; }
6164 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6164 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6165    $as_echo_n "(cached) " >&6
6166   else
6167    if test -n "$ac_ct_AR"; then
# Line 5785 | Line 6173 | do
6173    IFS=$as_save_IFS
6174    test -z "$as_dir" && as_dir=.
6175      for ac_exec_ext in '' $ac_executable_extensions; do
6176 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 <    ac_cv_prog_ac_ct_AR="ar"
6176 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6178      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179      break 2
6180    fi
# Line 5805 | Line 6193 | else
6193   $as_echo "no" >&6; }
6194   fi
6195  
6196 +
6197 +  test -n "$ac_ct_AR" && break
6198 + done
6199 +
6200    if test "x$ac_ct_AR" = x; then
6201      AR="false"
6202    else
# Line 5816 | Line 6208 | ac_tool_warned=yes ;;
6208   esac
6209      AR=$ac_ct_AR
6210    fi
5819 else
5820  AR="$ac_cv_prog_AR"
6211   fi
6212  
6213 < test -z "$AR" && AR=ar
6214 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6213 > : ${AR=ar}
6214 > : ${AR_FLAGS=cru}
6215 >
6216 >
6217 >
6218 >
6219 >
6220 >
6221 >
6222 >
6223 >
6224 >
6225 >
6226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6227 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6228 > if ${lt_cv_ar_at_file+:} false; then :
6229 >  $as_echo_n "(cached) " >&6
6230 > else
6231 >  lt_cv_ar_at_file=no
6232 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 > /* end confdefs.h.  */
6234 >
6235 > int
6236 > main ()
6237 > {
6238  
6239 +  ;
6240 +  return 0;
6241 + }
6242 + _ACEOF
6243 + if ac_fn_c_try_compile "$LINENO"; then :
6244 +  echo conftest.$ac_objext > conftest.lst
6245 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6246 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6247 +  (eval $lt_ar_try) 2>&5
6248 +  ac_status=$?
6249 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250 +  test $ac_status = 0; }
6251 +      if test "$ac_status" -eq 0; then
6252 +        # Ensure the archiver fails upon bogus file names.
6253 +        rm -f conftest.$ac_objext libconftest.a
6254 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6255 +  (eval $lt_ar_try) 2>&5
6256 +  ac_status=$?
6257 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258 +  test $ac_status = 0; }
6259 +        if test "$ac_status" -ne 0; then
6260 +          lt_cv_ar_at_file=@
6261 +        fi
6262 +      fi
6263 +      rm -f conftest.* libconftest.a
6264  
6265 + fi
6266 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267  
6268 + fi
6269 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6270 + $as_echo "$lt_cv_ar_at_file" >&6; }
6271  
6272 + if test "x$lt_cv_ar_at_file" = xno; then
6273 +  archiver_list_spec=
6274 + else
6275 +  archiver_list_spec=$lt_cv_ar_at_file
6276 + fi
6277  
6278  
6279  
# Line 5838 | Line 6286 | if test -n "$ac_tool_prefix"; then
6286   set dummy ${ac_tool_prefix}strip; ac_word=$2
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288   $as_echo_n "checking for $ac_word... " >&6; }
6289 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6289 > if ${ac_cv_prog_STRIP+:} false; then :
6290    $as_echo_n "(cached) " >&6
6291   else
6292    if test -n "$STRIP"; then
# Line 5850 | Line 6298 | do
6298    IFS=$as_save_IFS
6299    test -z "$as_dir" && as_dir=.
6300      for ac_exec_ext in '' $ac_executable_extensions; do
6301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304      break 2
# Line 5878 | Line 6326 | if test -z "$ac_cv_prog_STRIP"; then
6326   set dummy strip; ac_word=$2
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328   $as_echo_n "checking for $ac_word... " >&6; }
6329 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6329 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6330    $as_echo_n "(cached) " >&6
6331   else
6332    if test -n "$ac_ct_STRIP"; then
# Line 5890 | Line 6338 | do
6338    IFS=$as_save_IFS
6339    test -z "$as_dir" && as_dir=.
6340      for ac_exec_ext in '' $ac_executable_extensions; do
6341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342      ac_cv_prog_ac_ct_STRIP="strip"
6343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344      break 2
# Line 5937 | Line 6385 | if test -n "$ac_tool_prefix"; then
6385   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387   $as_echo_n "checking for $ac_word... " >&6; }
6388 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6388 > if ${ac_cv_prog_RANLIB+:} false; then :
6389    $as_echo_n "(cached) " >&6
6390   else
6391    if test -n "$RANLIB"; then
# Line 5949 | Line 6397 | do
6397    IFS=$as_save_IFS
6398    test -z "$as_dir" && as_dir=.
6399      for ac_exec_ext in '' $ac_executable_extensions; do
6400 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6402      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403      break 2
# Line 5977 | Line 6425 | if test -z "$ac_cv_prog_RANLIB"; then
6425   set dummy ranlib; ac_word=$2
6426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427   $as_echo_n "checking for $ac_word... " >&6; }
6428 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6428 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6429    $as_echo_n "(cached) " >&6
6430   else
6431    if test -n "$ac_ct_RANLIB"; then
# Line 5989 | Line 6437 | do
6437    IFS=$as_save_IFS
6438    test -z "$as_dir" && as_dir=.
6439      for ac_exec_ext in '' $ac_executable_extensions; do
6440 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441      ac_cv_prog_ac_ct_RANLIB="ranlib"
6442      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443      break 2
# Line 6039 | Line 6487 | old_postuninstall_cmds=
6487   if test -n "$RANLIB"; then
6488    case $host_os in
6489    openbsd*)
6490 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6490 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6491      ;;
6492    *)
6493 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6493 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6494      ;;
6495    esac
6496 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6496 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6497   fi
6498  
6499 + case $host_os in
6500 +  darwin*)
6501 +    lock_old_archive_extraction=yes ;;
6502 +  *)
6503 +    lock_old_archive_extraction=no ;;
6504 + esac
6505 +
6506 +
6507 +
6508 +
6509 +
6510 +
6511  
6512  
6513  
# Line 6094 | Line 6554 | compiler=$CC
6554   # Check for command to grab the raw symbol name followed by C symbol from nm.
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6556   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6557 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6557 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6558    $as_echo_n "(cached) " >&6
6559   else
6560  
# Line 6155 | Line 6615 | esac
6615   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6616  
6617   # Transform an extracted symbol line into symbol name and symbol address
6618 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6619 < 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'"
6618 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6619 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6620  
6621   # Handle CRLF in mingw tool chain
6622   opt_cr=
# Line 6180 | Line 6640 | for ac_symprfx in "" "_"; do
6640      # which start with @ or ?.
6641      lt_cv_sys_global_symbol_pipe="$AWK '"\
6642   "     {last_section=section; section=\$ 3};"\
6643 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6644   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6645   "     \$ 0!~/External *\|/{next};"\
6646   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6192 | Line 6653 | for ac_symprfx in "" "_"; do
6653    else
6654      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6655    fi
6656 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6657  
6658    # Check to see that the pipe works correctly.
6659    pipe_works=no
# Line 6217 | Line 6679 | _LT_EOF
6679    test $ac_status = 0; }; then
6680      # Now try to grab the symbols.
6681      nlist=conftest.nm
6682 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6683 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6682 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6683 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6684    ac_status=$?
6685    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6686    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6233 | Line 6695 | _LT_EOF
6695        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6696          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6697            cat <<_LT_EOF > conftest.$ac_ext
6698 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6699 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6700 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6701 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6702 + # define LT_DLSYM_CONST
6703 + #elif defined(__osf__)
6704 + /* This system does not cope well with relocations in const data.  */
6705 + # define LT_DLSYM_CONST
6706 + #else
6707 + # define LT_DLSYM_CONST const
6708 + #endif
6709 +
6710   #ifdef __cplusplus
6711   extern "C" {
6712   #endif
# Line 6244 | Line 6718 | _LT_EOF
6718            cat <<_LT_EOF >> conftest.$ac_ext
6719  
6720   /* The mapping between symbol names and symbols.  */
6721 < const struct {
6721 > LT_DLSYM_CONST struct {
6722    const char *name;
6723    void       *address;
6724   }
# Line 6270 | Line 6744 | static const void *lt_preloaded_setup()
6744   _LT_EOF
6745            # Now try linking the two files.
6746            mv conftest.$ac_objext conftstm.$ac_objext
6747 <          lt_save_LIBS="$LIBS"
6748 <          lt_save_CFLAGS="$CFLAGS"
6747 >          lt_globsym_save_LIBS=$LIBS
6748 >          lt_globsym_save_CFLAGS=$CFLAGS
6749            LIBS="conftstm.$ac_objext"
6750            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6751            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6281 | Line 6755 | _LT_EOF
6755    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6756              pipe_works=yes
6757            fi
6758 <          LIBS="$lt_save_LIBS"
6759 <          CFLAGS="$lt_save_CFLAGS"
6758 >          LIBS=$lt_globsym_save_LIBS
6759 >          CFLAGS=$lt_globsym_save_CFLAGS
6760          else
6761            echo "cannot find nm_test_func in $nlist" >&5
6762          fi
# Line 6319 | Line 6793 | else
6793   $as_echo "ok" >&6; }
6794   fi
6795  
6796 + # Response file support.
6797 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6798 +  nm_file_list_spec='@'
6799 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6800 +  nm_file_list_spec='@'
6801 + fi
6802 +
6803 +
6804 +
6805  
6806  
6807  
# Line 6340 | Line 6823 | fi
6823  
6824  
6825  
6826 +
6827 +
6828 +
6829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6830 + $as_echo_n "checking for sysroot... " >&6; }
6831 +
6832 + # Check whether --with-sysroot was given.
6833 + if test "${with_sysroot+set}" = set; then :
6834 +  withval=$with_sysroot;
6835 + else
6836 +  with_sysroot=no
6837 + fi
6838 +
6839 +
6840 + lt_sysroot=
6841 + case ${with_sysroot} in #(
6842 + yes)
6843 +   if test "$GCC" = yes; then
6844 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6845 +   fi
6846 +   ;; #(
6847 + /*)
6848 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6849 +   ;; #(
6850 + no|'')
6851 +   ;; #(
6852 + *)
6853 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6854 + $as_echo "${with_sysroot}" >&6; }
6855 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6856 +   ;;
6857 + esac
6858 +
6859 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6860 + $as_echo "${lt_sysroot:-no}" >&6; }
6861 +
6862 +
6863 +
6864 +
6865 +
6866   # Check whether --enable-libtool-lock was given.
6867   if test "${enable_libtool_lock+set}" = set; then :
6868    enableval=$enable_libtool_lock;
# Line 6371 | Line 6894 | ia64-*-hpux*)
6894    ;;
6895   *-*-irix6*)
6896    # Find out which ABI we are using.
6897 <  echo '#line 6374 "configure"' > conftest.$ac_ext
6897 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6898    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899    (eval $ac_compile) 2>&5
6900    ac_status=$?
# Line 6465 | Line 6988 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6988    CFLAGS="$CFLAGS -belf"
6989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6990   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6991 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6991 > if ${lt_cv_cc_needs_belf+:} false; then :
6992    $as_echo_n "(cached) " >&6
6993   else
6994    ac_ext=c
# Line 6506 | Line 7029 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7029      CFLAGS="$SAVE_CFLAGS"
7030    fi
7031    ;;
7032 < sparc*-*solaris*)
7032 > *-*solaris*)
7033    # Find out which ABI we are using.
7034    echo 'int i;' > conftest.$ac_ext
7035    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6517 | Line 7040 | sparc*-*solaris*)
7040      case `/usr/bin/file conftest.o` in
7041      *64-bit*)
7042        case $lt_cv_prog_gnu_ld in
7043 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7043 >      yes*)
7044 >        case $host in
7045 >        i?86-*-solaris*)
7046 >          LD="${LD-ld} -m elf_x86_64"
7047 >          ;;
7048 >        sparc*-*-solaris*)
7049 >          LD="${LD-ld} -m elf64_sparc"
7050 >          ;;
7051 >        esac
7052 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7053 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7054 >          LD="${LD-ld}_sol2"
7055 >        fi
7056 >        ;;
7057        *)
7058          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7059            LD="${LD-ld} -64"
# Line 6533 | Line 7069 | esac
7069  
7070   need_locks="$enable_libtool_lock"
7071  
7072 + if test -n "$ac_tool_prefix"; then
7073 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7074 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7075 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 + $as_echo_n "checking for $ac_word... " >&6; }
7077 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7078 +  $as_echo_n "(cached) " >&6
7079 + else
7080 +  if test -n "$MANIFEST_TOOL"; then
7081 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7082 + else
7083 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 + for as_dir in $PATH
7085 + do
7086 +  IFS=$as_save_IFS
7087 +  test -z "$as_dir" && as_dir=.
7088 +    for ac_exec_ext in '' $ac_executable_extensions; do
7089 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7091 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 +    break 2
7093 +  fi
7094 + done
7095 +  done
7096 + IFS=$as_save_IFS
7097 +
7098 + fi
7099 + fi
7100 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7101 + if test -n "$MANIFEST_TOOL"; then
7102 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7103 + $as_echo "$MANIFEST_TOOL" >&6; }
7104 + else
7105 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 + $as_echo "no" >&6; }
7107 + fi
7108 +
7109 +
7110 + fi
7111 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7112 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7113 +  # Extract the first word of "mt", so it can be a program name with args.
7114 + set dummy mt; ac_word=$2
7115 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 + $as_echo_n "checking for $ac_word... " >&6; }
7117 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7118 +  $as_echo_n "(cached) " >&6
7119 + else
7120 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7121 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7122 + else
7123 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 + for as_dir in $PATH
7125 + do
7126 +  IFS=$as_save_IFS
7127 +  test -z "$as_dir" && as_dir=.
7128 +    for ac_exec_ext in '' $ac_executable_extensions; do
7129 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7131 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 +    break 2
7133 +  fi
7134 + done
7135 +  done
7136 + IFS=$as_save_IFS
7137 +
7138 + fi
7139 + fi
7140 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7141 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7142 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7143 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7144 + else
7145 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 + $as_echo "no" >&6; }
7147 + fi
7148 +
7149 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7150 +    MANIFEST_TOOL=":"
7151 +  else
7152 +    case $cross_compiling:$ac_tool_warned in
7153 + yes:)
7154 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156 + ac_tool_warned=yes ;;
7157 + esac
7158 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7159 +  fi
7160 + else
7161 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7162 + fi
7163 +
7164 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7165 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7166 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7167 + if ${lt_cv_path_mainfest_tool+:} false; then :
7168 +  $as_echo_n "(cached) " >&6
7169 + else
7170 +  lt_cv_path_mainfest_tool=no
7171 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7172 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7173 +  cat conftest.err >&5
7174 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7175 +    lt_cv_path_mainfest_tool=yes
7176 +  fi
7177 +  rm -f conftest*
7178 + fi
7179 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7180 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7181 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7182 +  MANIFEST_TOOL=:
7183 + fi
7184 +
7185 +
7186 +
7187 +
7188 +
7189  
7190    case $host_os in
7191      rhapsody* | darwin*)
# Line 6541 | Line 7194 | need_locks="$enable_libtool_lock"
7194   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196   $as_echo_n "checking for $ac_word... " >&6; }
7197 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7197 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7198    $as_echo_n "(cached) " >&6
7199   else
7200    if test -n "$DSYMUTIL"; then
# Line 6553 | Line 7206 | do
7206    IFS=$as_save_IFS
7207    test -z "$as_dir" && as_dir=.
7208      for ac_exec_ext in '' $ac_executable_extensions; do
7209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212      break 2
# Line 6581 | Line 7234 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7234   set dummy dsymutil; ac_word=$2
7235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236   $as_echo_n "checking for $ac_word... " >&6; }
7237 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7237 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7238    $as_echo_n "(cached) " >&6
7239   else
7240    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6593 | Line 7246 | do
7246    IFS=$as_save_IFS
7247    test -z "$as_dir" && as_dir=.
7248      for ac_exec_ext in '' $ac_executable_extensions; do
7249 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7251      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252      break 2
# Line 6633 | Line 7286 | fi
7286   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288   $as_echo_n "checking for $ac_word... " >&6; }
7289 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7289 > if ${ac_cv_prog_NMEDIT+:} false; then :
7290    $as_echo_n "(cached) " >&6
7291   else
7292    if test -n "$NMEDIT"; then
# Line 6645 | Line 7298 | do
7298    IFS=$as_save_IFS
7299    test -z "$as_dir" && as_dir=.
7300      for ac_exec_ext in '' $ac_executable_extensions; do
7301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304      break 2
# Line 6673 | Line 7326 | if test -z "$ac_cv_prog_NMEDIT"; then
7326   set dummy nmedit; ac_word=$2
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328   $as_echo_n "checking for $ac_word... " >&6; }
7329 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7329 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7330    $as_echo_n "(cached) " >&6
7331   else
7332    if test -n "$ac_ct_NMEDIT"; then
# Line 6685 | Line 7338 | do
7338    IFS=$as_save_IFS
7339    test -z "$as_dir" && as_dir=.
7340      for ac_exec_ext in '' $ac_executable_extensions; do
7341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344      break 2
# Line 6725 | Line 7378 | fi
7378   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380   $as_echo_n "checking for $ac_word... " >&6; }
7381 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7381 > if ${ac_cv_prog_LIPO+:} false; then :
7382    $as_echo_n "(cached) " >&6
7383   else
7384    if test -n "$LIPO"; then
# Line 6737 | Line 7390 | do
7390    IFS=$as_save_IFS
7391    test -z "$as_dir" && as_dir=.
7392      for ac_exec_ext in '' $ac_executable_extensions; do
7393 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7395      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396      break 2
# Line 6765 | Line 7418 | if test -z "$ac_cv_prog_LIPO"; then
7418   set dummy lipo; ac_word=$2
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420   $as_echo_n "checking for $ac_word... " >&6; }
7421 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7421 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7422    $as_echo_n "(cached) " >&6
7423   else
7424    if test -n "$ac_ct_LIPO"; then
# Line 6777 | Line 7430 | do
7430    IFS=$as_save_IFS
7431    test -z "$as_dir" && as_dir=.
7432      for ac_exec_ext in '' $ac_executable_extensions; do
7433 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434      ac_cv_prog_ac_ct_LIPO="lipo"
7435      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436      break 2
# Line 6817 | Line 7470 | fi
7470   set dummy ${ac_tool_prefix}otool; ac_word=$2
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472   $as_echo_n "checking for $ac_word... " >&6; }
7473 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7473 > if ${ac_cv_prog_OTOOL+:} false; then :
7474    $as_echo_n "(cached) " >&6
7475   else
7476    if test -n "$OTOOL"; then
# Line 6829 | Line 7482 | do
7482    IFS=$as_save_IFS
7483    test -z "$as_dir" && as_dir=.
7484      for ac_exec_ext in '' $ac_executable_extensions; do
7485 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7487      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488      break 2
# Line 6857 | Line 7510 | if test -z "$ac_cv_prog_OTOOL"; then
7510   set dummy otool; ac_word=$2
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512   $as_echo_n "checking for $ac_word... " >&6; }
7513 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7513 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7514    $as_echo_n "(cached) " >&6
7515   else
7516    if test -n "$ac_ct_OTOOL"; then
# Line 6869 | Line 7522 | do
7522    IFS=$as_save_IFS
7523    test -z "$as_dir" && as_dir=.
7524      for ac_exec_ext in '' $ac_executable_extensions; do
7525 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526      ac_cv_prog_ac_ct_OTOOL="otool"
7527      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528      break 2
# Line 6909 | Line 7562 | fi
7562   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564   $as_echo_n "checking for $ac_word... " >&6; }
7565 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7565 > if ${ac_cv_prog_OTOOL64+:} false; then :
7566    $as_echo_n "(cached) " >&6
7567   else
7568    if test -n "$OTOOL64"; then
# Line 6921 | Line 7574 | do
7574    IFS=$as_save_IFS
7575    test -z "$as_dir" && as_dir=.
7576      for ac_exec_ext in '' $ac_executable_extensions; do
7577 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7579      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580      break 2
# Line 6949 | Line 7602 | if test -z "$ac_cv_prog_OTOOL64"; then
7602   set dummy otool64; ac_word=$2
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604   $as_echo_n "checking for $ac_word... " >&6; }
7605 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7605 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7606    $as_echo_n "(cached) " >&6
7607   else
7608    if test -n "$ac_ct_OTOOL64"; then
# Line 6961 | Line 7614 | do
7614    IFS=$as_save_IFS
7615    test -z "$as_dir" && as_dir=.
7616      for ac_exec_ext in '' $ac_executable_extensions; do
7617 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618      ac_cv_prog_ac_ct_OTOOL64="otool64"
7619      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620      break 2
# Line 7024 | Line 7677 | fi
7677  
7678      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7679   $as_echo_n "checking for -single_module linker flag... " >&6; }
7680 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7680 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7681    $as_echo_n "(cached) " >&6
7682   else
7683    lt_cv_apple_cc_single_mod=no
# Line 7040 | Line 7693 | else
7693          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7694            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7695          _lt_result=$?
7696 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7696 >        # If there is a non-empty error log, and "single_module"
7697 >        # appears in it, assume the flag caused a linker warning
7698 >        if test -s conftest.err && $GREP single_module conftest.err; then
7699 >          cat conftest.err >&5
7700 >        # Otherwise, if the output was created with a 0 exit code from
7701 >        # the compiler, it worked.
7702 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7703            lt_cv_apple_cc_single_mod=yes
7704          else
7705            cat conftest.err >&5
# Line 7051 | Line 7710 | else
7710   fi
7711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7712   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7713 +
7714      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7715   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7716 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7716 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7717    $as_echo_n "(cached) " >&6
7718   else
7719    lt_cv_ld_exported_symbols_list=no
# Line 7083 | Line 7743 | rm -f core conftest.err conftest.$ac_obj
7743   fi
7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7745   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7746 +
7747 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7748 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7749 + if ${lt_cv_ld_force_load+:} false; then :
7750 +  $as_echo_n "(cached) " >&6
7751 + else
7752 +  lt_cv_ld_force_load=no
7753 +      cat > conftest.c << _LT_EOF
7754 + int forced_loaded() { return 2;}
7755 + _LT_EOF
7756 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7757 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7758 +      echo "$AR cru libconftest.a conftest.o" >&5
7759 +      $AR cru libconftest.a conftest.o 2>&5
7760 +      echo "$RANLIB libconftest.a" >&5
7761 +      $RANLIB libconftest.a 2>&5
7762 +      cat > conftest.c << _LT_EOF
7763 + int main() { return 0;}
7764 + _LT_EOF
7765 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7766 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7767 +      _lt_result=$?
7768 +      if test -s conftest.err && $GREP force_load conftest.err; then
7769 +        cat conftest.err >&5
7770 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7771 +        lt_cv_ld_force_load=yes
7772 +      else
7773 +        cat conftest.err >&5
7774 +      fi
7775 +        rm -f conftest.err libconftest.a conftest conftest.c
7776 +        rm -rf conftest.dSYM
7777 +
7778 + fi
7779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7780 + $as_echo "$lt_cv_ld_force_load" >&6; }
7781      case $host_os in
7782      rhapsody* | darwin1.[012])
7783        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7110 | Line 7805 | $as_echo "$lt_cv_ld_exported_symbols_lis
7805      else
7806        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7807      fi
7808 <    if test "$DSYMUTIL" != ":"; then
7808 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7809        _lt_dsymutil='~$DSYMUTIL $lib || :'
7810      else
7811        _lt_dsymutil=
# Line 7130 | Line 7825 | if test -n "$CPP" && test -d "$CPP"; the
7825    CPP=
7826   fi
7827   if test -z "$CPP"; then
7828 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7828 >  if ${ac_cv_prog_CPP+:} false; then :
7829    $as_echo_n "(cached) " >&6
7830   else
7831        # Double quotes because CPP needs to be expanded
# Line 7160 | Line 7855 | else
7855    # Broken: fails on valid input.
7856   continue
7857   fi
7858 < rm -f conftest.err conftest.$ac_ext
7858 > rm -f conftest.err conftest.i conftest.$ac_ext
7859  
7860    # OK, works on sane cases.  Now check whether nonexistent headers
7861    # can be detected and how.
# Line 7176 | Line 7871 | else
7871   ac_preproc_ok=:
7872   break
7873   fi
7874 < rm -f conftest.err conftest.$ac_ext
7874 > rm -f conftest.err conftest.i conftest.$ac_ext
7875  
7876   done
7877   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7878 < rm -f conftest.err conftest.$ac_ext
7878 > rm -f conftest.i conftest.err conftest.$ac_ext
7879   if $ac_preproc_ok; then :
7880    break
7881   fi
# Line 7219 | Line 7914 | else
7914    # Broken: fails on valid input.
7915   continue
7916   fi
7917 < rm -f conftest.err conftest.$ac_ext
7917 > rm -f conftest.err conftest.i conftest.$ac_ext
7918  
7919    # OK, works on sane cases.  Now check whether nonexistent headers
7920    # can be detected and how.
# Line 7235 | Line 7930 | else
7930   ac_preproc_ok=:
7931   break
7932   fi
7933 < rm -f conftest.err conftest.$ac_ext
7933 > rm -f conftest.err conftest.i conftest.$ac_ext
7934  
7935   done
7936   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7937 < rm -f conftest.err conftest.$ac_ext
7937 > rm -f conftest.i conftest.err conftest.$ac_ext
7938   if $ac_preproc_ok; then :
7939  
7940   else
7941    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7942   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7943 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7944 < See \`config.log' for more details." "$LINENO" 5; }
7943 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7944 > See \`config.log' for more details" "$LINENO" 5; }
7945   fi
7946  
7947   ac_ext=c
# Line 7258 | Line 7953 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7953  
7954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7955   $as_echo_n "checking for ANSI C header files... " >&6; }
7956 < if test "${ac_cv_header_stdc+set}" = set; then :
7956 > if ${ac_cv_header_stdc+:} false; then :
7957    $as_echo_n "(cached) " >&6
7958   else
7959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7375 | Line 8070 | do :
8070    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8071   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8072   "
8073 < eval as_val=\$$as_ac_Header
7379 <   if test "x$as_val" = x""yes; then :
8073 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8074    cat >>confdefs.h <<_ACEOF
8075   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076   _ACEOF
# Line 7390 | Line 8084 | for ac_header in dlfcn.h
8084   do :
8085    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086   "
8087 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8088    cat >>confdefs.h <<_ACEOF
8089   #define HAVE_DLFCN_H 1
8090   _ACEOF
# Line 7401 | Line 8095 | done
8095  
8096  
8097  
8098 +
8099 +
8100   # Set options
8101   enable_dlopen=yes
8102   # Check whether --enable-static was given.
# Line 7474 | Line 8170 | fi
8170  
8171   # Check whether --with-pic was given.
8172   if test "${with_pic+set}" = set; then :
8173 <  withval=$with_pic; pic_mode="$withval"
8173 >  withval=$with_pic; lt_p=${PACKAGE-default}
8174 >    case $withval in
8175 >    yes|no) pic_mode=$withval ;;
8176 >    *)
8177 >      pic_mode=default
8178 >      # Look at the argument we got.  We use all the common list separators.
8179 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8180 >      for lt_pkg in $withval; do
8181 >        IFS="$lt_save_ifs"
8182 >        if test "X$lt_pkg" = "X$lt_p"; then
8183 >          pic_mode=yes
8184 >        fi
8185 >      done
8186 >      IFS="$lt_save_ifs"
8187 >      ;;
8188 >    esac
8189   else
8190    pic_mode=default
8191   fi
# Line 7551 | Line 8262 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8262  
8263  
8264  
8265 +
8266 +
8267 +
8268 +
8269 +
8270   test -z "$LN_S" && LN_S="ln -s"
8271  
8272  
# Line 7572 | Line 8288 | fi
8288  
8289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8290   $as_echo_n "checking for objdir... " >&6; }
8291 < if test "${lt_cv_objdir+set}" = set; then :
8291 > if ${lt_cv_objdir+:} false; then :
8292    $as_echo_n "(cached) " >&6
8293   else
8294    rm -f .libs 2>/dev/null
# Line 7600 | Line 8316 | _ACEOF
8316  
8317  
8318  
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
8319   case $host_os in
8320   aix3*)
8321    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7625 | Line 8328 | aix3*)
8328    ;;
8329   esac
8330  
7628 # Sed substitution that helps us do robust quoting.  It backslashifies
7629 # metacharacters that are still active within double-quoted strings.
7630 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7631
7632 # Same as above, but do not quote variable references.
7633 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7634
7635 # Sed substitution to delay expansion of an escaped shell variable in a
7636 # double_quote_subst'ed string.
7637 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7638
7639 # Sed substitution to delay expansion of an escaped single quote.
7640 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7641
7642 # Sed substitution to avoid accidental globbing in evaled expressions
7643 no_glob_subst='s/\*/\\\*/g'
7644
8331   # Global variables:
8332   ofile=libtool
8333   can_build_shared=yes
# Line 7670 | Line 8356 | for cc_temp in $compiler""; do
8356      *) break;;
8357    esac
8358   done
8359 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8359 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8360  
8361  
8362   # Only perform the check for file, if the check method requires it
# Line 7680 | Line 8366 | file_magic*)
8366    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8367      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8368   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8369 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8369 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8370    $as_echo_n "(cached) " >&6
8371   else
8372    case $MAGIC_CMD in
# Line 7746 | Line 8432 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8432    if test -n "$ac_tool_prefix"; then
8433      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8434   $as_echo_n "checking for file... " >&6; }
8435 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8435 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8436    $as_echo_n "(cached) " >&6
8437   else
8438    case $MAGIC_CMD in
# Line 7870 | Line 8556 | _lt_linker_boilerplate=`cat conftest.err
8556   $RM -r conftest*
8557  
8558  
8559 + ## CAVEAT EMPTOR:
8560 + ## There is no encapsulation within the following macros, do not change
8561 + ## the running order or otherwise move them around unless you know exactly
8562 + ## what you are doing...
8563   if test -n "$compiler"; then
8564  
8565   lt_prog_compiler_no_builtin_flag=
8566  
8567   if test "$GCC" = yes; then
8568 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8568 >  case $cc_basename in
8569 >  nvcc*)
8570 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8571 >  *)
8572 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8573 >  esac
8574  
8575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8576   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8577 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8577 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8578    $as_echo_n "(cached) " >&6
8579   else
8580    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7895 | Line 8590 | else
8590     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8591     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8592     -e 's:$: $lt_compiler_flag:'`
8593 <   (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
8593 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8594     (eval "$lt_compile" 2>conftest.err)
8595     ac_status=$?
8596     cat conftest.err >&5
8597 <   echo "$as_me:7902: \$? = $ac_status" >&5
8597 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598     if (exit $ac_status) && test -s "$ac_outfile"; then
8599       # The compiler can only warn and ignore the option if not recognized
8600       # So say no if there are warnings other than the usual output.
8601 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8601 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8602       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8603       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8604         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7932 | Line 8627 | fi
8627   lt_prog_compiler_pic=
8628   lt_prog_compiler_static=
8629  
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7936 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8630  
8631    if test "$GCC" = yes; then
8632      lt_prog_compiler_wl='-Wl,'
# Line 7981 | Line 8674 | $as_echo_n "checking for $compiler optio
8674        lt_prog_compiler_pic='-fno-common'
8675        ;;
8676  
8677 +    haiku*)
8678 +      # PIC is the default for Haiku.
8679 +      # The "-static" flag exists, but is broken.
8680 +      lt_prog_compiler_static=
8681 +      ;;
8682 +
8683      hpux*)
8684        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8685        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8023 | Line 8722 | $as_echo_n "checking for $compiler optio
8722        lt_prog_compiler_pic='-fPIC'
8723        ;;
8724      esac
8725 +
8726 +    case $cc_basename in
8727 +    nvcc*) # Cuda Compiler Driver 2.2
8728 +      lt_prog_compiler_wl='-Xlinker '
8729 +      if test -n "$lt_prog_compiler_pic"; then
8730 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8731 +      fi
8732 +      ;;
8733 +    esac
8734    else
8735      # PORTME Check for flag to pass linker flags through the system compiler.
8736      case $host_os in
# Line 8064 | Line 8772 | $as_echo_n "checking for $compiler optio
8772        lt_prog_compiler_static='-non_shared'
8773        ;;
8774  
8775 <    linux* | k*bsd*-gnu)
8775 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8776        case $cc_basename in
8777        # old Intel for x86_64 which still supported -KPIC.
8778        ecc*)
# Line 8085 | Line 8793 | $as_echo_n "checking for $compiler optio
8793          lt_prog_compiler_pic='--shared'
8794          lt_prog_compiler_static='--static'
8795          ;;
8796 <      pgcc* | pgf77* | pgf90* | pgf95*)
8796 >      nagfor*)
8797 >        # NAG Fortran compiler
8798 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8799 >        lt_prog_compiler_pic='-PIC'
8800 >        lt_prog_compiler_static='-Bstatic'
8801 >        ;;
8802 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8803          # Portland Group compilers (*not* the Pentium gcc compiler,
8804          # which looks to be a dead project)
8805          lt_prog_compiler_wl='-Wl,'
# Line 8097 | Line 8811 | $as_echo_n "checking for $compiler optio
8811          # All Alpha code is PIC.
8812          lt_prog_compiler_static='-non_shared'
8813          ;;
8814 <      xl*)
8815 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8814 >      xl* | bgxl* | bgf* | mpixl*)
8815 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8816          lt_prog_compiler_wl='-Wl,'
8817          lt_prog_compiler_pic='-qpic'
8818          lt_prog_compiler_static='-qstaticlink'
8819          ;;
8820        *)
8821          case `$CC -V 2>&1 | sed 5q` in
8822 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8823 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8824 +          lt_prog_compiler_pic='-KPIC'
8825 +          lt_prog_compiler_static='-Bstatic'
8826 +          lt_prog_compiler_wl=''
8827 +          ;;
8828 +        *Sun\ F* | *Sun*Fortran*)
8829 +          lt_prog_compiler_pic='-KPIC'
8830 +          lt_prog_compiler_static='-Bstatic'
8831 +          lt_prog_compiler_wl='-Qoption ld '
8832 +          ;;
8833          *Sun\ C*)
8834            # Sun C 5.9
8835            lt_prog_compiler_pic='-KPIC'
8836            lt_prog_compiler_static='-Bstatic'
8837            lt_prog_compiler_wl='-Wl,'
8838            ;;
8839 <        *Sun\ F*)
8840 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8841 <          lt_prog_compiler_pic='-KPIC'
8839 >        *Intel*\ [CF]*Compiler*)
8840 >          lt_prog_compiler_wl='-Wl,'
8841 >          lt_prog_compiler_pic='-fPIC'
8842 >          lt_prog_compiler_static='-static'
8843 >          ;;
8844 >        *Portland\ Group*)
8845 >          lt_prog_compiler_wl='-Wl,'
8846 >          lt_prog_compiler_pic='-fpic'
8847            lt_prog_compiler_static='-Bstatic'
8118          lt_prog_compiler_wl=''
8848            ;;
8849          esac
8850          ;;
# Line 8147 | Line 8876 | $as_echo_n "checking for $compiler optio
8876        lt_prog_compiler_pic='-KPIC'
8877        lt_prog_compiler_static='-Bstatic'
8878        case $cc_basename in
8879 <      f77* | f90* | f95*)
8879 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8880          lt_prog_compiler_wl='-Qoption ld ';;
8881        *)
8882          lt_prog_compiler_wl='-Wl,';;
# Line 8204 | Line 8933 | case $host_os in
8933      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8934      ;;
8935   esac
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8208 $as_echo "$lt_prog_compiler_pic" >&6; }
8209
8210
8211
8212
8936  
8937 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8938 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8939 + if ${lt_cv_prog_compiler_pic+:} false; then :
8940 +  $as_echo_n "(cached) " >&6
8941 + else
8942 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8943 + fi
8944 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8945 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8946 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8947  
8948   #
8949   # Check to make sure the PIC flag actually works.
# Line 8218 | Line 8951 | $as_echo "$lt_prog_compiler_pic" >&6; }
8951   if test -n "$lt_prog_compiler_pic"; then
8952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8953   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8954 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8954 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8955    $as_echo_n "(cached) " >&6
8956   else
8957    lt_cv_prog_compiler_pic_works=no
# Line 8234 | Line 8967 | else
8967     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969     -e 's:$: $lt_compiler_flag:'`
8970 <   (eval echo "\"\$as_me:8237: $lt_compile\"" >&5)
8970 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971     (eval "$lt_compile" 2>conftest.err)
8972     ac_status=$?
8973     cat conftest.err >&5
8974 <   echo "$as_me:8241: \$? = $ac_status" >&5
8974 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975     if (exit $ac_status) && test -s "$ac_outfile"; then
8976       # The compiler can only warn and ignore the option if not recognized
8977       # So say no if there are warnings other than the usual output.
8978 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8978 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8979       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8981         lt_cv_prog_compiler_pic_works=yes
# Line 8271 | Line 9004 | fi
9004  
9005  
9006  
9007 +
9008 +
9009 +
9010 +
9011 +
9012   #
9013   # Check to make sure the static flag actually works.
9014   #
9015   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9017   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9018 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9018 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9019    $as_echo_n "(cached) " >&6
9020   else
9021    lt_cv_prog_compiler_static_works=no
# Line 8290 | Line 9028 | else
9028       if test -s conftest.err; then
9029         # Append any errors to the config.log.
9030         cat conftest.err 1>&5
9031 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9031 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9032         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9033         if diff conftest.exp conftest.er2 >/dev/null; then
9034           lt_cv_prog_compiler_static_works=yes
# Line 8320 | Line 9058 | fi
9058  
9059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9060   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9061 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9061 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9062    $as_echo_n "(cached) " >&6
9063   else
9064    lt_cv_prog_compiler_c_o=no
# Line 8339 | Line 9077 | else
9077     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079     -e 's:$: $lt_compiler_flag:'`
9080 <   (eval echo "\"\$as_me:8342: $lt_compile\"" >&5)
9080 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081     (eval "$lt_compile" 2>out/conftest.err)
9082     ac_status=$?
9083     cat out/conftest.err >&5
9084 <   echo "$as_me:8346: \$? = $ac_status" >&5
9084 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9086     then
9087       # The compiler can only warn and ignore the option if not recognized
9088       # So say no if there are warnings
9089 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9089 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9090       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9091       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9092         lt_cv_prog_compiler_c_o=yes
# Line 8375 | Line 9113 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9113  
9114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9115   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9116 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9116 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9117    $as_echo_n "(cached) " >&6
9118   else
9119    lt_cv_prog_compiler_c_o=no
# Line 8394 | Line 9132 | else
9132     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134     -e 's:$: $lt_compiler_flag:'`
9135 <   (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
9135 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136     (eval "$lt_compile" 2>out/conftest.err)
9137     ac_status=$?
9138     cat out/conftest.err >&5
9139 <   echo "$as_me:8401: \$? = $ac_status" >&5
9139 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9141     then
9142       # The compiler can only warn and ignore the option if not recognized
9143       # So say no if there are warnings
9144 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9144 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9145       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9146       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9147         lt_cv_prog_compiler_c_o=yes
# Line 8469 | Line 9207 | $as_echo_n "checking whether the $compil
9207    hardcode_direct=no
9208    hardcode_direct_absolute=no
9209    hardcode_libdir_flag_spec=
8472  hardcode_libdir_flag_spec_ld=
9210    hardcode_libdir_separator=
9211    hardcode_minus_L=no
9212    hardcode_shlibpath_var=unsupported
# Line 8516 | Line 9253 | $as_echo_n "checking whether the $compil
9253    esac
9254  
9255    ld_shlibs=yes
9256 +
9257 +  # On some targets, GNU ld is compatible enough with the native linker
9258 +  # that we're better off using the native interface for both.
9259 +  lt_use_gnu_ld_interface=no
9260    if test "$with_gnu_ld" = yes; then
9261 +    case $host_os in
9262 +      aix*)
9263 +        # The AIX port of GNU ld has always aspired to compatibility
9264 +        # with the native linker.  However, as the warning in the GNU ld
9265 +        # block says, versions before 2.19.5* couldn't really create working
9266 +        # shared libraries, regardless of the interface used.
9267 +        case `$LD -v 2>&1` in
9268 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9269 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9270 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9271 +          *)
9272 +            lt_use_gnu_ld_interface=yes
9273 +            ;;
9274 +        esac
9275 +        ;;
9276 +      *)
9277 +        lt_use_gnu_ld_interface=yes
9278 +        ;;
9279 +    esac
9280 +  fi
9281 +
9282 +  if test "$lt_use_gnu_ld_interface" = yes; then
9283      # If archive_cmds runs LD, not CC, wlarc should be empty
9284      wlarc='${wl}'
9285  
# Line 8534 | Line 9297 | $as_echo_n "checking whether the $compil
9297      fi
9298      supports_anon_versioning=no
9299      case `$LD -v 2>&1` in
9300 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9301        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9302        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9303        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8549 | Line 9313 | $as_echo_n "checking whether the $compil
9313          ld_shlibs=no
9314          cat <<_LT_EOF 1>&2
9315  
9316 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9316 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9317   *** to be unable to reliably create shared libraries on AIX.
9318   *** Therefore, libtool is disabling shared libraries support.  If you
9319 < *** really care for shared libraries, you may want to modify your PATH
9320 < *** so that a non-GNU linker is found, and then restart.
9319 > *** really care for shared libraries, you may want to install binutils
9320 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9321 > *** You will then need to restart the configuration process.
9322  
9323   _LT_EOF
9324        fi
# Line 8589 | Line 9354 | _LT_EOF
9354        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9355        # as there is no search path for DLLs.
9356        hardcode_libdir_flag_spec='-L$libdir'
9357 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9358        allow_undefined_flag=unsupported
9359        always_export_symbols=no
9360        enable_shared_with_static_runtimes=yes
9361 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9361 >      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'
9362 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9363  
9364        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9365          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8610 | Line 9377 | _LT_EOF
9377        fi
9378        ;;
9379  
9380 +    haiku*)
9381 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 +      link_all_deplibs=yes
9383 +      ;;
9384 +
9385      interix[3-9]*)
9386        hardcode_direct=no
9387        hardcode_shlibpath_var=no
# Line 8625 | Line 9397 | _LT_EOF
9397        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'
9398        ;;
9399  
9400 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9400 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9401        tmp_diet=no
9402        if test "$host_os" = linux-dietlibc; then
9403          case $cc_basename in
# Line 8635 | Line 9407 | _LT_EOF
9407        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408           && test "$tmp_diet" = no
9409        then
9410 <        tmp_addflag=
9410 >        tmp_addflag=' $pic_flag'
9411          tmp_sharedflag='-shared'
9412          case $cc_basename,$host_cpu in
9413          pgcc*)                          # Portland Group C compiler
9414 <          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'
9414 >          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'
9415            tmp_addflag=' $pic_flag'
9416            ;;
9417 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9418 <          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'
9417 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9418 >                                        # Portland Group f77 and f90 compilers
9419 >          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'
9420            tmp_addflag=' $pic_flag -Mnomain' ;;
9421          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9422            tmp_addflag=' -i_dynamic' ;;
# Line 8654 | Line 9427 | _LT_EOF
9427          lf95*)                          # Lahey Fortran 8.1
9428            whole_archive_flag_spec=
9429            tmp_sharedflag='--shared' ;;
9430 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9430 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9431            tmp_sharedflag='-qmkshrobj'
9432            tmp_addflag= ;;
9433 +        nvcc*)  # Cuda Compiler Driver 2.2
9434 +          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'
9435 +          compiler_needs_object=yes
9436 +          ;;
9437          esac
9438          case `$CC -V 2>&1 | sed 5q` in
9439          *Sun\ C*)                       # Sun C 5.9
9440 <          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'
9440 >          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'
9441            compiler_needs_object=yes
9442            tmp_sharedflag='-G' ;;
9443          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8676 | Line 9453 | _LT_EOF
9453          fi
9454  
9455          case $cc_basename in
9456 <        xlf*)
9456 >        xlf* | bgf* | bgxlf* | mpixlf*)
9457            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9458            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9459 <          hardcode_libdir_flag_spec=
9460 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8684 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9459 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9461            if test "x$supports_anon_versioning" = xyes; then
9462              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9463                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9464                echo "local: *; };" >> $output_objdir/$libname.ver~
9465 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9465 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9466            fi
9467            ;;
9468          esac
# Line 8700 | Line 9476 | _LT_EOF
9476          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9477          wlarc=
9478        else
9479 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481        fi
9482        ;;
9483  
# Line 8719 | Line 9495 | _LT_EOF
9495  
9496   _LT_EOF
9497        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500        else
9501          ld_shlibs=no
9502        fi
# Line 8766 | Line 9542 | _LT_EOF
9542  
9543      *)
9544        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9545 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9545 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547        else
9548          ld_shlibs=no
9549        fi
# Line 8807 | Line 9583 | _LT_EOF
9583        else
9584          # If we're using GNU nm, then we don't want the "-C" option.
9585          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9586 +        # Also, AIX nm treats weak defined symbols like other global
9587 +        # defined symbols, whereas GNU nm marks them as "W".
9588          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9589 <          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'
9589 >          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'
9590          else
9591            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'
9592          fi
# Line 8895 | Line 9673 | _LT_EOF
9673          allow_undefined_flag='-berok'
9674          # Determine the default libpath from the value encoded in an
9675          # empty executable.
9676 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 >        if test "${lt_cv_aix_libpath+set}" = set; then
9677 >  aix_libpath=$lt_cv_aix_libpath
9678 > else
9679 >  if ${lt_cv_aix_libpath_+:} false; then :
9680 >  $as_echo_n "(cached) " >&6
9681 > else
9682 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683   /* end confdefs.h.  */
9684  
9685   int
# Line 8908 | Line 9692 | main ()
9692   _ACEOF
9693   if ac_fn_c_try_link "$LINENO"; then :
9694  
9695 < lt_aix_libpath_sed='
9696 <    /Import File Strings/,/^$/ {
9697 <        /^0/ {
9698 <            s/^0  *\(.*\)$/\1/
9699 <            p
9700 <        }
9701 <    }'
9702 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9703 < # Check for a 64-bit object if we didn't find anything.
9704 < if test -z "$aix_libpath"; then
9705 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 < fi
9695 >  lt_aix_libpath_sed='
9696 >      /Import File Strings/,/^$/ {
9697 >          /^0/ {
9698 >              s/^0  *\([^ ]*\) *$/\1/
9699 >              p
9700 >          }
9701 >      }'
9702 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9703 >  # Check for a 64-bit object if we didn't find anything.
9704 >  if test -z "$lt_cv_aix_libpath_"; then
9705 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 >  fi
9707   fi
9708   rm -f core conftest.err conftest.$ac_objext \
9709      conftest$ac_exeext conftest.$ac_ext
9710 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9710 >  if test -z "$lt_cv_aix_libpath_"; then
9711 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9712 >  fi
9713 >
9714 > fi
9715 >
9716 >  aix_libpath=$lt_cv_aix_libpath_
9717 > fi
9718  
9719          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9720 <        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"
9720 >        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"
9721        else
9722          if test "$host_cpu" = ia64; then
9723            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8935 | Line 9726 | if test -z "$aix_libpath"; then aix_libp
9726          else
9727           # Determine the default libpath from the value encoded in an
9728           # empty executable.
9729 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 >         if test "${lt_cv_aix_libpath+set}" = set; then
9730 >  aix_libpath=$lt_cv_aix_libpath
9731 > else
9732 >  if ${lt_cv_aix_libpath_+:} false; then :
9733 >  $as_echo_n "(cached) " >&6
9734 > else
9735 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736   /* end confdefs.h.  */
9737  
9738   int
# Line 8948 | Line 9745 | main ()
9745   _ACEOF
9746   if ac_fn_c_try_link "$LINENO"; then :
9747  
9748 < lt_aix_libpath_sed='
9749 <    /Import File Strings/,/^$/ {
9750 <        /^0/ {
9751 <            s/^0  *\(.*\)$/\1/
9752 <            p
9753 <        }
9754 <    }'
9755 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 < # Check for a 64-bit object if we didn't find anything.
9757 < if test -z "$aix_libpath"; then
9758 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9759 < fi
9748 >  lt_aix_libpath_sed='
9749 >      /Import File Strings/,/^$/ {
9750 >          /^0/ {
9751 >              s/^0  *\([^ ]*\) *$/\1/
9752 >              p
9753 >          }
9754 >      }'
9755 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 >  # Check for a 64-bit object if we didn't find anything.
9757 >  if test -z "$lt_cv_aix_libpath_"; then
9758 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9759 >  fi
9760   fi
9761   rm -f core conftest.err conftest.$ac_objext \
9762      conftest$ac_exeext conftest.$ac_ext
9763 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9763 >  if test -z "$lt_cv_aix_libpath_"; then
9764 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9765 >  fi
9766 >
9767 > fi
9768 >
9769 >  aix_libpath=$lt_cv_aix_libpath_
9770 > fi
9771  
9772           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9773            # Warning - without using the other run time loading flags,
9774            # -berok will link without error, but may produce a broken library.
9775            no_undefined_flag=' ${wl}-bernotok'
9776            allow_undefined_flag=' ${wl}-berok'
9777 <          # Exported symbols can be pulled into shared objects from archives
9778 <          whole_archive_flag_spec='$convenience'
9777 >          if test "$with_gnu_ld" = yes; then
9778 >            # We only use this code for GNU lds that support --whole-archive.
9779 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9780 >          else
9781 >            # Exported symbols can be pulled into shared objects from archives
9782 >            whole_archive_flag_spec='$convenience'
9783 >          fi
9784            archive_cmds_need_lc=yes
9785            # This is similar to how AIX traditionally builds its shared libraries.
9786            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 9003 | Line 9812 | if test -z "$aix_libpath"; then aix_libp
9812        # Microsoft Visual C++.
9813        # hardcode_libdir_flag_spec is actually meaningless, as there is
9814        # no search path for DLLs.
9815 <      hardcode_libdir_flag_spec=' '
9816 <      allow_undefined_flag=unsupported
9817 <      # Tell ltmain to make .lib files, not .a files.
9818 <      libext=lib
9819 <      # Tell ltmain to make .dll files, not .so files.
9820 <      shrext_cmds=".dll"
9821 <      # FIXME: Setting linknames here is a bad hack.
9822 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9823 <      # The linker will automatically build a .lib file if we build a DLL.
9824 <      old_archive_from_new_cmds='true'
9825 <      # FIXME: Should let the user specify the lib program.
9826 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9827 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9828 <      enable_shared_with_static_runtimes=yes
9815 >      case $cc_basename in
9816 >      cl*)
9817 >        # Native MSVC
9818 >        hardcode_libdir_flag_spec=' '
9819 >        allow_undefined_flag=unsupported
9820 >        always_export_symbols=yes
9821 >        file_list_spec='@'
9822 >        # Tell ltmain to make .lib files, not .a files.
9823 >        libext=lib
9824 >        # Tell ltmain to make .dll files, not .so files.
9825 >        shrext_cmds=".dll"
9826 >        # FIXME: Setting linknames here is a bad hack.
9827 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9828 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9829 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9830 >          else
9831 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9832 >          fi~
9833 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9834 >          linknames='
9835 >        # The linker will not automatically build a static lib if we build a DLL.
9836 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9837 >        enable_shared_with_static_runtimes=yes
9838 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9839 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9840 >        # Don't use ranlib
9841 >        old_postinstall_cmds='chmod 644 $oldlib'
9842 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9843 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9844 >          case $lt_outputfile in
9845 >            *.exe|*.EXE) ;;
9846 >            *)
9847 >              lt_outputfile="$lt_outputfile.exe"
9848 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9849 >              ;;
9850 >          esac~
9851 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9852 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9853 >            $RM "$lt_outputfile.manifest";
9854 >          fi'
9855 >        ;;
9856 >      *)
9857 >        # Assume MSVC wrapper
9858 >        hardcode_libdir_flag_spec=' '
9859 >        allow_undefined_flag=unsupported
9860 >        # Tell ltmain to make .lib files, not .a files.
9861 >        libext=lib
9862 >        # Tell ltmain to make .dll files, not .so files.
9863 >        shrext_cmds=".dll"
9864 >        # FIXME: Setting linknames here is a bad hack.
9865 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9866 >        # The linker will automatically build a .lib file if we build a DLL.
9867 >        old_archive_from_new_cmds='true'
9868 >        # FIXME: Should let the user specify the lib program.
9869 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9870 >        enable_shared_with_static_runtimes=yes
9871 >        ;;
9872 >      esac
9873        ;;
9874  
9875      darwin* | rhapsody*)
# Line 9026 | Line 9879 | if test -z "$aix_libpath"; then aix_libp
9879    hardcode_direct=no
9880    hardcode_automatic=yes
9881    hardcode_shlibpath_var=unsupported
9882 <  whole_archive_flag_spec=''
9882 >  if test "$lt_cv_ld_force_load" = "yes"; then
9883 >    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\"`'
9884 >
9885 >  else
9886 >    whole_archive_flag_spec=''
9887 >  fi
9888    link_all_deplibs=yes
9889    allow_undefined_flag="$_lt_dar_allow_undefined"
9890    case $cc_basename in
# Line 9034 | Line 9892 | if test -z "$aix_libpath"; then aix_libp
9892       *) _lt_dar_can_shared=$GCC ;;
9893    esac
9894    if test "$_lt_dar_can_shared" = "yes"; then
9895 <    output_verbose_link_cmd=echo
9895 >    output_verbose_link_cmd=func_echo_all
9896      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9897      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9898      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 9052 | Line 9910 | if test -z "$aix_libpath"; then aix_libp
9910        hardcode_shlibpath_var=no
9911        ;;
9912  
9055    freebsd1*)
9056      ld_shlibs=no
9057      ;;
9058
9913      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9914      # support.  Future versions do this automatically, but an explicit c++rt0.o
9915      # does not break anything, and helps significantly (at the cost of a little
# Line 9068 | Line 9922 | if test -z "$aix_libpath"; then aix_libp
9922        ;;
9923  
9924      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9925 <    freebsd2*)
9925 >    freebsd2.*)
9926        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9927        hardcode_direct=yes
9928        hardcode_minus_L=yes
# Line 9077 | Line 9931 | if test -z "$aix_libpath"; then aix_libp
9931  
9932      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9933      freebsd* | dragonfly*)
9934 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9934 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935        hardcode_libdir_flag_spec='-R$libdir'
9936        hardcode_direct=yes
9937        hardcode_shlibpath_var=no
# Line 9085 | Line 9939 | if test -z "$aix_libpath"; then aix_libp
9939  
9940      hpux9*)
9941        if test "$GCC" = yes; then
9942 <        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'
9942 >        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'
9943        else
9944          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'
9945        fi
# Line 9100 | Line 9954 | if test -z "$aix_libpath"; then aix_libp
9954        ;;
9955  
9956      hpux10*)
9957 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9958 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9957 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9958 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9959        else
9960          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9961        fi
9962        if test "$with_gnu_ld" = no; then
9963          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9110        hardcode_libdir_flag_spec_ld='+b $libdir'
9964          hardcode_libdir_separator=:
9965          hardcode_direct=yes
9966          hardcode_direct_absolute=yes
# Line 9119 | Line 9972 | if test -z "$aix_libpath"; then aix_libp
9972        ;;
9973  
9974      hpux11*)
9975 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9975 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9976          case $host_cpu in
9977          hppa*64*)
9978            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9979            ;;
9980          ia64*)
9981 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9981 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9982            ;;
9983          *)
9984 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9984 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9985            ;;
9986          esac
9987        else
# Line 9140 | Line 9993 | if test -z "$aix_libpath"; then aix_libp
9993            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9994            ;;
9995          *)
9996 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9996 >
9997 >          # Older versions of the 11.00 compiler do not understand -b yet
9998 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9999 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10000 > $as_echo_n "checking if $CC understands -b... " >&6; }
10001 > if ${lt_cv_prog_compiler__b+:} false; then :
10002 >  $as_echo_n "(cached) " >&6
10003 > else
10004 >  lt_cv_prog_compiler__b=no
10005 >   save_LDFLAGS="$LDFLAGS"
10006 >   LDFLAGS="$LDFLAGS -b"
10007 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10008 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10009 >     # The linker can only warn and ignore the option if not recognized
10010 >     # So say no if there are warnings
10011 >     if test -s conftest.err; then
10012 >       # Append any errors to the config.log.
10013 >       cat conftest.err 1>&5
10014 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10015 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10016 >       if diff conftest.exp conftest.er2 >/dev/null; then
10017 >         lt_cv_prog_compiler__b=yes
10018 >       fi
10019 >     else
10020 >       lt_cv_prog_compiler__b=yes
10021 >     fi
10022 >   fi
10023 >   $RM -r conftest*
10024 >   LDFLAGS="$save_LDFLAGS"
10025 >
10026 > fi
10027 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10028 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10029 >
10030 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10031 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10032 > else
10033 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10034 > fi
10035 >
10036            ;;
10037          esac
10038        fi
# Line 9168 | Line 10060 | if test -z "$aix_libpath"; then aix_libp
10060  
10061      irix5* | irix6* | nonstopux*)
10062        if test "$GCC" = yes; then
10063 <        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'
10063 >        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'
10064          # Try to use the -exported_symbol ld option, if it does not
10065          # work, assume that -exports_file does not work either and
10066          # implicitly export all symbols.
10067 <        save_LDFLAGS="$LDFLAGS"
10068 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10069 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 >        # This should be the same for all languages, so no per-tag cache variable.
10068 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10069 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10070 > if ${lt_cv_irix_exported_symbol+:} false; then :
10071 >  $as_echo_n "(cached) " >&6
10072 > else
10073 >  save_LDFLAGS="$LDFLAGS"
10074 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10075 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076   /* end confdefs.h.  */
10077 < int foo(void) {}
10077 > int foo (void) { return 0; }
10078   _ACEOF
10079   if ac_fn_c_try_link "$LINENO"; then :
10080 <  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'
10081 <
10080 >  lt_cv_irix_exported_symbol=yes
10081 > else
10082 >  lt_cv_irix_exported_symbol=no
10083   fi
10084   rm -f core conftest.err conftest.$ac_objext \
10085      conftest$ac_exeext conftest.$ac_ext
10086 <        LDFLAGS="$save_LDFLAGS"
10086 >           LDFLAGS="$save_LDFLAGS"
10087 > fi
10088 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10089 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10090 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10091 >          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'
10092 >        fi
10093        else
10094 <        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'
10095 <        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'
10094 >        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'
10095 >        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'
10096        fi
10097        archive_cmds_need_lc='no'
10098        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9249 | Line 10154 | rm -f core conftest.err conftest.$ac_obj
10154        hardcode_libdir_flag_spec='-L$libdir'
10155        hardcode_minus_L=yes
10156        allow_undefined_flag=unsupported
10157 <      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'
10157 >      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'
10158        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10159        ;;
10160  
10161      osf3*)
10162        if test "$GCC" = yes; then
10163          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10164 <        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'
10164 >        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'
10165        else
10166          allow_undefined_flag=' -expect_unresolved \*'
10167 <        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'
10167 >        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'
10168        fi
10169        archive_cmds_need_lc='no'
10170        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9269 | Line 10174 | rm -f core conftest.err conftest.$ac_obj
10174      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10175        if test "$GCC" = yes; then
10176          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10177 <        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'
10177 >        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'
10178          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10179        else
10180          allow_undefined_flag=' -expect_unresolved \*'
10181 <        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'
10181 >        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'
10182          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~
10183 <        $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'
10183 >        $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'
10184  
10185          # Both c and cxx compiler support -rpath directly
10186          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9288 | Line 10193 | rm -f core conftest.err conftest.$ac_obj
10193        no_undefined_flag=' -z defs'
10194        if test "$GCC" = yes; then
10195          wlarc='${wl}'
10196 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10197          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10198 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10198 >          $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'
10199        else
10200          case `$CC -V 2>&1` in
10201          *"Compilers 5.0"*)
# Line 9478 | Line 10383 | x|xyes)
10383        # to ld, don't add -lc before -lgcc.
10384        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10385   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10386 <      $RM conftest*
10387 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10386 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10387 >  $as_echo_n "(cached) " >&6
10388 > else
10389 >  $RM conftest*
10390 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10391  
10392 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10392 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10393    (eval $ac_compile) 2>&5
10394    ac_status=$?
10395    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10396    test $ac_status = 0; } 2>conftest.err; then
10397 <        soname=conftest
10398 <        lib=conftest
10399 <        libobjs=conftest.$ac_objext
10400 <        deplibs=
10401 <        wl=$lt_prog_compiler_wl
10402 <        pic_flag=$lt_prog_compiler_pic
10403 <        compiler_flags=-v
10404 <        linker_flags=-v
10405 <        verstring=
10406 <        output_objdir=.
10407 <        libname=conftest
10408 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10409 <        allow_undefined_flag=
10410 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10397 >          soname=conftest
10398 >          lib=conftest
10399 >          libobjs=conftest.$ac_objext
10400 >          deplibs=
10401 >          wl=$lt_prog_compiler_wl
10402 >          pic_flag=$lt_prog_compiler_pic
10403 >          compiler_flags=-v
10404 >          linker_flags=-v
10405 >          verstring=
10406 >          output_objdir=.
10407 >          libname=conftest
10408 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10409 >          allow_undefined_flag=
10410 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10411    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10412    ac_status=$?
10413    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10414    test $ac_status = 0; }
10415 <        then
10416 <          archive_cmds_need_lc=no
10417 <        else
10418 <          archive_cmds_need_lc=yes
10419 <        fi
10420 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10421 <      else
10422 <        cat conftest.err 1>&5
10423 <      fi
10424 <      $RM conftest*
10425 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10426 < $as_echo "$archive_cmds_need_lc" >&6; }
10415 >          then
10416 >            lt_cv_archive_cmds_need_lc=no
10417 >          else
10418 >            lt_cv_archive_cmds_need_lc=yes
10419 >          fi
10420 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10421 >        else
10422 >          cat conftest.err 1>&5
10423 >        fi
10424 >        $RM conftest*
10425 >
10426 > fi
10427 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10428 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10429 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10430        ;;
10431      esac
10432    fi
# Line 9673 | Line 10584 | esac
10584  
10585  
10586  
9676
9677
9678
9679
9680
10587    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10588   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10589  
# Line 9686 | Line 10592 | if test "$GCC" = yes; then
10592      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10593      *) lt_awk_arg="/^libraries:/" ;;
10594    esac
10595 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10596 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10595 >  case $host_os in
10596 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10597 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10598 >  esac
10599 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10600 >  case $lt_search_path_spec in
10601 >  *\;*)
10602      # if the path contains ";" then we assume it to be the separator
10603      # otherwise default to the standard path separator (i.e. ":") - it is
10604      # assumed that no part of a normal pathname contains ";" but that should
10605      # okay in the real world where ";" in dirpaths is itself problematic.
10606 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10607 <  else
10608 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10609 <  fi
10606 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10607 >    ;;
10608 >  *)
10609 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10610 >    ;;
10611 >  esac
10612    # Ok, now we have the path, separated by spaces, we can step through it
10613    # and add multilib dir if necessary.
10614    lt_tmp_lt_search_path_spec=
# Line 9708 | Line 10621 | if test "$GCC" = yes; then
10621          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10622      fi
10623    done
10624 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10624 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10625   BEGIN {RS=" "; FS="/|\n";} {
10626    lt_foo="";
10627    lt_count=0;
# Line 9728 | Line 10641 | BEGIN {RS=" "; FS="/|\n";} {
10641    if (lt_foo != "") { lt_freq[lt_foo]++; }
10642    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10643   }'`
10644 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10644 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10645 >  # for these hosts.
10646 >  case $host_os in
10647 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10648 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10649 >  esac
10650 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10651   else
10652    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10653   fi
# Line 9754 | Line 10673 | need_version=unknown
10673  
10674   case $host_os in
10675   aix3*)
10676 <  version_type=linux
10676 >  version_type=linux # correct to gnu/linux during the next big refactor
10677    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10678    shlibpath_var=LIBPATH
10679  
# Line 9763 | Line 10682 | aix3*)
10682    ;;
10683  
10684   aix[4-9]*)
10685 <  version_type=linux
10685 >  version_type=linux # correct to gnu/linux during the next big refactor
10686    need_lib_prefix=no
10687    need_version=no
10688    hardcode_into_libs=yes
# Line 9816 | Line 10735 | amigaos*)
10735    m68k)
10736      library_names_spec='$libname.ixlibrary $libname.a'
10737      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10738 <    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'
10738 >    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'
10739      ;;
10740    esac
10741    ;;
# Line 9828 | Line 10747 | beos*)
10747    ;;
10748  
10749   bsdi[45]*)
10750 <  version_type=linux
10750 >  version_type=linux # correct to gnu/linux during the next big refactor
10751    need_version=no
10752    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9847 | Line 10766 | cygwin* | mingw* | pw32* | cegcc*)
10766    need_version=no
10767    need_lib_prefix=no
10768  
10769 <  case $GCC,$host_os in
10770 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10769 >  case $GCC,$cc_basename in
10770 >  yes,*)
10771 >    # gcc
10772      library_names_spec='$libname.dll.a'
10773      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10774      postinstall_cmds='base_file=`basename \${file}`~
# Line 9869 | Line 10789 | cygwin* | mingw* | pw32* | cegcc*)
10789      cygwin*)
10790        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10791        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10792 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10792 >
10793 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10794        ;;
10795      mingw* | cegcc*)
10796        # MinGW DLLs use traditional 'lib' prefix
10797        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9877      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9878      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9879        # It is most probably a Windows format PATH printed by
9880        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9881        # path with ; separators, and with drive letters. We can handle the
9882        # drive letters (cygwin fileutils understands them), so leave them,
9883        # especially as we might pass files found there to a mingw objdump,
9884        # which wouldn't understand a cygwinified path. Ahh.
9885        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9886      else
9887        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9888      fi
10798        ;;
10799      pw32*)
10800        # pw32 DLLs use 'pw' prefix rather than 'lib'
10801        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10802        ;;
10803      esac
10804 +    dynamic_linker='Win32 ld.exe'
10805 +    ;;
10806 +
10807 +  *,cl*)
10808 +    # Native MSVC
10809 +    libname_spec='$name'
10810 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10811 +    library_names_spec='${libname}.dll.lib'
10812 +
10813 +    case $build_os in
10814 +    mingw*)
10815 +      sys_lib_search_path_spec=
10816 +      lt_save_ifs=$IFS
10817 +      IFS=';'
10818 +      for lt_path in $LIB
10819 +      do
10820 +        IFS=$lt_save_ifs
10821 +        # Let DOS variable expansion print the short 8.3 style file name.
10822 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10823 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10824 +      done
10825 +      IFS=$lt_save_ifs
10826 +      # Convert to MSYS style.
10827 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10828 +      ;;
10829 +    cygwin*)
10830 +      # Convert to unix form, then to dos form, then back to unix form
10831 +      # but this time dos style (no spaces!) so that the unix form looks
10832 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10833 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10834 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10835 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10836 +      ;;
10837 +    *)
10838 +      sys_lib_search_path_spec="$LIB"
10839 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10840 +        # It is most probably a Windows format PATH.
10841 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10842 +      else
10843 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10844 +      fi
10845 +      # FIXME: find the short name or the path components, as spaces are
10846 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10847 +      ;;
10848 +    esac
10849 +
10850 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10851 +    postinstall_cmds='base_file=`basename \${file}`~
10852 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10853 +      dldir=$destdir/`dirname \$dlpath`~
10854 +      test -d \$dldir || mkdir -p \$dldir~
10855 +      $install_prog $dir/$dlname \$dldir/$dlname'
10856 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10857 +      dlpath=$dir/\$dldll~
10858 +       $RM \$dlpath'
10859 +    shlibpath_overrides_runpath=yes
10860 +    dynamic_linker='Win32 link.exe'
10861      ;;
10862  
10863    *)
10864 +    # Assume MSVC wrapper
10865      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10866 +    dynamic_linker='Win32 ld.exe'
10867      ;;
10868    esac
9901  dynamic_linker='Win32 ld.exe'
10869    # FIXME: first we should search . and the directory the executable is in
10870    shlibpath_var=PATH
10871    ;;
# Line 9919 | Line 10886 | darwin* | rhapsody*)
10886    ;;
10887  
10888   dgux*)
10889 <  version_type=linux
10889 >  version_type=linux # correct to gnu/linux during the next big refactor
10890    need_lib_prefix=no
10891    need_version=no
10892    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9927 | Line 10894 | dgux*)
10894    shlibpath_var=LD_LIBRARY_PATH
10895    ;;
10896  
9930 freebsd1*)
9931  dynamic_linker=no
9932  ;;
9933
10897   freebsd* | dragonfly*)
10898    # DragonFly does not have aout.  When/if they implement a new
10899    # versioning mechanism, adjust this.
# Line 9938 | Line 10901 | freebsd* | dragonfly*)
10901      objformat=`/usr/bin/objformat`
10902    else
10903      case $host_os in
10904 <    freebsd[123]*) objformat=aout ;;
10904 >    freebsd[23].*) objformat=aout ;;
10905      *) objformat=elf ;;
10906      esac
10907    fi
# Line 9956 | Line 10919 | freebsd* | dragonfly*)
10919    esac
10920    shlibpath_var=LD_LIBRARY_PATH
10921    case $host_os in
10922 <  freebsd2*)
10922 >  freebsd2.*)
10923      shlibpath_overrides_runpath=yes
10924      ;;
10925    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9976 | Line 10939 | freebsd* | dragonfly*)
10939    ;;
10940  
10941   gnu*)
10942 <  version_type=linux
10942 >  version_type=linux # correct to gnu/linux during the next big refactor
10943    need_lib_prefix=no
10944    need_version=no
10945    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10946    soname_spec='${libname}${release}${shared_ext}$major'
10947    shlibpath_var=LD_LIBRARY_PATH
10948 +  shlibpath_overrides_runpath=no
10949 +  hardcode_into_libs=yes
10950 +  ;;
10951 +
10952 + haiku*)
10953 +  version_type=linux # correct to gnu/linux during the next big refactor
10954 +  need_lib_prefix=no
10955 +  need_version=no
10956 +  dynamic_linker="$host_os runtime_loader"
10957 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10958 +  soname_spec='${libname}${release}${shared_ext}$major'
10959 +  shlibpath_var=LIBRARY_PATH
10960 +  shlibpath_overrides_runpath=yes
10961 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10962    hardcode_into_libs=yes
10963    ;;
10964  
# Line 10027 | Line 11004 | hpux9* | hpux10* | hpux11*)
11004      soname_spec='${libname}${release}${shared_ext}$major'
11005      ;;
11006    esac
11007 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11007 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11008    postinstall_cmds='chmod 555 $lib'
11009 +  # or fails outright, so override atomically:
11010 +  install_override_mode=555
11011    ;;
11012  
11013   interix[3-9]*)
11014 <  version_type=linux
11014 >  version_type=linux # correct to gnu/linux during the next big refactor
11015    need_lib_prefix=no
11016    need_version=no
11017    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10048 | Line 11027 | irix5* | irix6* | nonstopux*)
11027      nonstopux*) version_type=nonstopux ;;
11028      *)
11029          if test "$lt_cv_prog_gnu_ld" = yes; then
11030 <                version_type=linux
11030 >                version_type=linux # correct to gnu/linux during the next big refactor
11031          else
11032                  version_type=irix
11033          fi ;;
# Line 10085 | Line 11064 | linux*oldld* | linux*aout* | linux*coff*
11064    dynamic_linker=no
11065    ;;
11066  
11067 < # This must be Linux ELF.
11068 < linux* | k*bsd*-gnu)
11069 <  version_type=linux
11067 > # This must be glibc/ELF.
11068 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11069 >  version_type=linux # correct to gnu/linux during the next big refactor
11070    need_lib_prefix=no
11071    need_version=no
11072    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10095 | Line 11074 | linux* | k*bsd*-gnu)
11074    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11075    shlibpath_var=LD_LIBRARY_PATH
11076    shlibpath_overrides_runpath=no
11077 +
11078    # Some binutils ld are patched to set DT_RUNPATH
11079 <  save_LDFLAGS=$LDFLAGS
11080 <  save_libdir=$libdir
11081 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11082 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11083 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11080 >  $as_echo_n "(cached) " >&6
11081 > else
11082 >  lt_cv_shlibpath_overrides_runpath=no
11083 >    save_LDFLAGS=$LDFLAGS
11084 >    save_libdir=$libdir
11085 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11086 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11087 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088   /* end confdefs.h.  */
11089  
11090   int
# Line 10113 | Line 11097 | main ()
11097   _ACEOF
11098   if ac_fn_c_try_link "$LINENO"; then :
11099    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11100 <  shlibpath_overrides_runpath=yes
11100 >  lt_cv_shlibpath_overrides_runpath=yes
11101   fi
11102   fi
11103   rm -f core conftest.err conftest.$ac_objext \
11104      conftest$ac_exeext conftest.$ac_ext
11105 <  LDFLAGS=$save_LDFLAGS
11106 <  libdir=$save_libdir
11105 >    LDFLAGS=$save_LDFLAGS
11106 >    libdir=$save_libdir
11107 >
11108 > fi
11109 >
11110 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11111  
11112    # This implies no fast_install, which is unacceptable.
11113    # Some rework will be needed to allow for fast_install
# Line 10128 | Line 11116 | rm -f core conftest.err conftest.$ac_obj
11116  
11117    # Append ld.so.conf contents to the search path
11118    if test -f /etc/ld.so.conf; then
11119 <    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' ' '`
11119 >    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' ' '`
11120      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11121    fi
11122  
# Line 10160 | Line 11148 | netbsd*)
11148    ;;
11149  
11150   newsos6)
11151 <  version_type=linux
11151 >  version_type=linux # correct to gnu/linux during the next big refactor
11152    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153    shlibpath_var=LD_LIBRARY_PATH
11154    shlibpath_overrides_runpath=yes
# Line 10229 | Line 11217 | rdos*)
11217    ;;
11218  
11219   solaris*)
11220 <  version_type=linux
11220 >  version_type=linux # correct to gnu/linux during the next big refactor
11221    need_lib_prefix=no
11222    need_version=no
11223    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10254 | Line 11242 | sunos4*)
11242    ;;
11243  
11244   sysv4 | sysv4.3*)
11245 <  version_type=linux
11245 >  version_type=linux # correct to gnu/linux during the next big refactor
11246    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247    soname_spec='${libname}${release}${shared_ext}$major'
11248    shlibpath_var=LD_LIBRARY_PATH
# Line 10278 | Line 11266 | sysv4 | sysv4.3*)
11266  
11267   sysv4*MP*)
11268    if test -d /usr/nec ;then
11269 <    version_type=linux
11269 >    version_type=linux # correct to gnu/linux during the next big refactor
11270      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11271      soname_spec='$libname${shared_ext}.$major'
11272      shlibpath_var=LD_LIBRARY_PATH
# Line 10309 | Line 11297 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11297  
11298   tpf*)
11299    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11300 <  version_type=linux
11300 >  version_type=linux # correct to gnu/linux during the next big refactor
11301    need_lib_prefix=no
11302    need_version=no
11303    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10319 | Line 11307 | tpf*)
11307    ;;
11308  
11309   uts4*)
11310 <  version_type=linux
11310 >  version_type=linux # correct to gnu/linux during the next big refactor
11311    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312    soname_spec='${libname}${release}${shared_ext}$major'
11313    shlibpath_var=LD_LIBRARY_PATH
# Line 10431 | Line 11419 | fi
11419  
11420  
11421  
11422 +
11423 +
11424 +
11425 +
11426 +
11427    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11428   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11429   hardcode_action=
# Line 10503 | Line 11496 | else
11496    # if libdl is installed we need to link against it
11497      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11498   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11499 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11499 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11500    $as_echo_n "(cached) " >&6
11501   else
11502    ac_check_lib_save_LIBS=$LIBS
# Line 10537 | Line 11530 | LIBS=$ac_check_lib_save_LIBS
11530   fi
11531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11532   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11533 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11533 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11534    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11535   else
11536  
# Line 10551 | Line 11544 | fi
11544  
11545    *)
11546      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11547 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11547 > if test "x$ac_cv_func_shl_load" = xyes; then :
11548    lt_cv_dlopen="shl_load"
11549   else
11550    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11551   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11552 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11552 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11553    $as_echo_n "(cached) " >&6
11554   else
11555    ac_check_lib_save_LIBS=$LIBS
# Line 10590 | Line 11583 | LIBS=$ac_check_lib_save_LIBS
11583   fi
11584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11585   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11586 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11587    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11588   else
11589    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11590 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11590 > if test "x$ac_cv_func_dlopen" = xyes; then :
11591    lt_cv_dlopen="dlopen"
11592   else
11593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11594   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11595 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11595 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11596    $as_echo_n "(cached) " >&6
11597   else
11598    ac_check_lib_save_LIBS=$LIBS
# Line 10633 | Line 11626 | LIBS=$ac_check_lib_save_LIBS
11626   fi
11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11628   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11629 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11629 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11630    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11631   else
11632    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11633   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11634 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11634 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11635    $as_echo_n "(cached) " >&6
11636   else
11637    ac_check_lib_save_LIBS=$LIBS
# Line 10672 | Line 11665 | LIBS=$ac_check_lib_save_LIBS
11665   fi
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11667   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11668 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11668 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11669    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11670   else
11671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11672   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11673 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11673 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11674    $as_echo_n "(cached) " >&6
11675   else
11676    ac_check_lib_save_LIBS=$LIBS
# Line 10711 | Line 11704 | LIBS=$ac_check_lib_save_LIBS
11704   fi
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11706   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11707 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11707 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11708    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11709   fi
11710  
# Line 10752 | Line 11745 | fi
11745  
11746      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11747   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11748 < if test "${lt_cv_dlopen_self+set}" = set; then :
11748 > if ${lt_cv_dlopen_self+:} false; then :
11749    $as_echo_n "(cached) " >&6
11750   else
11751            if test "$cross_compiling" = yes; then :
# Line 10761 | Line 11754 | else
11754    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11755    lt_status=$lt_dlunknown
11756    cat > conftest.$ac_ext <<_LT_EOF
11757 < #line 10764 "configure"
11757 > #line $LINENO "configure"
11758   #include "confdefs.h"
11759  
11760   #if HAVE_DLFCN_H
# Line 10802 | Line 11795 | else
11795   #  endif
11796   #endif
11797  
11798 < void fnord() { int i=42;}
11798 > /* When -fvisbility=hidden is used, assume the code has been annotated
11799 >   correspondingly for the symbols needed.  */
11800 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11801 > int fnord () __attribute__((visibility("default")));
11802 > #endif
11803 >
11804 > int fnord () { return 42; }
11805   int main ()
11806   {
11807    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10811 | Line 11810 | int main ()
11810    if (self)
11811      {
11812        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11813 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11813 >      else
11814 >        {
11815 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11816 >          else puts (dlerror ());
11817 >        }
11818        /* dlclose (self); */
11819      }
11820    else
# Line 10848 | Line 11851 | $as_echo "$lt_cv_dlopen_self" >&6; }
11851        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11852        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11853   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11854 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11854 > if ${lt_cv_dlopen_self_static+:} false; then :
11855    $as_echo_n "(cached) " >&6
11856   else
11857            if test "$cross_compiling" = yes; then :
# Line 10857 | Line 11860 | else
11860    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11861    lt_status=$lt_dlunknown
11862    cat > conftest.$ac_ext <<_LT_EOF
11863 < #line 10860 "configure"
11863 > #line $LINENO "configure"
11864   #include "confdefs.h"
11865  
11866   #if HAVE_DLFCN_H
# Line 10898 | Line 11901 | else
11901   #  endif
11902   #endif
11903  
11904 < void fnord() { int i=42;}
11904 > /* When -fvisbility=hidden is used, assume the code has been annotated
11905 >   correspondingly for the symbols needed.  */
11906 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11907 > int fnord () __attribute__((visibility("default")));
11908 > #endif
11909 >
11910 > int fnord () { return 42; }
11911   int main ()
11912   {
11913    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10907 | Line 11916 | int main ()
11916    if (self)
11917      {
11918        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11919 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11919 >      else
11920 >        {
11921 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11922 >          else puts (dlerror ());
11923 >        }
11924        /* dlclose (self); */
11925      }
11926    else
# Line 11076 | Line 12089 | CC="$lt_save_CC"
12089  
12090  
12091  
12092 +
12093 +
12094          ac_config_commands="$ac_config_commands libtool"
12095  
12096  
# Line 11086 | Line 12101 | CC="$lt_save_CC"
12101  
12102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12103   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12104 < if test "${libltdl_cv_shlibext+set}" = set; then :
12104 > if ${libltdl_cv_shlibext+:} false; then :
12105    $as_echo_n "(cached) " >&6
12106   else
12107  
12108   module=yes
12109   eval libltdl_cv_shlibext=$shrext_cmds
12110 + module=no
12111 + eval libltdl_cv_shrext=$shrext_cmds
12112  
12113   fi
12114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11103 | Line 12120 | cat >>confdefs.h <<_ACEOF
12120   _ACEOF
12121  
12122   fi
12123 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12124 +
12125 + cat >>confdefs.h <<_ACEOF
12126 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12127 + _ACEOF
12128 +
12129 + fi
12130  
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12132   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12133 < if test "${lt_cv_module_path_var+set}" = set; then :
12133 > if ${lt_cv_module_path_var+:} false; then :
12134    $as_echo_n "(cached) " >&6
12135   else
12136    lt_cv_module_path_var="$shlibpath_var"
# Line 11123 | Line 12147 | fi
12147  
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12149   $as_echo_n "checking for the default library search path... " >&6; }
12150 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12150 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12151    $as_echo_n "(cached) " >&6
12152   else
12153    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11160 | Line 12184 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12184   LIBADD_DLOPEN=
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12186   $as_echo_n "checking for library containing dlopen... " >&6; }
12187 < if test "${ac_cv_search_dlopen+set}" = set; then :
12187 > if ${ac_cv_search_dlopen+:} false; then :
12188    $as_echo_n "(cached) " >&6
12189   else
12190    ac_func_search_save_LIBS=$LIBS
# Line 11194 | Line 12218 | for ac_lib in '' dl; do
12218   fi
12219   rm -f core conftest.err conftest.$ac_objext \
12220      conftest$ac_exeext
12221 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12221 >  if ${ac_cv_search_dlopen+:} false; then :
12222    break
12223   fi
12224   done
12225 < if test "${ac_cv_search_dlopen+set}" = set; then :
12225 > if ${ac_cv_search_dlopen+:} false; then :
12226  
12227   else
12228    ac_cv_search_dlopen=no
# Line 11243 | Line 12267 | $as_echo "#define HAVE_LIBDL 1" >>confde
12267   else
12268    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12269   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12270 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12270 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12271    $as_echo_n "(cached) " >&6
12272   else
12273    ac_check_lib_save_LIBS=$LIBS
# Line 11277 | Line 12301 | LIBS=$ac_check_lib_save_LIBS
12301   fi
12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12303   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12304 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12304 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12305  
12306   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12307  
# Line 11297 | Line 12321 | then
12321    for ac_func in dlerror
12322   do :
12323    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12324 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12324 > if test "x$ac_cv_func_dlerror" = xyes; then :
12325    cat >>confdefs.h <<_ACEOF
12326   #define HAVE_DLERROR 1
12327   _ACEOF
# Line 11311 | Line 12335 | fi
12335  
12336   LIBADD_SHL_LOAD=
12337   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12338 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12338 > if test "x$ac_cv_func_shl_load" = xyes; then :
12339  
12340   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12341  
# Line 11319 | Line 12343 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12343   else
12344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12345   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12346 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12346 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12347    $as_echo_n "(cached) " >&6
12348   else
12349    ac_check_lib_save_LIBS=$LIBS
# Line 11353 | Line 12377 | LIBS=$ac_check_lib_save_LIBS
12377   fi
12378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12379   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12380 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12380 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12381  
12382   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12383  
# Line 11369 | Line 12393 | case $host_os in
12393   darwin[1567].*)
12394   # We only want this for pre-Mac OS X 10.4.
12395    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12396 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12396 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12397  
12398   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12399  
# Line 11383 | Line 12407 | beos*)
12407   cygwin* | mingw* | os2* | pw32*)
12408    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12409   "
12410 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12410 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12411    ac_have_decl=1
12412   else
12413    ac_have_decl=0
# Line 11399 | Line 12423 | esac
12423  
12424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12425   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12426 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12426 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12427    $as_echo_n "(cached) " >&6
12428   else
12429    ac_check_lib_save_LIBS=$LIBS
# Line 11433 | Line 12457 | LIBS=$ac_check_lib_save_LIBS
12457   fi
12458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12459   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12460 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12460 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12461  
12462   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12463  
# Line 11467 | Line 12491 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12491  
12492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12493   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12494 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12494 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12495    $as_echo_n "(cached) " >&6
12496   else
12497    lt_cv_sys_symbol_underscore=no
# Line 11517 | Line 12541 | if test x"$lt_cv_sys_symbol_underscore"
12541       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12542          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12543   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12544 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12544 > if ${libltdl_cv_need_uscore+:} false; then :
12545    $as_echo_n "(cached) " >&6
12546   else
12547    libltdl_cv_need_uscore=unknown
# Line 11529 | Line 12553 | else
12553    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12554    lt_status=$lt_dlunknown
12555    cat > conftest.$ac_ext <<_LT_EOF
12556 < #line 11532 "configure"
12556 > #line $LINENO "configure"
12557   #include "confdefs.h"
12558  
12559   #if HAVE_DLFCN_H
# Line 11570 | Line 12594 | else
12594   #  endif
12595   #endif
12596  
12597 < void fnord() { int i=42;}
12597 > /* When -fvisbility=hidden is used, assume the code has been annotated
12598 >   correspondingly for the symbols needed.  */
12599 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12600 > int fnord () __attribute__((visibility("default")));
12601 > #endif
12602 >
12603 > int fnord () { return 42; }
12604   int main ()
12605   {
12606    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11579 | Line 12609 | int main ()
12609    if (self)
12610      {
12611        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12612 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12612 >      else
12613 >        {
12614 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12615 >          else puts (dlerror ());
12616 >        }
12617        /* dlclose (self); */
12618      }
12619    else
# Line 11623 | Line 12657 | fi
12657  
12658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12659   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12660 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12660 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12661    $as_echo_n "(cached) " >&6
12662   else
12663    # PORTME does your system automatically load deplibs for dlopen?
# Line 11655 | Line 12689 | else
12689    freebsd* | dragonfly*)
12690      lt_cv_sys_dlopen_deplibs=yes
12691      ;;
12692 <  gnu* | linux* | k*bsd*-gnu)
12692 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12693      # GNU and its variants, using gnu ld.so (Glibc)
12694      lt_cv_sys_dlopen_deplibs=yes
12695      ;;
# Line 11729 | Line 12763 | for ac_header in argz.h
12763   do :
12764    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12765   "
12766 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12766 > if test "x$ac_cv_header_argz_h" = xyes; then :
12767    cat >>confdefs.h <<_ACEOF
12768   #define HAVE_ARGZ_H 1
12769   _ACEOF
# Line 11743 | Line 12777 | ac_fn_c_check_type "$LINENO" "error_t" "
12777   #  include <argz.h>
12778   #endif
12779   "
12780 < if test "x$ac_cv_type_error_t" = x""yes; then :
12780 > if test "x$ac_cv_type_error_t" = xyes; then :
12781  
12782   cat >>confdefs.h <<_ACEOF
12783   #define HAVE_ERROR_T 1
# Line 11766 | Line 12800 | for ac_func in argz_add argz_append argz
12800   do :
12801    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12802   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12803 < eval as_val=\$$as_ac_var
11770 <   if test "x$as_val" = x""yes; then :
12803 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12804    cat >>confdefs.h <<_ACEOF
12805   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12806   _ACEOF
# Line 11784 | Line 12817 | done
12817   if test -z "$ARGZ_H"; then :
12818    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12819   $as_echo_n "checking if argz actually works... " >&6; }
12820 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12820 > if ${lt_cv_sys_argz_works+:} false; then :
12821    $as_echo_n "(cached) " >&6
12822   else
12823    case $host_os in #(
# Line 11815 | Line 12848 | else
12848   fi
12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12850   $as_echo "$lt_cv_sys_argz_works" >&6; }
12851 <     if test $lt_cv_sys_argz_works = yes; then :
12851 >     if test "$lt_cv_sys_argz_works" = yes; then :
12852  
12853   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12854  
# Line 11832 | Line 12865 | fi
12865  
12866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12867   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12868 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12868 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12869    $as_echo_n "(cached) " >&6
12870   else
12871    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11874 | Line 12907 | if test "x$with_included_ltdl" != xyes;
12907    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12908  
12909   "
12910 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12910 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12911    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12912              #include <ltdl.h>
12913   "
12914 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12914 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12916   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12917 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12917 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12918    $as_echo_n "(cached) " >&6
12919   else
12920    ac_check_lib_save_LIBS=$LIBS
# Line 11915 | Line 12948 | LIBS=$ac_check_lib_save_LIBS
12948   fi
12949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12950   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12951 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12951 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12952    with_included_ltdl=no
12953   else
12954    with_included_ltdl=yes
# Line 11944 | Line 12977 | fi
12977   if test -n "$with_ltdl_include"; then
12978    if test -f "$with_ltdl_include/ltdl.h"; then :
12979    else
12980 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12980 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12981    fi
12982   else
12983    with_ltdl_include=no
# Line 11960 | Line 12993 | fi
12993   if test -n "$with_ltdl_lib"; then
12994    if test -f "$with_ltdl_lib/libltdl.la"; then :
12995    else
12996 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12996 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12997    fi
12998   else
12999    with_ltdl_lib=no
# Line 11969 | Line 13002 | fi
13002   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13003    ,yes,no,no,)
13004          case $enable_ltdl_convenience in
13005 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13005 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13006    "") enable_ltdl_convenience=yes
13007        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13008   esac
# Line 11997 | Line 13030 | $as_echo "#define HAVE_LTDL 1" >>confdef
13030          LTDLINCL=
13031          ;;
13032    ,no*,no,*)
13033 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13033 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13034          ;;
13035    *)    with_included_ltdl=no
13036          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12064 | Line 13097 | do :
13097    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13098   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13099   "
13100 < eval as_val=\$$as_ac_Header
12068 <   if test "x$as_val" = x""yes; then :
13100 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13101    cat >>confdefs.h <<_ACEOF
13102   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103   _ACEOF
# Line 12079 | Line 13111 | for ac_func in closedir opendir readdir
13111   do :
13112    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13113   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13114 < eval as_val=\$$as_ac_var
12083 <   if test "x$as_val" = x""yes; then :
13114 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13115    cat >>confdefs.h <<_ACEOF
13116   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13117   _ACEOF
# Line 12097 | Line 13128 | for ac_func in strlcat strlcpy
13128   do :
13129    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13131 < eval as_val=\$$as_ac_var
12101 <   if test "x$as_val" = x""yes; then :
13131 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13132    cat >>confdefs.h <<_ACEOF
13133   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13134   _ACEOF
# Line 12118 | Line 13148 | cat >>confdefs.h <<_ACEOF
13148   _ACEOF
13149  
13150  
13151 + name=
13152 + eval "lt_libprefix=\"$libname_spec\""
13153 +
13154 + cat >>confdefs.h <<_ACEOF
13155 + #define LT_LIBPREFIX "$lt_libprefix"
13156 + _ACEOF
13157 +
13158 +
13159   name=ltdl
13160 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13160 > eval "LTDLOPEN=\"$libname_spec\""
13161  
13162  
13163  
# Line 12135 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 +
13177 +  if test "X$CC" != "X"; then
13178 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 + if ${ssp_cv_cc+:} false; then :
13181 +  $as_echo_n "(cached) " >&6
13182 + else
13183 +  ssp_old_cflags="$CFLAGS"
13184 +       CFLAGS="$CFLAGS -fstack-protector"
13185 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 + /* end confdefs.h.  */
13187 +
13188 + int
13189 + main ()
13190 + {
13191 +
13192 +  ;
13193 +  return 0;
13194 + }
13195 + _ACEOF
13196 + if ac_fn_c_try_compile "$LINENO"; then :
13197 +  ssp_cv_cc=yes
13198 + else
13199 +  ssp_cv_cc=no
13200 + fi
13201 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 +       CFLAGS="$ssp_old_cflags"
13203 +
13204 + fi
13205 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 + $as_echo "$ssp_cv_cc" >&6; }
13207 +    if test $ssp_cv_cc = yes; then
13208 +      CFLAGS="$CFLAGS -fstack-protector"
13209 +
13210 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 +
13212 +    fi
13213 +  fi
13214 +
13215 +
13216 +
13217 +
13218 +
13219 +
13220 + for flag in -fno-strict-aliasing; do
13221 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 + if eval \${$as_CACHEVAR+:} false; then :
13225 +  $as_echo_n "(cached) " >&6
13226 + else
13227 +
13228 +  ax_check_save_flags=$CFLAGS
13229 +  CFLAGS="$CFLAGS  $flag"
13230 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 + /* end confdefs.h.  */
13232 +
13233 + int
13234 + main ()
13235 + {
13236 +
13237 +  ;
13238 +  return 0;
13239 + }
13240 + _ACEOF
13241 + if ac_fn_c_try_compile "$LINENO"; then :
13242 +  eval "$as_CACHEVAR=yes"
13243 + else
13244 +  eval "$as_CACHEVAR=no"
13245 + fi
13246 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 +  CFLAGS=$ax_check_save_flags
13248 + fi
13249 + eval ac_res=\$$as_CACHEVAR
13250 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 + $as_echo "$ac_res" >&6; }
13252 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 +  if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *" $flag "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 +  (: CFLAGS already contains $flag) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13264 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS $flag"
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS="$flag"
13273 + fi
13274 +
13275 + else
13276 +  :
13277 + fi
13278 +
13279 + done
13280 +
13281 +
13282 +
13283 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285 +
13286 + else
13287 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13288 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13289 + if ${ac_cv_search_getaddrinfo+:} false; then :
13290 +  $as_echo_n "(cached) " >&6
13291 + else
13292 +  ac_func_search_save_LIBS=$LIBS
13293 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 + /* end confdefs.h.  */
13295 +
13296 + /* Override any GCC internal prototype to avoid an error.
13297 +   Use char because int might match the return type of a GCC
13298 +   builtin and then its argument prototype would still apply.  */
13299 + #ifdef __cplusplus
13300 + extern "C"
13301 + #endif
13302 + char getaddrinfo ();
13303 + int
13304 + main ()
13305 + {
13306 + return getaddrinfo ();
13307 +  ;
13308 +  return 0;
13309 + }
13310 + _ACEOF
13311 + for ac_lib in '' nsl; do
13312 +  if test -z "$ac_lib"; then
13313 +    ac_res="none required"
13314 +  else
13315 +    ac_res=-l$ac_lib
13316 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13317 +  fi
13318 +  if ac_fn_c_try_link "$LINENO"; then :
13319 +  ac_cv_search_getaddrinfo=$ac_res
13320 + fi
13321 + rm -f core conftest.err conftest.$ac_objext \
13322 +    conftest$ac_exeext
13323 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13324 +  break
13325 + fi
13326 + done
13327 + if ${ac_cv_search_getaddrinfo+:} false; then :
13328 +
13329 + else
13330 +  ac_cv_search_getaddrinfo=no
13331 + fi
13332 + rm conftest.$ac_ext
13333 + LIBS=$ac_func_search_save_LIBS
13334 + fi
13335 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13336 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13337 + ac_res=$ac_cv_search_getaddrinfo
13338 + if test "$ac_res" != no; then :
13339 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340 +
13341 + fi
13342 +
13343 + fi
13344 +
13345 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13346 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13347 +
13348 + else
13349 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13350 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13351 + if ${ac_cv_search_getnameinfo+:} false; then :
13352 +  $as_echo_n "(cached) " >&6
13353 + else
13354 +  ac_func_search_save_LIBS=$LIBS
13355 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 + /* end confdefs.h.  */
13357 +
13358 + /* Override any GCC internal prototype to avoid an error.
13359 +   Use char because int might match the return type of a GCC
13360 +   builtin and then its argument prototype would still apply.  */
13361 + #ifdef __cplusplus
13362 + extern "C"
13363 + #endif
13364 + char getnameinfo ();
13365 + int
13366 + main ()
13367 + {
13368 + return getnameinfo ();
13369 +  ;
13370 +  return 0;
13371 + }
13372 + _ACEOF
13373 + for ac_lib in '' nsl; do
13374 +  if test -z "$ac_lib"; then
13375 +    ac_res="none required"
13376 +  else
13377 +    ac_res=-l$ac_lib
13378 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13379 +  fi
13380 +  if ac_fn_c_try_link "$LINENO"; then :
13381 +  ac_cv_search_getnameinfo=$ac_res
13382 + fi
13383 + rm -f core conftest.err conftest.$ac_objext \
13384 +    conftest$ac_exeext
13385 +  if ${ac_cv_search_getnameinfo+:} false; then :
13386 +  break
13387 + fi
13388 + done
13389 + if ${ac_cv_search_getnameinfo+:} false; then :
13390 +
13391 + else
13392 +  ac_cv_search_getnameinfo=no
13393 + fi
13394 + rm conftest.$ac_ext
13395 + LIBS=$ac_func_search_save_LIBS
13396 + fi
13397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13398 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13399 + ac_res=$ac_cv_search_getnameinfo
13400 + if test "$ac_res" != no; then :
13401 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13402 +
13403 + fi
13404 +
13405 + fi
13406 +
13407    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13408   $as_echo_n "checking for library containing socket... " >&6; }
13409 < if test "${ac_cv_search_socket+set}" = set; then :
13409 > if ${ac_cv_search_socket+:} false; then :
13410    $as_echo_n "(cached) " >&6
13411   else
13412    ac_func_search_save_LIBS=$LIBS
# Line 12171 | Line 13440 | for ac_lib in '' socket; do
13440   fi
13441   rm -f core conftest.err conftest.$ac_objext \
13442      conftest$ac_exeext
13443 <  if test "${ac_cv_search_socket+set}" = set; then :
13443 >  if ${ac_cv_search_socket+:} false; then :
13444    break
13445   fi
13446   done
13447 < if test "${ac_cv_search_socket+set}" = set; then :
13447 > if ${ac_cv_search_socket+:} false; then :
13448  
13449   else
13450    ac_cv_search_socket=no
# Line 12190 | Line 13459 | if test "$ac_res" != no; then :
13459    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13460  
13461   else
13462 <  as_fn_error "socket library not found" "$LINENO" 5
13462 >  as_fn_error $? "socket library not found" "$LINENO" 5
13463   fi
13464  
12196  for ac_func in inet_aton inet_ntop inet_pton
12197 do :
12198  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12200 eval as_val=\$$as_ac_var
12201   if test "x$as_val" = x""yes; then :
12202  cat >>confdefs.h <<_ACEOF
12203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12204 _ACEOF
12205
12206 fi
12207 done
12208
13465    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466     #include <sys/socket.h>
13467     #include <netdb.h>
13468  
13469   "
13470 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13470 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13471  
13472   cat >>confdefs.h <<_ACEOF
13473   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12224 | Line 13480 | ac_fn_c_check_type "$LINENO" "struct soc
13480     #include <netdb.h>
13481  
13482   "
13483 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13483 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13484  
13485   cat >>confdefs.h <<_ACEOF
13486   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12237 | Line 13493 | ac_fn_c_check_type "$LINENO" "struct add
13493     #include <netdb.h>
13494  
13495   "
13496 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13496 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13497  
13498   cat >>confdefs.h <<_ACEOF
13499   #define HAVE_STRUCT_ADDRINFO 1
# Line 12249 | Line 13505 | fi
13505    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13506    <sys/socket.h>
13507   "
13508 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13508 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13509  
13510   cat >>confdefs.h <<_ACEOF
13511   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12260 | Line 13516 | fi
13516  
13517  
13518  
13519 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13520 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13521 <
12266 < cat >>confdefs.h <<_ACEOF
12267 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12268 < _ACEOF
12269 <
12270 <
12271 < else
13519 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13520 > "
13521 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13522  
13523   $as_echo "#define IPV6 1" >>confdefs.h
13524  
# Line 12279 | Line 13529 | fi
13529   # Checks for typedefs, structures, and compiler characteristics.
13530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13531   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13532 < if test "${ac_cv_c_bigendian+set}" = set; then :
13532 > if ${ac_cv_c_bigendian+:} false; then :
13533    $as_echo_n "(cached) " >&6
13534   else
13535    ac_cv_c_bigendian=unknown
# Line 12497 | Line 13747 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13747  
13748       ;; #(
13749     *)
13750 <     as_fn_error "unknown endianness
13750 >     as_fn_error $? "unknown endianness
13751   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13752   esac
13753  
# Line 12510 | Line 13760 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13760   do :
13761    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13763 < eval as_val=\$$as_ac_var
12514 <   if test "x$as_val" = x""yes; then :
13763 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13764    cat >>confdefs.h <<_ACEOF
13765   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766   _ACEOF
# Line 12529 | Line 13778 | done
13778  
13779  
13780  
12532
12533
13781   # Checks for header files.
13782  
13783  
# Line 12540 | Line 13787 | do :
13787    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13788   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13789   "
13790 < eval as_val=\$$as_ac_Header
12544 <   if test "x$as_val" = x""yes; then :
13790 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13791    cat >>confdefs.h <<_ACEOF
13792   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13793   _ACEOF
# Line 12566 | Line 13812 | done
13812  
13813  
13814  
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579 # check for /dev/null so we can use it to hold evil fd's
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12581 $as_echo_n "checking for /dev/null... " >&6; }
12582 if test -c /dev/null; then :
12583
12584
12585 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12586
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12589 else
12590
12591
12592 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12593
12594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12595 $as_echo "no - using devnull.log" >&6; }
12596 fi
12597
12598
13815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13816   $as_echo_n "checking for library containing crypt... " >&6; }
13817 < if test "${ac_cv_search_crypt+set}" = set; then :
13817 > if ${ac_cv_search_crypt+:} false; then :
13818    $as_echo_n "(cached) " >&6
13819   else
13820    ac_func_search_save_LIBS=$LIBS
# Line 12632 | Line 13848 | for ac_lib in '' crypt; do
13848   fi
13849   rm -f core conftest.err conftest.$ac_objext \
13850      conftest$ac_exeext
13851 <  if test "${ac_cv_search_crypt+set}" = set; then :
13851 >  if ${ac_cv_search_crypt+:} false; then :
13852    break
13853   fi
13854   done
13855 < if test "${ac_cv_search_crypt+set}" = set; then :
13855 > if ${ac_cv_search_crypt+:} false; then :
13856  
13857   else
13858    ac_cv_search_crypt=no
# Line 12653 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 <
13873 <
13874 < # Check whether --with-zlib-path was given.
13875 < if test "${with_zlib_path+set}" = set; then :
13876 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13877 < fi
13878 <
13879 <
13880 < # Check whether --enable-zlib was given.
12665 < if test "${enable_zlib+set}" = set; then :
12666 <  enableval=$enable_zlib; zlib=$enableval
12667 < else
12668 <  zlib=yes
12669 < fi
12670 <
12671 <
12672 < if test "$zlib" = "yes"; then :
12673 <
12674 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12675 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12676 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12677 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12678 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883 <  ac_check_lib_save_LIBS=$LIBS
12682 < LIBS="-lz  $LIBS"
13883 >  ac_func_search_save_LIBS=$LIBS
13884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885   /* end confdefs.h.  */
13886  
# Line 12689 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char zlibVersion ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return zlibVersion ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < if ac_fn_c_try_link "$LINENO"; then :
13903 <  ac_cv_lib_z_zlibVersion=yes
13904 < else
13905 <  ac_cv_lib_z_zlibVersion=no
13902 > for ac_lib in '' GeoIP; do
13903 >  if test -z "$ac_lib"; then
13904 >    ac_res="none required"
13905 >  else
13906 >    ac_res=-l$ac_lib
13907 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908 >  fi
13909 >  if ac_fn_c_try_link "$LINENO"; then :
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913 <    conftest$ac_exeext conftest.$ac_ext
13914 < LIBS=$ac_check_lib_save_LIBS
13915 < fi
12710 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12711 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12712 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12713 <
12714 <      LIBS="-lz $LIBS"
12715 <
12716 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12717 <
12718 <
12719 < else
12720 <  zlib=no
12721 < fi
12722 <
12723 <
12724 < else
12725 <  zlib=no
12726 < fi
12727 <
12728 <
12729 <
12730 < fi
12731 <
12732 <
12733 < # Check whether --with-libpcre-path was given.
12734 < if test "${with_libpcre_path+set}" = set; then :
12735 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12736 < fi
12737 <
12738 <
12739 < # Check whether --enable-libpcre was given.
12740 < if test "${enable_libpcre+set}" = set; then :
12741 <  enableval=$enable_libpcre; libpcre=$enableval
12742 < else
12743 <  libpcre=yes
13913 >    conftest$ac_exeext
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915 >  break
13916   fi
13917 + done
13918 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
12746
12747 if test "$libpcre" = "yes"; then :
12748
12749  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_pcre_h" = x""yes; then :
12751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12752 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12753 if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12754  $as_echo_n "(cached) " >&6
12755 else
12756  ac_check_lib_save_LIBS=$LIBS
12757 LIBS="-lpcre  $LIBS"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h.  */
12760
12761 /* Override any GCC internal prototype to avoid an error.
12762   Use char because int might match the return type of a GCC
12763   builtin and then its argument prototype would still apply.  */
12764 #ifdef __cplusplus
12765 extern "C"
12766 #endif
12767 char pcre_study ();
12768 int
12769 main ()
12770 {
12771 return pcre_study ();
12772  ;
12773  return 0;
12774 }
12775 _ACEOF
12776 if ac_fn_c_try_link "$LINENO"; then :
12777  ac_cv_lib_pcre_pcre_study=yes
13920   else
13921 <  ac_cv_lib_pcre_pcre_study=no
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922   fi
13923 < rm -f core conftest.err conftest.$ac_objext \
13924 <    conftest$ac_exeext conftest.$ac_ext
12783 < LIBS=$ac_check_lib_save_LIBS
13923 > rm conftest.$ac_ext
13924 > LIBS=$ac_func_search_save_LIBS
13925   fi
13926 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13927 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13928 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13929 <
13930 <      LIBS="-lpcre $LIBS"
12790 <
12791 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929 > if test "$ac_res" != no; then :
13930 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933  
12794 else
12795  libpcre=no
13934   fi
13935  
12798
12799 else
12800  libpcre=no
13936   fi
13937  
13938  
12804
12805 fi
12806 if test "$libpcre" = yes; then
12807  ENABLE_PCRE_TRUE=
12808  ENABLE_PCRE_FALSE='#'
12809 else
12810  ENABLE_PCRE_TRUE='#'
12811  ENABLE_PCRE_FALSE=
13939   fi
13940  
13941  
# Line 12852 | Line 13979 | if test "$cf_enable_openssl" != "no"; th
13979    fi
13980  
13981        if test ! -z "$cf_openssl_basedir"; then
12855    LIBS="-lcrypto -lssl $LIBS"
13982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13983   $as_echo "$cf_openssl_basedir" >&6; }
13984      cf_enable_openssl="yes"
12859
12860 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12861
13985    else
13986      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13987   $as_echo "not found. Please check your path." >&6; }
# Line 12871 | Line 13994 | $as_echo "disabled" >&6; }
13994   fi
13995  
13996   if test "$cf_enable_openssl" != "no"; then :
13997 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13998 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13999    if test "$cross_compiling" = yes; then :
14000    cf_openssl_version_ok=no
14001   else
14002    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003   /* end confdefs.h.  */
14004  
14005 +
14006      #include <openssl/opensslv.h>
14007      #include <stdlib.h>
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012    ;
14013    return 0;
14014   }
# Line 12905 | Line 14029 | $as_echo "found" >&6; }
14029  
14030      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14032 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033    $as_echo_n "(cached) " >&6
14034   else
14035    ac_check_lib_save_LIBS=$LIBS
# Line 12939 | Line 14063 | LIBS=$ac_check_lib_save_LIBS
14063   fi
14064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14066 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067    cat >>confdefs.h <<_ACEOF
14068   #define HAVE_LIBCRYPTO 1
14069   _ACEOF
# Line 12949 | Line 14073 | _ACEOF
14073   fi
14074  
14075      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 <  for ac_func in EVP_bf_cfb           \
14077 <                      EVP_cast5_cfb        \
14078 <                      EVP_idea_cfb         \
14079 <                      EVP_rc5_32_12_16_cfb \
14080 <                      EVP_des_ede3_cfb     \
14081 <                      EVP_des_cfb
14082 < do :
14083 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14084 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14085 < eval as_val=\$$as_ac_var
14086 <   if test "x$as_val" = x""yes; then :
14076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079 >  $as_echo_n "(cached) " >&6
14080 > else
14081 >  ac_check_lib_save_LIBS=$LIBS
14082 > LIBS="-lssl  $LIBS"
14083 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 > /* end confdefs.h.  */
14085 >
14086 > /* Override any GCC internal prototype to avoid an error.
14087 >   Use char because int might match the return type of a GCC
14088 >   builtin and then its argument prototype would still apply.  */
14089 > #ifdef __cplusplus
14090 > extern "C"
14091 > #endif
14092 > char SSL_connect ();
14093 > int
14094 > main ()
14095 > {
14096 > return SSL_connect ();
14097 >  ;
14098 >  return 0;
14099 > }
14100 > _ACEOF
14101 > if ac_fn_c_try_link "$LINENO"; then :
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103 > else
14104 >  ac_cv_lib_ssl_SSL_connect=no
14105 > fi
14106 > rm -f core conftest.err conftest.$ac_objext \
14107 >    conftest$ac_exeext conftest.$ac_ext
14108 > LIBS=$ac_check_lib_save_LIBS
14109 > fi
14110 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113    cat >>confdefs.h <<_ACEOF
14114 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14114 > #define HAVE_LIBSSL 1
14115   _ACEOF
14116  
14117 +  LIBS="-lssl $LIBS"
14118 +
14119   fi
12968 done
14120  
14121   fi
14122  
# Line 12976 | Line 14127 | $as_echo "no - OpenSSL support disabled"
14127   fi
14128   fi
14129  
14130 < if test "$cf_enable_openssl" = yes; then
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131    ENABLE_SSL_TRUE=
14132    ENABLE_SSL_FALSE='#'
14133   else
# Line 13001 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 < # Check whether --enable-small-net was given.
13005 < if test "${enable_small_net+set}" = set; then :
13006 <  enableval=$enable_small_net; small_net=$enableval
13007 < else
13008 <  small_net=no
13009 < fi
13010 <
13011 <
13012 < if test "$small_net" = "yes"; then :
13013 <
13014 <
13015 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13016 <
13017 <
13018 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14155 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
14157  
14158 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14158 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
14160  
14161 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14161 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
14163  
14164 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14164 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
14166  
14167 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14167 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
14169  
14170 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13034 <
13035 <
13036 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13037 <
13038 <
13039 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13040 <
13041 <
13042 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13043 <
13044 < else
14170 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
14172  
14173 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
13048 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14175  
14176 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
13051 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14178  
14179 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
13054 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14181  
14182 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
13057 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13060 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
13063 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14190  
14191 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
13066 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14193  
14194 <
13069 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13070 <
13071 <
13072 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13073 <
13074 <
13075 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13076 <
13077 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13095 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
13098  # Check whether --enable-rtsigio was given.
13099 if test "${enable_rtsigio+set}" = set; then :
13100  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13101 fi
13102
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
13108  # Check whether --enable-select was given.
13109 if test "${enable_select+set}" = set; then :
13110  enableval=$enable_select; desired_iopoll_mechanism="select"
13111 fi
13112
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 13178 | Line 14285 | cat >>confdefs.h <<_ACEOF
14285   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14286   _ACEOF
14287  
13181  if test "$cross_compiling" = yes; then :
13182  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13184 as_fn_error "cannot run test program while cross compiling
13185 See \`config.log' for more details." "$LINENO" 5; }
13186 else
14288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289   /* end confdefs.h.  */
13189
14290   #include <sys/epoll.h>
14291 < #include <sys/syscall.h>
14292 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14293 < #if !defined(__NR_epoll_create)
14294 < #if defined(__ia64__)
14295 < #define __NR_epoll_create 1243
14296 < #elif defined(__x86_64__)
14297 < #define __NR_epoll_create 214
13198 < #elif defined(__sparc64__) || defined(__sparc__)
13199 < #define __NR_epoll_create 193
13200 < #elif defined(__s390__) || defined(__m68k__)
13201 < #define __NR_epoll_create 249
13202 < #elif defined(__ppc64__) || defined(__ppc__)
13203 < #define __NR_epoll_create 236
13204 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13205 < #define __NR_epoll_create 224
13206 < #elif defined(__alpha__)
13207 < #define __NR_epoll_create 407
13208 < #elif defined(__sh64__)
13209 < #define __NR_epoll_create 282
13210 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13211 < #define __NR_epoll_create 254
13212 < #else
13213 < #error No system call numbers defined for epoll family.
13214 < #endif
13215 < #endif
13216 < _syscall1(int, epoll_create, int, size)
13217 < #endif
13218 < main() { return epoll_create(256) == -1 ? 1 : 0; }
13219 <
14291 > int
14292 > main ()
14293 > {
14294 > epol_create(256);
14295 >  ;
14296 >  return 0;
14297 > }
14298   _ACEOF
14299 < if ac_fn_c_try_run "$LINENO"; then :
14299 > if ac_fn_c_try_link "$LINENO"; then :
14300    is_epoll_mechanism_available="yes"
14301   else
14302    is_epoll_mechanism_available="no"
14303   fi
14304 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14305 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13228 < fi
13229 <
14304 > rm -f core conftest.err conftest.$ac_objext \
14305 >    conftest$ac_exeext conftest.$ac_ext
14306        iopoll_mechanism_devpoll=3
14307  
14308   cat >>confdefs.h <<_ACEOF
# Line 13277 | Line 14353 | rm -f core conftest.err conftest.$ac_obj
14353   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14354  
14355    fi
14356 <      iopoll_mechanism_rtsigio=4
13281 <
13282 < cat >>confdefs.h <<_ACEOF
13283 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13284 < _ACEOF
13285 <
13286 <  if test "$cross_compiling" = yes; then :
13287 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13288 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13289 < as_fn_error "cannot run test program while cross compiling
13290 < See \`config.log' for more details." "$LINENO" 5; }
13291 < else
13292 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 < /* end confdefs.h.  */
13294 <
13295 < #include <fcntl.h>
13296 < #ifdef F_SETSIG
13297 < main () { return 0; } /* F_SETSIG defined */
13298 < #else
13299 < main () { return 1; } /* F_SETSIG not defined */
13300 < #endif
13301 <
13302 < int
13303 < main ()
13304 < {
13305 <
13306 <  ;
13307 <  return 0;
13308 < }
13309 < _ACEOF
13310 < if ac_fn_c_try_run "$LINENO"; then :
13311 <  is_rtsigio_mechanism_available="yes"
13312 < else
13313 <  is_rtsigio_mechanism_available="no"
13314 < fi
13315 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13316 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13317 < fi
13318 <
13319 <      iopoll_mechanism_poll=5
14356 >      iopoll_mechanism_poll=4
14357  
14358   cat >>confdefs.h <<_ACEOF
14359   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13370 | Line 14407 | else
14407   fi
14408   rm -f core conftest.err conftest.$ac_objext \
14409      conftest$ac_exeext conftest.$ac_ext
13373      iopoll_mechanism_select=6
13374
13375 cat >>confdefs.h <<_ACEOF
13376 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13377 _ACEOF
13378
13379  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h.  */
13381 /* Define select to an innocuous variant, in case <limits.h> declares select.
13382   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13383 #define select innocuous_select
13384
13385 /* System header to define __stub macros and hopefully few prototypes,
13386    which can conflict with char select (); below.
13387    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13388    <limits.h> exists even on freestanding compilers.  */
13389
13390 #ifdef __STDC__
13391 # include <limits.h>
13392 #else
13393 # include <assert.h>
13394 #endif
13395
13396 #undef select
13397
13398 /* Override any GCC internal prototype to avoid an error.
13399   Use char because int might match the return type of a GCC
13400   builtin and then its argument prototype would still apply.  */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char select ();
13405 /* The GNU C library defines this for functions which it implements
13406    to always fail with ENOSYS.  Some functions are actually named
13407    something starting with __ and the normal name is an alias.  */
13408 #if defined __stub_select || defined __stub___select
13409 choke me
13410 #endif
13411
13412 int
13413 main ()
13414 {
13415 return select ();
13416  ;
13417  return 0;
13418 }
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421  is_select_mechanism_available="yes"
13422 else
13423  is_select_mechanism_available="no"
13424 fi
13425 rm -f core conftest.err conftest.$ac_objext \
13426    conftest$ac_exeext conftest.$ac_ext
14410        optimal_iopoll_mechanism="none"
14411 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14411 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14412      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14413      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14414        optimal_iopoll_mechanism="$mechanism"
# Line 13436 | Line 14419 | rm -f core conftest.err conftest.$ac_obj
14419      if test "$optimal_iopoll_mechanism" = "none" ; then
14420        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14421   $as_echo "none" >&6; }
14422 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14422 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14423      else
14424        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14425        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13451 | Line 14434 | $as_echo "$selected_iopoll_mechanism" >&
14434      else
14435        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14436   $as_echo "none" >&6; }
14437 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14437 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14438      fi
14439    fi
14440        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13462 | Line 14445 | _ACEOF
14445  
14446  
14447  
14448 +  # Check whether --enable-debugging was given.
14449 + if test "${enable_debugging+set}" = set; then :
14450 +  enableval=$enable_debugging; debugging="$enableval"
14451 + else
14452 +  debugging="no"
14453 + fi
14454 +
14455 +  if test "$debugging" = "yes" ; then
14456 +    CFLAGS="-Wall -g -O0"
14457 +  fi
14458 +
14459  
14460 < # Check whether --with-nicklen was given.
14461 < if test "${with_nicklen+set}" = set; then :
14462 <  withval=$with_nicklen; nicklen="$withval"
14460 >  # Check whether --enable-warnings was given.
14461 > if test "${enable_warnings+set}" = set; then :
14462 >  enableval=$enable_warnings; warnings="$enableval"
14463   else
14464 <  nicklen="9"
14464 >  warnings="no"
14465   fi
14466  
14467 +  if test "$warnings" = "yes" ; then
14468  
14469 < cat >>confdefs.h <<_ACEOF
14470 < #define NICKLEN ($nicklen+1)
14469 >
14470 >
14471 >
14472 > for flag in -Wall; do
14473 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14474 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14475 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14476 > if eval \${$as_CACHEVAR+:} false; then :
14477 >  $as_echo_n "(cached) " >&6
14478 > else
14479 >
14480 >  ax_check_save_flags=$CFLAGS
14481 >  CFLAGS="$CFLAGS  $flag"
14482 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 > /* end confdefs.h.  */
14484 >
14485 > int
14486 > main ()
14487 > {
14488 >
14489 >  ;
14490 >  return 0;
14491 > }
14492   _ACEOF
14493 + if ac_fn_c_try_compile "$LINENO"; then :
14494 +  eval "$as_CACHEVAR=yes"
14495 + else
14496 +  eval "$as_CACHEVAR=no"
14497 + fi
14498 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 +  CFLAGS=$ax_check_save_flags
14500 + fi
14501 + eval ac_res=\$$as_CACHEVAR
14502 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14503 + $as_echo "$ac_res" >&6; }
14504 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14505 +  if ${CFLAGS+:} false; then :
14506 +  case " $CFLAGS " in
14507 +    *" $flag "*)
14508 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14509 +  (: CFLAGS already contains $flag) 2>&5
14510 +  ac_status=$?
14511 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512 +  test $ac_status = 0; }
14513 +      ;;
14514 +    *)
14515 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14516 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14517 +  ac_status=$?
14518 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14519 +  test $ac_status = 0; }
14520 +      CFLAGS="$CFLAGS $flag"
14521 +      ;;
14522 +   esac
14523 + else
14524 +  CFLAGS="$flag"
14525 + fi
14526 +
14527 + else
14528 +  :
14529 + fi
14530 +
14531 + done
14532  
14533  
14534  
14535  
14536 < # Check whether --with-topiclen was given.
14537 < if test "${with_topiclen+set}" = set; then :
14538 <  withval=$with_topiclen; topiclen="$withval"
14536 >
14537 > for flag in -Wextra; do
14538 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14539 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14540 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14541 > if eval \${$as_CACHEVAR+:} false; then :
14542 >  $as_echo_n "(cached) " >&6
14543 > else
14544 >
14545 >  ax_check_save_flags=$CFLAGS
14546 >  CFLAGS="$CFLAGS  $flag"
14547 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 > /* end confdefs.h.  */
14549 >
14550 > int
14551 > main ()
14552 > {
14553 >
14554 >  ;
14555 >  return 0;
14556 > }
14557 > _ACEOF
14558 > if ac_fn_c_try_compile "$LINENO"; then :
14559 >  eval "$as_CACHEVAR=yes"
14560 > else
14561 >  eval "$as_CACHEVAR=no"
14562 > fi
14563 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14564 >  CFLAGS=$ax_check_save_flags
14565 > fi
14566 > eval ac_res=\$$as_CACHEVAR
14567 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14568 > $as_echo "$ac_res" >&6; }
14569 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14570 >  if ${CFLAGS+:} false; then :
14571 >  case " $CFLAGS " in
14572 >    *" $flag "*)
14573 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14574 >  (: CFLAGS already contains $flag) 2>&5
14575 >  ac_status=$?
14576 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14577 >  test $ac_status = 0; }
14578 >      ;;
14579 >    *)
14580 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14581 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14582 >  ac_status=$?
14583 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14584 >  test $ac_status = 0; }
14585 >      CFLAGS="$CFLAGS $flag"
14586 >      ;;
14587 >   esac
14588 > else
14589 >  CFLAGS="$flag"
14590 > fi
14591 >
14592   else
14593 <  topiclen="160"
14593 >  :
14594   fi
14595  
14596 + done
14597 +
14598  
14599 < cat >>confdefs.h <<_ACEOF
14600 < #define TOPICLEN ($topiclen)
14599 >
14600 >
14601 >
14602 > for flag in -Wno-unused; do
14603 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14604 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14605 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14606 > if eval \${$as_CACHEVAR+:} false; then :
14607 >  $as_echo_n "(cached) " >&6
14608 > else
14609 >
14610 >  ax_check_save_flags=$CFLAGS
14611 >  CFLAGS="$CFLAGS  $flag"
14612 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 > /* end confdefs.h.  */
14614 >
14615 > int
14616 > main ()
14617 > {
14618 >
14619 >  ;
14620 >  return 0;
14621 > }
14622   _ACEOF
14623 + if ac_fn_c_try_compile "$LINENO"; then :
14624 +  eval "$as_CACHEVAR=yes"
14625 + else
14626 +  eval "$as_CACHEVAR=no"
14627 + fi
14628 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 +  CFLAGS=$ax_check_save_flags
14630 + fi
14631 + eval ac_res=\$$as_CACHEVAR
14632 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14633 + $as_echo "$ac_res" >&6; }
14634 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14635 +  if ${CFLAGS+:} false; then :
14636 +  case " $CFLAGS " in
14637 +    *" $flag "*)
14638 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14639 +  (: CFLAGS already contains $flag) 2>&5
14640 +  ac_status=$?
14641 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14642 +  test $ac_status = 0; }
14643 +      ;;
14644 +    *)
14645 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14646 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14647 +  ac_status=$?
14648 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 +  test $ac_status = 0; }
14650 +      CFLAGS="$CFLAGS $flag"
14651 +      ;;
14652 +   esac
14653 + else
14654 +  CFLAGS="$flag"
14655 + fi
14656 +
14657 + else
14658 +  :
14659 + fi
14660 +
14661 + done
14662 +
14663 +
14664  
14665  
14666  
14667 + for flag in -Wcast-qual; do
14668 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14669 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14670 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14671 + if eval \${$as_CACHEVAR+:} false; then :
14672 +  $as_echo_n "(cached) " >&6
14673 + else
14674 +
14675 +  ax_check_save_flags=$CFLAGS
14676 +  CFLAGS="$CFLAGS  $flag"
14677 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 + /* end confdefs.h.  */
14679 +
14680 + int
14681 + main ()
14682 + {
14683 +
14684 +  ;
14685 +  return 0;
14686 + }
14687 + _ACEOF
14688 + if ac_fn_c_try_compile "$LINENO"; then :
14689 +  eval "$as_CACHEVAR=yes"
14690 + else
14691 +  eval "$as_CACHEVAR=no"
14692 + fi
14693 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 +  CFLAGS=$ax_check_save_flags
14695 + fi
14696 + eval ac_res=\$$as_CACHEVAR
14697 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14698 + $as_echo "$ac_res" >&6; }
14699 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14700 +  if ${CFLAGS+:} false; then :
14701 +  case " $CFLAGS " in
14702 +    *" $flag "*)
14703 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14704 +  (: CFLAGS already contains $flag) 2>&5
14705 +  ac_status=$?
14706 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 +  test $ac_status = 0; }
14708 +      ;;
14709 +    *)
14710 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14711 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14712 +  ac_status=$?
14713 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14714 +  test $ac_status = 0; }
14715 +      CFLAGS="$CFLAGS $flag"
14716 +      ;;
14717 +   esac
14718 + else
14719 +  CFLAGS="$flag"
14720 + fi
14721  
13496 # Check whether --with-syslog-facility was given.
13497 if test "${with_syslog_facility+set}" = set; then :
13498  withval=$with_syslog_facility; syslog_facility="$withval"
14722   else
14723 <  syslog_facility="LOG_LOCAL4"
14723 >  :
14724   fi
14725  
14726 + done
14727  
14728 < cat >>confdefs.h <<_ACEOF
14729 < #define LOG_FACILITY $syslog_facility
14728 >
14729 >
14730 >
14731 >
14732 > for flag in -Wcast-align; do
14733 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14734 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14735 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14736 > if eval \${$as_CACHEVAR+:} false; then :
14737 >  $as_echo_n "(cached) " >&6
14738 > else
14739 >
14740 >  ax_check_save_flags=$CFLAGS
14741 >  CFLAGS="$CFLAGS  $flag"
14742 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 > /* end confdefs.h.  */
14744 >
14745 > int
14746 > main ()
14747 > {
14748 >
14749 >  ;
14750 >  return 0;
14751 > }
14752   _ACEOF
14753 + if ac_fn_c_try_compile "$LINENO"; then :
14754 +  eval "$as_CACHEVAR=yes"
14755 + else
14756 +  eval "$as_CACHEVAR=no"
14757 + fi
14758 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 +  CFLAGS=$ax_check_save_flags
14760 + fi
14761 + eval ac_res=\$$as_CACHEVAR
14762 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14763 + $as_echo "$ac_res" >&6; }
14764 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14765 +  if ${CFLAGS+:} false; then :
14766 +  case " $CFLAGS " in
14767 +    *" $flag "*)
14768 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14769 +  (: CFLAGS already contains $flag) 2>&5
14770 +  ac_status=$?
14771 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 +  test $ac_status = 0; }
14773 +      ;;
14774 +    *)
14775 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14776 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14777 +  ac_status=$?
14778 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779 +  test $ac_status = 0; }
14780 +      CFLAGS="$CFLAGS $flag"
14781 +      ;;
14782 +   esac
14783 + else
14784 +  CFLAGS="$flag"
14785 + fi
14786  
14787 + else
14788 +  :
14789 + fi
14790  
14791 + done
14792 +
14793 +
14794 +
14795 +
14796 +
14797 + for flag in -Wbad-function-cast; do
14798 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14799 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14800 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14801 + if eval \${$as_CACHEVAR+:} false; then :
14802 +  $as_echo_n "(cached) " >&6
14803 + else
14804 +
14805 +  ax_check_save_flags=$CFLAGS
14806 +  CFLAGS="$CFLAGS  $flag"
14807 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 + /* end confdefs.h.  */
14809 +
14810 + int
14811 + main ()
14812 + {
14813 +
14814 +  ;
14815 +  return 0;
14816 + }
14817 + _ACEOF
14818 + if ac_fn_c_try_compile "$LINENO"; then :
14819 +  eval "$as_CACHEVAR=yes"
14820 + else
14821 +  eval "$as_CACHEVAR=no"
14822 + fi
14823 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 +  CFLAGS=$ax_check_save_flags
14825 + fi
14826 + eval ac_res=\$$as_CACHEVAR
14827 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14828 + $as_echo "$ac_res" >&6; }
14829 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14830 +  if ${CFLAGS+:} false; then :
14831 +  case " $CFLAGS " in
14832 +    *" $flag "*)
14833 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14834 +  (: CFLAGS already contains $flag) 2>&5
14835 +  ac_status=$?
14836 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14837 +  test $ac_status = 0; }
14838 +      ;;
14839 +    *)
14840 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14841 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14842 +  ac_status=$?
14843 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 +  test $ac_status = 0; }
14845 +      CFLAGS="$CFLAGS $flag"
14846 +      ;;
14847 +   esac
14848 + else
14849 +  CFLAGS="$flag"
14850 + fi
14851  
13510  # Check whether --enable-efnet was given.
13511 if test "${enable_efnet+set}" = set; then :
13512  enableval=$enable_efnet; efnet="$enableval"
14852   else
14853 <  efnet="no"
14853 >  :
14854   fi
14855  
14856 <  if test "$efnet" = "yes" ; then
13518 <                use_efnet="yes"
14856 > done
14857  
13520 $as_echo "#define EFNET 1" >>confdefs.h
14858  
14859  
13523 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14860  
14861 <        else
14862 <                use_efnet="no"
14863 <  fi
14864 <   if test "$use_efnet" = "yes"; then
14865 <  EFNET_TRUE=
14866 <  EFNET_FALSE='#'
14861 >
14862 > for flag in -Wlogical-op; do
14863 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14864 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14865 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14866 > if eval \${$as_CACHEVAR+:} false; then :
14867 >  $as_echo_n "(cached) " >&6
14868 > else
14869 >
14870 >  ax_check_save_flags=$CFLAGS
14871 >  CFLAGS="$CFLAGS  $flag"
14872 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 > /* end confdefs.h.  */
14874 >
14875 > int
14876 > main ()
14877 > {
14878 >
14879 >  ;
14880 >  return 0;
14881 > }
14882 > _ACEOF
14883 > if ac_fn_c_try_compile "$LINENO"; then :
14884 >  eval "$as_CACHEVAR=yes"
14885   else
14886 <  EFNET_TRUE='#'
13533 <  EFNET_FALSE=
14886 >  eval "$as_CACHEVAR=no"
14887   fi
14888 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 +  CFLAGS=$ax_check_save_flags
14890 + fi
14891 + eval ac_res=\$$as_CACHEVAR
14892 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14893 + $as_echo "$ac_res" >&6; }
14894 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14895 +  if ${CFLAGS+:} false; then :
14896 +  case " $CFLAGS " in
14897 +    *" $flag "*)
14898 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 +  (: CFLAGS already contains $flag) 2>&5
14900 +  ac_status=$?
14901 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 +  test $ac_status = 0; }
14903 +      ;;
14904 +    *)
14905 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14906 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14907 +  ac_status=$?
14908 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 +  test $ac_status = 0; }
14910 +      CFLAGS="$CFLAGS $flag"
14911 +      ;;
14912 +   esac
14913 + else
14914 +  CFLAGS="$flag"
14915 + fi
14916 +
14917 + else
14918 +  :
14919 + fi
14920 +
14921 + done
14922 +
14923  
14924  
14925  
14926 <  # Check whether --enable-halfops was given.
14927 < if test "${enable_halfops+set}" = set; then :
14928 <  enableval=$enable_halfops; halfops="$enableval"
14926 >
14927 > for flag in -Wmissing-declarations; do
14928 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14929 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14930 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14931 > if eval \${$as_CACHEVAR+:} false; then :
14932 >  $as_echo_n "(cached) " >&6
14933   else
14934 <  halfops="no"
14934 >
14935 >  ax_check_save_flags=$CFLAGS
14936 >  CFLAGS="$CFLAGS  $flag"
14937 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 > /* end confdefs.h.  */
14939 >
14940 > int
14941 > main ()
14942 > {
14943 >
14944 >  ;
14945 >  return 0;
14946 > }
14947 > _ACEOF
14948 > if ac_fn_c_try_compile "$LINENO"; then :
14949 >  eval "$as_CACHEVAR=yes"
14950 > else
14951 >  eval "$as_CACHEVAR=no"
14952 > fi
14953 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 >  CFLAGS=$ax_check_save_flags
14955 > fi
14956 > eval ac_res=\$$as_CACHEVAR
14957 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14958 > $as_echo "$ac_res" >&6; }
14959 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14960 >  if ${CFLAGS+:} false; then :
14961 >  case " $CFLAGS " in
14962 >    *" $flag "*)
14963 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14964 >  (: CFLAGS already contains $flag) 2>&5
14965 >  ac_status=$?
14966 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 >  test $ac_status = 0; }
14968 >      ;;
14969 >    *)
14970 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14971 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14972 >  ac_status=$?
14973 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14974 >  test $ac_status = 0; }
14975 >      CFLAGS="$CFLAGS $flag"
14976 >      ;;
14977 >   esac
14978 > else
14979 >  CFLAGS="$flag"
14980 > fi
14981 >
14982 > else
14983 >  :
14984   fi
14985  
14986 <  if test "$halfops" = "yes" ; then
14986 > done
14987  
13547 $as_echo "#define HALFOPS 1" >>confdefs.h
14988  
13549  fi
14989  
14990  
14991 <  # Check whether --enable-debugging was given.
14992 < if test "${enable_debugging+set}" = set; then :
14993 <  enableval=$enable_debugging; debugging="$enableval"
14991 >
14992 > for flag in -Wmissing-include-dirs; do
14993 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14994 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14995 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14996 > if eval \${$as_CACHEVAR+:} false; then :
14997 >  $as_echo_n "(cached) " >&6
14998   else
14999 <  debugging="no"
14999 >
15000 >  ax_check_save_flags=$CFLAGS
15001 >  CFLAGS="$CFLAGS  $flag"
15002 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 > /* end confdefs.h.  */
15004 >
15005 > int
15006 > main ()
15007 > {
15008 >
15009 >  ;
15010 >  return 0;
15011 > }
15012 > _ACEOF
15013 > if ac_fn_c_try_compile "$LINENO"; then :
15014 >  eval "$as_CACHEVAR=yes"
15015 > else
15016 >  eval "$as_CACHEVAR=no"
15017 > fi
15018 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15019 >  CFLAGS=$ax_check_save_flags
15020 > fi
15021 > eval ac_res=\$$as_CACHEVAR
15022 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15023 > $as_echo "$ac_res" >&6; }
15024 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15025 >  if ${CFLAGS+:} false; then :
15026 >  case " $CFLAGS " in
15027 >    *" $flag "*)
15028 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15029 >  (: CFLAGS already contains $flag) 2>&5
15030 >  ac_status=$?
15031 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 >  test $ac_status = 0; }
15033 >      ;;
15034 >    *)
15035 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15036 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15037 >  ac_status=$?
15038 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15039 >  test $ac_status = 0; }
15040 >      CFLAGS="$CFLAGS $flag"
15041 >      ;;
15042 >   esac
15043 > else
15044 >  CFLAGS="$flag"
15045   fi
15046  
15047 <  if test "$debugging" = "yes" ; then
15047 > else
15048 >  :
15049 > fi
15050  
15051 < $as_echo "#define DEBUG 1" >>confdefs.h
15051 > done
15052  
13563    CFLAGS="-Wall -g -O0"
13564  else
15053  
13566 $as_echo "#define NDEBUG 1" >>confdefs.h
15054  
13568  fi
15055  
15056  
15057 <  # Check whether --enable-warnings was given.
15058 < if test "${enable_warnings+set}" = set; then :
15059 <  enableval=$enable_warnings; warnings="$enableval"
15057 > for flag in -Wmissing-prototypes; do
15058 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15059 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15060 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15061 > if eval \${$as_CACHEVAR+:} false; then :
15062 >  $as_echo_n "(cached) " >&6
15063   else
15064 <  warnings="no"
15064 >
15065 >  ax_check_save_flags=$CFLAGS
15066 >  CFLAGS="$CFLAGS  $flag"
15067 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 > /* end confdefs.h.  */
15069 >
15070 > int
15071 > main ()
15072 > {
15073 >
15074 >  ;
15075 >  return 0;
15076 > }
15077 > _ACEOF
15078 > if ac_fn_c_try_compile "$LINENO"; then :
15079 >  eval "$as_CACHEVAR=yes"
15080 > else
15081 >  eval "$as_CACHEVAR=no"
15082 > fi
15083 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 >  CFLAGS=$ax_check_save_flags
15085 > fi
15086 > eval ac_res=\$$as_CACHEVAR
15087 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15088 > $as_echo "$ac_res" >&6; }
15089 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15090 >  if ${CFLAGS+:} false; then :
15091 >  case " $CFLAGS " in
15092 >    *" $flag "*)
15093 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15094 >  (: CFLAGS already contains $flag) 2>&5
15095 >  ac_status=$?
15096 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097 >  test $ac_status = 0; }
15098 >      ;;
15099 >    *)
15100 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15101 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15102 >  ac_status=$?
15103 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 >  test $ac_status = 0; }
15105 >      CFLAGS="$CFLAGS $flag"
15106 >      ;;
15107 >   esac
15108 > else
15109 >  CFLAGS="$flag"
15110   fi
15111  
15112 <  if test "$warnings" = "yes" ; then
15113 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15114 <  fi
15112 > else
15113 >  :
15114 > fi
15115  
15116 + done
15117  
15118 <  for ac_header in syslog.h sys/syslog.h
15119 < do :
15120 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15121 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15122 < eval as_val=\$$as_ac_Header
15123 <   if test "x$as_val" = x""yes; then :
15124 <  cat >>confdefs.h <<_ACEOF
15125 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15118 >
15119 >
15120 >
15121 >
15122 > for flag in -Wnested-externs; do
15123 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15124 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15125 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15126 > if eval \${$as_CACHEVAR+:} false; then :
15127 >  $as_echo_n "(cached) " >&6
15128 > else
15129 >
15130 >  ax_check_save_flags=$CFLAGS
15131 >  CFLAGS="$CFLAGS  $flag"
15132 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 > /* end confdefs.h.  */
15134 >
15135 > int
15136 > main ()
15137 > {
15138 >
15139 >  ;
15140 >  return 0;
15141 > }
15142   _ACEOF
15143 + if ac_fn_c_try_compile "$LINENO"; then :
15144 +  eval "$as_CACHEVAR=yes"
15145 + else
15146 +  eval "$as_CACHEVAR=no"
15147 + fi
15148 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15149 +  CFLAGS=$ax_check_save_flags
15150 + fi
15151 + eval ac_res=\$$as_CACHEVAR
15152 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15153 + $as_echo "$ac_res" >&6; }
15154 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15155 +  if ${CFLAGS+:} false; then :
15156 +  case " $CFLAGS " in
15157 +    *" $flag "*)
15158 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15159 +  (: CFLAGS already contains $flag) 2>&5
15160 +  ac_status=$?
15161 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15162 +  test $ac_status = 0; }
15163 +      ;;
15164 +    *)
15165 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15166 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15167 +  ac_status=$?
15168 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15169 +  test $ac_status = 0; }
15170 +      CFLAGS="$CFLAGS $flag"
15171 +      ;;
15172 +   esac
15173 + else
15174 +  CFLAGS="$flag"
15175 + fi
15176  
15177 + else
15178 +  :
15179   fi
15180  
15181   done
15182  
15183 <  # Check whether --enable-syslog was given.
15184 < if test "${enable_syslog+set}" = set; then :
15185 <  enableval=$enable_syslog; syslog="$enableval"
15186 < else
15187 <  syslog="no"
15183 >
15184 >
15185 >
15186 >
15187 > for flag in -Wpointer-arith; do
15188 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15189 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15190 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15191 > if eval \${$as_CACHEVAR+:} false; then :
15192 >  $as_echo_n "(cached) " >&6
15193 > else
15194 >
15195 >  ax_check_save_flags=$CFLAGS
15196 >  CFLAGS="$CFLAGS  $flag"
15197 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 > /* end confdefs.h.  */
15199 >
15200 > int
15201 > main ()
15202 > {
15203 >
15204 >  ;
15205 >  return 0;
15206 > }
15207 > _ACEOF
15208 > if ac_fn_c_try_compile "$LINENO"; then :
15209 >  eval "$as_CACHEVAR=yes"
15210 > else
15211 >  eval "$as_CACHEVAR=no"
15212 > fi
15213 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 >  CFLAGS=$ax_check_save_flags
15215 > fi
15216 > eval ac_res=\$$as_CACHEVAR
15217 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15218 > $as_echo "$ac_res" >&6; }
15219 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15220 >  if ${CFLAGS+:} false; then :
15221 >  case " $CFLAGS " in
15222 >    *" $flag "*)
15223 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15224 >  (: CFLAGS already contains $flag) 2>&5
15225 >  ac_status=$?
15226 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15227 >  test $ac_status = 0; }
15228 >      ;;
15229 >    *)
15230 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15231 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15232 >  ac_status=$?
15233 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15234 >  test $ac_status = 0; }
15235 >      CFLAGS="$CFLAGS $flag"
15236 >      ;;
15237 >   esac
15238 > else
15239 >  CFLAGS="$flag"
15240   fi
15241  
15242 <  if test "$enableval" != "no" ; then
15243 <    for option in $enableval ; do
15244 <      case "$option" in
15245 <        users)
15246 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15247 < ;;
15248 <        oper)
15249 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15250 < ;;
15251 <        yes) : ;;
15252 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15253 <      esac
15254 <    done
15242 > else
15243 >  :
15244 > fi
15245 >
15246 > done
15247 >
15248 >
15249 >
15250 >
15251 >
15252 > for flag in -Wredundant-decls; do
15253 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15254 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15255 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15256 > if eval \${$as_CACHEVAR+:} false; then :
15257 >  $as_echo_n "(cached) " >&6
15258 > else
15259 >
15260 >  ax_check_save_flags=$CFLAGS
15261 >  CFLAGS="$CFLAGS  $flag"
15262 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 > /* end confdefs.h.  */
15264 >
15265 > int
15266 > main ()
15267 > {
15268 >
15269 >  ;
15270 >  return 0;
15271 > }
15272 > _ACEOF
15273 > if ac_fn_c_try_compile "$LINENO"; then :
15274 >  eval "$as_CACHEVAR=yes"
15275 > else
15276 >  eval "$as_CACHEVAR=no"
15277 > fi
15278 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15279 >  CFLAGS=$ax_check_save_flags
15280 > fi
15281 > eval ac_res=\$$as_CACHEVAR
15282 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15283 > $as_echo "$ac_res" >&6; }
15284 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15285 >  if ${CFLAGS+:} false; then :
15286 >  case " $CFLAGS " in
15287 >    *" $flag "*)
15288 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15289 >  (: CFLAGS already contains $flag) 2>&5
15290 >  ac_status=$?
15291 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15292 >  test $ac_status = 0; }
15293 >      ;;
15294 >    *)
15295 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15296 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15297 >  ac_status=$?
15298 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 >  test $ac_status = 0; }
15300 >      CFLAGS="$CFLAGS $flag"
15301 >      ;;
15302 >   esac
15303 > else
15304 >  CFLAGS="$flag"
15305 > fi
15306 >
15307 > else
15308 >  :
15309 > fi
15310 >
15311 > done
15312 >
15313 >
15314 >
15315 >
15316 >
15317 > for flag in -Wshadow; do
15318 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15319 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15320 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15321 > if eval \${$as_CACHEVAR+:} false; then :
15322 >  $as_echo_n "(cached) " >&6
15323 > else
15324 >
15325 >  ax_check_save_flags=$CFLAGS
15326 >  CFLAGS="$CFLAGS  $flag"
15327 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 > /* end confdefs.h.  */
15329 >
15330 > int
15331 > main ()
15332 > {
15333 >
15334 >  ;
15335 >  return 0;
15336 > }
15337 > _ACEOF
15338 > if ac_fn_c_try_compile "$LINENO"; then :
15339 >  eval "$as_CACHEVAR=yes"
15340 > else
15341 >  eval "$as_CACHEVAR=no"
15342 > fi
15343 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 >  CFLAGS=$ax_check_save_flags
15345 > fi
15346 > eval ac_res=\$$as_CACHEVAR
15347 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15348 > $as_echo "$ac_res" >&6; }
15349 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15350 >  if ${CFLAGS+:} false; then :
15351 >  case " $CFLAGS " in
15352 >    *" $flag "*)
15353 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15354 >  (: CFLAGS already contains $flag) 2>&5
15355 >  ac_status=$?
15356 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 >  test $ac_status = 0; }
15358 >      ;;
15359 >    *)
15360 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15361 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15362 >  ac_status=$?
15363 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 >  test $ac_status = 0; }
15365 >      CFLAGS="$CFLAGS $flag"
15366 >      ;;
15367 >   esac
15368 > else
15369 >  CFLAGS="$flag"
15370 > fi
15371 >
15372 > else
15373 >  :
15374 > fi
15375 >
15376 > done
15377 >
15378 >
15379 >
15380 >
15381 >
15382 > for flag in -Wwrite-strings; do
15383 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15384 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15385 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15386 > if eval \${$as_CACHEVAR+:} false; then :
15387 >  $as_echo_n "(cached) " >&6
15388 > else
15389 >
15390 >  ax_check_save_flags=$CFLAGS
15391 >  CFLAGS="$CFLAGS  $flag"
15392 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 > /* end confdefs.h.  */
15394 >
15395 > int
15396 > main ()
15397 > {
15398 >
15399 >  ;
15400 >  return 0;
15401 > }
15402 > _ACEOF
15403 > if ac_fn_c_try_compile "$LINENO"; then :
15404 >  eval "$as_CACHEVAR=yes"
15405 > else
15406 >  eval "$as_CACHEVAR=no"
15407 > fi
15408 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15409 >  CFLAGS=$ax_check_save_flags
15410 > fi
15411 > eval ac_res=\$$as_CACHEVAR
15412 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15413 > $as_echo "$ac_res" >&6; }
15414 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15415 >  if ${CFLAGS+:} false; then :
15416 >  case " $CFLAGS " in
15417 >    *" $flag "*)
15418 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15419 >  (: CFLAGS already contains $flag) 2>&5
15420 >  ac_status=$?
15421 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 >  test $ac_status = 0; }
15423 >      ;;
15424 >    *)
15425 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15426 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15427 >  ac_status=$?
15428 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15429 >  test $ac_status = 0; }
15430 >      CFLAGS="$CFLAGS $flag"
15431 >      ;;
15432 >   esac
15433 > else
15434 >  CFLAGS="$flag"
15435 > fi
15436 >
15437 > else
15438 >  :
15439 > fi
15440 >
15441 > done
15442 >
15443 >
15444 >
15445 >
15446 >
15447 > for flag in -Wundef; do
15448 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15449 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15450 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15451 > if eval \${$as_CACHEVAR+:} false; then :
15452 >  $as_echo_n "(cached) " >&6
15453 > else
15454 >
15455 >  ax_check_save_flags=$CFLAGS
15456 >  CFLAGS="$CFLAGS  $flag"
15457 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 > /* end confdefs.h.  */
15459 >
15460 > int
15461 > main ()
15462 > {
15463 >
15464 >  ;
15465 >  return 0;
15466 > }
15467 > _ACEOF
15468 > if ac_fn_c_try_compile "$LINENO"; then :
15469 >  eval "$as_CACHEVAR=yes"
15470 > else
15471 >  eval "$as_CACHEVAR=no"
15472 > fi
15473 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 >  CFLAGS=$ax_check_save_flags
15475 > fi
15476 > eval ac_res=\$$as_CACHEVAR
15477 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15478 > $as_echo "$ac_res" >&6; }
15479 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15480 >  if ${CFLAGS+:} false; then :
15481 >  case " $CFLAGS " in
15482 >    *" $flag "*)
15483 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15484 >  (: CFLAGS already contains $flag) 2>&5
15485 >  ac_status=$?
15486 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15487 >  test $ac_status = 0; }
15488 >      ;;
15489 >    *)
15490 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15491 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15492 >  ac_status=$?
15493 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 >  test $ac_status = 0; }
15495 >      CFLAGS="$CFLAGS $flag"
15496 >      ;;
15497 >   esac
15498 > else
15499 >  CFLAGS="$flag"
15500 > fi
15501 >
15502 > else
15503 >  :
15504 > fi
15505  
15506 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15506 > done
15507  
15508    fi
15509  
# Line 13706 | Line 15594 | _ACEOF
15594    test "$exec_prefix_NONE" && exec_prefix=NONE
15595  
15596  
15597 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15597 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15598  
15599  
15600   cat >confcache <<\_ACEOF
# Line 13773 | Line 15661 | $as_echo "$as_me: WARNING: cache variabl
15661       :end' >>confcache
15662   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15663    if test -w "$cache_file"; then
15664 <    test "x$cache_file" != "x/dev/null" &&
15664 >    if test "x$cache_file" != "x/dev/null"; then
15665        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15666   $as_echo "$as_me: updating cache $cache_file" >&6;}
15667 <    cat confcache >$cache_file
15667 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15668 >        cat confcache >"$cache_file"
15669 >      else
15670 >        case $cache_file in #(
15671 >        */* | ?:*)
15672 >          mv -f confcache "$cache_file"$$ &&
15673 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15674 >        *)
15675 >          mv -f confcache "$cache_file" ;;
15676 >        esac
15677 >      fi
15678 >    fi
15679    else
15680      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15681   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13792 | Line 15691 | DEFS=-DHAVE_CONFIG_H
15691  
15692   ac_libobjs=
15693   ac_ltlibobjs=
15694 + U=
15695   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15696    # 1. Remove the extension, and $U if already installed.
15697    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13806 | Line 15706 | LIBOBJS=$ac_libobjs
15706   LTLIBOBJS=$ac_ltlibobjs
15707  
15708  
15709 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15710 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15711 +   if test -n "$am_sleep_pid"; then
15712 +     # Hide warnings about reused PIDs.
15713 +     wait $am_sleep_pid 2>/dev/null
15714 +   fi
15715 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15716 + $as_echo "done" >&6; }
15717   if test -n "$EXEEXT"; then
15718    am__EXEEXT_TRUE=
15719    am__EXEEXT_FALSE='#'
# Line 13815 | Line 15723 | else
15723   fi
15724  
15725   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15726 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15726 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15727   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15728   fi
15729   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15730 <  as_fn_error "conditional \"AMDEP\" was never defined.
15730 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15731   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15732   fi
15733   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15734 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15734 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15735   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15736   fi
15737   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15738 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15738 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15739   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15740   fi
15741   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15742 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15742 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15743   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15744   fi
15745   LT_CONFIG_H=config.h
# Line 13852 | Line 15760 | LT_CONFIG_H=config.h
15760  
15761  
15762  
13855 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13856  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13858 fi
15763   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15764 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13861 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13862 < fi
13863 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13864 <  as_fn_error "conditional \"EFNET\" was never defined.
15764 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15765   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15766   fi
15767  
15768 < : ${CONFIG_STATUS=./config.status}
15768 > : "${CONFIG_STATUS=./config.status}"
15769   ac_write_fail=0
15770   ac_clean_files_save=$ac_clean_files
15771   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13966 | Line 15866 | fi
15866   IFS=" ""        $as_nl"
15867  
15868   # Find who we are.  Look in the path if we contain no directory separator.
15869 + as_myself=
15870   case $0 in #((
15871    *[\\/]* ) as_myself=$0 ;;
15872    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14011 | Line 15912 | export LANGUAGE
15912   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15913  
15914  
15915 < # as_fn_error ERROR [LINENO LOG_FD]
15916 < # ---------------------------------
15915 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15916 > # ----------------------------------------
15917   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15918   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15919 < # script with status $?, using 1 if that was 0.
15919 > # script with STATUS, using 1 if that was 0.
15920   as_fn_error ()
15921   {
15922 <  as_status=$?; test $as_status -eq 0 && as_status=1
15923 <  if test "$3"; then
15924 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15925 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15922 >  as_status=$1; test $as_status -eq 0 && as_status=1
15923 >  if test "$4"; then
15924 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15925 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15926    fi
15927 <  $as_echo "$as_me: error: $1" >&2
15927 >  $as_echo "$as_me: error: $2" >&2
15928    as_fn_exit $as_status
15929   } # as_fn_error
15930  
# Line 14161 | Line 16062 | if (echo >conf$$.file) 2>/dev/null; then
16062      # ... but there are two gotchas:
16063      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16064      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16065 <    # In both cases, we have to default to `cp -p'.
16065 >    # In both cases, we have to default to `cp -pR'.
16066      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16067 <      as_ln_s='cp -p'
16067 >      as_ln_s='cp -pR'
16068    elif ln conf$$.file conf$$ 2>/dev/null; then
16069      as_ln_s=ln
16070    else
16071 <    as_ln_s='cp -p'
16071 >    as_ln_s='cp -pR'
16072    fi
16073   else
16074 <  as_ln_s='cp -p'
16074 >  as_ln_s='cp -pR'
16075   fi
16076   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16077   rmdir conf$$.dir 2>/dev/null
# Line 14219 | Line 16120 | $as_echo X"$as_dir" |
16120        test -d "$as_dir" && break
16121      done
16122      test -z "$as_dirs" || eval "mkdir $as_dirs"
16123 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16123 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16124  
16125  
16126   } # as_fn_mkdir_p
# Line 14230 | Line 16131 | else
16131    as_mkdir_p=false
16132   fi
16133  
16134 < if test -x / >/dev/null 2>&1; then
16135 <  as_test_x='test -x'
16136 < else
16137 <  if ls -dL / >/dev/null 2>&1; then
16138 <    as_ls_L_option=L
16139 <  else
16140 <    as_ls_L_option=
16141 <  fi
16142 <  as_test_x='
16143 <    eval sh -c '\''
14243 <      if test -d "$1"; then
14244 <        test -d "$1/.";
14245 <      else
14246 <        case $1 in #(
14247 <        -*)set "./$1";;
14248 <        esac;
14249 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14250 <        ???[sx]*):;;*)false;;esac;fi
14251 <    '\'' sh
14252 <  '
14253 < fi
14254 < as_executable_p=$as_test_x
16134 >
16135 > # as_fn_executable_p FILE
16136 > # -----------------------
16137 > # Test if FILE is an executable regular file.
16138 > as_fn_executable_p ()
16139 > {
16140 >  test -f "$1" && test -x "$1"
16141 > } # as_fn_executable_p
16142 > as_test_x='test -x'
16143 > as_executable_p=as_fn_executable_p
16144  
16145   # Sed expression to map a string onto a valid CPP name.
16146   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14272 | Line 16161 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16161   # report actual input values of CONFIG_FILES etc. instead of their
16162   # values after options handling.
16163   ac_log="
16164 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16165 < generated by GNU Autoconf 2.65.  Invocation command line was
16164 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16165 > generated by GNU Autoconf 2.69.  Invocation command line was
16166  
16167    CONFIG_FILES    = $CONFIG_FILES
16168    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14338 | Line 16227 | _ACEOF
16227   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16229   ac_cs_version="\\
16230 < ircd-hybrid config.status 7.3-rc1
16231 < configured by $0, generated by GNU Autoconf 2.65,
16230 > ircd-hybrid config.status 8.2.0rc1
16231 > configured by $0, generated by GNU Autoconf 2.69,
16232    with options \\"\$ac_cs_config\\"
16233  
16234 < Copyright (C) 2009 Free Software Foundation, Inc.
16234 > Copyright (C) 2012 Free Software Foundation, Inc.
16235   This config.status script is free software; the Free Software Foundation
16236   gives unlimited permission to copy, distribute and modify it."
16237  
# Line 14360 | Line 16249 | ac_need_defaults=:
16249   while test $# != 0
16250   do
16251    case $1 in
16252 <  --*=*)
16252 >  --*=?*)
16253      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16254      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16255      ac_shift=:
16256      ;;
16257 +  --*=)
16258 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16259 +    ac_optarg=
16260 +    ac_shift=:
16261 +    ;;
16262    *)
16263      ac_option=$1
16264      ac_optarg=$2
# Line 14386 | Line 16280 | do
16280      $ac_shift
16281      case $ac_optarg in
16282      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16283 +    '') as_fn_error $? "missing file argument" ;;
16284      esac
16285      as_fn_append CONFIG_FILES " '$ac_optarg'"
16286      ac_need_defaults=false;;
# Line 14398 | Line 16293 | do
16293      ac_need_defaults=false;;
16294    --he | --h)
16295      # Conflict between --help and --header
16296 <    as_fn_error "ambiguous option: \`$1'
16296 >    as_fn_error $? "ambiguous option: \`$1'
16297   Try \`$0 --help' for more information.";;
16298    --help | --hel | -h )
16299      $as_echo "$ac_cs_usage"; exit ;;
# Line 14407 | Line 16302 | Try \`$0 --help' for more information.";
16302      ac_cs_silent=: ;;
16303  
16304    # This is an error.
16305 <  -*) as_fn_error "unrecognized option: \`$1'
16305 >  -*) as_fn_error $? "unrecognized option: \`$1'
16306   Try \`$0 --help' for more information." ;;
16307  
16308    *) as_fn_append ac_config_targets " $1"
# Line 14427 | Line 16322 | fi
16322   _ACEOF
16323   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324   if \$ac_cs_recheck; then
16325 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16325 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16326    shift
16327    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16328    CONFIG_SHELL='$SHELL'
# Line 14461 | Line 16356 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16356   sed_quote_subst='$sed_quote_subst'
16357   double_quote_subst='$double_quote_subst'
16358   delay_variable_subst='$delay_variable_subst'
16359 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16360 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16361 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16362 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16363 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16364 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16365 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16366 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16367 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16368 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16369 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16370 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16371 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16372 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16373 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16374 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16375 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16376 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16377 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16378 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16379 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16380 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16381 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16382 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16383 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16384 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16385 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16386 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16387 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16388 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16389 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16390 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16391 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16392 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16393 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16394 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16395 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16396 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16397 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16398 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16399 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16400 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16401 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16402 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16403 < 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"`'
16404 < 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"`'
16405 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16406 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16407 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16408 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16409 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16410 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16411 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16412 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16413 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16414 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16415 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16416 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16417 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16418 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16419 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16420 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16421 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16422 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16423 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16424 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16425 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16426 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16427 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16428 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16429 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16430 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16431 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16432 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16433 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16434 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16435 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16436 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16437 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16438 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16439 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16440 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16441 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16442 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16443 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16444 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16445 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16446 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16447 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16448 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16449 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16450 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16451 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16452 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16453 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16454 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16455 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16456 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16457 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16458 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16459 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16460 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16461 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16462 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16463 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16464 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16465 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16466 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16467 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16468 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16469 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16470 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16471 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16472 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16473 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16474 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16475 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16476 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16359 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16360 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16361 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16362 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16363 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16364 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16365 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16366 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16367 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16368 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16369 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16370 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16371 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16372 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16373 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16374 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16375 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16376 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16377 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16378 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16379 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16380 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16381 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16382 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16383 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16384 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16385 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16386 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16387 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16388 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16389 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16390 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16391 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16392 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16393 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16394 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16395 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16396 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16397 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16398 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16399 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16400 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16401 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16402 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16403 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16404 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16405 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16406 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16407 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16408 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16409 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16410 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16411 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16412 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16413 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16414 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16415 > 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"`'
16416 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16417 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16418 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16419 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16420 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16421 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16422 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16423 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16424 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16425 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16426 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16427 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16428 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16429 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16430 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16431 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16432 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16433 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16434 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16435 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16436 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16437 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16438 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16439 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16440 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16441 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16442 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16443 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16444 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16445 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16446 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16447 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16448 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16449 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16450 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16451 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16452 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16453 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16454 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16455 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16456 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16457 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16458 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16459 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16460 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16461 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16462 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16463 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16464 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16465 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16466 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16467 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16468 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16469 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16470 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16471 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16472 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16473 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16474 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16475 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16476 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16477 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16478 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16479 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16480 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16481 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16482 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16483 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16484 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16485 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16486 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16487 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16488 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16489  
16490   LTCC='$LTCC'
16491   LTCFLAGS='$LTCFLAGS'
16492   compiler='$compiler_DEFAULT'
16493  
16494 + # A function that is used when there is no print builtin or printf.
16495 + func_fallback_echo ()
16496 + {
16497 +  eval 'cat <<_LTECHO_EOF
16498 + \$1
16499 + _LTECHO_EOF'
16500 + }
16501 +
16502   # Quote evaled strings.
16503 < for var in SED \
16503 > for var in SHELL \
16504 > ECHO \
16505 > PATH_SEPARATOR \
16506 > SED \
16507   GREP \
16508   EGREP \
16509   FGREP \
# Line 14598 | Line 16516 | reload_flag \
16516   OBJDUMP \
16517   deplibs_check_method \
16518   file_magic_cmd \
16519 + file_magic_glob \
16520 + want_nocaseglob \
16521 + DLLTOOL \
16522 + sharedlib_from_linklib_cmd \
16523   AR \
16524   AR_FLAGS \
16525 + archiver_list_spec \
16526   STRIP \
16527   RANLIB \
16528   CC \
# Line 14609 | Line 16532 | lt_cv_sys_global_symbol_pipe \
16532   lt_cv_sys_global_symbol_to_cdecl \
16533   lt_cv_sys_global_symbol_to_c_name_address \
16534   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16535 < SHELL \
14613 < ECHO \
16535 > nm_file_list_spec \
16536   lt_prog_compiler_no_builtin_flag \
14615 lt_prog_compiler_wl \
16537   lt_prog_compiler_pic \
16538 + lt_prog_compiler_wl \
16539   lt_prog_compiler_static \
16540   lt_cv_prog_compiler_c_o \
16541   need_locks \
16542 + MANIFEST_TOOL \
16543   DSYMUTIL \
16544   NMEDIT \
16545   LIPO \
# Line 14630 | Line 16553 | with_gnu_ld \
16553   allow_undefined_flag \
16554   no_undefined_flag \
16555   hardcode_libdir_flag_spec \
14633 hardcode_libdir_flag_spec_ld \
16556   hardcode_libdir_separator \
14635 fix_srcfile_path \
16557   exclude_expsyms \
16558   include_expsyms \
16559   file_list_spec \
# Line 14640 | Line 16561 | variables_saved_for_relink \
16561   libname_spec \
16562   library_names_spec \
16563   soname_spec \
16564 + install_override_mode \
16565   finish_eval \
16566   old_striplib \
16567   striplib; do
16568 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16568 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16569      *[\\\\\\\`\\"\\\$]*)
16570 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16570 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16571        ;;
16572      *)
16573        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14667 | Line 16589 | module_cmds \
16589   module_expsym_cmds \
16590   export_symbols_cmds \
16591   prelink_cmds \
16592 + postlink_cmds \
16593   postinstall_cmds \
16594   postuninstall_cmds \
16595   finish_cmds \
16596   sys_lib_search_path_spec \
16597   sys_lib_dlsearch_path_spec; do
16598 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16598 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16599      *[\\\\\\\`\\"\\\$]*)
16600 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16600 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16601        ;;
16602      *)
16603        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14682 | Line 16605 | sys_lib_dlsearch_path_spec; do
16605      esac
16606   done
16607  
14685 # Fix-up fallback echo if it was mangled by the above quoting rules.
14686 case \$lt_ECHO in
14687 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14688  ;;
14689 esac
14690
16608   ac_aux_dir='$ac_aux_dir'
16609   xsi_shell='$xsi_shell'
16610   lt_shell_append='$lt_shell_append'
# Line 14720 | Line 16637 | do
16637      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16638      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16639      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14723    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14724    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14725    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14726    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16640      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16641      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14729    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16642      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16643      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16644      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16645      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14734    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14735    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16646      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16647  
16648 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16648 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16649    esac
16650   done
16651  
# Line 14758 | Line 16668 | fi
16668   # after its creation but before its name has been assigned to `$tmp'.
16669   $debug ||
16670   {
16671 <  tmp=
16671 >  tmp= ac_tmp=
16672    trap 'exit_status=$?
16673 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16673 >  : "${ac_tmp:=$tmp}"
16674 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16675   ' 0
16676    trap 'as_fn_exit 1' 1 2 13 15
16677   }
# Line 14768 | Line 16679 | $debug ||
16679  
16680   {
16681    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16682 <  test -n "$tmp" && test -d "$tmp"
16682 >  test -d "$tmp"
16683   }  ||
16684   {
16685    tmp=./conf$$-$RANDOM
16686    (umask 077 && mkdir "$tmp")
16687 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16687 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16688 > ac_tmp=$tmp
16689  
16690   # Set up the scripts for CONFIG_FILES section.
16691   # No need to generate them if there are no CONFIG_FILES.
# Line 14790 | Line 16702 | if test "x$ac_cr" = x; then
16702   fi
16703   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16704   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16705 <  ac_cs_awk_cr='\r'
16705 >  ac_cs_awk_cr='\\r'
16706   else
16707    ac_cs_awk_cr=$ac_cr
16708   fi
16709  
16710 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16710 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16711   _ACEOF
16712  
16713  
# Line 14804 | Line 16716 | _ACEOF
16716    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16717    echo "_ACEOF"
16718   } >conf$$subs.sh ||
16719 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16720 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16719 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16720 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16721   ac_delim='%!_!# '
16722   for ac_last_try in false false false false false :; do
16723    . ./conf$$subs.sh ||
16724 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16724 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16725  
16726    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16727    if test $ac_delim_n = $ac_delim_num; then
16728      break
16729    elif $ac_last_try; then
16730 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16730 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16731    else
16732      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16733    fi
# Line 14823 | Line 16735 | done
16735   rm -f conf$$subs.sh
16736  
16737   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16738 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16738 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16739   _ACEOF
16740   sed -n '
16741   h
# Line 14871 | Line 16783 | t delim
16783   rm -f conf$$subs.awk
16784   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16785   _ACAWK
16786 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16786 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16787    for (key in S) S_is_set[key] = 1
16788    FS = ""
16789  
# Line 14903 | Line 16815 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16815    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16816   else
16817    cat
16818 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16819 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16818 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16819 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16820   _ACEOF
16821  
16822 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16823 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16822 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16823 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16824   # trailing colons and then remove the whole line if VPATH becomes empty
16825   # (actually we leave an empty line to preserve line numbers).
16826   if test "x$srcdir" = x.; then
16827 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16828 < s/:*\$(srcdir):*/:/
16829 < s/:*\${srcdir}:*/:/
16830 < s/:*@srcdir@:*/:/
16831 < s/^\([^=]*=[     ]*\):*/\1/
16827 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16828 > h
16829 > s///
16830 > s/^/:/
16831 > s/[      ]*$/:/
16832 > s/:\$(srcdir):/:/g
16833 > s/:\${srcdir}:/:/g
16834 > s/:@srcdir@:/:/g
16835 > s/^:*//
16836   s/:*$//
16837 + x
16838 + s/\(=[   ]*\).*/\1/
16839 + G
16840 + s/\n//
16841   s/^[^=]*=[       ]*$//
16842   }'
16843   fi
# Line 14929 | Line 16849 | fi # test -n "$CONFIG_FILES"
16849   # No need to generate them if there are no CONFIG_HEADERS.
16850   # This happens for instance with `./config.status Makefile'.
16851   if test -n "$CONFIG_HEADERS"; then
16852 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16852 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16853   BEGIN {
16854   _ACEOF
16855  
# Line 14941 | Line 16861 | _ACEOF
16861   # handling of long lines.
16862   ac_delim='%!_!# '
16863   for ac_last_try in false false :; do
16864 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16865 <  if test -z "$ac_t"; then
16864 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16865 >  if test -z "$ac_tt"; then
16866      break
16867    elif $ac_last_try; then
16868 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16868 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16869    else
16870      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16871    fi
# Line 15030 | Line 16950 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16950   _ACAWK
16951   _ACEOF
16952   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16953 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16953 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16954   fi # test -n "$CONFIG_HEADERS"
16955  
16956  
# Line 15043 | Line 16963 | do
16963    esac
16964    case $ac_mode$ac_tag in
16965    :[FHL]*:*);;
16966 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16966 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16967    :[FH]-) ac_tag=-:-;;
16968    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16969    esac
# Line 15062 | Line 16982 | do
16982      for ac_f
16983      do
16984        case $ac_f in
16985 <      -) ac_f="$tmp/stdin";;
16985 >      -) ac_f="$ac_tmp/stdin";;
16986        *) # Look for the file first in the build tree, then in the source tree
16987           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16988           # because $ac_f cannot contain `:'.
# Line 15071 | Line 16991 | do
16991             [\\/$]*) false;;
16992             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16993             esac ||
16994 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16994 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16995        esac
16996        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16997        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15097 | Line 17017 | $as_echo "$as_me: creating $ac_file" >&6
17017      esac
17018  
17019      case $ac_tag in
17020 <    *:-:* | *:-) cat >"$tmp/stdin" \
17021 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17020 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17021 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17022      esac
17023      ;;
17024    esac
# Line 15234 | Line 17154 | s&@INSTALL@&$ac_INSTALL&;t t
17154   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17155   $ac_datarootdir_hack
17156   "
17157 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17158 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17157 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17158 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17159  
17160   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17161 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17162 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17161 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17162 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17163 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17164    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17165 < which seems to be undefined.  Please make sure it is defined." >&5
17165 > which seems to be undefined.  Please make sure it is defined" >&5
17166   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17167 < which seems to be undefined.  Please make sure it is defined." >&2;}
17167 > which seems to be undefined.  Please make sure it is defined" >&2;}
17168  
17169 <  rm -f "$tmp/stdin"
17169 >  rm -f "$ac_tmp/stdin"
17170    case $ac_file in
17171 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17172 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17171 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17172 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17173    esac \
17174 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17174 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17175   ;;
17176    :H)
17177    #
# Line 15259 | Line 17180 | which seems to be undefined.  Please mak
17180    if test x"$ac_file" != x-; then
17181      {
17182        $as_echo "/* $configure_input  */" \
17183 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17184 <    } >"$tmp/config.h" \
17185 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17186 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17183 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17184 >    } >"$ac_tmp/config.h" \
17185 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17186 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17187        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17188   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17189      else
17190        rm -f "$ac_file"
17191 <      mv "$tmp/config.h" "$ac_file" \
17192 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17191 >      mv "$ac_tmp/config.h" "$ac_file" \
17192 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17193      fi
17194    else
17195      $as_echo "/* $configure_input  */" \
17196 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17197 <      || as_fn_error "could not create -" "$LINENO" 5
17196 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17197 >      || as_fn_error $? "could not create -" "$LINENO" 5
17198    fi
17199   # Compute "$ac_file"'s index in $config_headers.
17200   _am_arg="$ac_file"
# Line 15319 | Line 17240 | $as_echo "$as_me: executing $ac_file com
17240  
17241    case $ac_file$ac_mode in
17242      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17243 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17243 >  # Older Autoconf quotes --file arguments for eval, but not when files
17244    # are listed without --file.  Let's play safe and only enable the eval
17245    # if we detect the quoting.
17246    case $CONFIG_FILES in
# Line 15332 | Line 17253 | $as_echo "$as_me: executing $ac_file com
17253      # Strip MF so we end up with the name of the file.
17254      mf=`echo "$mf" | sed -e 's/:.*$//'`
17255      # Check whether this is an Automake generated Makefile or not.
17256 <    # We used to match only the files named `Makefile.in', but
17256 >    # We used to match only the files named 'Makefile.in', but
17257      # some people rename them; so instead we look at the file content.
17258      # Grep'ing the first line is not enough: some people post-process
17259      # each Makefile.in and add a new line on top of each file to say so.
# Line 15366 | Line 17287 | $as_echo X"$mf" |
17287        continue
17288      fi
17289      # Extract the definition of DEPDIR, am__include, and am__quote
17290 <    # from the Makefile without running `make'.
17290 >    # from the Makefile without running 'make'.
17291      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17292      test -z "$DEPDIR" && continue
17293      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17294 <    test -z "am__include" && continue
17294 >    test -z "$am__include" && continue
17295      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15375    # When using ansi2knr, U may be empty or an underscore; expand it
15376    U=`sed -n 's/^U = //p' < "$mf"`
17296      # Find all dependency output files, they are included files with
17297      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17298      # simplest approach to changing $(DEPDIR) to its actual value in the
17299      # expansion.
17300      for file in `sed -n "
17301        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17302 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17302 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17303        # Make sure the directory exists.
17304        test -f "$dirpart/$file" && continue
17305        fdir=`$as_dirname -- "$file" ||
# Line 15434 | Line 17353 | $as_echo X"$file" |
17353   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17354   #
17355   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17356 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17356 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17357 > #                 Foundation, Inc.
17358   #   Written by Gordon Matzigkeit, 1996
17359   #
17360   #   This file is part of GNU Libtool.
# Line 15482 | Line 17402 | pic_mode=$pic_mode
17402   # Whether or not to optimize for fast installation.
17403   fast_install=$enable_fast_install
17404  
17405 + # Shell to use when invoking shell scripts.
17406 + SHELL=$lt_SHELL
17407 +
17408 + # An echo program that protects backslashes.
17409 + ECHO=$lt_ECHO
17410 +
17411 + # The PATH separator for the build system.
17412 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17413 +
17414   # The host system.
17415   host_alias=$host_alias
17416   host=$host
# Line 15531 | Line 17460 | SP2NL=$lt_lt_SP2NL
17460   # turn newlines into spaces.
17461   NL2SP=$lt_lt_NL2SP
17462  
17463 < # How to create reloadable object files.
17464 < reload_flag=$lt_reload_flag
17465 < reload_cmds=$lt_reload_cmds
17463 > # convert \$build file names to \$host format.
17464 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17465 >
17466 > # convert \$build files to toolchain format.
17467 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17468  
17469   # An object symbol dumper.
17470   OBJDUMP=$lt_OBJDUMP
# Line 15541 | Line 17472 | OBJDUMP=$lt_OBJDUMP
17472   # Method to check whether dependent libraries are shared objects.
17473   deplibs_check_method=$lt_deplibs_check_method
17474  
17475 < # Command to use when deplibs_check_method == "file_magic".
17475 > # Command to use when deplibs_check_method = "file_magic".
17476   file_magic_cmd=$lt_file_magic_cmd
17477  
17478 + # How to find potential files when deplibs_check_method = "file_magic".
17479 + file_magic_glob=$lt_file_magic_glob
17480 +
17481 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17482 + want_nocaseglob=$lt_want_nocaseglob
17483 +
17484 + # DLL creation program.
17485 + DLLTOOL=$lt_DLLTOOL
17486 +
17487 + # Command to associate shared and link libraries.
17488 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17489 +
17490   # The archiver.
17491   AR=$lt_AR
17492 +
17493 + # Flags to create an archive.
17494   AR_FLAGS=$lt_AR_FLAGS
17495  
17496 + # How to feed a file listing to the archiver.
17497 + archiver_list_spec=$lt_archiver_list_spec
17498 +
17499   # A symbol stripping program.
17500   STRIP=$lt_STRIP
17501  
# Line 15556 | Line 17504 | RANLIB=$lt_RANLIB
17504   old_postinstall_cmds=$lt_old_postinstall_cmds
17505   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17506  
17507 + # Whether to use a lock for old archive extraction.
17508 + lock_old_archive_extraction=$lock_old_archive_extraction
17509 +
17510   # A C compiler.
17511   LTCC=$lt_CC
17512  
# Line 15574 | Line 17525 | global_symbol_to_c_name_address=$lt_lt_c
17525   # Transform the output of nm in a C name address pair when lib prefix is needed.
17526   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17527  
17528 < # The name of the directory that contains temporary libtool files.
17529 < objdir=$objdir
17528 > # Specify filename containing input files for \$NM.
17529 > nm_file_list_spec=$lt_nm_file_list_spec
17530  
17531 < # Shell to use when invoking shell scripts.
17532 < SHELL=$lt_SHELL
17531 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17532 > lt_sysroot=$lt_sysroot
17533  
17534 < # An echo program that does not interpret backslashes.
17535 < ECHO=$lt_ECHO
17534 > # The name of the directory that contains temporary libtool files.
17535 > objdir=$objdir
17536  
17537   # Used to examine libraries when file_magic_cmd begins with "file".
17538   MAGIC_CMD=$MAGIC_CMD
# Line 15589 | Line 17540 | MAGIC_CMD=$MAGIC_CMD
17540   # Must we lock files when doing compilation?
17541   need_locks=$lt_need_locks
17542  
17543 + # Manifest tool.
17544 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17545 +
17546   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17547   DSYMUTIL=$lt_DSYMUTIL
17548  
# Line 15645 | Line 17599 | library_names_spec=$lt_library_names_spe
17599   # The coded name of the library, if different from the real name.
17600   soname_spec=$lt_soname_spec
17601  
17602 + # Permission mode override for installation of shared libraries.
17603 + install_override_mode=$lt_install_override_mode
17604 +
17605   # Command to use after installation of a shared archive.
17606   postinstall_cmds=$lt_postinstall_cmds
17607  
# Line 15684 | Line 17641 | striplib=$lt_striplib
17641   # The linker used to build libraries.
17642   LD=$lt_LD
17643  
17644 + # How to create reloadable object files.
17645 + reload_flag=$lt_reload_flag
17646 + reload_cmds=$lt_reload_cmds
17647 +
17648   # Commands used to build an old-style archive.
17649   old_archive_cmds=$lt_old_archive_cmds
17650  
# Line 15696 | Line 17657 | with_gcc=$GCC
17657   # Compiler flag to turn off builtin functions.
17658   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17659  
15699 # How to pass a linker flag through the compiler.
15700 wl=$lt_lt_prog_compiler_wl
15701
17660   # Additional compiler flags for building library objects.
17661   pic_flag=$lt_lt_prog_compiler_pic
17662  
17663 + # How to pass a linker flag through the compiler.
17664 + wl=$lt_lt_prog_compiler_wl
17665 +
17666   # Compiler flag to prevent dynamic linking.
17667   link_static_flag=$lt_lt_prog_compiler_static
17668  
# Line 15751 | Line 17712 | no_undefined_flag=$lt_no_undefined_flag
17712   # This must work even if \$libdir does not exist
17713   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17714  
15754 # If ld is used when linking, flag to hardcode \$libdir into a binary
15755 # during linking.  This must work even if \$libdir does not exist.
15756 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15757
17715   # Whether we need a single "-rpath" flag with a separated argument.
17716   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17717  
# Line 15788 | Line 17745 | inherit_rpath=$inherit_rpath
17745   # Whether libtool must link a program against all its dependency libraries.
17746   link_all_deplibs=$link_all_deplibs
17747  
15791 # Fix the shell variable \$srcfile for the compiler.
15792 fix_srcfile_path=$lt_fix_srcfile_path
15793
17748   # Set to "yes" if exported symbols are required.
17749   always_export_symbols=$always_export_symbols
17750  
# Line 15806 | Line 17760 | include_expsyms=$lt_include_expsyms
17760   # Commands necessary for linking programs (against libraries) with templates.
17761   prelink_cmds=$lt_prelink_cmds
17762  
17763 + # Commands necessary for finishing linking programs.
17764 + postlink_cmds=$lt_postlink_cmds
17765 +
17766   # Specify filename containing input files.
17767   file_list_spec=$lt_file_list_spec
17768  
# Line 15838 | Line 17795 | ltmain="$ac_aux_dir/ltmain.sh"
17795    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17796    # text mode, it properly converts lines to CR/LF.  This bash problem
17797    # is reportedly fixed, but why not run on old versions too?
17798 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17799 <    || (rm -f "$cfgfile"; exit 1)
15843 <
15844 <  case $xsi_shell in
15845 <  yes)
15846 <    cat << \_LT_EOF >> "$cfgfile"
15847 <
15848 < # func_dirname file append nondir_replacement
15849 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15850 < # otherwise set result to NONDIR_REPLACEMENT.
15851 < func_dirname ()
15852 < {
15853 <  case ${1} in
15854 <    */*) func_dirname_result="${1%/*}${2}" ;;
15855 <    *  ) func_dirname_result="${3}" ;;
15856 <  esac
15857 < }
15858 <
15859 < # func_basename file
15860 < func_basename ()
15861 < {
15862 <  func_basename_result="${1##*/}"
15863 < }
15864 <
15865 < # func_dirname_and_basename file append nondir_replacement
15866 < # perform func_basename and func_dirname in a single function
15867 < # call:
15868 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15869 < #             add APPEND to the result, otherwise set result
15870 < #             to NONDIR_REPLACEMENT.
15871 < #             value returned in "$func_dirname_result"
15872 < #   basename: Compute filename of FILE.
15873 < #             value retuned in "$func_basename_result"
15874 < # Implementation must be kept synchronized with func_dirname
15875 < # and func_basename. For efficiency, we do not delegate to
15876 < # those functions but instead duplicate the functionality here.
15877 < func_dirname_and_basename ()
15878 < {
15879 <  case ${1} in
15880 <    */*) func_dirname_result="${1%/*}${2}" ;;
15881 <    *  ) func_dirname_result="${3}" ;;
15882 <  esac
15883 <  func_basename_result="${1##*/}"
15884 < }
15885 <
15886 < # func_stripname prefix suffix name
15887 < # strip PREFIX and SUFFIX off of NAME.
15888 < # PREFIX and SUFFIX must not contain globbing or regex special
15889 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15890 < # dot (in which case that matches only a dot).
15891 < func_stripname ()
15892 < {
15893 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15894 <  # positional parameters, so assign one to ordinary parameter first.
15895 <  func_stripname_result=${3}
15896 <  func_stripname_result=${func_stripname_result#"${1}"}
15897 <  func_stripname_result=${func_stripname_result%"${2}"}
15898 < }
15899 <
15900 < # func_opt_split
15901 < func_opt_split ()
15902 < {
15903 <  func_opt_split_opt=${1%%=*}
15904 <  func_opt_split_arg=${1#*=}
15905 < }
15906 <
15907 < # func_lo2o object
15908 < func_lo2o ()
15909 < {
15910 <  case ${1} in
15911 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15912 <    *)    func_lo2o_result=${1} ;;
15913 <  esac
15914 < }
15915 <
15916 < # func_xform libobj-or-source
15917 < func_xform ()
15918 < {
15919 <  func_xform_result=${1%.*}.lo
15920 < }
15921 <
15922 < # func_arith arithmetic-term...
15923 < func_arith ()
15924 < {
15925 <  func_arith_result=$(( $* ))
15926 < }
15927 <
15928 < # func_len string
15929 < # STRING may not start with a hyphen.
15930 < func_len ()
15931 < {
15932 <  func_len_result=${#1}
15933 < }
15934 <
15935 < _LT_EOF
15936 <    ;;
15937 <  *) # Bourne compatible functions.
15938 <    cat << \_LT_EOF >> "$cfgfile"
15939 <
15940 < # func_dirname file append nondir_replacement
15941 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15942 < # otherwise set result to NONDIR_REPLACEMENT.
15943 < func_dirname ()
15944 < {
15945 <  # Extract subdirectory from the argument.
15946 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15947 <  if test "X$func_dirname_result" = "X${1}"; then
15948 <    func_dirname_result="${3}"
15949 <  else
15950 <    func_dirname_result="$func_dirname_result${2}"
15951 <  fi
15952 < }
15953 <
15954 < # func_basename file
15955 < func_basename ()
15956 < {
15957 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15958 < }
15959 <
15960 <
15961 < # func_stripname prefix suffix name
15962 < # strip PREFIX and SUFFIX off of NAME.
15963 < # PREFIX and SUFFIX must not contain globbing or regex special
15964 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15965 < # dot (in which case that matches only a dot).
15966 < # func_strip_suffix prefix name
15967 < func_stripname ()
15968 < {
15969 <  case ${2} in
15970 <    .*) func_stripname_result=`$ECHO "X${3}" \
15971 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15972 <    *)  func_stripname_result=`$ECHO "X${3}" \
15973 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15974 <  esac
15975 < }
15976 <
15977 < # sed scripts:
15978 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15979 < my_sed_long_arg='1s/^-[^=]*=//'
15980 <
15981 < # func_opt_split
15982 < func_opt_split ()
15983 < {
15984 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15985 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15986 < }
15987 <
15988 < # func_lo2o object
15989 < func_lo2o ()
15990 < {
15991 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15992 < }
15993 <
15994 < # func_xform libobj-or-source
15995 < func_xform ()
15996 < {
15997 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15998 < }
15999 <
16000 < # func_arith arithmetic-term...
16001 < func_arith ()
16002 < {
16003 <  func_arith_result=`expr "$@"`
16004 < }
16005 <
16006 < # func_len string
16007 < # STRING may not start with a hyphen.
16008 < func_len ()
16009 < {
16010 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16011 < }
16012 <
16013 < _LT_EOF
16014 < esac
16015 <
16016 < case $lt_shell_append in
16017 <  yes)
16018 <    cat << \_LT_EOF >> "$cfgfile"
16019 <
16020 < # func_append var value
16021 < # Append VALUE to the end of shell variable VAR.
16022 < func_append ()
16023 < {
16024 <  eval "$1+=\$2"
16025 < }
16026 < _LT_EOF
16027 <    ;;
16028 <  *)
16029 <    cat << \_LT_EOF >> "$cfgfile"
16030 <
16031 < # func_append var value
16032 < # Append VALUE to the end of shell variable VAR.
16033 < func_append ()
16034 < {
16035 <  eval "$1=\$$1\$2"
16036 < }
16037 <
16038 < _LT_EOF
16039 <    ;;
16040 <  esac
17798 >  sed '$q' "$ltmain" >> "$cfgfile" \
17799 >     || (rm -f "$cfgfile"; exit 1)
17800  
17801 +  if test x"$xsi_shell" = xyes; then
17802 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17803 + func_dirname ()\
17804 + {\
17805 + \    case ${1} in\
17806 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17807 + \      *  ) func_dirname_result="${3}" ;;\
17808 + \    esac\
17809 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17810 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17811 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17812 + test 0 -eq $? || _lt_function_replace_fail=:
17813 +
17814 +
17815 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17816 + func_basename ()\
17817 + {\
17818 + \    func_basename_result="${1##*/}"\
17819 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17820 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17821 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17822 + test 0 -eq $? || _lt_function_replace_fail=:
17823 +
17824 +
17825 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17826 + func_dirname_and_basename ()\
17827 + {\
17828 + \    case ${1} in\
17829 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17830 + \      *  ) func_dirname_result="${3}" ;;\
17831 + \    esac\
17832 + \    func_basename_result="${1##*/}"\
17833 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17834 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17835 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17836 + test 0 -eq $? || _lt_function_replace_fail=:
17837 +
17838 +
17839 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17840 + func_stripname ()\
17841 + {\
17842 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17843 + \    # positional parameters, so assign one to ordinary parameter first.\
17844 + \    func_stripname_result=${3}\
17845 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17846 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17847 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17848 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17849 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17850 + test 0 -eq $? || _lt_function_replace_fail=:
17851 +
17852 +
17853 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17854 + func_split_long_opt ()\
17855 + {\
17856 + \    func_split_long_opt_name=${1%%=*}\
17857 + \    func_split_long_opt_arg=${1#*=}\
17858 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17859 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17860 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17861 + test 0 -eq $? || _lt_function_replace_fail=:
17862 +
17863 +
17864 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17865 + func_split_short_opt ()\
17866 + {\
17867 + \    func_split_short_opt_arg=${1#??}\
17868 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17869 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17870 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17871 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17872 + test 0 -eq $? || _lt_function_replace_fail=:
17873 +
17874 +
17875 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17876 + func_lo2o ()\
17877 + {\
17878 + \    case ${1} in\
17879 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17880 + \      *)    func_lo2o_result=${1} ;;\
17881 + \    esac\
17882 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17883 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17884 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17885 + test 0 -eq $? || _lt_function_replace_fail=:
17886 +
17887 +
17888 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17889 + func_xform ()\
17890 + {\
17891 +    func_xform_result=${1%.*}.lo\
17892 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17893 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17894 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17895 + test 0 -eq $? || _lt_function_replace_fail=:
17896 +
17897 +
17898 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17899 + func_arith ()\
17900 + {\
17901 +    func_arith_result=$(( $* ))\
17902 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17903 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17904 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17905 + test 0 -eq $? || _lt_function_replace_fail=:
17906 +
17907 +
17908 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17909 + func_len ()\
17910 + {\
17911 +    func_len_result=${#1}\
17912 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17913 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17914 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17915 + test 0 -eq $? || _lt_function_replace_fail=:
17916 +
17917 + fi
17918 +
17919 + if test x"$lt_shell_append" = xyes; then
17920 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17921 + func_append ()\
17922 + {\
17923 +    eval "${1}+=\\${2}"\
17924 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17925 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17926 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17927 + test 0 -eq $? || _lt_function_replace_fail=:
17928 +
17929 +
17930 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17931 + func_append_quoted ()\
17932 + {\
17933 + \    func_quote_for_eval "${2}"\
17934 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17935 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17936 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17937 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17938 + test 0 -eq $? || _lt_function_replace_fail=:
17939 +
17940 +
17941 +  # Save a `func_append' function call where possible by direct use of '+='
17942 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17943 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17944 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17945 +  test 0 -eq $? || _lt_function_replace_fail=:
17946 + else
17947 +  # Save a `func_append' function call even when '+=' is not available
17948 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17949 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17950 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17951 +  test 0 -eq $? || _lt_function_replace_fail=:
17952 + fi
17953 +
17954 + if test x"$_lt_function_replace_fail" = x":"; then
17955 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17956 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17957 + fi
17958  
16043  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16044    || (rm -f "$cfgfile"; exit 1)
17959  
17960 <  mv -f "$cfgfile" "$ofile" ||
17960 >   mv -f "$cfgfile" "$ofile" ||
17961      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17962    chmod +x "$ofile"
17963  
# Line 16058 | Line 17972 | _ACEOF
17972   ac_clean_files=$ac_clean_files_save
17973  
17974   test $ac_write_fail = 0 ||
17975 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17975 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17976  
17977  
17978   # configure is writing to config.log, and then calls config.status.
# Line 16079 | Line 17993 | if test "$no_create" != yes; then
17993    exec 5>>config.log
17994    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17995    # would make configure fail if this is the last instruction.
17996 <  $ac_cs_success || as_fn_exit $?
17996 >  $ac_cs_success || as_fn_exit 1
17997   fi
17998   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17999    { $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 1092 by michael, Thu Mar 25 11:10:59 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4354 by michael, Sat Aug 2 18:09:39 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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