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 4359 by michael, Sat Aug 2 20:37:47 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 4356 2014-08-02 18:30:48Z 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 < AMTAR=${AMTAR-"${am_missing_run}tar"}
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='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3011 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3013  
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; }
3062      # Check whether --enable-maintainer-mode was given.
# 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  
# Line 6340 | Line 6821 | fi
6821  
6822  
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 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13217 + $as_echo_n "checking whether libssp exists... " >&6; }
13218 + if ${ssp_cv_lib+:} false; then :
13219 +  $as_echo_n "(cached) " >&6
13220 + else
13221 +  ssp_old_libs="$LIBS"
13222 +     LIBS="$LIBS -lssp"
13223 +     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 + /* end confdefs.h.  */
13225 +
13226 + int
13227 + main ()
13228 + {
13229 +
13230 +  ;
13231 +  return 0;
13232 + }
13233 + _ACEOF
13234 + if ac_fn_c_try_link "$LINENO"; then :
13235 +  ssp_cv_lib=yes
13236 + else
13237 +  ssp_cv_lib=no
13238 + fi
13239 + rm -f core conftest.err conftest.$ac_objext \
13240 +    conftest$ac_exeext conftest.$ac_ext
13241 +     LIBS="$ssp_old_libs"
13242 +
13243 + fi
13244 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13245 + $as_echo "$ssp_cv_lib" >&6; }
13246 +  if test $ssp_cv_lib = yes; then
13247 +    LIBS="$LIBS -lssp"
13248 +  fi
13249 +
13250 +
13251 +
13252 +
13253 +
13254 +
13255 + for flag in -fno-strict-aliasing; do
13256 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13257 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13258 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13259 + if eval \${$as_CACHEVAR+:} false; then :
13260 +  $as_echo_n "(cached) " >&6
13261 + else
13262 +
13263 +  ax_check_save_flags=$CFLAGS
13264 +  CFLAGS="$CFLAGS  $flag"
13265 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 + /* end confdefs.h.  */
13267 +
13268 + int
13269 + main ()
13270 + {
13271 +
13272 +  ;
13273 +  return 0;
13274 + }
13275 + _ACEOF
13276 + if ac_fn_c_try_compile "$LINENO"; then :
13277 +  eval "$as_CACHEVAR=yes"
13278 + else
13279 +  eval "$as_CACHEVAR=no"
13280 + fi
13281 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13282 +  CFLAGS=$ax_check_save_flags
13283 + fi
13284 + eval ac_res=\$$as_CACHEVAR
13285 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13286 + $as_echo "$ac_res" >&6; }
13287 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13288 +  if ${CFLAGS+:} false; then :
13289 +  case " $CFLAGS " in
13290 +    *" $flag "*)
13291 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13292 +  (: CFLAGS already contains $flag) 2>&5
13293 +  ac_status=$?
13294 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13295 +  test $ac_status = 0; }
13296 +      ;;
13297 +    *)
13298 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13299 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13300 +  ac_status=$?
13301 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13302 +  test $ac_status = 0; }
13303 +      CFLAGS="$CFLAGS $flag"
13304 +      ;;
13305 +   esac
13306 + else
13307 +  CFLAGS="$flag"
13308 + fi
13309 +
13310 + else
13311 +  :
13312 + fi
13313 +
13314 + done
13315 +
13316 +
13317 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13318 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13319 +
13320 + else
13321 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13322 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13323 + if ${ac_cv_search_getaddrinfo+:} false; then :
13324 +  $as_echo_n "(cached) " >&6
13325 + else
13326 +  ac_func_search_save_LIBS=$LIBS
13327 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 + /* end confdefs.h.  */
13329 +
13330 + /* Override any GCC internal prototype to avoid an error.
13331 +   Use char because int might match the return type of a GCC
13332 +   builtin and then its argument prototype would still apply.  */
13333 + #ifdef __cplusplus
13334 + extern "C"
13335 + #endif
13336 + char getaddrinfo ();
13337 + int
13338 + main ()
13339 + {
13340 + return getaddrinfo ();
13341 +  ;
13342 +  return 0;
13343 + }
13344 + _ACEOF
13345 + for ac_lib in '' nsl; do
13346 +  if test -z "$ac_lib"; then
13347 +    ac_res="none required"
13348 +  else
13349 +    ac_res=-l$ac_lib
13350 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13351 +  fi
13352 +  if ac_fn_c_try_link "$LINENO"; then :
13353 +  ac_cv_search_getaddrinfo=$ac_res
13354 + fi
13355 + rm -f core conftest.err conftest.$ac_objext \
13356 +    conftest$ac_exeext
13357 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13358 +  break
13359 + fi
13360 + done
13361 + if ${ac_cv_search_getaddrinfo+:} false; then :
13362 +
13363 + else
13364 +  ac_cv_search_getaddrinfo=no
13365 + fi
13366 + rm conftest.$ac_ext
13367 + LIBS=$ac_func_search_save_LIBS
13368 + fi
13369 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13370 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13371 + ac_res=$ac_cv_search_getaddrinfo
13372 + if test "$ac_res" != no; then :
13373 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13374 +
13375 + fi
13376 +
13377 + fi
13378 +
13379 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13380 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13381 +
13382 + else
13383 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13384 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13385 + if ${ac_cv_search_getnameinfo+:} false; then :
13386 +  $as_echo_n "(cached) " >&6
13387 + else
13388 +  ac_func_search_save_LIBS=$LIBS
13389 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 + /* end confdefs.h.  */
13391 +
13392 + /* Override any GCC internal prototype to avoid an error.
13393 +   Use char because int might match the return type of a GCC
13394 +   builtin and then its argument prototype would still apply.  */
13395 + #ifdef __cplusplus
13396 + extern "C"
13397 + #endif
13398 + char getnameinfo ();
13399 + int
13400 + main ()
13401 + {
13402 + return getnameinfo ();
13403 +  ;
13404 +  return 0;
13405 + }
13406 + _ACEOF
13407 + for ac_lib in '' nsl; do
13408 +  if test -z "$ac_lib"; then
13409 +    ac_res="none required"
13410 +  else
13411 +    ac_res=-l$ac_lib
13412 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13413 +  fi
13414 +  if ac_fn_c_try_link "$LINENO"; then :
13415 +  ac_cv_search_getnameinfo=$ac_res
13416 + fi
13417 + rm -f core conftest.err conftest.$ac_objext \
13418 +    conftest$ac_exeext
13419 +  if ${ac_cv_search_getnameinfo+:} false; then :
13420 +  break
13421 + fi
13422 + done
13423 + if ${ac_cv_search_getnameinfo+:} false; then :
13424 +
13425 + else
13426 +  ac_cv_search_getnameinfo=no
13427 + fi
13428 + rm conftest.$ac_ext
13429 + LIBS=$ac_func_search_save_LIBS
13430 + fi
13431 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13432 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13433 + ac_res=$ac_cv_search_getnameinfo
13434 + if test "$ac_res" != no; then :
13435 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13436 +
13437 + fi
13438 +
13439 + fi
13440 +
13441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13442   $as_echo_n "checking for library containing socket... " >&6; }
13443 < if test "${ac_cv_search_socket+set}" = set; then :
13443 > if ${ac_cv_search_socket+:} false; then :
13444    $as_echo_n "(cached) " >&6
13445   else
13446    ac_func_search_save_LIBS=$LIBS
# Line 12171 | Line 13474 | for ac_lib in '' socket; do
13474   fi
13475   rm -f core conftest.err conftest.$ac_objext \
13476      conftest$ac_exeext
13477 <  if test "${ac_cv_search_socket+set}" = set; then :
13477 >  if ${ac_cv_search_socket+:} false; then :
13478    break
13479   fi
13480   done
13481 < if test "${ac_cv_search_socket+set}" = set; then :
13481 > if ${ac_cv_search_socket+:} false; then :
13482  
13483   else
13484    ac_cv_search_socket=no
# Line 12190 | Line 13493 | if test "$ac_res" != no; then :
13493    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13494  
13495   else
13496 <  as_fn_error "socket library not found" "$LINENO" 5
13496 >  as_fn_error $? "socket library not found" "$LINENO" 5
13497   fi
13498  
13499 <  for ac_func in inet_aton inet_ntop inet_pton
13500 < do :
13501 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13502 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13503 < 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
13499 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13500 > "
13501 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13502 >
13503 > $as_echo "#define IPV6 1" >>confdefs.h
13504  
13505   fi
12207 done
13506  
13507    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13508     #include <sys/socket.h>
13509     #include <netdb.h>
13510  
13511   "
13512 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13512 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13513  
13514   cat >>confdefs.h <<_ACEOF
13515   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12224 | Line 13522 | ac_fn_c_check_type "$LINENO" "struct soc
13522     #include <netdb.h>
13523  
13524   "
13525 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13525 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13526  
13527   cat >>confdefs.h <<_ACEOF
13528   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12237 | Line 13535 | ac_fn_c_check_type "$LINENO" "struct add
13535     #include <netdb.h>
13536  
13537   "
13538 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13538 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13539  
13540   cat >>confdefs.h <<_ACEOF
13541   #define HAVE_STRUCT_ADDRINFO 1
# Line 12249 | Line 13547 | fi
13547    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13548    <sys/socket.h>
13549   "
13550 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13550 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13551  
13552   cat >>confdefs.h <<_ACEOF
13553   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12260 | Line 13558 | fi
13558  
13559  
13560  
12263  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12264 if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12265
12266 cat >>confdefs.h <<_ACEOF
12267 #define HAVE_STRUCT_SOCKADDR_IN6 1
12268 _ACEOF
12269
12270
12271 else
12272
12273 $as_echo "#define IPV6 1" >>confdefs.h
12274
12275 fi
12276
12277
12278
13561   # Checks for typedefs, structures, and compiler characteristics.
13562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13563   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13564 < if test "${ac_cv_c_bigendian+set}" = set; then :
13564 > if ${ac_cv_c_bigendian+:} false; then :
13565    $as_echo_n "(cached) " >&6
13566   else
13567    ac_cv_c_bigendian=unknown
# Line 12497 | Line 13779 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13779  
13780       ;; #(
13781     *)
13782 <     as_fn_error "unknown endianness
13782 >     as_fn_error $? "unknown endianness
13783   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13784   esac
13785  
# Line 12510 | Line 13792 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13792   do :
13793    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13794   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13795 < eval as_val=\$$as_ac_var
12514 <   if test "x$as_val" = x""yes; then :
13795 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13796    cat >>confdefs.h <<_ACEOF
13797   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13798   _ACEOF
# Line 12529 | Line 13810 | done
13810  
13811  
13812  
12532
12533
13813   # Checks for header files.
13814  
13815  
# Line 12540 | Line 13819 | do :
13819    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13820   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13821   "
13822 < eval as_val=\$$as_ac_Header
12544 <   if test "x$as_val" = x""yes; then :
13822 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13823    cat >>confdefs.h <<_ACEOF
13824   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13825   _ACEOF
# Line 12566 | Line 13844 | done
13844  
13845  
13846  
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
13847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13848   $as_echo_n "checking for library containing crypt... " >&6; }
13849 < if test "${ac_cv_search_crypt+set}" = set; then :
13849 > if ${ac_cv_search_crypt+:} false; then :
13850    $as_echo_n "(cached) " >&6
13851   else
13852    ac_func_search_save_LIBS=$LIBS
# Line 12632 | Line 13880 | for ac_lib in '' crypt; do
13880   fi
13881   rm -f core conftest.err conftest.$ac_objext \
13882      conftest$ac_exeext
13883 <  if test "${ac_cv_search_crypt+set}" = set; then :
13883 >  if ${ac_cv_search_crypt+:} false; then :
13884    break
13885   fi
13886   done
13887 < if test "${ac_cv_search_crypt+set}" = set; then :
13887 > if ${ac_cv_search_crypt+:} false; then :
13888  
13889   else
13890    ac_cv_search_crypt=no
# Line 12653 | Line 13901 | if test "$ac_res" != no; then :
13901   fi
13902  
13903  
13904 <
13905 <
13906 < # Check whether --with-zlib-path was given.
13907 < if test "${with_zlib_path+set}" = set; then :
13908 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13909 < fi
13910 <
13911 <
13912 < # 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 :
13904 > # Check whether --enable-libgeoip was given.
13905 > if test "${enable_libgeoip+set}" = set; then :
13906 >  enableval=$enable_libgeoip;
13907 > else
13908 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13909 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13910 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13911 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13912 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13913    $as_echo_n "(cached) " >&6
13914   else
13915 <  ac_check_lib_save_LIBS=$LIBS
12682 < LIBS="-lz  $LIBS"
13915 >  ac_func_search_save_LIBS=$LIBS
13916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917   /* end confdefs.h.  */
13918  
# Line 12689 | Line 13922 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13922   #ifdef __cplusplus
13923   extern "C"
13924   #endif
13925 < char zlibVersion ();
13925 > char GeoIP_id_by_ipnum_v6_gl ();
13926   int
13927   main ()
13928   {
13929 < return zlibVersion ();
13929 > return GeoIP_id_by_ipnum_v6_gl ();
13930    ;
13931    return 0;
13932   }
13933   _ACEOF
13934 < if ac_fn_c_try_link "$LINENO"; then :
13935 <  ac_cv_lib_z_zlibVersion=yes
13936 < else
13937 <  ac_cv_lib_z_zlibVersion=no
13934 > for ac_lib in '' GeoIP; do
13935 >  if test -z "$ac_lib"; then
13936 >    ac_res="none required"
13937 >  else
13938 >    ac_res=-l$ac_lib
13939 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13940 >  fi
13941 >  if ac_fn_c_try_link "$LINENO"; then :
13942 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13943   fi
13944   rm -f core conftest.err conftest.$ac_objext \
13945 <    conftest$ac_exeext conftest.$ac_ext
13946 < LIBS=$ac_check_lib_save_LIBS
13947 < 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"
13945 >    conftest$ac_exeext
13946 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13947 >  break
13948   fi
13949 + done
13950 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13951  
12738
12739 # Check whether --enable-libpcre was given.
12740 if test "${enable_libpcre+set}" = set; then :
12741  enableval=$enable_libpcre; libpcre=$enableval
13952   else
13953 <  libpcre=yes
13953 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13954   fi
13955 <
13956 <
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
12778 < else
12779 <  ac_cv_lib_pcre_pcre_study=no
12780 < fi
12781 < rm -f core conftest.err conftest.$ac_objext \
12782 <    conftest$ac_exeext conftest.$ac_ext
12783 < LIBS=$ac_check_lib_save_LIBS
13955 > rm conftest.$ac_ext
13956 > LIBS=$ac_func_search_save_LIBS
13957   fi
13958 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13959 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13960 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13961 <
13962 <      LIBS="-lpcre $LIBS"
12790 <
12791 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13958 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13959 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13960 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13961 > if test "$ac_res" != no; then :
13962 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13963  
13964 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13965  
12794 else
12795  libpcre=no
13966   fi
13967  
12798
12799 else
12800  libpcre=no
13968   fi
13969  
13970  
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=
13971   fi
13972  
13973  
# Line 12852 | Line 14011 | if test "$cf_enable_openssl" != "no"; th
14011    fi
14012  
14013        if test ! -z "$cf_openssl_basedir"; then
12855    LIBS="-lcrypto -lssl $LIBS"
14014      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14015   $as_echo "$cf_openssl_basedir" >&6; }
14016      cf_enable_openssl="yes"
12859
12860 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12861
14017    else
14018      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14019   $as_echo "not found. Please check your path." >&6; }
# Line 12871 | Line 14026 | $as_echo "disabled" >&6; }
14026   fi
14027  
14028   if test "$cf_enable_openssl" != "no"; then :
14029 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14030 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14029 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
14030 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
14031    if test "$cross_compiling" = yes; then :
14032    cf_openssl_version_ok=no
14033   else
14034    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035   /* end confdefs.h.  */
14036  
14037 +
14038      #include <openssl/opensslv.h>
14039      #include <stdlib.h>
14040   int
14041   main ()
14042   {
14043 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14043 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14044    ;
14045    return 0;
14046   }
# Line 12905 | Line 14061 | $as_echo "found" >&6; }
14061  
14062      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14063   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14064 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14064 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14065    $as_echo_n "(cached) " >&6
14066   else
14067    ac_check_lib_save_LIBS=$LIBS
# Line 12939 | Line 14095 | LIBS=$ac_check_lib_save_LIBS
14095   fi
14096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14097   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14098 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14098 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14099    cat >>confdefs.h <<_ACEOF
14100   #define HAVE_LIBCRYPTO 1
14101   _ACEOF
# Line 12949 | Line 14105 | _ACEOF
14105   fi
14106  
14107      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14108 <  for ac_func in EVP_bf_cfb           \
14109 <                      EVP_cast5_cfb        \
14110 <                      EVP_idea_cfb         \
14111 <                      EVP_rc5_32_12_16_cfb \
14112 <                      EVP_des_ede3_cfb     \
14113 <                      EVP_des_cfb
14114 < do :
14115 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14116 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14117 < eval as_val=\$$as_ac_var
14118 <   if test "x$as_val" = x""yes; then :
14108 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14109 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14110 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14111 >  $as_echo_n "(cached) " >&6
14112 > else
14113 >  ac_check_lib_save_LIBS=$LIBS
14114 > LIBS="-lssl  $LIBS"
14115 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 > /* end confdefs.h.  */
14117 >
14118 > /* Override any GCC internal prototype to avoid an error.
14119 >   Use char because int might match the return type of a GCC
14120 >   builtin and then its argument prototype would still apply.  */
14121 > #ifdef __cplusplus
14122 > extern "C"
14123 > #endif
14124 > char SSL_connect ();
14125 > int
14126 > main ()
14127 > {
14128 > return SSL_connect ();
14129 >  ;
14130 >  return 0;
14131 > }
14132 > _ACEOF
14133 > if ac_fn_c_try_link "$LINENO"; then :
14134 >  ac_cv_lib_ssl_SSL_connect=yes
14135 > else
14136 >  ac_cv_lib_ssl_SSL_connect=no
14137 > fi
14138 > rm -f core conftest.err conftest.$ac_objext \
14139 >    conftest$ac_exeext conftest.$ac_ext
14140 > LIBS=$ac_check_lib_save_LIBS
14141 > fi
14142 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14143 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14144 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14145    cat >>confdefs.h <<_ACEOF
14146 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14146 > #define HAVE_LIBSSL 1
14147   _ACEOF
14148  
14149 +  LIBS="-lssl $LIBS"
14150 +
14151   fi
12968 done
14152  
14153   fi
14154  
# Line 12976 | Line 14159 | $as_echo "no - OpenSSL support disabled"
14159   fi
14160   fi
14161  
14162 < if test "$cf_enable_openssl" = yes; then
14162 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14163    ENABLE_SSL_TRUE=
14164    ENABLE_SSL_FALSE='#'
14165   else
# Line 13001 | Line 14184 | $as_echo "#define NDEBUG 1" >>confdefs.h
14184   fi
14185  
14186  
14187 < # 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
13019 <
13020 <
13021 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13022 <
13023 <
13024 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13025 <
13026 <
13027 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13028 <
13029 <
13030 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13031 <
13032 <
13033 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13034 <
13035 <
13036 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13037 <
14187 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14188  
13039 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14189  
14190 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14191  
13042 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14192  
14193 < else
14193 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14194  
14195  
14196 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14197  
13048 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14198  
14199 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14200  
13051 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14201  
14202 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14203  
13054 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14204  
14205 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14206  
13057 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14207  
14208 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14209  
13060 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14210  
14211 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14212  
13063 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14213  
14214 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14215  
13066 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14216  
14217 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14218  
13069 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14219  
14220 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14221  
13072 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14222  
14223 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14224  
13075 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14225  
14226 < fi
14226 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14227  
14228  
14229   # Argument processing.
14230  
14231 <    desired_iopoll_mechanism="none"
14232 <    # Check whether --enable-kqueue was given.
14231 >  desired_iopoll_mechanism="none"
14232 >
14233 >  # Check whether --enable-kqueue was given.
14234   if test "${enable_kqueue+set}" = set; then :
14235    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14236   fi
# Line 13095 | Line 14245 | if test "${enable_devpoll+set}" = set; t
14245    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14246   fi
14247  
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
14248    # Check whether --enable-poll was given.
14249   if test "${enable_poll+set}" = set; then :
14250    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14251   fi
14252  
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
14253  
14254 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14254 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14255   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14256 +
14257    iopoll_mechanism_none=0
14258  
14259   cat >>confdefs.h <<_ACEOF
14260   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14261   _ACEOF
14262  
14263 <      iopoll_mechanism_kqueue=1
14263 >
14264 >  iopoll_mechanism_kqueue=1
14265  
14266   cat >>confdefs.h <<_ACEOF
14267   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 13172 | Line 14315 | else
14315   fi
14316   rm -f core conftest.err conftest.$ac_objext \
14317      conftest$ac_exeext conftest.$ac_ext
14318 <      iopoll_mechanism_epoll=2
14318 >
14319 >  iopoll_mechanism_epoll=2
14320  
14321   cat >>confdefs.h <<_ACEOF
14322   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14323   _ACEOF
14324  
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
14325    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326   /* end confdefs.h.  */
13189
14327   #include <sys/epoll.h>
14328 < #include <sys/syscall.h>
14329 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14330 < #if !defined(__NR_epoll_create)
14331 < #if defined(__ia64__)
14332 < #define __NR_epoll_create 1243
14333 < #elif defined(__x86_64__)
14334 < #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 <
14328 > int
14329 > main ()
14330 > {
14331 > epoll_create(256);
14332 >  ;
14333 >  return 0;
14334 > }
14335   _ACEOF
14336 < if ac_fn_c_try_run "$LINENO"; then :
14336 > if ac_fn_c_try_link "$LINENO"; then :
14337    is_epoll_mechanism_available="yes"
14338   else
14339    is_epoll_mechanism_available="no"
14340   fi
14341 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14342 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13228 < fi
14341 > rm -f core conftest.err conftest.$ac_objext \
14342 >    conftest$ac_exeext conftest.$ac_ext
14343  
14344 <      iopoll_mechanism_devpoll=3
14344 >  iopoll_mechanism_devpoll=3
14345  
14346   cat >>confdefs.h <<_ACEOF
14347   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 13277 | Line 14391 | rm -f core conftest.err conftest.$ac_obj
14391   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14392  
14393    fi
13280      iopoll_mechanism_rtsigio=4
14394  
14395 < 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
14395 >  iopoll_mechanism_poll=4
14396  
14397   cat >>confdefs.h <<_ACEOF
14398   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13370 | Line 14446 | else
14446   fi
14447   rm -f core conftest.err conftest.$ac_objext \
14448      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
14449  
14450 < /* System header to define __stub macros and hopefully few prototypes,
14451 <    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
13427 <      optimal_iopoll_mechanism="none"
13428 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14450 >  optimal_iopoll_mechanism="none"
14451 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14452      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14453      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14454        optimal_iopoll_mechanism="$mechanism"
14455        break
14456      fi
14457    done
14458 <      if test "$desired_iopoll_mechanism" = "none" ; then
14458 >
14459 >  if test "$desired_iopoll_mechanism" = "none" ; then
14460      if test "$optimal_iopoll_mechanism" = "none" ; then
14461        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14462   $as_echo "none" >&6; }
14463 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14463 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14464      else
14465        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14466        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13451 | Line 14475 | $as_echo "$selected_iopoll_mechanism" >&
14475      else
14476        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14477   $as_echo "none" >&6; }
14478 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14478 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14479      fi
14480    fi
14481 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14481 >
14482 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14483  
14484   cat >>confdefs.h <<_ACEOF
14485   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 13462 | Line 14487 | _ACEOF
14487  
14488  
14489  
14490 +  # Check whether --enable-debugging was given.
14491 + if test "${enable_debugging+set}" = set; then :
14492 +  enableval=$enable_debugging; debugging="$enableval"
14493 + else
14494 +  debugging="no"
14495 + fi
14496  
14497 < # Check whether --with-nicklen was given.
14498 < if test "${with_nicklen+set}" = set; then :
14499 <  withval=$with_nicklen; nicklen="$withval"
14497 >  if test "$debugging" = "yes" ; then
14498 >    CFLAGS="-Wall -g -O0"
14499 >  fi
14500 >
14501 >
14502 >  # Check whether --enable-warnings was given.
14503 > if test "${enable_warnings+set}" = set; then :
14504 >  enableval=$enable_warnings; warnings="$enableval"
14505   else
14506 <  nicklen="9"
14506 >  warnings="no"
14507   fi
14508  
14509  
14510 < cat >>confdefs.h <<_ACEOF
14511 < #define NICKLEN ($nicklen+1)
14510 >  if test "$warnings" = "yes" ; then
14511 >
14512 >
14513 >
14514 >
14515 > for flag in -Wall; do
14516 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14517 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14518 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14519 > if eval \${$as_CACHEVAR+:} false; then :
14520 >  $as_echo_n "(cached) " >&6
14521 > else
14522 >
14523 >  ax_check_save_flags=$CFLAGS
14524 >  CFLAGS="$CFLAGS  $flag"
14525 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 > /* end confdefs.h.  */
14527 >
14528 > int
14529 > main ()
14530 > {
14531 >
14532 >  ;
14533 >  return 0;
14534 > }
14535   _ACEOF
14536 + if ac_fn_c_try_compile "$LINENO"; then :
14537 +  eval "$as_CACHEVAR=yes"
14538 + else
14539 +  eval "$as_CACHEVAR=no"
14540 + fi
14541 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14542 +  CFLAGS=$ax_check_save_flags
14543 + fi
14544 + eval ac_res=\$$as_CACHEVAR
14545 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14546 + $as_echo "$ac_res" >&6; }
14547 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14548 +  if ${CFLAGS+:} false; then :
14549 +  case " $CFLAGS " in
14550 +    *" $flag "*)
14551 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14552 +  (: CFLAGS already contains $flag) 2>&5
14553 +  ac_status=$?
14554 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14555 +  test $ac_status = 0; }
14556 +      ;;
14557 +    *)
14558 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14559 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14560 +  ac_status=$?
14561 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14562 +  test $ac_status = 0; }
14563 +      CFLAGS="$CFLAGS $flag"
14564 +      ;;
14565 +   esac
14566 + else
14567 +  CFLAGS="$flag"
14568 + fi
14569 +
14570 + else
14571 +  :
14572 + fi
14573 +
14574 + done
14575 +
14576  
14577  
14578  
14579  
14580 < # Check whether --with-topiclen was given.
14581 < if test "${with_topiclen+set}" = set; then :
14582 <  withval=$with_topiclen; topiclen="$withval"
14580 > for flag in -Wextra; do
14581 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14582 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14583 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14584 > if eval \${$as_CACHEVAR+:} false; then :
14585 >  $as_echo_n "(cached) " >&6
14586   else
14587 <  topiclen="160"
14587 >
14588 >  ax_check_save_flags=$CFLAGS
14589 >  CFLAGS="$CFLAGS  $flag"
14590 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 > /* end confdefs.h.  */
14592 >
14593 > int
14594 > main ()
14595 > {
14596 >
14597 >  ;
14598 >  return 0;
14599 > }
14600 > _ACEOF
14601 > if ac_fn_c_try_compile "$LINENO"; then :
14602 >  eval "$as_CACHEVAR=yes"
14603 > else
14604 >  eval "$as_CACHEVAR=no"
14605 > fi
14606 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 >  CFLAGS=$ax_check_save_flags
14608 > fi
14609 > eval ac_res=\$$as_CACHEVAR
14610 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14611 > $as_echo "$ac_res" >&6; }
14612 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14613 >  if ${CFLAGS+:} false; then :
14614 >  case " $CFLAGS " in
14615 >    *" $flag "*)
14616 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14617 >  (: CFLAGS already contains $flag) 2>&5
14618 >  ac_status=$?
14619 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620 >  test $ac_status = 0; }
14621 >      ;;
14622 >    *)
14623 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14624 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14625 >  ac_status=$?
14626 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14627 >  test $ac_status = 0; }
14628 >      CFLAGS="$CFLAGS $flag"
14629 >      ;;
14630 >   esac
14631 > else
14632 >  CFLAGS="$flag"
14633 > fi
14634 >
14635 > else
14636 >  :
14637   fi
14638  
14639 + done
14640  
14641 < cat >>confdefs.h <<_ACEOF
14642 < #define TOPICLEN ($topiclen)
14641 >
14642 >
14643 >
14644 >
14645 > for flag in -Wno-unused; do
14646 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14647 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14648 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14649 > if eval \${$as_CACHEVAR+:} false; then :
14650 >  $as_echo_n "(cached) " >&6
14651 > else
14652 >
14653 >  ax_check_save_flags=$CFLAGS
14654 >  CFLAGS="$CFLAGS  $flag"
14655 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 > /* end confdefs.h.  */
14657 >
14658 > int
14659 > main ()
14660 > {
14661 >
14662 >  ;
14663 >  return 0;
14664 > }
14665   _ACEOF
14666 + if ac_fn_c_try_compile "$LINENO"; then :
14667 +  eval "$as_CACHEVAR=yes"
14668 + else
14669 +  eval "$as_CACHEVAR=no"
14670 + fi
14671 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14672 +  CFLAGS=$ax_check_save_flags
14673 + fi
14674 + eval ac_res=\$$as_CACHEVAR
14675 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14676 + $as_echo "$ac_res" >&6; }
14677 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14678 +  if ${CFLAGS+:} false; then :
14679 +  case " $CFLAGS " in
14680 +    *" $flag "*)
14681 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14682 +  (: CFLAGS already contains $flag) 2>&5
14683 +  ac_status=$?
14684 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 +  test $ac_status = 0; }
14686 +      ;;
14687 +    *)
14688 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14689 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14690 +  ac_status=$?
14691 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692 +  test $ac_status = 0; }
14693 +      CFLAGS="$CFLAGS $flag"
14694 +      ;;
14695 +   esac
14696 + else
14697 +  CFLAGS="$flag"
14698 + fi
14699 +
14700 + else
14701 +  :
14702 + fi
14703 +
14704 + done
14705 +
14706  
14707  
14708  
14709  
14710 < # Check whether --with-syslog-facility was given.
14711 < if test "${with_syslog_facility+set}" = set; then :
14712 <  withval=$with_syslog_facility; syslog_facility="$withval"
14710 > for flag in -Wcast-qual; do
14711 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14712 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14713 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14714 > if eval \${$as_CACHEVAR+:} false; then :
14715 >  $as_echo_n "(cached) " >&6
14716 > else
14717 >
14718 >  ax_check_save_flags=$CFLAGS
14719 >  CFLAGS="$CFLAGS  $flag"
14720 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 > /* end confdefs.h.  */
14722 >
14723 > int
14724 > main ()
14725 > {
14726 >
14727 >  ;
14728 >  return 0;
14729 > }
14730 > _ACEOF
14731 > if ac_fn_c_try_compile "$LINENO"; then :
14732 >  eval "$as_CACHEVAR=yes"
14733 > else
14734 >  eval "$as_CACHEVAR=no"
14735 > fi
14736 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14737 >  CFLAGS=$ax_check_save_flags
14738 > fi
14739 > eval ac_res=\$$as_CACHEVAR
14740 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14741 > $as_echo "$ac_res" >&6; }
14742 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14743 >  if ${CFLAGS+:} false; then :
14744 >  case " $CFLAGS " in
14745 >    *" $flag "*)
14746 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14747 >  (: CFLAGS already contains $flag) 2>&5
14748 >  ac_status=$?
14749 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 >  test $ac_status = 0; }
14751 >      ;;
14752 >    *)
14753 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14754 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14755 >  ac_status=$?
14756 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14757 >  test $ac_status = 0; }
14758 >      CFLAGS="$CFLAGS $flag"
14759 >      ;;
14760 >   esac
14761 > else
14762 >  CFLAGS="$flag"
14763 > fi
14764 >
14765   else
14766 <  syslog_facility="LOG_LOCAL4"
14766 >  :
14767   fi
14768  
14769 + done
14770  
14771 < cat >>confdefs.h <<_ACEOF
14772 < #define LOG_FACILITY $syslog_facility
14771 >
14772 >
14773 >
14774 >
14775 > for flag in -Wcast-align; do
14776 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14777 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14778 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14779 > if eval \${$as_CACHEVAR+:} false; then :
14780 >  $as_echo_n "(cached) " >&6
14781 > else
14782 >
14783 >  ax_check_save_flags=$CFLAGS
14784 >  CFLAGS="$CFLAGS  $flag"
14785 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 > /* end confdefs.h.  */
14787 >
14788 > int
14789 > main ()
14790 > {
14791 >
14792 >  ;
14793 >  return 0;
14794 > }
14795   _ACEOF
14796 + if ac_fn_c_try_compile "$LINENO"; then :
14797 +  eval "$as_CACHEVAR=yes"
14798 + else
14799 +  eval "$as_CACHEVAR=no"
14800 + fi
14801 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 +  CFLAGS=$ax_check_save_flags
14803 + fi
14804 + eval ac_res=\$$as_CACHEVAR
14805 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14806 + $as_echo "$ac_res" >&6; }
14807 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14808 +  if ${CFLAGS+:} false; then :
14809 +  case " $CFLAGS " in
14810 +    *" $flag "*)
14811 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14812 +  (: CFLAGS already contains $flag) 2>&5
14813 +  ac_status=$?
14814 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815 +  test $ac_status = 0; }
14816 +      ;;
14817 +    *)
14818 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14819 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14820 +  ac_status=$?
14821 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14822 +  test $ac_status = 0; }
14823 +      CFLAGS="$CFLAGS $flag"
14824 +      ;;
14825 +   esac
14826 + else
14827 +  CFLAGS="$flag"
14828 + fi
14829  
14830 + else
14831 +  :
14832 + fi
14833 +
14834 + done
14835 +
14836 +
14837 +
14838 +
14839 +
14840 + for flag in -Wbad-function-cast; do
14841 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14842 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14843 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14844 + if eval \${$as_CACHEVAR+:} false; then :
14845 +  $as_echo_n "(cached) " >&6
14846 + else
14847 +
14848 +  ax_check_save_flags=$CFLAGS
14849 +  CFLAGS="$CFLAGS  $flag"
14850 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 + /* end confdefs.h.  */
14852 +
14853 + int
14854 + main ()
14855 + {
14856  
14857 +  ;
14858 +  return 0;
14859 + }
14860 + _ACEOF
14861 + if ac_fn_c_try_compile "$LINENO"; then :
14862 +  eval "$as_CACHEVAR=yes"
14863 + else
14864 +  eval "$as_CACHEVAR=no"
14865 + fi
14866 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14867 +  CFLAGS=$ax_check_save_flags
14868 + fi
14869 + eval ac_res=\$$as_CACHEVAR
14870 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14871 + $as_echo "$ac_res" >&6; }
14872 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14873 +  if ${CFLAGS+:} false; then :
14874 +  case " $CFLAGS " in
14875 +    *" $flag "*)
14876 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14877 +  (: CFLAGS already contains $flag) 2>&5
14878 +  ac_status=$?
14879 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14880 +  test $ac_status = 0; }
14881 +      ;;
14882 +    *)
14883 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14884 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14885 +  ac_status=$?
14886 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14887 +  test $ac_status = 0; }
14888 +      CFLAGS="$CFLAGS $flag"
14889 +      ;;
14890 +   esac
14891 + else
14892 +  CFLAGS="$flag"
14893 + fi
14894  
13510  # Check whether --enable-efnet was given.
13511 if test "${enable_efnet+set}" = set; then :
13512  enableval=$enable_efnet; efnet="$enableval"
14895   else
14896 <  efnet="no"
14896 >  :
14897   fi
14898  
14899 <  if test "$efnet" = "yes" ; then
13518 <                use_efnet="yes"
14899 > done
14900  
13520 $as_echo "#define EFNET 1" >>confdefs.h
14901  
14902  
13523 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14903  
14904 <        else
14905 <                use_efnet="no"
14906 <  fi
14907 <   if test "$use_efnet" = "yes"; then
14908 <  EFNET_TRUE=
14909 <  EFNET_FALSE='#'
14904 >
14905 > for flag in -Wlogical-op; do
14906 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14907 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14908 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14909 > if eval \${$as_CACHEVAR+:} false; then :
14910 >  $as_echo_n "(cached) " >&6
14911 > else
14912 >
14913 >  ax_check_save_flags=$CFLAGS
14914 >  CFLAGS="$CFLAGS  $flag"
14915 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 > /* end confdefs.h.  */
14917 >
14918 > int
14919 > main ()
14920 > {
14921 >
14922 >  ;
14923 >  return 0;
14924 > }
14925 > _ACEOF
14926 > if ac_fn_c_try_compile "$LINENO"; then :
14927 >  eval "$as_CACHEVAR=yes"
14928 > else
14929 >  eval "$as_CACHEVAR=no"
14930 > fi
14931 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 >  CFLAGS=$ax_check_save_flags
14933 > fi
14934 > eval ac_res=\$$as_CACHEVAR
14935 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14936 > $as_echo "$ac_res" >&6; }
14937 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14938 >  if ${CFLAGS+:} false; then :
14939 >  case " $CFLAGS " in
14940 >    *" $flag "*)
14941 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14942 >  (: CFLAGS already contains $flag) 2>&5
14943 >  ac_status=$?
14944 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14945 >  test $ac_status = 0; }
14946 >      ;;
14947 >    *)
14948 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14949 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14950 >  ac_status=$?
14951 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14952 >  test $ac_status = 0; }
14953 >      CFLAGS="$CFLAGS $flag"
14954 >      ;;
14955 >   esac
14956 > else
14957 >  CFLAGS="$flag"
14958 > fi
14959 >
14960 > else
14961 >  :
14962 > fi
14963 >
14964 > done
14965 >
14966 >
14967 >
14968 >
14969 >
14970 > for flag in -Wmissing-declarations; do
14971 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14972 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14973 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14974 > if eval \${$as_CACHEVAR+:} false; then :
14975 >  $as_echo_n "(cached) " >&6
14976 > else
14977 >
14978 >  ax_check_save_flags=$CFLAGS
14979 >  CFLAGS="$CFLAGS  $flag"
14980 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 > /* end confdefs.h.  */
14982 >
14983 > int
14984 > main ()
14985 > {
14986 >
14987 >  ;
14988 >  return 0;
14989 > }
14990 > _ACEOF
14991 > if ac_fn_c_try_compile "$LINENO"; then :
14992 >  eval "$as_CACHEVAR=yes"
14993   else
14994 <  EFNET_TRUE='#'
13533 <  EFNET_FALSE=
14994 >  eval "$as_CACHEVAR=no"
14995   fi
14996 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14997 +  CFLAGS=$ax_check_save_flags
14998 + fi
14999 + eval ac_res=\$$as_CACHEVAR
15000 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15001 + $as_echo "$ac_res" >&6; }
15002 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15003 +  if ${CFLAGS+:} false; then :
15004 +  case " $CFLAGS " in
15005 +    *" $flag "*)
15006 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15007 +  (: CFLAGS already contains $flag) 2>&5
15008 +  ac_status=$?
15009 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15010 +  test $ac_status = 0; }
15011 +      ;;
15012 +    *)
15013 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15014 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15015 +  ac_status=$?
15016 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017 +  test $ac_status = 0; }
15018 +      CFLAGS="$CFLAGS $flag"
15019 +      ;;
15020 +   esac
15021 + else
15022 +  CFLAGS="$flag"
15023 + fi
15024 +
15025 + else
15026 +  :
15027 + fi
15028 +
15029 + done
15030  
15031  
15032  
15033 <  # Check whether --enable-halfops was given.
15034 < if test "${enable_halfops+set}" = set; then :
15035 <  enableval=$enable_halfops; halfops="$enableval"
15033 >
15034 >
15035 > for flag in -Wmissing-include-dirs; do
15036 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15037 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15038 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15039 > if eval \${$as_CACHEVAR+:} false; then :
15040 >  $as_echo_n "(cached) " >&6
15041 > else
15042 >
15043 >  ax_check_save_flags=$CFLAGS
15044 >  CFLAGS="$CFLAGS  $flag"
15045 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 > /* end confdefs.h.  */
15047 >
15048 > int
15049 > main ()
15050 > {
15051 >
15052 >  ;
15053 >  return 0;
15054 > }
15055 > _ACEOF
15056 > if ac_fn_c_try_compile "$LINENO"; then :
15057 >  eval "$as_CACHEVAR=yes"
15058 > else
15059 >  eval "$as_CACHEVAR=no"
15060 > fi
15061 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15062 >  CFLAGS=$ax_check_save_flags
15063 > fi
15064 > eval ac_res=\$$as_CACHEVAR
15065 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15066 > $as_echo "$ac_res" >&6; }
15067 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15068 >  if ${CFLAGS+:} false; then :
15069 >  case " $CFLAGS " in
15070 >    *" $flag "*)
15071 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15072 >  (: CFLAGS already contains $flag) 2>&5
15073 >  ac_status=$?
15074 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 >  test $ac_status = 0; }
15076 >      ;;
15077 >    *)
15078 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15079 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15080 >  ac_status=$?
15081 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 >  test $ac_status = 0; }
15083 >      CFLAGS="$CFLAGS $flag"
15084 >      ;;
15085 >   esac
15086 > else
15087 >  CFLAGS="$flag"
15088 > fi
15089 >
15090   else
15091 <  halfops="no"
15091 >  :
15092   fi
15093  
15094 <  if test "$halfops" = "yes" ; then
15094 > done
15095  
13547 $as_echo "#define HALFOPS 1" >>confdefs.h
15096  
13549  fi
15097  
15098  
15099 <  # Check whether --enable-debugging was given.
15100 < if test "${enable_debugging+set}" = set; then :
15101 <  enableval=$enable_debugging; debugging="$enableval"
15099 >
15100 > for flag in -Wmissing-prototypes; do
15101 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15102 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15103 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15104 > if eval \${$as_CACHEVAR+:} false; then :
15105 >  $as_echo_n "(cached) " >&6
15106   else
15107 <  debugging="no"
15107 >
15108 >  ax_check_save_flags=$CFLAGS
15109 >  CFLAGS="$CFLAGS  $flag"
15110 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 > /* end confdefs.h.  */
15112 >
15113 > int
15114 > main ()
15115 > {
15116 >
15117 >  ;
15118 >  return 0;
15119 > }
15120 > _ACEOF
15121 > if ac_fn_c_try_compile "$LINENO"; then :
15122 >  eval "$as_CACHEVAR=yes"
15123 > else
15124 >  eval "$as_CACHEVAR=no"
15125 > fi
15126 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 >  CFLAGS=$ax_check_save_flags
15128 > fi
15129 > eval ac_res=\$$as_CACHEVAR
15130 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15131 > $as_echo "$ac_res" >&6; }
15132 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15133 >  if ${CFLAGS+:} false; then :
15134 >  case " $CFLAGS " in
15135 >    *" $flag "*)
15136 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15137 >  (: CFLAGS already contains $flag) 2>&5
15138 >  ac_status=$?
15139 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15140 >  test $ac_status = 0; }
15141 >      ;;
15142 >    *)
15143 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15144 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15145 >  ac_status=$?
15146 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15147 >  test $ac_status = 0; }
15148 >      CFLAGS="$CFLAGS $flag"
15149 >      ;;
15150 >   esac
15151 > else
15152 >  CFLAGS="$flag"
15153   fi
15154  
15155 <  if test "$debugging" = "yes" ; then
15155 > else
15156 >  :
15157 > fi
15158  
15159 < $as_echo "#define DEBUG 1" >>confdefs.h
15159 > done
15160  
13563    CFLAGS="-Wall -g -O0"
13564  else
15161  
13566 $as_echo "#define NDEBUG 1" >>confdefs.h
15162  
13568  fi
15163  
15164  
15165 <  # Check whether --enable-warnings was given.
15166 < if test "${enable_warnings+set}" = set; then :
15167 <  enableval=$enable_warnings; warnings="$enableval"
15165 > for flag in -Wnested-externs; do
15166 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15167 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15168 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15169 > if eval \${$as_CACHEVAR+:} false; then :
15170 >  $as_echo_n "(cached) " >&6
15171   else
15172 <  warnings="no"
15172 >
15173 >  ax_check_save_flags=$CFLAGS
15174 >  CFLAGS="$CFLAGS  $flag"
15175 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 > /* end confdefs.h.  */
15177 >
15178 > int
15179 > main ()
15180 > {
15181 >
15182 >  ;
15183 >  return 0;
15184 > }
15185 > _ACEOF
15186 > if ac_fn_c_try_compile "$LINENO"; then :
15187 >  eval "$as_CACHEVAR=yes"
15188 > else
15189 >  eval "$as_CACHEVAR=no"
15190 > fi
15191 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15192 >  CFLAGS=$ax_check_save_flags
15193 > fi
15194 > eval ac_res=\$$as_CACHEVAR
15195 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15196 > $as_echo "$ac_res" >&6; }
15197 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15198 >  if ${CFLAGS+:} false; then :
15199 >  case " $CFLAGS " in
15200 >    *" $flag "*)
15201 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15202 >  (: CFLAGS already contains $flag) 2>&5
15203 >  ac_status=$?
15204 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15205 >  test $ac_status = 0; }
15206 >      ;;
15207 >    *)
15208 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15209 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15210 >  ac_status=$?
15211 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15212 >  test $ac_status = 0; }
15213 >      CFLAGS="$CFLAGS $flag"
15214 >      ;;
15215 >   esac
15216 > else
15217 >  CFLAGS="$flag"
15218   fi
15219  
15220 <  if test "$warnings" = "yes" ; then
15221 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15222 <  fi
15220 > else
15221 >  :
15222 > fi
15223  
15224 + done
15225  
15226 <  for ac_header in syslog.h sys/syslog.h
15227 < do :
15228 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15229 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15230 < eval as_val=\$$as_ac_Header
15231 <   if test "x$as_val" = x""yes; then :
15232 <  cat >>confdefs.h <<_ACEOF
15233 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15226 >
15227 >
15228 >
15229 >
15230 > for flag in -Wpointer-arith; do
15231 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15232 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15233 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15234 > if eval \${$as_CACHEVAR+:} false; then :
15235 >  $as_echo_n "(cached) " >&6
15236 > else
15237 >
15238 >  ax_check_save_flags=$CFLAGS
15239 >  CFLAGS="$CFLAGS  $flag"
15240 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 > /* end confdefs.h.  */
15242 >
15243 > int
15244 > main ()
15245 > {
15246 >
15247 >  ;
15248 >  return 0;
15249 > }
15250   _ACEOF
15251 + if ac_fn_c_try_compile "$LINENO"; then :
15252 +  eval "$as_CACHEVAR=yes"
15253 + else
15254 +  eval "$as_CACHEVAR=no"
15255 + fi
15256 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15257 +  CFLAGS=$ax_check_save_flags
15258 + fi
15259 + eval ac_res=\$$as_CACHEVAR
15260 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15261 + $as_echo "$ac_res" >&6; }
15262 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15263 +  if ${CFLAGS+:} false; then :
15264 +  case " $CFLAGS " in
15265 +    *" $flag "*)
15266 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15267 +  (: CFLAGS already contains $flag) 2>&5
15268 +  ac_status=$?
15269 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15270 +  test $ac_status = 0; }
15271 +      ;;
15272 +    *)
15273 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15274 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15275 +  ac_status=$?
15276 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15277 +  test $ac_status = 0; }
15278 +      CFLAGS="$CFLAGS $flag"
15279 +      ;;
15280 +   esac
15281 + else
15282 +  CFLAGS="$flag"
15283 + fi
15284  
15285 + else
15286 +  :
15287   fi
15288  
15289   done
15290  
15291 <  # Check whether --enable-syslog was given.
15292 < if test "${enable_syslog+set}" = set; then :
15293 <  enableval=$enable_syslog; syslog="$enableval"
15294 < else
15295 <  syslog="no"
15291 >
15292 >
15293 >
15294 >
15295 > for flag in -Wredundant-decls; do
15296 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15297 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15298 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15299 > if eval \${$as_CACHEVAR+:} false; then :
15300 >  $as_echo_n "(cached) " >&6
15301 > else
15302 >
15303 >  ax_check_save_flags=$CFLAGS
15304 >  CFLAGS="$CFLAGS  $flag"
15305 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 > /* end confdefs.h.  */
15307 >
15308 > int
15309 > main ()
15310 > {
15311 >
15312 >  ;
15313 >  return 0;
15314 > }
15315 > _ACEOF
15316 > if ac_fn_c_try_compile "$LINENO"; then :
15317 >  eval "$as_CACHEVAR=yes"
15318 > else
15319 >  eval "$as_CACHEVAR=no"
15320 > fi
15321 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 >  CFLAGS=$ax_check_save_flags
15323 > fi
15324 > eval ac_res=\$$as_CACHEVAR
15325 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15326 > $as_echo "$ac_res" >&6; }
15327 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15328 >  if ${CFLAGS+:} false; then :
15329 >  case " $CFLAGS " in
15330 >    *" $flag "*)
15331 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15332 >  (: CFLAGS already contains $flag) 2>&5
15333 >  ac_status=$?
15334 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15335 >  test $ac_status = 0; }
15336 >      ;;
15337 >    *)
15338 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15339 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15340 >  ac_status=$?
15341 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 >  test $ac_status = 0; }
15343 >      CFLAGS="$CFLAGS $flag"
15344 >      ;;
15345 >   esac
15346 > else
15347 >  CFLAGS="$flag"
15348   fi
15349  
15350 <  if test "$enableval" != "no" ; then
15351 <    for option in $enableval ; do
15352 <      case "$option" in
15353 <        users)
15354 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15355 < ;;
15356 <        oper)
15357 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15358 < ;;
15359 <        yes) : ;;
15360 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15361 <      esac
15362 <    done
15350 > else
15351 >  :
15352 > fi
15353 >
15354 > done
15355 >
15356 >
15357 >
15358 >
15359 >
15360 > for flag in -Wshadow; do
15361 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15362 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15363 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15364 > if eval \${$as_CACHEVAR+:} false; then :
15365 >  $as_echo_n "(cached) " >&6
15366 > else
15367 >
15368 >  ax_check_save_flags=$CFLAGS
15369 >  CFLAGS="$CFLAGS  $flag"
15370 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 > /* end confdefs.h.  */
15372 >
15373 > int
15374 > main ()
15375 > {
15376 >
15377 >  ;
15378 >  return 0;
15379 > }
15380 > _ACEOF
15381 > if ac_fn_c_try_compile "$LINENO"; then :
15382 >  eval "$as_CACHEVAR=yes"
15383 > else
15384 >  eval "$as_CACHEVAR=no"
15385 > fi
15386 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 >  CFLAGS=$ax_check_save_flags
15388 > fi
15389 > eval ac_res=\$$as_CACHEVAR
15390 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15391 > $as_echo "$ac_res" >&6; }
15392 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15393 >  if ${CFLAGS+:} false; then :
15394 >  case " $CFLAGS " in
15395 >    *" $flag "*)
15396 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15397 >  (: CFLAGS already contains $flag) 2>&5
15398 >  ac_status=$?
15399 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15400 >  test $ac_status = 0; }
15401 >      ;;
15402 >    *)
15403 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15404 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15405 >  ac_status=$?
15406 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15407 >  test $ac_status = 0; }
15408 >      CFLAGS="$CFLAGS $flag"
15409 >      ;;
15410 >   esac
15411 > else
15412 >  CFLAGS="$flag"
15413 > fi
15414 >
15415 > else
15416 >  :
15417 > fi
15418 >
15419 > done
15420 >
15421 >
15422 >
15423 >
15424 >
15425 > for flag in -Wwrite-strings; do
15426 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15427 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15428 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15429 > if eval \${$as_CACHEVAR+:} false; then :
15430 >  $as_echo_n "(cached) " >&6
15431 > else
15432 >
15433 >  ax_check_save_flags=$CFLAGS
15434 >  CFLAGS="$CFLAGS  $flag"
15435 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 > /* end confdefs.h.  */
15437 >
15438 > int
15439 > main ()
15440 > {
15441 >
15442 >  ;
15443 >  return 0;
15444 > }
15445 > _ACEOF
15446 > if ac_fn_c_try_compile "$LINENO"; then :
15447 >  eval "$as_CACHEVAR=yes"
15448 > else
15449 >  eval "$as_CACHEVAR=no"
15450 > fi
15451 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15452 >  CFLAGS=$ax_check_save_flags
15453 > fi
15454 > eval ac_res=\$$as_CACHEVAR
15455 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15456 > $as_echo "$ac_res" >&6; }
15457 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15458 >  if ${CFLAGS+:} false; then :
15459 >  case " $CFLAGS " in
15460 >    *" $flag "*)
15461 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15462 >  (: CFLAGS already contains $flag) 2>&5
15463 >  ac_status=$?
15464 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 >  test $ac_status = 0; }
15466 >      ;;
15467 >    *)
15468 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15469 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15470 >  ac_status=$?
15471 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472 >  test $ac_status = 0; }
15473 >      CFLAGS="$CFLAGS $flag"
15474 >      ;;
15475 >   esac
15476 > else
15477 >  CFLAGS="$flag"
15478 > fi
15479 >
15480 > else
15481 >  :
15482 > fi
15483 >
15484 > done
15485 >
15486 >
15487 >
15488 >
15489 >
15490 > for flag in -Wundef; do
15491 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15492 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15493 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15494 > if eval \${$as_CACHEVAR+:} false; then :
15495 >  $as_echo_n "(cached) " >&6
15496 > else
15497 >
15498 >  ax_check_save_flags=$CFLAGS
15499 >  CFLAGS="$CFLAGS  $flag"
15500 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 > /* end confdefs.h.  */
15502  
15503 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15503 > int
15504 > main ()
15505 > {
15506 >
15507 >  ;
15508 >  return 0;
15509 > }
15510 > _ACEOF
15511 > if ac_fn_c_try_compile "$LINENO"; then :
15512 >  eval "$as_CACHEVAR=yes"
15513 > else
15514 >  eval "$as_CACHEVAR=no"
15515 > fi
15516 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15517 >  CFLAGS=$ax_check_save_flags
15518 > fi
15519 > eval ac_res=\$$as_CACHEVAR
15520 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15521 > $as_echo "$ac_res" >&6; }
15522 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15523 >  if ${CFLAGS+:} false; then :
15524 >  case " $CFLAGS " in
15525 >    *" $flag "*)
15526 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15527 >  (: CFLAGS already contains $flag) 2>&5
15528 >  ac_status=$?
15529 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 >  test $ac_status = 0; }
15531 >      ;;
15532 >    *)
15533 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15534 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15535 >  ac_status=$?
15536 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15537 >  test $ac_status = 0; }
15538 >      CFLAGS="$CFLAGS $flag"
15539 >      ;;
15540 >   esac
15541 > else
15542 >  CFLAGS="$flag"
15543 > fi
15544 >
15545 > else
15546 >  :
15547 > fi
15548 >
15549 > done
15550  
15551    fi
15552  
# Line 13706 | Line 15637 | _ACEOF
15637    test "$exec_prefix_NONE" && exec_prefix=NONE
15638  
15639  
15640 < 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"
15640 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15641  
15642  
15643   cat >confcache <<\_ACEOF
# Line 13773 | Line 15704 | $as_echo "$as_me: WARNING: cache variabl
15704       :end' >>confcache
15705   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15706    if test -w "$cache_file"; then
15707 <    test "x$cache_file" != "x/dev/null" &&
15707 >    if test "x$cache_file" != "x/dev/null"; then
15708        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15709   $as_echo "$as_me: updating cache $cache_file" >&6;}
15710 <    cat confcache >$cache_file
15710 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15711 >        cat confcache >"$cache_file"
15712 >      else
15713 >        case $cache_file in #(
15714 >        */* | ?:*)
15715 >          mv -f confcache "$cache_file"$$ &&
15716 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15717 >        *)
15718 >          mv -f confcache "$cache_file" ;;
15719 >        esac
15720 >      fi
15721 >    fi
15722    else
15723      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15724   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13792 | Line 15734 | DEFS=-DHAVE_CONFIG_H
15734  
15735   ac_libobjs=
15736   ac_ltlibobjs=
15737 + U=
15738   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15739    # 1. Remove the extension, and $U if already installed.
15740    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13806 | Line 15749 | LIBOBJS=$ac_libobjs
15749   LTLIBOBJS=$ac_ltlibobjs
15750  
15751  
15752 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15753 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15754 +   if test -n "$am_sleep_pid"; then
15755 +     # Hide warnings about reused PIDs.
15756 +     wait $am_sleep_pid 2>/dev/null
15757 +   fi
15758 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15759 + $as_echo "done" >&6; }
15760   if test -n "$EXEEXT"; then
15761    am__EXEEXT_TRUE=
15762    am__EXEEXT_FALSE='#'
# Line 13815 | Line 15766 | else
15766   fi
15767  
15768   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15769 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15769 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15770   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15771   fi
15772   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15773 <  as_fn_error "conditional \"AMDEP\" was never defined.
15773 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15774   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15775   fi
15776   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15777 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15777 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15778   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15779   fi
15780   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15781 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15781 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15782   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15783   fi
15784   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15785 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15785 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15786   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15787   fi
15788   LT_CONFIG_H=config.h
# Line 13852 | Line 15803 | LT_CONFIG_H=config.h
15803  
15804  
15805  
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
15806   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15807 <  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.
15807 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15808   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15809   fi
15810  
15811 < : ${CONFIG_STATUS=./config.status}
15811 > : "${CONFIG_STATUS=./config.status}"
15812   ac_write_fail=0
15813   ac_clean_files_save=$ac_clean_files
15814   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13966 | Line 15909 | fi
15909   IFS=" ""        $as_nl"
15910  
15911   # Find who we are.  Look in the path if we contain no directory separator.
15912 + as_myself=
15913   case $0 in #((
15914    *[\\/]* ) as_myself=$0 ;;
15915    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14011 | Line 15955 | export LANGUAGE
15955   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15956  
15957  
15958 < # as_fn_error ERROR [LINENO LOG_FD]
15959 < # ---------------------------------
15958 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15959 > # ----------------------------------------
15960   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15961   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15962 < # script with status $?, using 1 if that was 0.
15962 > # script with STATUS, using 1 if that was 0.
15963   as_fn_error ()
15964   {
15965 <  as_status=$?; test $as_status -eq 0 && as_status=1
15966 <  if test "$3"; then
15967 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15968 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15965 >  as_status=$1; test $as_status -eq 0 && as_status=1
15966 >  if test "$4"; then
15967 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15968 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15969    fi
15970 <  $as_echo "$as_me: error: $1" >&2
15970 >  $as_echo "$as_me: error: $2" >&2
15971    as_fn_exit $as_status
15972   } # as_fn_error
15973  
# Line 14161 | Line 16105 | if (echo >conf$$.file) 2>/dev/null; then
16105      # ... but there are two gotchas:
16106      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16107      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16108 <    # In both cases, we have to default to `cp -p'.
16108 >    # In both cases, we have to default to `cp -pR'.
16109      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16110 <      as_ln_s='cp -p'
16110 >      as_ln_s='cp -pR'
16111    elif ln conf$$.file conf$$ 2>/dev/null; then
16112      as_ln_s=ln
16113    else
16114 <    as_ln_s='cp -p'
16114 >    as_ln_s='cp -pR'
16115    fi
16116   else
16117 <  as_ln_s='cp -p'
16117 >  as_ln_s='cp -pR'
16118   fi
16119   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16120   rmdir conf$$.dir 2>/dev/null
# Line 14219 | Line 16163 | $as_echo X"$as_dir" |
16163        test -d "$as_dir" && break
16164      done
16165      test -z "$as_dirs" || eval "mkdir $as_dirs"
16166 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16166 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16167  
16168  
16169   } # as_fn_mkdir_p
# Line 14230 | Line 16174 | else
16174    as_mkdir_p=false
16175   fi
16176  
16177 < if test -x / >/dev/null 2>&1; then
16178 <  as_test_x='test -x'
16179 < else
16180 <  if ls -dL / >/dev/null 2>&1; then
16181 <    as_ls_L_option=L
16182 <  else
16183 <    as_ls_L_option=
16184 <  fi
16185 <  as_test_x='
16186 <    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
16177 >
16178 > # as_fn_executable_p FILE
16179 > # -----------------------
16180 > # Test if FILE is an executable regular file.
16181 > as_fn_executable_p ()
16182 > {
16183 >  test -f "$1" && test -x "$1"
16184 > } # as_fn_executable_p
16185 > as_test_x='test -x'
16186 > as_executable_p=as_fn_executable_p
16187  
16188   # Sed expression to map a string onto a valid CPP name.
16189   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14272 | Line 16204 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16204   # report actual input values of CONFIG_FILES etc. instead of their
16205   # values after options handling.
16206   ac_log="
16207 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16208 < generated by GNU Autoconf 2.65.  Invocation command line was
16207 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16208 > generated by GNU Autoconf 2.69.  Invocation command line was
16209  
16210    CONFIG_FILES    = $CONFIG_FILES
16211    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14338 | Line 16270 | _ACEOF
16270   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16272   ac_cs_version="\\
16273 < ircd-hybrid config.status 7.3-rc1
16274 < configured by $0, generated by GNU Autoconf 2.65,
16273 > ircd-hybrid config.status 8.2.0rc1
16274 > configured by $0, generated by GNU Autoconf 2.69,
16275    with options \\"\$ac_cs_config\\"
16276  
16277 < Copyright (C) 2009 Free Software Foundation, Inc.
16277 > Copyright (C) 2012 Free Software Foundation, Inc.
16278   This config.status script is free software; the Free Software Foundation
16279   gives unlimited permission to copy, distribute and modify it."
16280  
# Line 14360 | Line 16292 | ac_need_defaults=:
16292   while test $# != 0
16293   do
16294    case $1 in
16295 <  --*=*)
16295 >  --*=?*)
16296      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16297      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16298      ac_shift=:
16299      ;;
16300 +  --*=)
16301 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16302 +    ac_optarg=
16303 +    ac_shift=:
16304 +    ;;
16305    *)
16306      ac_option=$1
16307      ac_optarg=$2
# Line 14386 | Line 16323 | do
16323      $ac_shift
16324      case $ac_optarg in
16325      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16326 +    '') as_fn_error $? "missing file argument" ;;
16327      esac
16328      as_fn_append CONFIG_FILES " '$ac_optarg'"
16329      ac_need_defaults=false;;
# Line 14398 | Line 16336 | do
16336      ac_need_defaults=false;;
16337    --he | --h)
16338      # Conflict between --help and --header
16339 <    as_fn_error "ambiguous option: \`$1'
16339 >    as_fn_error $? "ambiguous option: \`$1'
16340   Try \`$0 --help' for more information.";;
16341    --help | --hel | -h )
16342      $as_echo "$ac_cs_usage"; exit ;;
# Line 14407 | Line 16345 | Try \`$0 --help' for more information.";
16345      ac_cs_silent=: ;;
16346  
16347    # This is an error.
16348 <  -*) as_fn_error "unrecognized option: \`$1'
16348 >  -*) as_fn_error $? "unrecognized option: \`$1'
16349   Try \`$0 --help' for more information." ;;
16350  
16351    *) as_fn_append ac_config_targets " $1"
# Line 14427 | Line 16365 | fi
16365   _ACEOF
16366   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16367   if \$ac_cs_recheck; then
16368 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16368 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16369    shift
16370    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16371    CONFIG_SHELL='$SHELL'
# Line 14461 | Line 16399 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16399   sed_quote_subst='$sed_quote_subst'
16400   double_quote_subst='$double_quote_subst'
16401   delay_variable_subst='$delay_variable_subst'
16402 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16403 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16404 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16405 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16406 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16407 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16408 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16409 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16410 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16411 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16412 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16413 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16414 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16415 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16416 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16417 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16418 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16419 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16420 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16421 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16422 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16423 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16424 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16425 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16426 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16427 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16428 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16429 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16430 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16431 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16432 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16433 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16434 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16435 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16436 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16437 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16438 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16439 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16440 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16441 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16442 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16443 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16444 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16445 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16446 < 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"`'
16447 < 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"`'
16448 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16449 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16450 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16451 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16452 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16453 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16454 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16455 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16456 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16457 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16458 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16459 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16460 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16461 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16462 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16463 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16464 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16465 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16466 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16467 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16468 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16469 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16470 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16471 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16472 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16473 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16474 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16475 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16476 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16477 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16478 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16479 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16480 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16481 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16482 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16483 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16484 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16485 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16486 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16487 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16488 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16489 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16490 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16491 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16492 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16493 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16494 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16495 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16496 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16497 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16498 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16499 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16500 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16501 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16502 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16503 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16504 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16505 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16506 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16507 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16508 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16509 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16510 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16511 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16512 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16513 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16514 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16515 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16516 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16517 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16518 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16519 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16402 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16403 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16404 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16405 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16406 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16407 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16408 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16409 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16410 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16411 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16412 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16413 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16414 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16415 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16416 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16417 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16418 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16419 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16420 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16421 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16422 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16423 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16424 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16425 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16426 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16427 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16428 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16429 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16430 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16431 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16432 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16433 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16434 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16435 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16436 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16437 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16438 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16439 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16440 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16441 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16442 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16443 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16444 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16445 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16446 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16447 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16448 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16449 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16450 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16451 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16452 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16453 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16454 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16455 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16456 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16457 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16458 > 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"`'
16459 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16460 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16461 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16462 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16463 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16464 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16465 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16466 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16467 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16468 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16469 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16470 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16471 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16472 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16473 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16474 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16475 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16476 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16477 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16478 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16479 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16480 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16481 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16482 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16483 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16484 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16485 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16486 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16487 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16488 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16489 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16490 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16491 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16492 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16493 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16494 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16495 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16496 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16497 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16498 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16499 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16500 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16501 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16502 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16503 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16504 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16505 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16506 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16507 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16508 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16509 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16510 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16511 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16512 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16513 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16514 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16515 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16516 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16517 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16518 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16519 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16520 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16521 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16522 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16523 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16524 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16525 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16526 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16527 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16528 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16529 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16530 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16531 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16532  
16533   LTCC='$LTCC'
16534   LTCFLAGS='$LTCFLAGS'
16535   compiler='$compiler_DEFAULT'
16536  
16537 + # A function that is used when there is no print builtin or printf.
16538 + func_fallback_echo ()
16539 + {
16540 +  eval 'cat <<_LTECHO_EOF
16541 + \$1
16542 + _LTECHO_EOF'
16543 + }
16544 +
16545   # Quote evaled strings.
16546 < for var in SED \
16546 > for var in SHELL \
16547 > ECHO \
16548 > PATH_SEPARATOR \
16549 > SED \
16550   GREP \
16551   EGREP \
16552   FGREP \
# Line 14598 | Line 16559 | reload_flag \
16559   OBJDUMP \
16560   deplibs_check_method \
16561   file_magic_cmd \
16562 + file_magic_glob \
16563 + want_nocaseglob \
16564 + DLLTOOL \
16565 + sharedlib_from_linklib_cmd \
16566   AR \
16567   AR_FLAGS \
16568 + archiver_list_spec \
16569   STRIP \
16570   RANLIB \
16571   CC \
# Line 14609 | Line 16575 | lt_cv_sys_global_symbol_pipe \
16575   lt_cv_sys_global_symbol_to_cdecl \
16576   lt_cv_sys_global_symbol_to_c_name_address \
16577   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16578 < SHELL \
14613 < ECHO \
16578 > nm_file_list_spec \
16579   lt_prog_compiler_no_builtin_flag \
14615 lt_prog_compiler_wl \
16580   lt_prog_compiler_pic \
16581 + lt_prog_compiler_wl \
16582   lt_prog_compiler_static \
16583   lt_cv_prog_compiler_c_o \
16584   need_locks \
16585 + MANIFEST_TOOL \
16586   DSYMUTIL \
16587   NMEDIT \
16588   LIPO \
# Line 14630 | Line 16596 | with_gnu_ld \
16596   allow_undefined_flag \
16597   no_undefined_flag \
16598   hardcode_libdir_flag_spec \
14633 hardcode_libdir_flag_spec_ld \
16599   hardcode_libdir_separator \
14635 fix_srcfile_path \
16600   exclude_expsyms \
16601   include_expsyms \
16602   file_list_spec \
# Line 14640 | Line 16604 | variables_saved_for_relink \
16604   libname_spec \
16605   library_names_spec \
16606   soname_spec \
16607 + install_override_mode \
16608   finish_eval \
16609   old_striplib \
16610   striplib; do
16611 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16611 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16612      *[\\\\\\\`\\"\\\$]*)
16613 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16613 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16614        ;;
16615      *)
16616        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14667 | Line 16632 | module_cmds \
16632   module_expsym_cmds \
16633   export_symbols_cmds \
16634   prelink_cmds \
16635 + postlink_cmds \
16636   postinstall_cmds \
16637   postuninstall_cmds \
16638   finish_cmds \
16639   sys_lib_search_path_spec \
16640   sys_lib_dlsearch_path_spec; do
16641 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16641 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16642      *[\\\\\\\`\\"\\\$]*)
16643 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16643 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16644        ;;
16645      *)
16646        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14682 | Line 16648 | sys_lib_dlsearch_path_spec; do
16648      esac
16649   done
16650  
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
16651   ac_aux_dir='$ac_aux_dir'
16652   xsi_shell='$xsi_shell'
16653   lt_shell_append='$lt_shell_append'
# Line 14720 | Line 16680 | do
16680      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16681      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16682      "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" ;;
16683      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16684      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14729    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16685      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16686      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16687      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16688      "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" ;;
16689      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16690  
16691 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16691 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16692    esac
16693   done
16694  
# Line 14758 | Line 16711 | fi
16711   # after its creation but before its name has been assigned to `$tmp'.
16712   $debug ||
16713   {
16714 <  tmp=
16714 >  tmp= ac_tmp=
16715    trap 'exit_status=$?
16716 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16716 >  : "${ac_tmp:=$tmp}"
16717 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16718   ' 0
16719    trap 'as_fn_exit 1' 1 2 13 15
16720   }
# Line 14768 | Line 16722 | $debug ||
16722  
16723   {
16724    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16725 <  test -n "$tmp" && test -d "$tmp"
16725 >  test -d "$tmp"
16726   }  ||
16727   {
16728    tmp=./conf$$-$RANDOM
16729    (umask 077 && mkdir "$tmp")
16730 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16730 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16731 > ac_tmp=$tmp
16732  
16733   # Set up the scripts for CONFIG_FILES section.
16734   # No need to generate them if there are no CONFIG_FILES.
# Line 14790 | Line 16745 | if test "x$ac_cr" = x; then
16745   fi
16746   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16747   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16748 <  ac_cs_awk_cr='\r'
16748 >  ac_cs_awk_cr='\\r'
16749   else
16750    ac_cs_awk_cr=$ac_cr
16751   fi
16752  
16753 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16753 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16754   _ACEOF
16755  
16756  
# Line 14804 | Line 16759 | _ACEOF
16759    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16760    echo "_ACEOF"
16761   } >conf$$subs.sh ||
16762 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16763 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16762 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16763 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16764   ac_delim='%!_!# '
16765   for ac_last_try in false false false false false :; do
16766    . ./conf$$subs.sh ||
16767 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16767 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16768  
16769    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16770    if test $ac_delim_n = $ac_delim_num; then
16771      break
16772    elif $ac_last_try; then
16773 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16773 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16774    else
16775      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16776    fi
# Line 14823 | Line 16778 | done
16778   rm -f conf$$subs.sh
16779  
16780   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16781 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16781 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16782   _ACEOF
16783   sed -n '
16784   h
# Line 14871 | Line 16826 | t delim
16826   rm -f conf$$subs.awk
16827   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16828   _ACAWK
16829 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16829 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16830    for (key in S) S_is_set[key] = 1
16831    FS = ""
16832  
# Line 14903 | Line 16858 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16858    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16859   else
16860    cat
16861 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16862 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16861 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16862 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16863   _ACEOF
16864  
16865 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16866 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16865 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16866 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16867   # trailing colons and then remove the whole line if VPATH becomes empty
16868   # (actually we leave an empty line to preserve line numbers).
16869   if test "x$srcdir" = x.; then
16870 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16871 < s/:*\$(srcdir):*/:/
16872 < s/:*\${srcdir}:*/:/
16873 < s/:*@srcdir@:*/:/
16874 < s/^\([^=]*=[     ]*\):*/\1/
16870 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16871 > h
16872 > s///
16873 > s/^/:/
16874 > s/[      ]*$/:/
16875 > s/:\$(srcdir):/:/g
16876 > s/:\${srcdir}:/:/g
16877 > s/:@srcdir@:/:/g
16878 > s/^:*//
16879   s/:*$//
16880 + x
16881 + s/\(=[   ]*\).*/\1/
16882 + G
16883 + s/\n//
16884   s/^[^=]*=[       ]*$//
16885   }'
16886   fi
# Line 14929 | Line 16892 | fi # test -n "$CONFIG_FILES"
16892   # No need to generate them if there are no CONFIG_HEADERS.
16893   # This happens for instance with `./config.status Makefile'.
16894   if test -n "$CONFIG_HEADERS"; then
16895 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16895 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16896   BEGIN {
16897   _ACEOF
16898  
# Line 14941 | Line 16904 | _ACEOF
16904   # handling of long lines.
16905   ac_delim='%!_!# '
16906   for ac_last_try in false false :; do
16907 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16908 <  if test -z "$ac_t"; then
16907 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16908 >  if test -z "$ac_tt"; then
16909      break
16910    elif $ac_last_try; then
16911 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16911 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16912    else
16913      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16914    fi
# Line 15030 | Line 16993 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16993   _ACAWK
16994   _ACEOF
16995   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16996 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16996 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16997   fi # test -n "$CONFIG_HEADERS"
16998  
16999  
# Line 15043 | Line 17006 | do
17006    esac
17007    case $ac_mode$ac_tag in
17008    :[FHL]*:*);;
17009 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17009 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17010    :[FH]-) ac_tag=-:-;;
17011    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17012    esac
# Line 15062 | Line 17025 | do
17025      for ac_f
17026      do
17027        case $ac_f in
17028 <      -) ac_f="$tmp/stdin";;
17028 >      -) ac_f="$ac_tmp/stdin";;
17029        *) # Look for the file first in the build tree, then in the source tree
17030           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17031           # because $ac_f cannot contain `:'.
# Line 15071 | Line 17034 | do
17034             [\\/$]*) false;;
17035             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17036             esac ||
17037 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17037 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17038        esac
17039        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17040        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15097 | Line 17060 | $as_echo "$as_me: creating $ac_file" >&6
17060      esac
17061  
17062      case $ac_tag in
17063 <    *:-:* | *:-) cat >"$tmp/stdin" \
17064 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17063 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17064 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17065      esac
17066      ;;
17067    esac
# Line 15234 | Line 17197 | s&@INSTALL@&$ac_INSTALL&;t t
17197   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17198   $ac_datarootdir_hack
17199   "
17200 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17201 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17200 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17201 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17202  
17203   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17204 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17205 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17204 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17205 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17206 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17207    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17208 < which seems to be undefined.  Please make sure it is defined." >&5
17208 > which seems to be undefined.  Please make sure it is defined" >&5
17209   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17210 < which seems to be undefined.  Please make sure it is defined." >&2;}
17210 > which seems to be undefined.  Please make sure it is defined" >&2;}
17211  
17212 <  rm -f "$tmp/stdin"
17212 >  rm -f "$ac_tmp/stdin"
17213    case $ac_file in
17214 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17215 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17214 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17215 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17216    esac \
17217 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17217 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17218   ;;
17219    :H)
17220    #
# Line 15259 | Line 17223 | which seems to be undefined.  Please mak
17223    if test x"$ac_file" != x-; then
17224      {
17225        $as_echo "/* $configure_input  */" \
17226 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17227 <    } >"$tmp/config.h" \
17228 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17229 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17226 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17227 >    } >"$ac_tmp/config.h" \
17228 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17229 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17230        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17231   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17232      else
17233        rm -f "$ac_file"
17234 <      mv "$tmp/config.h" "$ac_file" \
17235 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17234 >      mv "$ac_tmp/config.h" "$ac_file" \
17235 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17236      fi
17237    else
17238      $as_echo "/* $configure_input  */" \
17239 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17240 <      || as_fn_error "could not create -" "$LINENO" 5
17239 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17240 >      || as_fn_error $? "could not create -" "$LINENO" 5
17241    fi
17242   # Compute "$ac_file"'s index in $config_headers.
17243   _am_arg="$ac_file"
# Line 15319 | Line 17283 | $as_echo "$as_me: executing $ac_file com
17283  
17284    case $ac_file$ac_mode in
17285      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17286 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17286 >  # Older Autoconf quotes --file arguments for eval, but not when files
17287    # are listed without --file.  Let's play safe and only enable the eval
17288    # if we detect the quoting.
17289    case $CONFIG_FILES in
# Line 15332 | Line 17296 | $as_echo "$as_me: executing $ac_file com
17296      # Strip MF so we end up with the name of the file.
17297      mf=`echo "$mf" | sed -e 's/:.*$//'`
17298      # Check whether this is an Automake generated Makefile or not.
17299 <    # We used to match only the files named `Makefile.in', but
17299 >    # We used to match only the files named 'Makefile.in', but
17300      # some people rename them; so instead we look at the file content.
17301      # Grep'ing the first line is not enough: some people post-process
17302      # each Makefile.in and add a new line on top of each file to say so.
# Line 15366 | Line 17330 | $as_echo X"$mf" |
17330        continue
17331      fi
17332      # Extract the definition of DEPDIR, am__include, and am__quote
17333 <    # from the Makefile without running `make'.
17333 >    # from the Makefile without running 'make'.
17334      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17335      test -z "$DEPDIR" && continue
17336      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17337 <    test -z "am__include" && continue
17337 >    test -z "$am__include" && continue
17338      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"`
17339      # Find all dependency output files, they are included files with
17340      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17341      # simplest approach to changing $(DEPDIR) to its actual value in the
17342      # expansion.
17343      for file in `sed -n "
17344        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17345 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17345 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17346        # Make sure the directory exists.
17347        test -f "$dirpart/$file" && continue
17348        fdir=`$as_dirname -- "$file" ||
# Line 15434 | Line 17396 | $as_echo X"$file" |
17396   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17397   #
17398   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17399 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17399 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17400 > #                 Foundation, Inc.
17401   #   Written by Gordon Matzigkeit, 1996
17402   #
17403   #   This file is part of GNU Libtool.
# Line 15482 | Line 17445 | pic_mode=$pic_mode
17445   # Whether or not to optimize for fast installation.
17446   fast_install=$enable_fast_install
17447  
17448 + # Shell to use when invoking shell scripts.
17449 + SHELL=$lt_SHELL
17450 +
17451 + # An echo program that protects backslashes.
17452 + ECHO=$lt_ECHO
17453 +
17454 + # The PATH separator for the build system.
17455 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17456 +
17457   # The host system.
17458   host_alias=$host_alias
17459   host=$host
# Line 15531 | Line 17503 | SP2NL=$lt_lt_SP2NL
17503   # turn newlines into spaces.
17504   NL2SP=$lt_lt_NL2SP
17505  
17506 < # How to create reloadable object files.
17507 < reload_flag=$lt_reload_flag
17508 < reload_cmds=$lt_reload_cmds
17506 > # convert \$build file names to \$host format.
17507 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17508 >
17509 > # convert \$build files to toolchain format.
17510 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17511  
17512   # An object symbol dumper.
17513   OBJDUMP=$lt_OBJDUMP
# Line 15541 | Line 17515 | OBJDUMP=$lt_OBJDUMP
17515   # Method to check whether dependent libraries are shared objects.
17516   deplibs_check_method=$lt_deplibs_check_method
17517  
17518 < # Command to use when deplibs_check_method == "file_magic".
17518 > # Command to use when deplibs_check_method = "file_magic".
17519   file_magic_cmd=$lt_file_magic_cmd
17520  
17521 + # How to find potential files when deplibs_check_method = "file_magic".
17522 + file_magic_glob=$lt_file_magic_glob
17523 +
17524 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17525 + want_nocaseglob=$lt_want_nocaseglob
17526 +
17527 + # DLL creation program.
17528 + DLLTOOL=$lt_DLLTOOL
17529 +
17530 + # Command to associate shared and link libraries.
17531 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17532 +
17533   # The archiver.
17534   AR=$lt_AR
17535 +
17536 + # Flags to create an archive.
17537   AR_FLAGS=$lt_AR_FLAGS
17538  
17539 + # How to feed a file listing to the archiver.
17540 + archiver_list_spec=$lt_archiver_list_spec
17541 +
17542   # A symbol stripping program.
17543   STRIP=$lt_STRIP
17544  
# Line 15556 | Line 17547 | RANLIB=$lt_RANLIB
17547   old_postinstall_cmds=$lt_old_postinstall_cmds
17548   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17549  
17550 + # Whether to use a lock for old archive extraction.
17551 + lock_old_archive_extraction=$lock_old_archive_extraction
17552 +
17553   # A C compiler.
17554   LTCC=$lt_CC
17555  
# Line 15574 | Line 17568 | global_symbol_to_c_name_address=$lt_lt_c
17568   # Transform the output of nm in a C name address pair when lib prefix is needed.
17569   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17570  
17571 < # The name of the directory that contains temporary libtool files.
17572 < objdir=$objdir
17571 > # Specify filename containing input files for \$NM.
17572 > nm_file_list_spec=$lt_nm_file_list_spec
17573  
17574 < # Shell to use when invoking shell scripts.
17575 < SHELL=$lt_SHELL
17574 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17575 > lt_sysroot=$lt_sysroot
17576  
17577 < # An echo program that does not interpret backslashes.
17578 < ECHO=$lt_ECHO
17577 > # The name of the directory that contains temporary libtool files.
17578 > objdir=$objdir
17579  
17580   # Used to examine libraries when file_magic_cmd begins with "file".
17581   MAGIC_CMD=$MAGIC_CMD
# Line 15589 | Line 17583 | MAGIC_CMD=$MAGIC_CMD
17583   # Must we lock files when doing compilation?
17584   need_locks=$lt_need_locks
17585  
17586 + # Manifest tool.
17587 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17588 +
17589   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17590   DSYMUTIL=$lt_DSYMUTIL
17591  
# Line 15645 | Line 17642 | library_names_spec=$lt_library_names_spe
17642   # The coded name of the library, if different from the real name.
17643   soname_spec=$lt_soname_spec
17644  
17645 + # Permission mode override for installation of shared libraries.
17646 + install_override_mode=$lt_install_override_mode
17647 +
17648   # Command to use after installation of a shared archive.
17649   postinstall_cmds=$lt_postinstall_cmds
17650  
# Line 15684 | Line 17684 | striplib=$lt_striplib
17684   # The linker used to build libraries.
17685   LD=$lt_LD
17686  
17687 + # How to create reloadable object files.
17688 + reload_flag=$lt_reload_flag
17689 + reload_cmds=$lt_reload_cmds
17690 +
17691   # Commands used to build an old-style archive.
17692   old_archive_cmds=$lt_old_archive_cmds
17693  
# Line 15696 | Line 17700 | with_gcc=$GCC
17700   # Compiler flag to turn off builtin functions.
17701   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17702  
15699 # How to pass a linker flag through the compiler.
15700 wl=$lt_lt_prog_compiler_wl
15701
17703   # Additional compiler flags for building library objects.
17704   pic_flag=$lt_lt_prog_compiler_pic
17705  
17706 + # How to pass a linker flag through the compiler.
17707 + wl=$lt_lt_prog_compiler_wl
17708 +
17709   # Compiler flag to prevent dynamic linking.
17710   link_static_flag=$lt_lt_prog_compiler_static
17711  
# Line 15751 | Line 17755 | no_undefined_flag=$lt_no_undefined_flag
17755   # This must work even if \$libdir does not exist
17756   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17757  
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
17758   # Whether we need a single "-rpath" flag with a separated argument.
17759   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17760  
# Line 15788 | Line 17788 | inherit_rpath=$inherit_rpath
17788   # Whether libtool must link a program against all its dependency libraries.
17789   link_all_deplibs=$link_all_deplibs
17790  
15791 # Fix the shell variable \$srcfile for the compiler.
15792 fix_srcfile_path=$lt_fix_srcfile_path
15793
17791   # Set to "yes" if exported symbols are required.
17792   always_export_symbols=$always_export_symbols
17793  
# Line 15806 | Line 17803 | include_expsyms=$lt_include_expsyms
17803   # Commands necessary for linking programs (against libraries) with templates.
17804   prelink_cmds=$lt_prelink_cmds
17805  
17806 + # Commands necessary for finishing linking programs.
17807 + postlink_cmds=$lt_postlink_cmds
17808 +
17809   # Specify filename containing input files.
17810   file_list_spec=$lt_file_list_spec
17811  
# Line 15838 | Line 17838 | ltmain="$ac_aux_dir/ltmain.sh"
17838    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17839    # text mode, it properly converts lines to CR/LF.  This bash problem
17840    # is reportedly fixed, but why not run on old versions too?
17841 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17842 <    || (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
17841 >  sed '$q' "$ltmain" >> "$cfgfile" \
17842 >     || (rm -f "$cfgfile"; exit 1)
17843  
17844 +  if test x"$xsi_shell" = xyes; then
17845 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17846 + func_dirname ()\
17847 + {\
17848 + \    case ${1} in\
17849 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17850 + \      *  ) func_dirname_result="${3}" ;;\
17851 + \    esac\
17852 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17853 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17854 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17855 + test 0 -eq $? || _lt_function_replace_fail=:
17856 +
17857 +
17858 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17859 + func_basename ()\
17860 + {\
17861 + \    func_basename_result="${1##*/}"\
17862 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17863 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17864 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17865 + test 0 -eq $? || _lt_function_replace_fail=:
17866 +
17867 +
17868 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17869 + func_dirname_and_basename ()\
17870 + {\
17871 + \    case ${1} in\
17872 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17873 + \      *  ) func_dirname_result="${3}" ;;\
17874 + \    esac\
17875 + \    func_basename_result="${1##*/}"\
17876 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17877 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17878 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17879 + test 0 -eq $? || _lt_function_replace_fail=:
17880 +
17881 +
17882 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17883 + func_stripname ()\
17884 + {\
17885 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17886 + \    # positional parameters, so assign one to ordinary parameter first.\
17887 + \    func_stripname_result=${3}\
17888 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17889 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17890 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17891 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17892 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17893 + test 0 -eq $? || _lt_function_replace_fail=:
17894 +
17895 +
17896 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17897 + func_split_long_opt ()\
17898 + {\
17899 + \    func_split_long_opt_name=${1%%=*}\
17900 + \    func_split_long_opt_arg=${1#*=}\
17901 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17902 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17903 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17904 + test 0 -eq $? || _lt_function_replace_fail=:
17905 +
17906 +
17907 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17908 + func_split_short_opt ()\
17909 + {\
17910 + \    func_split_short_opt_arg=${1#??}\
17911 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17912 + } # Extended-shell func_split_short_opt 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 +
17918 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17919 + func_lo2o ()\
17920 + {\
17921 + \    case ${1} in\
17922 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17923 + \      *)    func_lo2o_result=${1} ;;\
17924 + \    esac\
17925 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17926 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17927 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17928 + test 0 -eq $? || _lt_function_replace_fail=:
17929 +
17930 +
17931 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17932 + func_xform ()\
17933 + {\
17934 +    func_xform_result=${1%.*}.lo\
17935 + } # Extended-shell func_xform 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 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17942 + func_arith ()\
17943 + {\
17944 +    func_arith_result=$(( $* ))\
17945 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17946 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17947 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17948 + test 0 -eq $? || _lt_function_replace_fail=:
17949 +
17950 +
17951 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17952 + func_len ()\
17953 + {\
17954 +    func_len_result=${#1}\
17955 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17956 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17957 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17958 + test 0 -eq $? || _lt_function_replace_fail=:
17959 +
17960 + fi
17961 +
17962 + if test x"$lt_shell_append" = xyes; then
17963 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17964 + func_append ()\
17965 + {\
17966 +    eval "${1}+=\\${2}"\
17967 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17968 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17969 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17970 + test 0 -eq $? || _lt_function_replace_fail=:
17971 +
17972 +
17973 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17974 + func_append_quoted ()\
17975 + {\
17976 + \    func_quote_for_eval "${2}"\
17977 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17978 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17979 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17980 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17981 + test 0 -eq $? || _lt_function_replace_fail=:
17982 +
17983 +
17984 +  # Save a `func_append' function call where possible by direct use of '+='
17985 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17986 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17987 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17988 +  test 0 -eq $? || _lt_function_replace_fail=:
17989 + else
17990 +  # Save a `func_append' function call even when '+=' is not available
17991 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17992 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17993 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17994 +  test 0 -eq $? || _lt_function_replace_fail=:
17995 + fi
17996 +
17997 + if test x"$_lt_function_replace_fail" = x":"; then
17998 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17999 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18000 + fi
18001  
16043  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16044    || (rm -f "$cfgfile"; exit 1)
18002  
18003 <  mv -f "$cfgfile" "$ofile" ||
18003 >   mv -f "$cfgfile" "$ofile" ||
18004      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18005    chmod +x "$ofile"
18006  
# Line 16058 | Line 18015 | _ACEOF
18015   ac_clean_files=$ac_clean_files_save
18016  
18017   test $ac_write_fail = 0 ||
18018 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18018 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18019  
18020  
18021   # configure is writing to config.log, and then calls config.status.
# Line 16079 | Line 18036 | if test "$no_create" != yes; then
18036    exec 5>>config.log
18037    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18038    # would make configure fail if this is the last instruction.
18039 <  $ac_cs_success || as_fn_exit $?
18039 >  $ac_cs_success || as_fn_exit 1
18040   fi
18041   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18042    { $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 4359 by michael, Sat Aug 2 20:37:47 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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