ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/configure
(Generate patch)

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1068 by michael, Tue Feb 16 23:01:26 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 4333 by michael, Sat Aug 2 15:53:16 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1053 2010-01-28 08:49:16Z michael .
2 > # From configure.ac Id: configure.ac 3724 2014-05-31 16:27:09Z 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 TRUNK.
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  
568 + lt_ltdl_dir='libltdl'
569  
533 –
534 – # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
537 – case X$lt_ECHO in
538 – X*--fallback-echo)
539 –  # Remove one level of quotation (which was required for Make).
540 –  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 –  ;;
542 – esac
543 –
544 – ECHO=${lt_ECHO-echo}
545 – if test "X$1" = X--no-reexec; then
546 –  # Discard the --no-reexec flag, and continue.
547 –  shift
548 – elif test "X$1" = X--fallback-echo; then
549 –  # Avoid inline document here, it may be left over
550 –  :
551 – elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 –  # Yippee, $ECHO works!
553 –  :
554 – else
555 –  # Restart under the correct shell.
556 –  exec $SHELL "$0" --no-reexec ${1+"$@"}
557 – fi
558 –
559 – if test "X$1" = X--fallback-echo; then
560 –  # used as fallback echo
561 –  shift
562 –  cat <<_LT_EOF
563 – $*
564 – _LT_EOF
565 –  exit 0
566 – fi
567 –
568 – # The HP-UX ksh and POSIX shell print the target directory to stdout
569 – # if CDPATH is set.
570 – (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 –
572 – if test -z "$lt_ECHO"; then
573 –  if test "X${echo_test_string+set}" != Xset; then
574 –    # find a string as large as possible, as long as the shell can cope with it
575 –    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 –      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 –      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 –         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 –      then
580 –        break
581 –      fi
582 –    done
583 –  fi
584 –
585 –  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 –     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 –     test "X$echo_testing_string" = "X$echo_test_string"; then
588 –    :
589 –  else
590 –    # The Solaris, AIX, and Digital Unix default echo programs unquote
591 –    # backslashes.  This makes it impossible to quote backslashes using
592 –    #   echo "$something" | sed 's/\\/\\\\/g'
593 –    #
594 –    # So, first we look for a working echo in the user's PATH.
595 –
596 –    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 –    for dir in $PATH /usr/ucb; do
598 –      IFS="$lt_save_ifs"
599 –      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 –         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 –         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 –         test "X$echo_testing_string" = "X$echo_test_string"; then
603 –        ECHO="$dir/echo"
604 –        break
605 –      fi
606 –    done
607 –    IFS="$lt_save_ifs"
608 –
609 –    if test "X$ECHO" = Xecho; then
610 –      # We didn't find a better echo, so look for alternatives.
611 –      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 –         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 –         test "X$echo_testing_string" = "X$echo_test_string"; then
614 –        # This shell has a builtin print -r that does the trick.
615 –        ECHO='print -r'
616 –      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 –           test "X$CONFIG_SHELL" != X/bin/ksh; then
618 –        # If we have ksh, try running configure again with it.
619 –        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 –        export ORIGINAL_CONFIG_SHELL
621 –        CONFIG_SHELL=/bin/ksh
622 –        export CONFIG_SHELL
623 –        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624 –      else
625 –        # Try using printf.
626 –        ECHO='printf %s\n'
627 –        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 –           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 –           test "X$echo_testing_string" = "X$echo_test_string"; then
630 –          # Cool, printf works
631 –          :
632 –        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 –             test "X$echo_testing_string" = 'X\t' &&
634 –             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 –             test "X$echo_testing_string" = "X$echo_test_string"; then
636 –          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 –          export CONFIG_SHELL
638 –          SHELL="$CONFIG_SHELL"
639 –          export SHELL
640 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 –        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 –             test "X$echo_testing_string" = 'X\t' &&
643 –             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 –             test "X$echo_testing_string" = "X$echo_test_string"; then
645 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 –        else
647 –          # maybe with a smaller string...
648 –          prev=:
649 –
650 –          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 –            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 –            then
653 –              break
654 –            fi
655 –            prev="$cmd"
656 –          done
657 –
658 –          if test "$prev" != 'sed 50q "$0"'; then
659 –            echo_test_string=`eval $prev`
660 –            export echo_test_string
661 –            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 –          else
663 –            # Oops.  We lost completely, so just stick with echo.
664 –            ECHO=echo
665 –          fi
666 –        fi
667 –      fi
668 –    fi
669 –  fi
670 – fi
671 –
672 – # Copy echo and quote the copy suitably for passing to libtool from
673 – # the Makefile, instead of quoting the original, which is used later.
674 – lt_ECHO=$ECHO
675 – if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 –   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 – fi
678 –
679 –
680 –
681 –
682 – lt_ltdl_dir='libltdl'
683 –
684 – lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 – enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 – EFNET_FALSE
766 – EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 – ENABLE_PCRE_FALSE
770 – ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 – subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 839 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 903 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 910 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
924 – enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
928 – enable_rtsigio
814   enable_poll
930 – enable_select
931 – with_nicklen
932 – with_topiclen
933 – with_syslog_facility
934 – enable_efnet
935 – enable_halfops
815   enable_debugging
816   enable_warnings
938 – enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 948 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1010 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1082 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1286 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1302 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1332 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1341 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1351 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1359 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1388 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1405 –    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406 –    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1418 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1459 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1503 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1559 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1567 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1449 >  --enable-maintainer-mode
1450 >                          enable make rules and dependencies not useful (and
1451 >                          sometimes confusing) to the casual installer
1452 >  --enable-dependency-tracking
1453 >                          do not reject slow dependency extractors
1454 >  --disable-dependency-tracking
1455 >                          speeds up one-time build
1456    --enable-static[=PKGS]  build static libraries [default=no]
1457    --enable-shared[=PKGS]  build shared libraries [default=yes]
1458    --enable-fast-install[=PKGS]
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-zlib          Disable ziplinks support
1581 <  --disable-libpcre       Disable PCRE support
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
1585 –  --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.
1589 –  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1591 –  --enable-select         Force select usage.
1592 –  --enable-efnet          For IRCDs running on EFnet.
1593 –  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1596 –  --enable-syslog="EVENTS"
1597 –                          Enable syslog for events: users oper (space
1598 –                          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
1609 –  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610 –  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611 –  --with-nicklen=<value>  Set nickname length (default 9).
1612 –  --with-topiclen=<value> Set topic length (default 160).
1613 –  --with-syslog-facility=LOG
1614 –                          Define the syslog facility to use (default:
1615 –                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1622 | Line 1490 | Some influential environment variables:
1490    LIBS        libraries to pass to the linker, e.g. -l<library>
1491    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492                you have headers in a nonstandard directory <include dir>
1493 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1494 <              the first program found out of: `bison -y', `byacc', `yacc'.
1493 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1494 >              Defaults to the first program found out of: `bison -y', `byacc',
1495 >              `yacc'.
1496    YFLAGS      The list of arguments that will be passed by default to $YACC.
1497                This script will default YFLAGS to the empty string to avoid a
1498                default value of `-d' given by some make applications.
# Line 1695 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 7.3-rc1
1568 < generated by GNU Autoconf 2.65
1567 > ircd-hybrid configure TRUNK
1568 > generated by GNU Autoconf 2.69
1569  
1570 < Copyright (C) 2009 Free Software Foundation, Inc.
1570 > Copyright (C) 2012 Free Software Foundation, Inc.
1571   This configure script is free software; the Free Software Foundation
1572   gives unlimited permission to copy, distribute and modify it.
1573   _ACEOF
# Line 1742 | Line 1611 | sed 's/^/| /' conftest.$ac_ext >&5
1611  
1612          ac_retval=1
1613   fi
1614 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615    as_fn_set_status $ac_retval
1616  
1617   } # ac_fn_c_try_compile
# Line 1774 | Line 1643 | $as_echo "$ac_try_echo"; } >&5
1643           test ! -s conftest.err
1644         } && test -s conftest$ac_exeext && {
1645           test "$cross_compiling" = yes ||
1646 <         $as_test_x conftest$ac_exeext
1646 >         test -x conftest$ac_exeext
1647         }; then :
1648    ac_retval=0
1649   else
# Line 1788 | Line 1657 | fi
1657    # interfere with the next link command; also delete a directory that is
1658    # left behind by Apple's compiler.  We do this before executing the actions.
1659    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1660 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661    as_fn_set_status $ac_retval
1662  
1663   } # ac_fn_c_try_link
# Line 1802 | Line 1671 | ac_fn_c_check_header_compile ()
1671    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673   $as_echo_n "checking for $2... " >&6; }
1674 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1674 > if eval \${$3+:} false; then :
1675    $as_echo_n "(cached) " >&6
1676   else
1677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1689 | fi
1689   eval ac_res=\$$3
1690                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691   $as_echo "$ac_res" >&6; }
1692 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693  
1694   } # ac_fn_c_check_header_compile
1695  
# Line 1845 | Line 1714 | $as_echo "$ac_try_echo"; } >&5
1714      mv -f conftest.er1 conftest.err
1715    fi
1716    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 <  test $ac_status = 0; } >/dev/null && {
1717 >  test $ac_status = 0; } > conftest.i && {
1718           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1719           test ! -s conftest.err
1720         }; then :
# Line 1856 | Line 1725 | sed 's/^/| /' conftest.$ac_ext >&5
1725  
1726      ac_retval=1
1727   fi
1728 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729    as_fn_set_status $ac_retval
1730  
1731   } # ac_fn_c_try_cpp
# Line 1898 | Line 1767 | sed 's/^/| /' conftest.$ac_ext >&5
1767         ac_retval=$ac_status
1768   fi
1769    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771    as_fn_set_status $ac_retval
1772  
1773   } # ac_fn_c_try_run
# Line 1911 | Line 1780 | ac_fn_c_check_func ()
1780    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782   $as_echo_n "checking for $2... " >&6; }
1783 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 > if eval \${$3+:} false; then :
1784    $as_echo_n "(cached) " >&6
1785   else
1786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1835 | fi
1835   eval ac_res=\$$3
1836                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837   $as_echo "$ac_res" >&6; }
1838 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839  
1840   } # ac_fn_c_check_func
1841  
1842 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1843 < # ------------------------------------
1844 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1842 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1843 > # ---------------------------------------------
1844 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1845 > # accordingly.
1846   ac_fn_c_check_decl ()
1847   {
1848    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1850 < $as_echo_n "checking whether $2 is declared... " >&6; }
1851 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1849 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1850 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1851 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1852 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1853 > if eval \${$3+:} false; then :
1854    $as_echo_n "(cached) " >&6
1855   else
1856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1859 | $4
1859   int
1860   main ()
1861   {
1862 < #ifndef $2
1863 <  (void) $2;
1862 > #ifndef $as_decl_name
1863 > #ifdef __cplusplus
1864 >  (void) $as_decl_use;
1865 > #else
1866 >  (void) $as_decl_name;
1867 > #endif
1868   #endif
1869  
1870    ;
# Line 2005 | Line 1881 | fi
1881   eval ac_res=\$$3
1882                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883   $as_echo "$ac_res" >&6; }
1884 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  
1886   } # ac_fn_c_check_decl
1887  
# Line 2018 | Line 1894 | ac_fn_c_check_type ()
1894    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896   $as_echo_n "checking for $2... " >&6; }
1897 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 > if eval \${$3+:} false; then :
1898    $as_echo_n "(cached) " >&6
1899   else
1900    eval "$3=no"
# Line 2059 | Line 1935 | fi
1935   eval ac_res=\$$3
1936                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937   $as_echo "$ac_res" >&6; }
1938 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939  
1940   } # ac_fn_c_check_type
1941  
# Line 2072 | 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 2116 | 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 2128 | 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 2167 | 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 2190 | 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
2194 < ## ----------------------------------- ##
2069 > ( $as_echo "## ----------------------------------- ##
2070   ## Report this to bugs@ircd-hybrid.org ##
2071 < ## ----------------------------------- ##
2197 < _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 2209 | 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 TRUNK, which was
2094 > generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
2097  
# Line 2327 | Line 2201 | trap 'exit_status=$?
2201    {
2202      echo
2203  
2204 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2204 >    $as_echo "## ---------------- ##
2205   ## Cache variables. ##
2206 < ## ---------------- ##
2334 < _ASBOX
2206 > ## ---------------- ##"
2207      echo
2208      # The following way of writing the cache mishandles newlines in values,
2209   (
# Line 2365 | Line 2237 | $as_echo "$as_me: WARNING: cache variabl
2237   )
2238      echo
2239  
2240 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2240 >    $as_echo "## ----------------- ##
2241   ## Output variables. ##
2242 < ## ----------------- ##
2372 < _ASBOX
2242 > ## ----------------- ##"
2243      echo
2244      for ac_var in $ac_subst_vars
2245      do
# Line 2382 | Line 2252 | _ASBOX
2252      echo
2253  
2254      if test -n "$ac_subst_files"; then
2255 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2255 >      $as_echo "## ------------------- ##
2256   ## File substitutions. ##
2257 < ## ------------------- ##
2389 < _ASBOX
2257 > ## ------------------- ##"
2258        echo
2259        for ac_var in $ac_subst_files
2260        do
# Line 2400 | Line 2268 | _ASBOX
2268      fi
2269  
2270      if test -s confdefs.h; then
2271 <      cat <<\_ASBOX
2404 < ## ----------- ##
2271 >      $as_echo "## ----------- ##
2272   ## confdefs.h. ##
2273 < ## ----------- ##
2407 < _ASBOX
2273 > ## ----------- ##"
2274        echo
2275        cat confdefs.h
2276        echo
# Line 2459 | 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 2474 | 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 2495 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2498 – 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"
2504 – as_fn_append ac_header_list " inttypes.h"
2505 – 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"
2508 – as_fn_append ac_header_list " errno.h"
2509 – 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"
2514 – 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 2567 | 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 2580 | 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 2622 | 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 2642 | 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 2700 | 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; }
2703 – # Just in case
2704 – sleep 1
2705 – 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
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
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 2772 | 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 2789 | 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 2811 | 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 2839 | 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 2851 | 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 2892 | 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 2902 | 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 2931 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2934 – mkdir_p="$MKDIR_P"
2935 – case $mkdir_p in
2936 –  [\\/$]* | ?:[\\/]*) ;;
2937 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 – esac
2939 –
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 2955 | 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 2983 | 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 2991 | 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 3019 | 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 3041 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='7.3-rc1'
2967 > VERSION='TRUNK'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2992 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2992  
2993   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2994  
2995 + # For better backward compatibility.  To be removed once Automake 1.9.x
2996 + # dies out for good.  For more background, see:
2997 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2998 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2999 + mkdir_p='$(MKDIR_P)'
3000 +
3001   # We need awk for the "check" target.  The system "awk" is bad on
3002   # some platforms.
3003 < # Always define AMTAR for backward compatibility.
3003 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3004 > # in the wild :-(  We should find a proper way to deprecate it ...
3005 > AMTAR='$${TAR-tar}'
3006 >
3007 >
3008 > # We'll loop over all known methods to create a tar archive until one works.
3009 > _am_tools='gnutar  pax cpio none'
3010 >
3011 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012 >
3013 >
3014  
3076 – AMTAR=${AMTAR-"${am_missing_run}tar"}
3015  
3078 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3016  
3017  
3018 + # POSIX will say in a future version that running "rm -f" with no argument
3019 + # is OK; and we want to be able to make that assumption in our Makefile
3020 + # recipes.  So use an aggressive probe to check that the usage we want is
3021 + # actually supported "in the wild" to an acceptable degree.
3022 + # See automake bug#10828.
3023 + # To make any issue more visible, cause the running configure to be aborted
3024 + # by default if the 'rm' program in use doesn't match our expectations; the
3025 + # user can still override this though.
3026 + if rm -f && rm -fr && rm -rf; then : OK; else
3027 +  cat >&2 <<'END'
3028 + Oops!
3029  
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034  
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038  
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050 +
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054 +
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059  
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3104 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3128 | 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 3161 | 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 3181 | 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 3193 | 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 3221 | 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 3233 | 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 3274 | 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 3286 | 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 3314 | 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 3327 | 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 3373 | 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 3385 | 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 3417 | 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 3429 | 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 3471 | 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 3586 | 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
3591 < 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 3630 | 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 3688 | 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 3701 | 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 3741 | 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 3752 | 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 3789 | 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 3867 | 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 3876 | 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>
3880 < #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 3962 | 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 4008 | 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 4026 | 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 4091 | 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 4235 | 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 4267 | 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 4275 | 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 4287 | 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 4319 | 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 4331 | 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 4363 | 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 4389 | 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 4398 | 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 4408 | 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 4438 | 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 4449 | 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 4476 | Line 4513 | fi
4513  
4514  
4515   # Initializing libtool.
4516 +
4517 +
4518 +
4519 +
4520 +
4521 +
4522 +
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 4484 | Line 4528 | esac
4528  
4529  
4530  
4531 < macro_version='2.2.6'
4532 < macro_revision='1.3012'
4531 > macro_version='2.4.2'
4532 > macro_revision='1.3337'
4533  
4534  
4535  
# Line 4503 | 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 4541 | 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 4556 | 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 4572 | 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 4594 | 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 4629 | 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 4656 | 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 4670 | 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 4705 | 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 4719 | 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 4736 | 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 4771 | 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 4786 | 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 4803 | 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 4838 | 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 4917 | 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 4954 | 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 4984 | 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 5037 | 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 5056 | 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 5082 | 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 5100 | 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 5137 | 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 5151 | 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:5159: $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:5162: $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:5165: 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 5186 | 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 5219 | 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 5244 | 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 5283 | 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 5326 | 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 5376 | 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 5392 | 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 5414 | 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 5426 | 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 5454 | 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 5466 | 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 5513 | 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 5555 | 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 5594 | 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 5602 | 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 5627 | 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 5709 | 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 5724 | 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 5741 | 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 5762 | 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 5781 | 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 5801 | 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 5812 | Line 6208 | ac_tool_warned=yes ;;
6208   esac
6209      AR=$ac_ct_AR
6210    fi
5815 – else
5816 –  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  
# Line 5828 | Line 6223 | test -z "$AR_FLAGS" && AR_FLAGS=cru
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 +
6280 +
6281 +
6282 +
6283  
6284   if test -n "$ac_tool_prefix"; then
6285    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
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 5846 | 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 5874 | 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 5886 | 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 5933 | 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 5945 | 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 5973 | 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 5985 | 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 6035 | 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 6090 | 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 6151 | 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 6176 | 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 6188 | 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 6213 | 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 6229 | 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 6240 | 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 6266 | 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 6277 | 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 6315 | Line 6793 | else
6793   $as_echo "ok" >&6; }
6794   fi
6795  
6796 + # Response file support.
6797 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6798 +  nm_file_list_spec='@'
6799 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6800 +  nm_file_list_spec='@'
6801 + fi
6802 +
6803 +
6804 +
6805 +
6806  
6807  
6808  
# Line 6336 | Line 6824 | fi
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 6367 | Line 6894 | ia64-*-hpux*)
6894    ;;
6895   *-*-irix6*)
6896    # Find out which ABI we are using.
6897 <  echo '#line 6370 "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 6461 | 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 6502 | 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 6513 | 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 6529 | 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 6537 | 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 6549 | 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 6577 | 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 6589 | 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 6629 | 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 6641 | 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 6669 | 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 6681 | 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 6721 | 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 6733 | 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 6761 | 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 6773 | 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 6813 | 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 6825 | 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 6853 | 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 6865 | 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 6905 | 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 6917 | 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 6945 | 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 6957 | 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 7020 | 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 7036 | 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 7047 | 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 7079 | 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 7106 | 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 7126 | 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 7156 | 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 7172 | 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 7215 | 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 7231 | 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 7254 | 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 7371 | 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
7375 <   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 7386 | 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 7397 | Line 8095 | done
8095  
8096  
8097  
8098 +
8099 +
8100   # Set options
8101   enable_dlopen=yes
8102   # Check whether --enable-static was given.
# Line 7470 | 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 7547 | 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 7568 | 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 7596 | Line 8316 | _ACEOF
8316  
8317  
8318  
7599 –
7600 –
7601 –
7602 –
7603 –
7604 –
7605 –
7606 –
7607 –
7608 –
7609 –
7610 –
7611 –
8319   case $host_os in
8320   aix3*)
8321    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8328 | aix3*)
8328    ;;
8329   esac
8330  
7624 – # Sed substitution that helps us do robust quoting.  It backslashifies
7625 – # metacharacters that are still active within double-quoted strings.
7626 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7627 –
7628 – # Same as above, but do not quote variable references.
7629 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7630 –
7631 – # Sed substitution to delay expansion of an escaped shell variable in a
7632 – # double_quote_subst'ed string.
7633 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7634 –
7635 – # Sed substitution to delay expansion of an escaped single quote.
7636 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7637 –
7638 – # Sed substitution to avoid accidental globbing in evaled expressions
7639 – no_glob_subst='s/\*/\\\*/g'
7640 –
8331   # Global variables:
8332   ofile=libtool
8333   can_build_shared=yes
# Line 7666 | 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 7676 | 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 7742 | 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 7866 | 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 7891 | 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:7894: $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:7898: \$? = $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 7928 | Line 8627 | fi
8627   lt_prog_compiler_pic=
8628   lt_prog_compiler_static=
8629  
7931 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7932 – $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 7977 | 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 8019 | 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 8060 | 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 8081 | 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 8093 | 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'
8114 –          lt_prog_compiler_wl=''
8848            ;;
8849          esac
8850          ;;
# Line 8143 | 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 8200 | Line 8933 | case $host_os in
8933      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8934      ;;
8935   esac
8203 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8204 – $as_echo "$lt_prog_compiler_pic" >&6; }
8205 –
8206 –
8207 –
8208 –
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 8214 | 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 8230 | 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:8233: $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:8237: \$? = $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 8267 | 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 8286 | 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 8316 | 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 8335 | 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:8338: $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:8342: \$? = $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 8371 | 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 8390 | 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:8393: $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:8397: \$? = $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 8465 | Line 9207 | $as_echo_n "checking whether the $compil
9207    hardcode_direct=no
9208    hardcode_direct_absolute=no
9209    hardcode_libdir_flag_spec=
8468 –  hardcode_libdir_flag_spec_ld=
9210    hardcode_libdir_separator=
9211    hardcode_minus_L=no
9212    hardcode_shlibpath_var=unsupported
# Line 8512 | 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 8530 | 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 8545 | 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 8585 | 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 8606 | 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 8621 | 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 8631 | 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 8650 | 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 8672 | 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'
8680 <          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 8696 | 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 8715 | 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 8762 | 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 8803 | 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 8866 | Line 9648 | _LT_EOF
9648          if test "$aix_use_runtimelinking" = yes; then
9649            shared_flag="$shared_flag "'${wl}-G'
9650          fi
8869 –        link_all_deplibs=no
9651        else
9652          # not using gcc
9653          if test "$host_cpu" = ia64; then
# Line 8892 | 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 8905 | 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 8932 | 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 8945 | 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 9000 | 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 9023 | 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 9031 | 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 9049 | Line 9910 | if test -z "$aix_libpath"; then aix_libp
9910        hardcode_shlibpath_var=no
9911        ;;
9912  
9052 –    freebsd1*)
9053 –      ld_shlibs=no
9054 –      ;;
9055 –
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 9065 | 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 9074 | 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 9082 | 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 9097 | 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'
9107 –        hardcode_libdir_flag_spec_ld='+b $libdir'
9964          hardcode_libdir_separator=:
9965          hardcode_direct=yes
9966          hardcode_direct_absolute=yes
# Line 9116 | 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 9137 | 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 9165 | 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 9246 | 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 9266 | 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 9285 | 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 9475 | 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 9670 | Line 10584 | esac
10584  
10585  
10586  
9673 –
9674 –
9675 –
9676 –
9677 –
10587    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10588   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10589  
# Line 9683 | 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 9705 | 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 9725 | 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 9751 | 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 9760 | 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 9813 | 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 9825 | 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 9844 | 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 9866 | 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}'
9874 –      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9875 –      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9876 –        # It is most probably a Windows format PATH printed by
9877 –        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9878 –        # path with ; separators, and with drive letters. We can handle the
9879 –        # drive letters (cygwin fileutils understands them), so leave them,
9880 –        # especially as we might pass files found there to a mingw objdump,
9881 –        # which wouldn't understand a cygwinified path. Ahh.
9882 –        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9883 –      else
9884 –        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9885 –      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
9898 –  dynamic_linker='Win32 ld.exe'
10869    # FIXME: first we should search . and the directory the executable is in
10870    shlibpath_var=PATH
10871    ;;
# Line 9916 | 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 9924 | Line 10894 | dgux*)
10894    shlibpath_var=LD_LIBRARY_PATH
10895    ;;
10896  
9927 – freebsd1*)
9928 –  dynamic_linker=no
9929 –  ;;
9930 –
10897   freebsd* | dragonfly*)
10898    # DragonFly does not have aout.  When/if they implement a new
10899    # versioning mechanism, adjust this.
# Line 9935 | 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 9953 | 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 9973 | 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 10024 | 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 10045 | 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 10082 | 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 10092 | 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 10110 | 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
11114    # before this can be enabled.
11115    hardcode_into_libs=yes
11116  
10126 –  # find out which ABI we are using
10127 –  libsuff=
10128 –  case "$host_cpu" in
10129 –  x86_64*|s390x*|powerpc64*)
10130 –    echo '#line 10130 "configure"' > conftest.$ac_ext
10131 –    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132 –  (eval $ac_compile) 2>&5
10133 –  ac_status=$?
10134 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 –  test $ac_status = 0; }; then
10136 –      case `/usr/bin/file conftest.$ac_objext` in
10137 –      *64-bit*)
10138 –        libsuff=64
10139 –        ;;
10140 –      esac
10141 –    fi
10142 –    rm -rf conftest*
10143 –    ;;
10144 –  esac
10145 –
10146 –  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10147 –
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' ' '`
11120 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
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  
11123    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | 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 10248 | 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 10273 | 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 10297 | 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 10328 | 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 10338 | 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 10450 | 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 10522 | 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 10556 | 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 10570 | 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 10609 | 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 10652 | 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 10691 | 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 10730 | 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 10771 | 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 10780 | 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 10783 "configure"
11757 > #line $LINENO "configure"
11758   #include "confdefs.h"
11759  
11760   #if HAVE_DLFCN_H
# Line 10821 | 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 10830 | 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 10867 | 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 10876 | 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 10879 "configure"
11863 > #line $LINENO "configure"
11864   #include "confdefs.h"
11865  
11866   #if HAVE_DLFCN_H
# Line 10917 | 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 10926 | 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 11095 | Line 12089 | CC="$lt_save_CC"
12089  
12090  
12091  
12092 +
12093 +
12094          ac_config_commands="$ac_config_commands libtool"
12095  
12096  
# Line 11105 | 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 11122 | 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 11142 | 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 11179 | 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 11213 | 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 11262 | 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 11296 | 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 11316 | 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 11330 | 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 11338 | 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 11372 | 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 11388 | 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 11402 | 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 11418 | 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 11452 | 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 11486 | 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 11536 | 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 11548 | 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 11551 "configure"
12556 > #line $LINENO "configure"
12557   #include "confdefs.h"
12558  
12559   #if HAVE_DLFCN_H
# Line 11589 | 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 11598 | 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 11642 | 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 11674 | 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 11748 | 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 11762 | 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 11785 | 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
11789 <   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 11803 | 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 11834 | 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 11851 | 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 11869 | Line 12883 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12883  
12884   fi
12885  
11872 –
11873 –
12886   # Set options
12887  
12888  
# Line 11883 | Line 12895 | fi
12895  
12896  
12897  
11886 –
12898   # Check whether --with-included_ltdl was given.
12899   if test "${with_included_ltdl+set}" = set; then :
12900    withval=$with_included_ltdl;
# Line 11896 | 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 11937 | 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 11957 | Line 12968 | fi
12968  
12969  
12970  
11960 –
11961 –
11962 –
11963 –
11964 –
12971   # Check whether --with-ltdl_include was given.
12972   if test "${with_ltdl_include+set}" = set; then :
12973    withval=$with_ltdl_include;
# Line 11971 | 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 11987 | 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 11996 | 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 12024 | 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 12075 | Line 13081 | fi
13081  
13082  
13083  
12078 –    subdirs="$subdirs libltdl"
12079 –
12080 –
13084  
13085  
13086  
# Line 12094 | 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
12098 <   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 12109 | 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
12113 <   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 12127 | 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
12131 <   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 12148 | 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 12165 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 +
13177 +  if test "X$CC" != "X"; then
13178 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 + if ${ssp_cv_cc+:} false; then :
13181 +  $as_echo_n "(cached) " >&6
13182 + else
13183 +  ssp_old_cflags="$CFLAGS"
13184 +       CFLAGS="$CFLAGS -fstack-protector"
13185 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 + /* end confdefs.h.  */
13187 +
13188 + int
13189 + main ()
13190 + {
13191 +
13192 +  ;
13193 +  return 0;
13194 + }
13195 + _ACEOF
13196 + if ac_fn_c_try_compile "$LINENO"; then :
13197 +  ssp_cv_cc=yes
13198 + else
13199 +  ssp_cv_cc=no
13200 + fi
13201 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 +       CFLAGS="$ssp_old_cflags"
13203 +
13204 + fi
13205 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 + $as_echo "$ssp_cv_cc" >&6; }
13207 +    if test $ssp_cv_cc = yes; then
13208 +      CFLAGS="$CFLAGS -fstack-protector"
13209 +
13210 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 +
13212 +    fi
13213 +  fi
13214 +
13215 +
13216 +
13217 +
13218 +
13219 +
13220 + for flag in -fno-strict-aliasing; do
13221 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 + if eval \${$as_CACHEVAR+:} false; then :
13225 +  $as_echo_n "(cached) " >&6
13226 + else
13227 +
13228 +  ax_check_save_flags=$CFLAGS
13229 +  CFLAGS="$CFLAGS  $flag"
13230 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 + /* end confdefs.h.  */
13232 +
13233 + int
13234 + main ()
13235 + {
13236 +
13237 +  ;
13238 +  return 0;
13239 + }
13240 + _ACEOF
13241 + if ac_fn_c_try_compile "$LINENO"; then :
13242 +  eval "$as_CACHEVAR=yes"
13243 + else
13244 +  eval "$as_CACHEVAR=no"
13245 + fi
13246 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 +  CFLAGS=$ax_check_save_flags
13248 + fi
13249 + eval ac_res=\$$as_CACHEVAR
13250 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 + $as_echo "$ac_res" >&6; }
13252 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 +  if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *" $flag "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 +  (: CFLAGS already contains $flag) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13264 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS $flag"
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS="$flag"
13273 + fi
13274 +
13275 + else
13276 +  :
13277 + fi
13278 +
13279 + done
13280 +
13281 +
13282 +
13283 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285 +
13286 + else
13287 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13288 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13289 + if ${ac_cv_search_getaddrinfo+:} false; then :
13290 +  $as_echo_n "(cached) " >&6
13291 + else
13292 +  ac_func_search_save_LIBS=$LIBS
13293 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 + /* end confdefs.h.  */
13295 +
13296 + /* Override any GCC internal prototype to avoid an error.
13297 +   Use char because int might match the return type of a GCC
13298 +   builtin and then its argument prototype would still apply.  */
13299 + #ifdef __cplusplus
13300 + extern "C"
13301 + #endif
13302 + char getaddrinfo ();
13303 + int
13304 + main ()
13305 + {
13306 + return getaddrinfo ();
13307 +  ;
13308 +  return 0;
13309 + }
13310 + _ACEOF
13311 + for ac_lib in '' nsl; do
13312 +  if test -z "$ac_lib"; then
13313 +    ac_res="none required"
13314 +  else
13315 +    ac_res=-l$ac_lib
13316 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13317 +  fi
13318 +  if ac_fn_c_try_link "$LINENO"; then :
13319 +  ac_cv_search_getaddrinfo=$ac_res
13320 + fi
13321 + rm -f core conftest.err conftest.$ac_objext \
13322 +    conftest$ac_exeext
13323 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13324 +  break
13325 + fi
13326 + done
13327 + if ${ac_cv_search_getaddrinfo+:} false; then :
13328 +
13329 + else
13330 +  ac_cv_search_getaddrinfo=no
13331 + fi
13332 + rm conftest.$ac_ext
13333 + LIBS=$ac_func_search_save_LIBS
13334 + fi
13335 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13336 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13337 + ac_res=$ac_cv_search_getaddrinfo
13338 + if test "$ac_res" != no; then :
13339 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340 +
13341 + fi
13342 +
13343 + fi
13344 +
13345 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13346 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13347 +
13348 + else
13349 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13350 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13351 + if ${ac_cv_search_getnameinfo+:} false; then :
13352 +  $as_echo_n "(cached) " >&6
13353 + else
13354 +  ac_func_search_save_LIBS=$LIBS
13355 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 + /* end confdefs.h.  */
13357 +
13358 + /* Override any GCC internal prototype to avoid an error.
13359 +   Use char because int might match the return type of a GCC
13360 +   builtin and then its argument prototype would still apply.  */
13361 + #ifdef __cplusplus
13362 + extern "C"
13363 + #endif
13364 + char getnameinfo ();
13365 + int
13366 + main ()
13367 + {
13368 + return getnameinfo ();
13369 +  ;
13370 +  return 0;
13371 + }
13372 + _ACEOF
13373 + for ac_lib in '' nsl; do
13374 +  if test -z "$ac_lib"; then
13375 +    ac_res="none required"
13376 +  else
13377 +    ac_res=-l$ac_lib
13378 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13379 +  fi
13380 +  if ac_fn_c_try_link "$LINENO"; then :
13381 +  ac_cv_search_getnameinfo=$ac_res
13382 + fi
13383 + rm -f core conftest.err conftest.$ac_objext \
13384 +    conftest$ac_exeext
13385 +  if ${ac_cv_search_getnameinfo+:} false; then :
13386 +  break
13387 + fi
13388 + done
13389 + if ${ac_cv_search_getnameinfo+:} false; then :
13390 +
13391 + else
13392 +  ac_cv_search_getnameinfo=no
13393 + fi
13394 + rm conftest.$ac_ext
13395 + LIBS=$ac_func_search_save_LIBS
13396 + fi
13397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13398 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13399 + ac_res=$ac_cv_search_getnameinfo
13400 + if test "$ac_res" != no; then :
13401 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13402 +
13403 + fi
13404 +
13405 + fi
13406 +
13407    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13408   $as_echo_n "checking for library containing socket... " >&6; }
13409 < if test "${ac_cv_search_socket+set}" = set; then :
13409 > if ${ac_cv_search_socket+:} false; then :
13410    $as_echo_n "(cached) " >&6
13411   else
13412    ac_func_search_save_LIBS=$LIBS
# Line 12201 | Line 13440 | for ac_lib in '' socket; do
13440   fi
13441   rm -f core conftest.err conftest.$ac_objext \
13442      conftest$ac_exeext
13443 <  if test "${ac_cv_search_socket+set}" = set; then :
13443 >  if ${ac_cv_search_socket+:} false; then :
13444    break
13445   fi
13446   done
13447 < if test "${ac_cv_search_socket+set}" = set; then :
13447 > if ${ac_cv_search_socket+:} false; then :
13448  
13449   else
13450    ac_cv_search_socket=no
# Line 12220 | Line 13459 | if test "$ac_res" != no; then :
13459    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13460  
13461   else
13462 <  as_fn_error "socket library not found" "$LINENO" 5
13462 >  as_fn_error $? "socket library not found" "$LINENO" 5
13463   fi
13464  
12226 –  for ac_func in inet_aton inet_ntop inet_pton
12227 – do :
12228 –  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12229 – ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12230 – eval as_val=\$$as_ac_var
12231 –   if test "x$as_val" = x""yes; then :
12232 –  cat >>confdefs.h <<_ACEOF
12233 – #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12234 – _ACEOF
12235 –
12236 – fi
12237 – done
12238 –
13465    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466     #include <sys/socket.h>
13467     #include <netdb.h>
13468  
13469   "
13470 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13470 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13471  
13472   cat >>confdefs.h <<_ACEOF
13473   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12254 | Line 13480 | ac_fn_c_check_type "$LINENO" "struct soc
13480     #include <netdb.h>
13481  
13482   "
13483 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13483 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13484  
13485   cat >>confdefs.h <<_ACEOF
13486   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12267 | Line 13493 | ac_fn_c_check_type "$LINENO" "struct add
13493     #include <netdb.h>
13494  
13495   "
13496 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13496 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13497  
13498   cat >>confdefs.h <<_ACEOF
13499   #define HAVE_STRUCT_ADDRINFO 1
# Line 12279 | Line 13505 | fi
13505    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13506    <sys/socket.h>
13507   "
13508 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13508 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13509  
13510   cat >>confdefs.h <<_ACEOF
13511   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12290 | Line 13516 | fi
13516  
13517  
13518  
13519 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13520 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13521 <
12296 < cat >>confdefs.h <<_ACEOF
12297 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12298 < _ACEOF
12299 <
12300 <
12301 < else
13519 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13520 > "
13521 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13522  
13523   $as_echo "#define IPV6 1" >>confdefs.h
13524  
# Line 12309 | Line 13529 | fi
13529   # Checks for typedefs, structures, and compiler characteristics.
13530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13531   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13532 < if test "${ac_cv_c_bigendian+set}" = set; then :
13532 > if ${ac_cv_c_bigendian+:} false; then :
13533    $as_echo_n "(cached) " >&6
13534   else
13535    ac_cv_c_bigendian=unknown
# Line 12527 | Line 13747 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13747  
13748       ;; #(
13749     *)
13750 <     as_fn_error "unknown endianness
13750 >     as_fn_error $? "unknown endianness
13751   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13752   esac
13753  
# Line 12540 | Line 13760 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13760   do :
13761    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13763 < eval as_val=\$$as_ac_var
12544 <   if test "x$as_val" = x""yes; then :
13763 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13764    cat >>confdefs.h <<_ACEOF
13765   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766   _ACEOF
# Line 12559 | Line 13778 | done
13778  
13779  
13780  
12562 –
12563 –
13781   # Checks for header files.
13782  
13783  
# Line 12570 | Line 13787 | do :
13787    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13788   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13789   "
13790 < eval as_val=\$$as_ac_Header
12574 <   if test "x$as_val" = x""yes; then :
13790 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13791    cat >>confdefs.h <<_ACEOF
13792   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13793   _ACEOF
# Line 12596 | Line 13812 | done
13812  
13813  
13814  
12599 –
12600 –
12601 –
12602 –
12603 –
12604 –
12605 –
12606 –
12607 –
12608 –
12609 – # check for /dev/null so we can use it to hold evil fd's
12610 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12611 – $as_echo_n "checking for /dev/null... " >&6; }
12612 – if test -c /dev/null; then :
12613 –
12614 –
12615 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12616 –
12617 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12618 – $as_echo "yes" >&6; }
12619 – else
12620 –
12621 –
12622 – $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12623 –
12624 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12625 – $as_echo "no - using devnull.log" >&6; }
12626 – fi
12627 –
12628 –
13815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13816   $as_echo_n "checking for library containing crypt... " >&6; }
13817 < if test "${ac_cv_search_crypt+set}" = set; then :
13817 > if ${ac_cv_search_crypt+:} false; then :
13818    $as_echo_n "(cached) " >&6
13819   else
13820    ac_func_search_save_LIBS=$LIBS
# Line 12662 | Line 13848 | for ac_lib in '' crypt; do
13848   fi
13849   rm -f core conftest.err conftest.$ac_objext \
13850      conftest$ac_exeext
13851 <  if test "${ac_cv_search_crypt+set}" = set; then :
13851 >  if ${ac_cv_search_crypt+:} false; then :
13852    break
13853   fi
13854   done
13855 < if test "${ac_cv_search_crypt+set}" = set; then :
13855 > if ${ac_cv_search_crypt+:} false; then :
13856  
13857   else
13858    ac_cv_search_crypt=no
# Line 12683 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 <
13873 <
13874 < # Check whether --with-zlib-path was given.
13875 < if test "${with_zlib_path+set}" = set; then :
13876 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13877 < fi
13878 <
13879 <
13880 < # Check whether --enable-zlib was given.
12695 < if test "${enable_zlib+set}" = set; then :
12696 <  enableval=$enable_zlib; zlib=$enableval
12697 < else
12698 <  zlib=yes
12699 < fi
12700 <
12701 <
12702 < if test "$zlib" = "yes"; then :
12703 <
12704 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12705 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12706 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12707 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12708 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883 <  ac_check_lib_save_LIBS=$LIBS
12712 < LIBS="-lz  $LIBS"
13883 >  ac_func_search_save_LIBS=$LIBS
13884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885   /* end confdefs.h.  */
13886  
# Line 12719 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char zlibVersion ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return zlibVersion ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < if ac_fn_c_try_link "$LINENO"; then :
13903 <  ac_cv_lib_z_zlibVersion=yes
13904 < else
13905 <  ac_cv_lib_z_zlibVersion=no
13902 > for ac_lib in '' GeoIP; do
13903 >  if test -z "$ac_lib"; then
13904 >    ac_res="none required"
13905 >  else
13906 >    ac_res=-l$ac_lib
13907 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908 >  fi
13909 >  if ac_fn_c_try_link "$LINENO"; then :
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913 <    conftest$ac_exeext conftest.$ac_ext
13914 < LIBS=$ac_check_lib_save_LIBS
13915 < fi
12740 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12741 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12742 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12743 <
12744 <      LIBS="-lz $LIBS"
12745 <
12746 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12747 <
12748 <
12749 < else
12750 <  zlib=no
12751 < fi
12752 <
12753 <
12754 < else
12755 <  zlib=no
12756 < fi
12757 <
12758 <
12759 <
12760 < fi
12761 <
12762 <
12763 < # Check whether --with-libpcre-path was given.
12764 < if test "${with_libpcre_path+set}" = set; then :
12765 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13913 >    conftest$ac_exeext
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915 >  break
13916   fi
13917 + done
13918 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
12768 –
12769 – # Check whether --enable-libpcre was given.
12770 – if test "${enable_libpcre+set}" = set; then :
12771 –  enableval=$enable_libpcre; libpcre=$enableval
13920   else
13921 <  libpcre=yes
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922   fi
13923 <
13924 <
12777 < if test "$libpcre" = "yes"; then :
12778 <
12779 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12780 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
12781 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12782 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12783 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12784 <  $as_echo_n "(cached) " >&6
12785 < else
12786 <  ac_check_lib_save_LIBS=$LIBS
12787 < LIBS="-lpcre  $LIBS"
12788 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 < /* end confdefs.h.  */
12790 <
12791 < /* Override any GCC internal prototype to avoid an error.
12792 <   Use char because int might match the return type of a GCC
12793 <   builtin and then its argument prototype would still apply.  */
12794 < #ifdef __cplusplus
12795 < extern "C"
12796 < #endif
12797 < char pcre_study ();
12798 < int
12799 < main ()
12800 < {
12801 < return pcre_study ();
12802 <  ;
12803 <  return 0;
12804 < }
12805 < _ACEOF
12806 < if ac_fn_c_try_link "$LINENO"; then :
12807 <  ac_cv_lib_pcre_pcre_study=yes
12808 < else
12809 <  ac_cv_lib_pcre_pcre_study=no
12810 < fi
12811 < rm -f core conftest.err conftest.$ac_objext \
12812 <    conftest$ac_exeext conftest.$ac_ext
12813 < LIBS=$ac_check_lib_save_LIBS
13923 > rm conftest.$ac_ext
13924 > LIBS=$ac_func_search_save_LIBS
13925   fi
13926 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13927 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13928 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13929 <
13930 <      LIBS="-lpcre $LIBS"
12820 <
12821 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929 > if test "$ac_res" != no; then :
13930 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933  
12824 – else
12825 –  libpcre=no
13934   fi
13935  
12828 –
12829 – else
12830 –  libpcre=no
13936   fi
13937  
13938  
12834 –
12835 – fi
12836 – if test "$libpcre" = yes; then
12837 –  ENABLE_PCRE_TRUE=
12838 –  ENABLE_PCRE_FALSE='#'
12839 – else
12840 –  ENABLE_PCRE_TRUE='#'
12841 –  ENABLE_PCRE_FALSE=
13939   fi
13940  
13941  
# Line 12882 | Line 13979 | if test "$cf_enable_openssl" != "no"; th
13979    fi
13980  
13981        if test ! -z "$cf_openssl_basedir"; then
12885 –    LIBS="-lcrypto -lssl $LIBS"
13982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13983   $as_echo "$cf_openssl_basedir" >&6; }
13984      cf_enable_openssl="yes"
12889 –
12890 – $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12891 –
13985    else
13986      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13987   $as_echo "not found. Please check your path." >&6; }
# Line 12901 | Line 13994 | $as_echo "disabled" >&6; }
13994   fi
13995  
13996   if test "$cf_enable_openssl" != "no"; then :
13997 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8m or above" >&5
13998 > $as_echo_n "checking for OpenSSL 0.9.8m or above... " >&6; }
13999    if test "$cross_compiling" = yes; then :
14000    cf_openssl_version_ok=no
14001   else
14002    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003   /* end confdefs.h.  */
14004  
14005 +
14006      #include <openssl/opensslv.h>
14007      #include <stdlib.h>
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080dfL));
14012    ;
14013    return 0;
14014   }
# Line 12935 | Line 14029 | $as_echo "found" >&6; }
14029  
14030      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14032 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033    $as_echo_n "(cached) " >&6
14034   else
14035    ac_check_lib_save_LIBS=$LIBS
# Line 12969 | Line 14063 | LIBS=$ac_check_lib_save_LIBS
14063   fi
14064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14066 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067    cat >>confdefs.h <<_ACEOF
14068   #define HAVE_LIBCRYPTO 1
14069   _ACEOF
# Line 12979 | Line 14073 | _ACEOF
14073   fi
14074  
14075      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 <  for ac_func in EVP_bf_cfb           \
14077 <                      EVP_cast5_cfb        \
14078 <                      EVP_idea_cfb         \
14079 <                      EVP_rc5_32_12_16_cfb \
14080 <                      EVP_des_ede3_cfb     \
14081 <                      EVP_des_cfb
14082 < do :
14083 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14084 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14085 < eval as_val=\$$as_ac_var
14086 <   if test "x$as_val" = x""yes; then :
14076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079 >  $as_echo_n "(cached) " >&6
14080 > else
14081 >  ac_check_lib_save_LIBS=$LIBS
14082 > LIBS="-lssl  $LIBS"
14083 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 > /* end confdefs.h.  */
14085 >
14086 > /* Override any GCC internal prototype to avoid an error.
14087 >   Use char because int might match the return type of a GCC
14088 >   builtin and then its argument prototype would still apply.  */
14089 > #ifdef __cplusplus
14090 > extern "C"
14091 > #endif
14092 > char SSL_connect ();
14093 > int
14094 > main ()
14095 > {
14096 > return SSL_connect ();
14097 >  ;
14098 >  return 0;
14099 > }
14100 > _ACEOF
14101 > if ac_fn_c_try_link "$LINENO"; then :
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103 > else
14104 >  ac_cv_lib_ssl_SSL_connect=no
14105 > fi
14106 > rm -f core conftest.err conftest.$ac_objext \
14107 >    conftest$ac_exeext conftest.$ac_ext
14108 > LIBS=$ac_check_lib_save_LIBS
14109 > fi
14110 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113    cat >>confdefs.h <<_ACEOF
14114 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14114 > #define HAVE_LIBSSL 1
14115   _ACEOF
14116  
14117 +  LIBS="-lssl $LIBS"
14118 +
14119   fi
12998 – done
14120  
14121   fi
14122  
# Line 13006 | Line 14127 | $as_echo "no - OpenSSL support disabled"
14127   fi
14128   fi
14129  
14130 < if test "$cf_enable_openssl" = yes; then
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131    ENABLE_SSL_TRUE=
14132    ENABLE_SSL_FALSE='#'
14133   else
# Line 13031 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 < # Check whether --enable-small-net was given.
13035 < if test "${enable_small_net+set}" = set; then :
13036 <  enableval=$enable_small_net; small_net=$enableval
13037 < else
13038 <  small_net=no
13039 < fi
13040 <
13041 <
13042 < if test "$small_net" = "yes"; then :
13043 <
13044 <
13045 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14155 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
14157  
14158 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14158 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
14160  
14161 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14161 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
14163  
14164 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14164 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
14166  
14167 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14167 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
14169  
14170 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14170 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
14172  
14173 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13064 <
13065 <
13066 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13067 <
13068 <
13069 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13070 <
13071 <
13072 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13073 <
13074 < else
14173 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
14175  
14176 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
13078 – $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14178  
14179 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
13081 – $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14181  
14182 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
13084 – $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13087 – $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
13090 – $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14190  
14191 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
13093 – $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14193  
14194 <
13096 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13097 <
13098 <
13099 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13100 <
13101 <
13102 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13103 <
13104 <
13105 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13106 <
13107 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13125 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
13128 –  # Check whether --enable-rtsigio was given.
13129 – if test "${enable_rtsigio+set}" = set; then :
13130 –  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13131 – fi
13132 –
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
13138 –  # Check whether --enable-select was given.
13139 – if test "${enable_select+set}" = set; then :
13140 –  enableval=$enable_select; desired_iopoll_mechanism="select"
13141 – fi
13142 –
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 13211 | Line 14288 | _ACEOF
14288    if test "$cross_compiling" = yes; then :
14289    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14290   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14291 < as_fn_error "cannot run test program while cross compiling
14292 < See \`config.log' for more details." "$LINENO" 5; }
14291 > as_fn_error $? "cannot run test program while cross compiling
14292 > See \`config.log' for more details" "$LINENO" 5; }
14293   else
14294    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295   /* end confdefs.h.  */
# Line 13245 | Line 14322 | else
14322   #endif
14323   _syscall1(int, epoll_create, int, size)
14324   #endif
13248 – main() { return epoll_create(256) == -1 ? 1 : 0; }
14325  
14326 + int
14327 + main ()
14328 + {
14329 + return epoll_create(256) == -1 ? 1 : 0
14330 +  ;
14331 +  return 0;
14332 + }
14333   _ACEOF
14334   if ac_fn_c_try_run "$LINENO"; then :
14335    is_epoll_mechanism_available="yes"
# Line 13307 | Line 14390 | rm -f core conftest.err conftest.$ac_obj
14390   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14391  
14392    fi
14393 <      iopoll_mechanism_rtsigio=4
13311 <
13312 < cat >>confdefs.h <<_ACEOF
13313 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13314 < _ACEOF
13315 <
13316 <  if test "$cross_compiling" = yes; then :
13317 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13318 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13319 < as_fn_error "cannot run test program while cross compiling
13320 < See \`config.log' for more details." "$LINENO" 5; }
13321 < else
13322 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 < /* end confdefs.h.  */
13324 <
13325 < #include <fcntl.h>
13326 < #ifdef F_SETSIG
13327 < main () { return 0; } /* F_SETSIG defined */
13328 < #else
13329 < main () { return 1; } /* F_SETSIG not defined */
13330 < #endif
13331 <
13332 < int
13333 < main ()
13334 < {
13335 <
13336 <  ;
13337 <  return 0;
13338 < }
13339 < _ACEOF
13340 < if ac_fn_c_try_run "$LINENO"; then :
13341 <  is_rtsigio_mechanism_available="yes"
13342 < else
13343 <  is_rtsigio_mechanism_available="no"
13344 < fi
13345 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13346 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13347 < fi
13348 <
13349 <      iopoll_mechanism_poll=5
14393 >      iopoll_mechanism_poll=4
14394  
14395   cat >>confdefs.h <<_ACEOF
14396   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13400 | Line 14444 | else
14444   fi
14445   rm -f core conftest.err conftest.$ac_objext \
14446      conftest$ac_exeext conftest.$ac_ext
13403 –      iopoll_mechanism_select=6
13404 –
13405 – cat >>confdefs.h <<_ACEOF
13406 – #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13407 – _ACEOF
13408 –
13409 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 – /* end confdefs.h.  */
13411 – /* Define select to an innocuous variant, in case <limits.h> declares select.
13412 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13413 – #define select innocuous_select
13414 –
13415 – /* System header to define __stub macros and hopefully few prototypes,
13416 –    which can conflict with char select (); below.
13417 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13418 –    <limits.h> exists even on freestanding compilers.  */
13419 –
13420 – #ifdef __STDC__
13421 – # include <limits.h>
13422 – #else
13423 – # include <assert.h>
13424 – #endif
13425 –
13426 – #undef select
13427 –
13428 – /* Override any GCC internal prototype to avoid an error.
13429 –   Use char because int might match the return type of a GCC
13430 –   builtin and then its argument prototype would still apply.  */
13431 – #ifdef __cplusplus
13432 – extern "C"
13433 – #endif
13434 – char select ();
13435 – /* The GNU C library defines this for functions which it implements
13436 –    to always fail with ENOSYS.  Some functions are actually named
13437 –    something starting with __ and the normal name is an alias.  */
13438 – #if defined __stub_select || defined __stub___select
13439 – choke me
13440 – #endif
13441 –
13442 – int
13443 – main ()
13444 – {
13445 – return select ();
13446 –  ;
13447 –  return 0;
13448 – }
13449 – _ACEOF
13450 – if ac_fn_c_try_link "$LINENO"; then :
13451 –  is_select_mechanism_available="yes"
13452 – else
13453 –  is_select_mechanism_available="no"
13454 – fi
13455 – rm -f core conftest.err conftest.$ac_objext \
13456 –    conftest$ac_exeext conftest.$ac_ext
14447        optimal_iopoll_mechanism="none"
14448 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14448 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14449      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14450      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14451        optimal_iopoll_mechanism="$mechanism"
# Line 13466 | Line 14456 | rm -f core conftest.err conftest.$ac_obj
14456      if test "$optimal_iopoll_mechanism" = "none" ; then
14457        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14458   $as_echo "none" >&6; }
14459 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14459 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14460      else
14461        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14462        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13481 | Line 14471 | $as_echo "$selected_iopoll_mechanism" >&
14471      else
14472        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14473   $as_echo "none" >&6; }
14474 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14474 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14475      fi
14476    fi
14477        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13492 | Line 14482 | _ACEOF
14482  
14483  
14484  
14485 +  # Check whether --enable-debugging was given.
14486 + if test "${enable_debugging+set}" = set; then :
14487 +  enableval=$enable_debugging; debugging="$enableval"
14488 + else
14489 +  debugging="no"
14490 + fi
14491 +
14492 +  if test "$debugging" = "yes" ; then
14493 +    CFLAGS="-Wall -g -O0"
14494 +  fi
14495  
14496 < # Check whether --with-nicklen was given.
14497 < if test "${with_nicklen+set}" = set; then :
14498 <  withval=$with_nicklen; nicklen="$withval"
14496 >
14497 >  # Check whether --enable-warnings was given.
14498 > if test "${enable_warnings+set}" = set; then :
14499 >  enableval=$enable_warnings; warnings="$enableval"
14500   else
14501 <  nicklen="9"
14501 >  warnings="no"
14502   fi
14503  
14504 +  if test "$warnings" = "yes" ; then
14505  
14506 < cat >>confdefs.h <<_ACEOF
14507 < #define NICKLEN ($nicklen+1)
14506 >
14507 >
14508 >
14509 > for flag in -Wall; do
14510 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14511 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14512 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14513 > if eval \${$as_CACHEVAR+:} false; then :
14514 >  $as_echo_n "(cached) " >&6
14515 > else
14516 >
14517 >  ax_check_save_flags=$CFLAGS
14518 >  CFLAGS="$CFLAGS  $flag"
14519 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 > /* end confdefs.h.  */
14521 >
14522 > int
14523 > main ()
14524 > {
14525 >
14526 >  ;
14527 >  return 0;
14528 > }
14529   _ACEOF
14530 + if ac_fn_c_try_compile "$LINENO"; then :
14531 +  eval "$as_CACHEVAR=yes"
14532 + else
14533 +  eval "$as_CACHEVAR=no"
14534 + fi
14535 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14536 +  CFLAGS=$ax_check_save_flags
14537 + fi
14538 + eval ac_res=\$$as_CACHEVAR
14539 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14540 + $as_echo "$ac_res" >&6; }
14541 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14542 +  if ${CFLAGS+:} false; then :
14543 +  case " $CFLAGS " in
14544 +    *" $flag "*)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14546 +  (: CFLAGS already contains $flag) 2>&5
14547 +  ac_status=$?
14548 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14549 +  test $ac_status = 0; }
14550 +      ;;
14551 +    *)
14552 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14553 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14554 +  ac_status=$?
14555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 +  test $ac_status = 0; }
14557 +      CFLAGS="$CFLAGS $flag"
14558 +      ;;
14559 +   esac
14560 + else
14561 +  CFLAGS="$flag"
14562 + fi
14563 +
14564 + else
14565 +  :
14566 + fi
14567 +
14568 + done
14569 +
14570 +
14571 +
14572 +
14573 +
14574 + for flag in -Wextra; do
14575 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14576 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14577 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14578 + if eval \${$as_CACHEVAR+:} false; then :
14579 +  $as_echo_n "(cached) " >&6
14580 + else
14581  
14582 +  ax_check_save_flags=$CFLAGS
14583 +  CFLAGS="$CFLAGS  $flag"
14584 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 + /* end confdefs.h.  */
14586  
14587 + int
14588 + main ()
14589 + {
14590  
14591 +  ;
14592 +  return 0;
14593 + }
14594 + _ACEOF
14595 + if ac_fn_c_try_compile "$LINENO"; then :
14596 +  eval "$as_CACHEVAR=yes"
14597 + else
14598 +  eval "$as_CACHEVAR=no"
14599 + fi
14600 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 +  CFLAGS=$ax_check_save_flags
14602 + fi
14603 + eval ac_res=\$$as_CACHEVAR
14604 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14605 + $as_echo "$ac_res" >&6; }
14606 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14607 +  if ${CFLAGS+:} false; then :
14608 +  case " $CFLAGS " in
14609 +    *" $flag "*)
14610 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14611 +  (: CFLAGS already contains $flag) 2>&5
14612 +  ac_status=$?
14613 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614 +  test $ac_status = 0; }
14615 +      ;;
14616 +    *)
14617 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14618 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14619 +  ac_status=$?
14620 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 +  test $ac_status = 0; }
14622 +      CFLAGS="$CFLAGS $flag"
14623 +      ;;
14624 +   esac
14625 + else
14626 +  CFLAGS="$flag"
14627 + fi
14628  
13511 – # Check whether --with-topiclen was given.
13512 – if test "${with_topiclen+set}" = set; then :
13513 –  withval=$with_topiclen; topiclen="$withval"
14629   else
14630 <  topiclen="160"
14630 >  :
14631   fi
14632  
14633 + done
14634  
14635 < cat >>confdefs.h <<_ACEOF
14636 < #define TOPICLEN ($topiclen)
14635 >
14636 >
14637 >
14638 >
14639 > for flag in -Wno-unused; do
14640 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14641 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14642 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14643 > if eval \${$as_CACHEVAR+:} false; then :
14644 >  $as_echo_n "(cached) " >&6
14645 > else
14646 >
14647 >  ax_check_save_flags=$CFLAGS
14648 >  CFLAGS="$CFLAGS  $flag"
14649 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 > /* end confdefs.h.  */
14651 >
14652 > int
14653 > main ()
14654 > {
14655 >
14656 >  ;
14657 >  return 0;
14658 > }
14659   _ACEOF
14660 + if ac_fn_c_try_compile "$LINENO"; then :
14661 +  eval "$as_CACHEVAR=yes"
14662 + else
14663 +  eval "$as_CACHEVAR=no"
14664 + fi
14665 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 +  CFLAGS=$ax_check_save_flags
14667 + fi
14668 + eval ac_res=\$$as_CACHEVAR
14669 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 + $as_echo "$ac_res" >&6; }
14671 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14672 +  if ${CFLAGS+:} false; then :
14673 +  case " $CFLAGS " in
14674 +    *" $flag "*)
14675 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14676 +  (: CFLAGS already contains $flag) 2>&5
14677 +  ac_status=$?
14678 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 +  test $ac_status = 0; }
14680 +      ;;
14681 +    *)
14682 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14683 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14684 +  ac_status=$?
14685 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 +  test $ac_status = 0; }
14687 +      CFLAGS="$CFLAGS $flag"
14688 +      ;;
14689 +   esac
14690 + else
14691 +  CFLAGS="$flag"
14692 + fi
14693 +
14694 + else
14695 +  :
14696 + fi
14697 +
14698 + done
14699 +
14700 +
14701 +
14702  
14703  
14704 + for flag in -Wcast-qual; do
14705 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14706 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14707 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14708 + if eval \${$as_CACHEVAR+:} false; then :
14709 +  $as_echo_n "(cached) " >&6
14710 + else
14711 +
14712 +  ax_check_save_flags=$CFLAGS
14713 +  CFLAGS="$CFLAGS  $flag"
14714 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 + /* end confdefs.h.  */
14716 +
14717 + int
14718 + main ()
14719 + {
14720  
14721 +  ;
14722 +  return 0;
14723 + }
14724 + _ACEOF
14725 + if ac_fn_c_try_compile "$LINENO"; then :
14726 +  eval "$as_CACHEVAR=yes"
14727 + else
14728 +  eval "$as_CACHEVAR=no"
14729 + fi
14730 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 +  CFLAGS=$ax_check_save_flags
14732 + fi
14733 + eval ac_res=\$$as_CACHEVAR
14734 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14735 + $as_echo "$ac_res" >&6; }
14736 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14737 +  if ${CFLAGS+:} false; then :
14738 +  case " $CFLAGS " in
14739 +    *" $flag "*)
14740 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14741 +  (: CFLAGS already contains $flag) 2>&5
14742 +  ac_status=$?
14743 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 +  test $ac_status = 0; }
14745 +      ;;
14746 +    *)
14747 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14748 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14749 +  ac_status=$?
14750 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 +  test $ac_status = 0; }
14752 +      CFLAGS="$CFLAGS $flag"
14753 +      ;;
14754 +   esac
14755 + else
14756 +  CFLAGS="$flag"
14757 + fi
14758  
13526 – # Check whether --with-syslog-facility was given.
13527 – if test "${with_syslog_facility+set}" = set; then :
13528 –  withval=$with_syslog_facility; syslog_facility="$withval"
14759   else
14760 <  syslog_facility="LOG_LOCAL4"
14760 >  :
14761   fi
14762  
14763 + done
14764  
14765 < cat >>confdefs.h <<_ACEOF
14766 < #define LOG_FACILITY $syslog_facility
14765 >
14766 >
14767 >
14768 >
14769 > for flag in -Wcast-align; do
14770 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14771 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14772 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14773 > if eval \${$as_CACHEVAR+:} false; then :
14774 >  $as_echo_n "(cached) " >&6
14775 > else
14776 >
14777 >  ax_check_save_flags=$CFLAGS
14778 >  CFLAGS="$CFLAGS  $flag"
14779 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 > /* end confdefs.h.  */
14781 >
14782 > int
14783 > main ()
14784 > {
14785 >
14786 >  ;
14787 >  return 0;
14788 > }
14789   _ACEOF
14790 + if ac_fn_c_try_compile "$LINENO"; then :
14791 +  eval "$as_CACHEVAR=yes"
14792 + else
14793 +  eval "$as_CACHEVAR=no"
14794 + fi
14795 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 +  CFLAGS=$ax_check_save_flags
14797 + fi
14798 + eval ac_res=\$$as_CACHEVAR
14799 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14800 + $as_echo "$ac_res" >&6; }
14801 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14802 +  if ${CFLAGS+:} false; then :
14803 +  case " $CFLAGS " in
14804 +    *" $flag "*)
14805 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14806 +  (: CFLAGS already contains $flag) 2>&5
14807 +  ac_status=$?
14808 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 +  test $ac_status = 0; }
14810 +      ;;
14811 +    *)
14812 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14813 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14814 +  ac_status=$?
14815 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 +  test $ac_status = 0; }
14817 +      CFLAGS="$CFLAGS $flag"
14818 +      ;;
14819 +   esac
14820 + else
14821 +  CFLAGS="$flag"
14822 + fi
14823 +
14824 + else
14825 +  :
14826 + fi
14827 +
14828 + done
14829  
14830  
14831  
14832 <  # Check whether --enable-efnet was given.
14833 < if test "${enable_efnet+set}" = set; then :
14834 <  enableval=$enable_efnet; efnet="$enableval"
14832 >
14833 >
14834 > for flag in -Wbad-function-cast; do
14835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14838 > if eval \${$as_CACHEVAR+:} false; then :
14839 >  $as_echo_n "(cached) " >&6
14840 > else
14841 >
14842 >  ax_check_save_flags=$CFLAGS
14843 >  CFLAGS="$CFLAGS  $flag"
14844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 > /* end confdefs.h.  */
14846 >
14847 > int
14848 > main ()
14849 > {
14850 >
14851 >  ;
14852 >  return 0;
14853 > }
14854 > _ACEOF
14855 > if ac_fn_c_try_compile "$LINENO"; then :
14856 >  eval "$as_CACHEVAR=yes"
14857   else
14858 <  efnet="no"
14858 >  eval "$as_CACHEVAR=no"
14859 > fi
14860 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 >  CFLAGS=$ax_check_save_flags
14862 > fi
14863 > eval ac_res=\$$as_CACHEVAR
14864 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14865 > $as_echo "$ac_res" >&6; }
14866 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14867 >  if ${CFLAGS+:} false; then :
14868 >  case " $CFLAGS " in
14869 >    *" $flag "*)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14871 >  (: CFLAGS already contains $flag) 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      ;;
14876 >    *)
14877 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14878 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14879 >  ac_status=$?
14880 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14881 >  test $ac_status = 0; }
14882 >      CFLAGS="$CFLAGS $flag"
14883 >      ;;
14884 >   esac
14885 > else
14886 >  CFLAGS="$flag"
14887   fi
14888  
14889 <  if test "$efnet" = "yes" ; then
14890 <                use_efnet="yes"
14889 > else
14890 >  :
14891 > fi
14892  
14893 < $as_echo "#define EFNET 1" >>confdefs.h
14893 > done
14894  
14895  
13553 – $as_echo "#define TS5_ONLY 1" >>confdefs.h
14896  
14897 <        else
14898 <                use_efnet="no"
14899 <  fi
14900 <   if test "$use_efnet" = "yes"; then
14901 <  EFNET_TRUE=
14902 <  EFNET_FALSE='#'
14897 >
14898 >
14899 > for flag in -Wlogical-op; do
14900 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14901 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14902 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14903 > if eval \${$as_CACHEVAR+:} false; then :
14904 >  $as_echo_n "(cached) " >&6
14905 > else
14906 >
14907 >  ax_check_save_flags=$CFLAGS
14908 >  CFLAGS="$CFLAGS  $flag"
14909 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 > /* end confdefs.h.  */
14911 >
14912 > int
14913 > main ()
14914 > {
14915 >
14916 >  ;
14917 >  return 0;
14918 > }
14919 > _ACEOF
14920 > if ac_fn_c_try_compile "$LINENO"; then :
14921 >  eval "$as_CACHEVAR=yes"
14922   else
14923 <  EFNET_TRUE='#'
13563 <  EFNET_FALSE=
14923 >  eval "$as_CACHEVAR=no"
14924   fi
14925 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 +  CFLAGS=$ax_check_save_flags
14927 + fi
14928 + eval ac_res=\$$as_CACHEVAR
14929 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14930 + $as_echo "$ac_res" >&6; }
14931 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14932 +  if ${CFLAGS+:} false; then :
14933 +  case " $CFLAGS " in
14934 +    *" $flag "*)
14935 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14936 +  (: CFLAGS already contains $flag) 2>&5
14937 +  ac_status=$?
14938 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 +  test $ac_status = 0; }
14940 +      ;;
14941 +    *)
14942 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14943 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14944 +  ac_status=$?
14945 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14946 +  test $ac_status = 0; }
14947 +      CFLAGS="$CFLAGS $flag"
14948 +      ;;
14949 +   esac
14950 + else
14951 +  CFLAGS="$flag"
14952 + fi
14953 +
14954 + else
14955 +  :
14956 + fi
14957 +
14958 + done
14959 +
14960 +
14961 +
14962 +
14963 +
14964 + for flag in -Wmissing-declarations; do
14965 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14966 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14967 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14968 + if eval \${$as_CACHEVAR+:} false; then :
14969 +  $as_echo_n "(cached) " >&6
14970 + else
14971 +
14972 +  ax_check_save_flags=$CFLAGS
14973 +  CFLAGS="$CFLAGS  $flag"
14974 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 + /* end confdefs.h.  */
14976  
14977 + int
14978 + main ()
14979 + {
14980  
14981 +  ;
14982 +  return 0;
14983 + }
14984 + _ACEOF
14985 + if ac_fn_c_try_compile "$LINENO"; then :
14986 +  eval "$as_CACHEVAR=yes"
14987 + else
14988 +  eval "$as_CACHEVAR=no"
14989 + fi
14990 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14991 +  CFLAGS=$ax_check_save_flags
14992 + fi
14993 + eval ac_res=\$$as_CACHEVAR
14994 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14995 + $as_echo "$ac_res" >&6; }
14996 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14997 +  if ${CFLAGS+:} false; then :
14998 +  case " $CFLAGS " in
14999 +    *" $flag "*)
15000 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15001 +  (: CFLAGS already contains $flag) 2>&5
15002 +  ac_status=$?
15003 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 +  test $ac_status = 0; }
15005 +      ;;
15006 +    *)
15007 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15008 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15009 +  ac_status=$?
15010 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 +  test $ac_status = 0; }
15012 +      CFLAGS="$CFLAGS $flag"
15013 +      ;;
15014 +   esac
15015 + else
15016 +  CFLAGS="$flag"
15017 + fi
15018  
13568 –  # Check whether --enable-halfops was given.
13569 – if test "${enable_halfops+set}" = set; then :
13570 –  enableval=$enable_halfops; halfops="$enableval"
15019   else
15020 <  halfops="no"
15020 >  :
15021   fi
15022  
15023 <  if test "$halfops" = "yes" ; then
15023 > done
15024  
13577 – $as_echo "#define HALFOPS 1" >>confdefs.h
15025  
13579 –  fi
15026  
15027  
15028 <  # Check whether --enable-debugging was given.
15029 < if test "${enable_debugging+set}" = set; then :
15030 <  enableval=$enable_debugging; debugging="$enableval"
15028 >
15029 > for flag in -Wmissing-include-dirs; do
15030 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15031 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15032 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15033 > if eval \${$as_CACHEVAR+:} false; then :
15034 >  $as_echo_n "(cached) " >&6
15035   else
15036 <  debugging="no"
15036 >
15037 >  ax_check_save_flags=$CFLAGS
15038 >  CFLAGS="$CFLAGS  $flag"
15039 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 > /* end confdefs.h.  */
15041 >
15042 > int
15043 > main ()
15044 > {
15045 >
15046 >  ;
15047 >  return 0;
15048 > }
15049 > _ACEOF
15050 > if ac_fn_c_try_compile "$LINENO"; then :
15051 >  eval "$as_CACHEVAR=yes"
15052 > else
15053 >  eval "$as_CACHEVAR=no"
15054 > fi
15055 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15056 >  CFLAGS=$ax_check_save_flags
15057 > fi
15058 > eval ac_res=\$$as_CACHEVAR
15059 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15060 > $as_echo "$ac_res" >&6; }
15061 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15062 >  if ${CFLAGS+:} false; then :
15063 >  case " $CFLAGS " in
15064 >    *" $flag "*)
15065 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15066 >  (: CFLAGS already contains $flag) 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >      ;;
15071 >    *)
15072 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15073 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15074 >  ac_status=$?
15075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15076 >  test $ac_status = 0; }
15077 >      CFLAGS="$CFLAGS $flag"
15078 >      ;;
15079 >   esac
15080 > else
15081 >  CFLAGS="$flag"
15082   fi
15083  
15084 <  if test "$debugging" = "yes" ; then
15084 > else
15085 >  :
15086 > fi
15087  
15088 < $as_echo "#define DEBUG 1" >>confdefs.h
15088 > done
15089  
13593 –    CFLAGS="-Wall -g -O0"
13594 –  else
15090  
13596 – $as_echo "#define NDEBUG 1" >>confdefs.h
15091  
13598 –  fi
15092  
15093  
15094 <  # Check whether --enable-warnings was given.
15095 < if test "${enable_warnings+set}" = set; then :
15096 <  enableval=$enable_warnings; warnings="$enableval"
15094 > for flag in -Wmissing-prototypes; do
15095 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15096 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15097 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15098 > if eval \${$as_CACHEVAR+:} false; then :
15099 >  $as_echo_n "(cached) " >&6
15100   else
15101 <  warnings="no"
15101 >
15102 >  ax_check_save_flags=$CFLAGS
15103 >  CFLAGS="$CFLAGS  $flag"
15104 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 > /* end confdefs.h.  */
15106 >
15107 > int
15108 > main ()
15109 > {
15110 >
15111 >  ;
15112 >  return 0;
15113 > }
15114 > _ACEOF
15115 > if ac_fn_c_try_compile "$LINENO"; then :
15116 >  eval "$as_CACHEVAR=yes"
15117 > else
15118 >  eval "$as_CACHEVAR=no"
15119 > fi
15120 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 >  CFLAGS=$ax_check_save_flags
15122 > fi
15123 > eval ac_res=\$$as_CACHEVAR
15124 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15125 > $as_echo "$ac_res" >&6; }
15126 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15127 >  if ${CFLAGS+:} false; then :
15128 >  case " $CFLAGS " in
15129 >    *" $flag "*)
15130 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15131 >  (: CFLAGS already contains $flag) 2>&5
15132 >  ac_status=$?
15133 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 >  test $ac_status = 0; }
15135 >      ;;
15136 >    *)
15137 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15138 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15139 >  ac_status=$?
15140 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15141 >  test $ac_status = 0; }
15142 >      CFLAGS="$CFLAGS $flag"
15143 >      ;;
15144 >   esac
15145 > else
15146 >  CFLAGS="$flag"
15147   fi
15148  
15149 <  if test "$warnings" = "yes" ; then
15150 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15151 <  fi
15149 > else
15150 >  :
15151 > fi
15152  
15153 + done
15154  
15155 <  for ac_header in syslog.h sys/syslog.h
15156 < do :
15157 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15158 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15159 < eval as_val=\$$as_ac_Header
15160 <   if test "x$as_val" = x""yes; then :
15161 <  cat >>confdefs.h <<_ACEOF
15162 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15155 >
15156 >
15157 >
15158 >
15159 > for flag in -Wnested-externs; do
15160 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15162 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15163 > if eval \${$as_CACHEVAR+:} false; then :
15164 >  $as_echo_n "(cached) " >&6
15165 > else
15166 >
15167 >  ax_check_save_flags=$CFLAGS
15168 >  CFLAGS="$CFLAGS  $flag"
15169 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 > /* end confdefs.h.  */
15171 >
15172 > int
15173 > main ()
15174 > {
15175 >
15176 >  ;
15177 >  return 0;
15178 > }
15179   _ACEOF
15180 + if ac_fn_c_try_compile "$LINENO"; then :
15181 +  eval "$as_CACHEVAR=yes"
15182 + else
15183 +  eval "$as_CACHEVAR=no"
15184 + fi
15185 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 +  CFLAGS=$ax_check_save_flags
15187 + fi
15188 + eval ac_res=\$$as_CACHEVAR
15189 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15190 + $as_echo "$ac_res" >&6; }
15191 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15192 +  if ${CFLAGS+:} false; then :
15193 +  case " $CFLAGS " in
15194 +    *" $flag "*)
15195 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15196 +  (: CFLAGS already contains $flag) 2>&5
15197 +  ac_status=$?
15198 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 +  test $ac_status = 0; }
15200 +      ;;
15201 +    *)
15202 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15203 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15204 +  ac_status=$?
15205 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15206 +  test $ac_status = 0; }
15207 +      CFLAGS="$CFLAGS $flag"
15208 +      ;;
15209 +   esac
15210 + else
15211 +  CFLAGS="$flag"
15212 + fi
15213  
15214 + else
15215 +  :
15216   fi
15217  
15218   done
15219  
15220 <  # Check whether --enable-syslog was given.
15221 < if test "${enable_syslog+set}" = set; then :
15222 <  enableval=$enable_syslog; syslog="$enableval"
15223 < else
15224 <  syslog="no"
15220 >
15221 >
15222 >
15223 >
15224 > for flag in -Wpointer-arith; do
15225 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15227 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15228 > if eval \${$as_CACHEVAR+:} false; then :
15229 >  $as_echo_n "(cached) " >&6
15230 > else
15231 >
15232 >  ax_check_save_flags=$CFLAGS
15233 >  CFLAGS="$CFLAGS  $flag"
15234 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 > /* end confdefs.h.  */
15236 >
15237 > int
15238 > main ()
15239 > {
15240 >
15241 >  ;
15242 >  return 0;
15243 > }
15244 > _ACEOF
15245 > if ac_fn_c_try_compile "$LINENO"; then :
15246 >  eval "$as_CACHEVAR=yes"
15247 > else
15248 >  eval "$as_CACHEVAR=no"
15249 > fi
15250 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15251 >  CFLAGS=$ax_check_save_flags
15252 > fi
15253 > eval ac_res=\$$as_CACHEVAR
15254 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15255 > $as_echo "$ac_res" >&6; }
15256 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15257 >  if ${CFLAGS+:} false; then :
15258 >  case " $CFLAGS " in
15259 >    *" $flag "*)
15260 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15261 >  (: CFLAGS already contains $flag) 2>&5
15262 >  ac_status=$?
15263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 >  test $ac_status = 0; }
15265 >      ;;
15266 >    *)
15267 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15268 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15269 >  ac_status=$?
15270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15271 >  test $ac_status = 0; }
15272 >      CFLAGS="$CFLAGS $flag"
15273 >      ;;
15274 >   esac
15275 > else
15276 >  CFLAGS="$flag"
15277   fi
15278  
15279 <  if test "$enableval" != "no" ; then
15280 <    for option in $enableval ; do
15281 <      case "$option" in
15282 <        users)
15283 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15284 < ;;
15285 <        oper)
15286 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13642 < ;;
13643 <        yes) : ;;
13644 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13645 <      esac
13646 <    done
15279 > else
15280 >  :
15281 > fi
15282 >
15283 > done
15284 >
15285 >
15286 >
15287  
15288 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15288 >
15289 > for flag in -Wredundant-decls; do
15290 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15291 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15292 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15293 > if eval \${$as_CACHEVAR+:} false; then :
15294 >  $as_echo_n "(cached) " >&6
15295 > else
15296 >
15297 >  ax_check_save_flags=$CFLAGS
15298 >  CFLAGS="$CFLAGS  $flag"
15299 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 > /* end confdefs.h.  */
15301 >
15302 > int
15303 > main ()
15304 > {
15305 >
15306 >  ;
15307 >  return 0;
15308 > }
15309 > _ACEOF
15310 > if ac_fn_c_try_compile "$LINENO"; then :
15311 >  eval "$as_CACHEVAR=yes"
15312 > else
15313 >  eval "$as_CACHEVAR=no"
15314 > fi
15315 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 >  CFLAGS=$ax_check_save_flags
15317 > fi
15318 > eval ac_res=\$$as_CACHEVAR
15319 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15320 > $as_echo "$ac_res" >&6; }
15321 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15322 >  if ${CFLAGS+:} false; then :
15323 >  case " $CFLAGS " in
15324 >    *" $flag "*)
15325 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15326 >  (: CFLAGS already contains $flag) 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >      ;;
15331 >    *)
15332 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15333 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15334 >  ac_status=$?
15335 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 >  test $ac_status = 0; }
15337 >      CFLAGS="$CFLAGS $flag"
15338 >      ;;
15339 >   esac
15340 > else
15341 >  CFLAGS="$flag"
15342 > fi
15343 >
15344 > else
15345 >  :
15346 > fi
15347 >
15348 > done
15349 >
15350 >
15351 >
15352 >
15353 >
15354 > for flag in -Wshadow; do
15355 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15356 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15357 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15358 > if eval \${$as_CACHEVAR+:} false; then :
15359 >  $as_echo_n "(cached) " >&6
15360 > else
15361 >
15362 >  ax_check_save_flags=$CFLAGS
15363 >  CFLAGS="$CFLAGS  $flag"
15364 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 > /* end confdefs.h.  */
15366 >
15367 > int
15368 > main ()
15369 > {
15370 >
15371 >  ;
15372 >  return 0;
15373 > }
15374 > _ACEOF
15375 > if ac_fn_c_try_compile "$LINENO"; then :
15376 >  eval "$as_CACHEVAR=yes"
15377 > else
15378 >  eval "$as_CACHEVAR=no"
15379 > fi
15380 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 >  CFLAGS=$ax_check_save_flags
15382 > fi
15383 > eval ac_res=\$$as_CACHEVAR
15384 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15385 > $as_echo "$ac_res" >&6; }
15386 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15387 >  if ${CFLAGS+:} false; then :
15388 >  case " $CFLAGS " in
15389 >    *" $flag "*)
15390 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15391 >  (: CFLAGS already contains $flag) 2>&5
15392 >  ac_status=$?
15393 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 >  test $ac_status = 0; }
15395 >      ;;
15396 >    *)
15397 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15398 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15399 >  ac_status=$?
15400 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15401 >  test $ac_status = 0; }
15402 >      CFLAGS="$CFLAGS $flag"
15403 >      ;;
15404 >   esac
15405 > else
15406 >  CFLAGS="$flag"
15407 > fi
15408 >
15409 > else
15410 >  :
15411 > fi
15412 >
15413 > done
15414 >
15415 >
15416 >
15417 >
15418 >
15419 > for flag in -Wwrite-strings; do
15420 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15421 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15422 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15423 > if eval \${$as_CACHEVAR+:} false; then :
15424 >  $as_echo_n "(cached) " >&6
15425 > else
15426 >
15427 >  ax_check_save_flags=$CFLAGS
15428 >  CFLAGS="$CFLAGS  $flag"
15429 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 > /* end confdefs.h.  */
15431 >
15432 > int
15433 > main ()
15434 > {
15435 >
15436 >  ;
15437 >  return 0;
15438 > }
15439 > _ACEOF
15440 > if ac_fn_c_try_compile "$LINENO"; then :
15441 >  eval "$as_CACHEVAR=yes"
15442 > else
15443 >  eval "$as_CACHEVAR=no"
15444 > fi
15445 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 >  CFLAGS=$ax_check_save_flags
15447 > fi
15448 > eval ac_res=\$$as_CACHEVAR
15449 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15450 > $as_echo "$ac_res" >&6; }
15451 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15452 >  if ${CFLAGS+:} false; then :
15453 >  case " $CFLAGS " in
15454 >    *" $flag "*)
15455 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15456 >  (: CFLAGS already contains $flag) 2>&5
15457 >  ac_status=$?
15458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 >  test $ac_status = 0; }
15460 >      ;;
15461 >    *)
15462 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15463 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15464 >  ac_status=$?
15465 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 >  test $ac_status = 0; }
15467 >      CFLAGS="$CFLAGS $flag"
15468 >      ;;
15469 >   esac
15470 > else
15471 >  CFLAGS="$flag"
15472 > fi
15473 >
15474 > else
15475 >  :
15476 > fi
15477 >
15478 > done
15479 >
15480 >
15481 >
15482 >
15483 >
15484 > for flag in -Wundef; do
15485 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15486 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15487 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15488 > if eval \${$as_CACHEVAR+:} false; then :
15489 >  $as_echo_n "(cached) " >&6
15490 > else
15491 >
15492 >  ax_check_save_flags=$CFLAGS
15493 >  CFLAGS="$CFLAGS  $flag"
15494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 > /* end confdefs.h.  */
15496 >
15497 > int
15498 > main ()
15499 > {
15500 >
15501 >  ;
15502 >  return 0;
15503 > }
15504 > _ACEOF
15505 > if ac_fn_c_try_compile "$LINENO"; then :
15506 >  eval "$as_CACHEVAR=yes"
15507 > else
15508 >  eval "$as_CACHEVAR=no"
15509 > fi
15510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 >  CFLAGS=$ax_check_save_flags
15512 > fi
15513 > eval ac_res=\$$as_CACHEVAR
15514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15515 > $as_echo "$ac_res" >&6; }
15516 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15517 >  if ${CFLAGS+:} false; then :
15518 >  case " $CFLAGS " in
15519 >    *" $flag "*)
15520 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15521 >  (: CFLAGS already contains $flag) 2>&5
15522 >  ac_status=$?
15523 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 >  test $ac_status = 0; }
15525 >      ;;
15526 >    *)
15527 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15528 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15529 >  ac_status=$?
15530 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 >  test $ac_status = 0; }
15532 >      CFLAGS="$CFLAGS $flag"
15533 >      ;;
15534 >   esac
15535 > else
15536 >  CFLAGS="$flag"
15537 > fi
15538 >
15539 > else
15540 >  :
15541 > fi
15542 >
15543 > done
15544  
15545    fi
15546  
# Line 13736 | Line 15631 | _ACEOF
15631    test "$exec_prefix_NONE" && exec_prefix=NONE
15632  
15633  
15634 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15634 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15635  
15636  
15637   cat >confcache <<\_ACEOF
# Line 13803 | Line 15698 | $as_echo "$as_me: WARNING: cache variabl
15698       :end' >>confcache
15699   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15700    if test -w "$cache_file"; then
15701 <    test "x$cache_file" != "x/dev/null" &&
15701 >    if test "x$cache_file" != "x/dev/null"; then
15702        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15703   $as_echo "$as_me: updating cache $cache_file" >&6;}
15704 <    cat confcache >$cache_file
15704 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15705 >        cat confcache >"$cache_file"
15706 >      else
15707 >        case $cache_file in #(
15708 >        */* | ?:*)
15709 >          mv -f confcache "$cache_file"$$ &&
15710 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15711 >        *)
15712 >          mv -f confcache "$cache_file" ;;
15713 >        esac
15714 >      fi
15715 >    fi
15716    else
15717      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15718   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13822 | Line 15728 | DEFS=-DHAVE_CONFIG_H
15728  
15729   ac_libobjs=
15730   ac_ltlibobjs=
15731 + U=
15732   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15733    # 1. Remove the extension, and $U if already installed.
15734    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13836 | Line 15743 | LIBOBJS=$ac_libobjs
15743   LTLIBOBJS=$ac_ltlibobjs
15744  
15745  
15746 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15747 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15748 +   if test -n "$am_sleep_pid"; then
15749 +     # Hide warnings about reused PIDs.
15750 +     wait $am_sleep_pid 2>/dev/null
15751 +   fi
15752 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15753 + $as_echo "done" >&6; }
15754   if test -n "$EXEEXT"; then
15755    am__EXEEXT_TRUE=
15756    am__EXEEXT_FALSE='#'
# Line 13845 | Line 15760 | else
15760   fi
15761  
15762   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15763 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15763 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15764   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765   fi
15766   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15767 <  as_fn_error "conditional \"AMDEP\" was never defined.
15767 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15768   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15769   fi
15770   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15771 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15771 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15772   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15773   fi
15774   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15775 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15775 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15776   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15777   fi
15778   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15779 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15779 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15780   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15781   fi
15782   LT_CONFIG_H=config.h
# Line 13882 | Line 15797 | LT_CONFIG_H=config.h
15797  
15798  
15799  
13885 – if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13886 –  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13887 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888 – fi
15800   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15801 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13891 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892 < fi
13893 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13894 <  as_fn_error "conditional \"EFNET\" was never defined.
15801 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15802   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15803   fi
15804  
15805 < : ${CONFIG_STATUS=./config.status}
15805 > : "${CONFIG_STATUS=./config.status}"
15806   ac_write_fail=0
15807   ac_clean_files_save=$ac_clean_files
15808   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13996 | Line 15903 | fi
15903   IFS=" ""        $as_nl"
15904  
15905   # Find who we are.  Look in the path if we contain no directory separator.
15906 + as_myself=
15907   case $0 in #((
15908    *[\\/]* ) as_myself=$0 ;;
15909    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14041 | Line 15949 | export LANGUAGE
15949   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15950  
15951  
15952 < # as_fn_error ERROR [LINENO LOG_FD]
15953 < # ---------------------------------
15952 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15953 > # ----------------------------------------
15954   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15955   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15956 < # script with status $?, using 1 if that was 0.
15956 > # script with STATUS, using 1 if that was 0.
15957   as_fn_error ()
15958   {
15959 <  as_status=$?; test $as_status -eq 0 && as_status=1
15960 <  if test "$3"; then
15961 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15962 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15959 >  as_status=$1; test $as_status -eq 0 && as_status=1
15960 >  if test "$4"; then
15961 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15962 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15963    fi
15964 <  $as_echo "$as_me: error: $1" >&2
15964 >  $as_echo "$as_me: error: $2" >&2
15965    as_fn_exit $as_status
15966   } # as_fn_error
15967  
# Line 14191 | Line 16099 | if (echo >conf$$.file) 2>/dev/null; then
16099      # ... but there are two gotchas:
16100      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16101      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16102 <    # In both cases, we have to default to `cp -p'.
16102 >    # In both cases, we have to default to `cp -pR'.
16103      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16104 <      as_ln_s='cp -p'
16104 >      as_ln_s='cp -pR'
16105    elif ln conf$$.file conf$$ 2>/dev/null; then
16106      as_ln_s=ln
16107    else
16108 <    as_ln_s='cp -p'
16108 >    as_ln_s='cp -pR'
16109    fi
16110   else
16111 <  as_ln_s='cp -p'
16111 >  as_ln_s='cp -pR'
16112   fi
16113   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16114   rmdir conf$$.dir 2>/dev/null
# Line 14249 | Line 16157 | $as_echo X"$as_dir" |
16157        test -d "$as_dir" && break
16158      done
16159      test -z "$as_dirs" || eval "mkdir $as_dirs"
16160 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16160 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16161  
16162  
16163   } # as_fn_mkdir_p
# Line 14260 | Line 16168 | else
16168    as_mkdir_p=false
16169   fi
16170  
16171 < if test -x / >/dev/null 2>&1; then
16172 <  as_test_x='test -x'
16173 < else
16174 <  if ls -dL / >/dev/null 2>&1; then
16175 <    as_ls_L_option=L
16176 <  else
16177 <    as_ls_L_option=
16178 <  fi
16179 <  as_test_x='
16180 <    eval sh -c '\''
14273 <      if test -d "$1"; then
14274 <        test -d "$1/.";
14275 <      else
14276 <        case $1 in #(
14277 <        -*)set "./$1";;
14278 <        esac;
14279 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14280 <        ???[sx]*):;;*)false;;esac;fi
14281 <    '\'' sh
14282 <  '
14283 < fi
14284 < as_executable_p=$as_test_x
16171 >
16172 > # as_fn_executable_p FILE
16173 > # -----------------------
16174 > # Test if FILE is an executable regular file.
16175 > as_fn_executable_p ()
16176 > {
16177 >  test -f "$1" && test -x "$1"
16178 > } # as_fn_executable_p
16179 > as_test_x='test -x'
16180 > as_executable_p=as_fn_executable_p
16181  
16182   # Sed expression to map a string onto a valid CPP name.
16183   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14302 | Line 16198 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16198   # report actual input values of CONFIG_FILES etc. instead of their
16199   # values after options handling.
16200   ac_log="
16201 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16202 < generated by GNU Autoconf 2.65.  Invocation command line was
16201 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16202 > generated by GNU Autoconf 2.69.  Invocation command line was
16203  
16204    CONFIG_FILES    = $CONFIG_FILES
16205    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14368 | Line 16264 | _ACEOF
16264   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16265   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16266   ac_cs_version="\\
16267 < ircd-hybrid config.status 7.3-rc1
16268 < configured by $0, generated by GNU Autoconf 2.65,
16267 > ircd-hybrid config.status TRUNK
16268 > configured by $0, generated by GNU Autoconf 2.69,
16269    with options \\"\$ac_cs_config\\"
16270  
16271 < Copyright (C) 2009 Free Software Foundation, Inc.
16271 > Copyright (C) 2012 Free Software Foundation, Inc.
16272   This config.status script is free software; the Free Software Foundation
16273   gives unlimited permission to copy, distribute and modify it."
16274  
# Line 14390 | Line 16286 | ac_need_defaults=:
16286   while test $# != 0
16287   do
16288    case $1 in
16289 <  --*=*)
16289 >  --*=?*)
16290      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16291      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16292      ac_shift=:
16293      ;;
16294 +  --*=)
16295 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16296 +    ac_optarg=
16297 +    ac_shift=:
16298 +    ;;
16299    *)
16300      ac_option=$1
16301      ac_optarg=$2
# Line 14416 | Line 16317 | do
16317      $ac_shift
16318      case $ac_optarg in
16319      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16320 +    '') as_fn_error $? "missing file argument" ;;
16321      esac
16322      as_fn_append CONFIG_FILES " '$ac_optarg'"
16323      ac_need_defaults=false;;
# Line 14428 | Line 16330 | do
16330      ac_need_defaults=false;;
16331    --he | --h)
16332      # Conflict between --help and --header
16333 <    as_fn_error "ambiguous option: \`$1'
16333 >    as_fn_error $? "ambiguous option: \`$1'
16334   Try \`$0 --help' for more information.";;
16335    --help | --hel | -h )
16336      $as_echo "$ac_cs_usage"; exit ;;
# Line 14437 | Line 16339 | Try \`$0 --help' for more information.";
16339      ac_cs_silent=: ;;
16340  
16341    # This is an error.
16342 <  -*) as_fn_error "unrecognized option: \`$1'
16342 >  -*) as_fn_error $? "unrecognized option: \`$1'
16343   Try \`$0 --help' for more information." ;;
16344  
16345    *) as_fn_append ac_config_targets " $1"
# Line 14457 | Line 16359 | fi
16359   _ACEOF
16360   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16361   if \$ac_cs_recheck; then
16362 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16362 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16363    shift
16364    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16365    CONFIG_SHELL='$SHELL'
# Line 14491 | Line 16393 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16393   sed_quote_subst='$sed_quote_subst'
16394   double_quote_subst='$double_quote_subst'
16395   delay_variable_subst='$delay_variable_subst'
16396 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16397 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16398 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16399 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16400 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16401 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16402 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16403 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16404 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16405 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16406 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16407 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16408 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16409 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16410 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16411 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16412 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16413 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16414 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16415 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16416 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16417 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16418 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16419 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16420 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16421 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16422 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16423 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16424 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16425 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16426 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16427 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16428 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16429 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16430 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16431 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16432 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16433 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16434 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16435 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16436 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16437 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16438 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16439 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16440 < 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"`'
16441 < 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"`'
16442 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16443 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16444 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16445 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16446 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16447 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16448 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16449 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16450 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16451 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16452 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16453 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16454 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16455 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16456 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16457 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16458 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16459 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16460 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16461 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16462 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16463 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16464 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16465 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16466 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16467 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16468 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16469 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16470 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16471 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16472 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16473 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16474 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16475 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16476 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16477 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16478 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16479 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16480 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16481 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16482 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16483 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16484 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16485 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16486 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16487 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16488 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16489 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16490 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16491 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16492 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16493 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16494 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16495 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16496 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16497 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16498 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16499 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16500 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16501 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16502 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16503 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16504 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16505 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16506 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16507 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16508 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16509 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16510 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16511 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16512 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16513 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16396 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16397 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16398 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16399 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16400 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16401 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16402 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16403 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16404 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16405 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16406 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16407 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16408 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16409 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16410 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16411 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16412 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16413 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16414 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16415 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16416 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16417 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16418 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16419 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16420 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16421 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16422 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16423 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16424 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16425 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16426 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16427 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16428 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16429 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16430 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16431 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16432 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16433 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16434 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16435 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16436 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16437 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16438 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16439 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16440 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16441 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16442 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16443 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16444 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16445 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16446 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16447 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16448 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16449 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16450 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16451 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16452 > 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"`'
16453 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16454 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16455 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16456 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16457 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16458 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16459 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16460 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16461 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16462 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16463 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16464 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16465 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16466 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16467 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16468 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16469 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16470 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16471 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16472 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16473 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16474 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16475 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16476 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16477 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16478 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16479 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16480 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16481 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16482 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16483 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16484 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16485 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16486 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16487 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16488 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16489 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16490 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16491 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16492 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16493 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16494 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16495 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16496 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16497 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16498 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16499 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16500 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16501 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16502 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16503 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16504 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16505 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16506 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16507 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16508 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16509 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16510 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16511 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16512 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16513 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16514 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16515 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16516 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16517 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16518 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16519 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16520 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16521 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16522 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16523 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16524 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16525 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16526  
16527   LTCC='$LTCC'
16528   LTCFLAGS='$LTCFLAGS'
16529   compiler='$compiler_DEFAULT'
16530  
16531 + # A function that is used when there is no print builtin or printf.
16532 + func_fallback_echo ()
16533 + {
16534 +  eval 'cat <<_LTECHO_EOF
16535 + \$1
16536 + _LTECHO_EOF'
16537 + }
16538 +
16539   # Quote evaled strings.
16540 < for var in SED \
16540 > for var in SHELL \
16541 > ECHO \
16542 > PATH_SEPARATOR \
16543 > SED \
16544   GREP \
16545   EGREP \
16546   FGREP \
# Line 14628 | Line 16553 | reload_flag \
16553   OBJDUMP \
16554   deplibs_check_method \
16555   file_magic_cmd \
16556 + file_magic_glob \
16557 + want_nocaseglob \
16558 + DLLTOOL \
16559 + sharedlib_from_linklib_cmd \
16560   AR \
16561   AR_FLAGS \
16562 + archiver_list_spec \
16563   STRIP \
16564   RANLIB \
16565   CC \
# Line 14639 | Line 16569 | lt_cv_sys_global_symbol_pipe \
16569   lt_cv_sys_global_symbol_to_cdecl \
16570   lt_cv_sys_global_symbol_to_c_name_address \
16571   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16572 < SHELL \
14643 < ECHO \
16572 > nm_file_list_spec \
16573   lt_prog_compiler_no_builtin_flag \
14645 – lt_prog_compiler_wl \
16574   lt_prog_compiler_pic \
16575 + lt_prog_compiler_wl \
16576   lt_prog_compiler_static \
16577   lt_cv_prog_compiler_c_o \
16578   need_locks \
16579 + MANIFEST_TOOL \
16580   DSYMUTIL \
16581   NMEDIT \
16582   LIPO \
# Line 14660 | Line 16590 | with_gnu_ld \
16590   allow_undefined_flag \
16591   no_undefined_flag \
16592   hardcode_libdir_flag_spec \
14663 – hardcode_libdir_flag_spec_ld \
16593   hardcode_libdir_separator \
14665 – fix_srcfile_path \
16594   exclude_expsyms \
16595   include_expsyms \
16596   file_list_spec \
# Line 14670 | Line 16598 | variables_saved_for_relink \
16598   libname_spec \
16599   library_names_spec \
16600   soname_spec \
16601 + install_override_mode \
16602   finish_eval \
16603   old_striplib \
16604   striplib; do
16605 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16605 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16606      *[\\\\\\\`\\"\\\$]*)
16607 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16607 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16608        ;;
16609      *)
16610        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 16626 | module_cmds \
16626   module_expsym_cmds \
16627   export_symbols_cmds \
16628   prelink_cmds \
16629 + postlink_cmds \
16630   postinstall_cmds \
16631   postuninstall_cmds \
16632   finish_cmds \
16633   sys_lib_search_path_spec \
16634   sys_lib_dlsearch_path_spec; do
16635 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16635 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16636      *[\\\\\\\`\\"\\\$]*)
16637 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16637 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16638        ;;
16639      *)
16640        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14712 | Line 16642 | sys_lib_dlsearch_path_spec; do
16642      esac
16643   done
16644  
14715 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14716 – case \$lt_ECHO in
14717 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14718 –  ;;
14719 – esac
14720 –
16645   ac_aux_dir='$ac_aux_dir'
16646   xsi_shell='$xsi_shell'
16647   lt_shell_append='$lt_shell_append'
# Line 14750 | Line 16674 | do
16674      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16675      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16676      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14753 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14754 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14755 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14756 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16677      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16678 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16678 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16679      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16680      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16681      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16682      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14763 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14764 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16683      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16684  
16685 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16685 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16686    esac
16687   done
16688  
# Line 14787 | Line 16705 | fi
16705   # after its creation but before its name has been assigned to `$tmp'.
16706   $debug ||
16707   {
16708 <  tmp=
16708 >  tmp= ac_tmp=
16709    trap 'exit_status=$?
16710 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16710 >  : "${ac_tmp:=$tmp}"
16711 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16712   ' 0
16713    trap 'as_fn_exit 1' 1 2 13 15
16714   }
# Line 14797 | Line 16716 | $debug ||
16716  
16717   {
16718    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16719 <  test -n "$tmp" && test -d "$tmp"
16719 >  test -d "$tmp"
16720   }  ||
16721   {
16722    tmp=./conf$$-$RANDOM
16723    (umask 077 && mkdir "$tmp")
16724 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16724 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16725 > ac_tmp=$tmp
16726  
16727   # Set up the scripts for CONFIG_FILES section.
16728   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 16739 | if test "x$ac_cr" = x; then
16739   fi
16740   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16741   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16742 <  ac_cs_awk_cr='\r'
16742 >  ac_cs_awk_cr='\\r'
16743   else
16744    ac_cs_awk_cr=$ac_cr
16745   fi
16746  
16747 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16747 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16748   _ACEOF
16749  
16750  
# Line 14833 | Line 16753 | _ACEOF
16753    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16754    echo "_ACEOF"
16755   } >conf$$subs.sh ||
16756 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16757 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16756 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16757 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16758   ac_delim='%!_!# '
16759   for ac_last_try in false false false false false :; do
16760    . ./conf$$subs.sh ||
16761 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16761 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16762  
16763    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16764    if test $ac_delim_n = $ac_delim_num; then
16765      break
16766    elif $ac_last_try; then
16767 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16767 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16768    else
16769      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16770    fi
# Line 14852 | Line 16772 | done
16772   rm -f conf$$subs.sh
16773  
16774   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16775 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16775 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16776   _ACEOF
16777   sed -n '
16778   h
# Line 14900 | Line 16820 | t delim
16820   rm -f conf$$subs.awk
16821   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16822   _ACAWK
16823 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16823 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16824    for (key in S) S_is_set[key] = 1
16825    FS = ""
16826  
# Line 14932 | Line 16852 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16852    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16853   else
16854    cat
16855 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16856 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16855 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16856 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16857   _ACEOF
16858  
16859 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16860 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16859 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16860 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16861   # trailing colons and then remove the whole line if VPATH becomes empty
16862   # (actually we leave an empty line to preserve line numbers).
16863   if test "x$srcdir" = x.; then
16864 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16865 < s/:*\$(srcdir):*/:/
16866 < s/:*\${srcdir}:*/:/
16867 < s/:*@srcdir@:*/:/
16868 < s/^\([^=]*=[     ]*\):*/\1/
16864 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16865 > h
16866 > s///
16867 > s/^/:/
16868 > s/[      ]*$/:/
16869 > s/:\$(srcdir):/:/g
16870 > s/:\${srcdir}:/:/g
16871 > s/:@srcdir@:/:/g
16872 > s/^:*//
16873   s/:*$//
16874 + x
16875 + s/\(=[   ]*\).*/\1/
16876 + G
16877 + s/\n//
16878   s/^[^=]*=[       ]*$//
16879   }'
16880   fi
# Line 14958 | Line 16886 | fi # test -n "$CONFIG_FILES"
16886   # No need to generate them if there are no CONFIG_HEADERS.
16887   # This happens for instance with `./config.status Makefile'.
16888   if test -n "$CONFIG_HEADERS"; then
16889 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16889 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16890   BEGIN {
16891   _ACEOF
16892  
# Line 14970 | Line 16898 | _ACEOF
16898   # handling of long lines.
16899   ac_delim='%!_!# '
16900   for ac_last_try in false false :; do
16901 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16902 <  if test -z "$ac_t"; then
16901 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16902 >  if test -z "$ac_tt"; then
16903      break
16904    elif $ac_last_try; then
16905 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16905 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16906    else
16907      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16908    fi
# Line 15059 | Line 16987 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16987   _ACAWK
16988   _ACEOF
16989   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16990 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16990 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16991   fi # test -n "$CONFIG_HEADERS"
16992  
16993  
# Line 15072 | Line 17000 | do
17000    esac
17001    case $ac_mode$ac_tag in
17002    :[FHL]*:*);;
17003 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17003 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17004    :[FH]-) ac_tag=-:-;;
17005    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17006    esac
# Line 15091 | Line 17019 | do
17019      for ac_f
17020      do
17021        case $ac_f in
17022 <      -) ac_f="$tmp/stdin";;
17022 >      -) ac_f="$ac_tmp/stdin";;
17023        *) # Look for the file first in the build tree, then in the source tree
17024           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17025           # because $ac_f cannot contain `:'.
# Line 15100 | Line 17028 | do
17028             [\\/$]*) false;;
17029             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17030             esac ||
17031 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17031 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17032        esac
17033        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17034        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 17054 | $as_echo "$as_me: creating $ac_file" >&6
17054      esac
17055  
17056      case $ac_tag in
17057 <    *:-:* | *:-) cat >"$tmp/stdin" \
17058 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17057 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17058 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17059      esac
17060      ;;
17061    esac
# Line 15263 | Line 17191 | s&@INSTALL@&$ac_INSTALL&;t t
17191   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17192   $ac_datarootdir_hack
17193   "
17194 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17195 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17194 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17195 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17196  
17197   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17198 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17199 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17198 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17199 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17200 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17201    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17202 < which seems to be undefined.  Please make sure it is defined." >&5
17202 > which seems to be undefined.  Please make sure it is defined" >&5
17203   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17204 < which seems to be undefined.  Please make sure it is defined." >&2;}
17204 > which seems to be undefined.  Please make sure it is defined" >&2;}
17205  
17206 <  rm -f "$tmp/stdin"
17206 >  rm -f "$ac_tmp/stdin"
17207    case $ac_file in
17208 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17209 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17208 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17209 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17210    esac \
17211 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17211 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17212   ;;
17213    :H)
17214    #
# Line 15288 | Line 17217 | which seems to be undefined.  Please mak
17217    if test x"$ac_file" != x-; then
17218      {
17219        $as_echo "/* $configure_input  */" \
17220 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17221 <    } >"$tmp/config.h" \
17222 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17223 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17220 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17221 >    } >"$ac_tmp/config.h" \
17222 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17223 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17224        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17225   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17226      else
17227        rm -f "$ac_file"
17228 <      mv "$tmp/config.h" "$ac_file" \
17229 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17228 >      mv "$ac_tmp/config.h" "$ac_file" \
17229 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17230      fi
17231    else
17232      $as_echo "/* $configure_input  */" \
17233 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17234 <      || as_fn_error "could not create -" "$LINENO" 5
17233 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17234 >      || as_fn_error $? "could not create -" "$LINENO" 5
17235    fi
17236   # Compute "$ac_file"'s index in $config_headers.
17237   _am_arg="$ac_file"
# Line 15348 | Line 17277 | $as_echo "$as_me: executing $ac_file com
17277  
17278    case $ac_file$ac_mode in
17279      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17280 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17280 >  # Older Autoconf quotes --file arguments for eval, but not when files
17281    # are listed without --file.  Let's play safe and only enable the eval
17282    # if we detect the quoting.
17283    case $CONFIG_FILES in
# Line 15361 | Line 17290 | $as_echo "$as_me: executing $ac_file com
17290      # Strip MF so we end up with the name of the file.
17291      mf=`echo "$mf" | sed -e 's/:.*$//'`
17292      # Check whether this is an Automake generated Makefile or not.
17293 <    # We used to match only the files named `Makefile.in', but
17293 >    # We used to match only the files named 'Makefile.in', but
17294      # some people rename them; so instead we look at the file content.
17295      # Grep'ing the first line is not enough: some people post-process
17296      # each Makefile.in and add a new line on top of each file to say so.
# Line 15395 | Line 17324 | $as_echo X"$mf" |
17324        continue
17325      fi
17326      # Extract the definition of DEPDIR, am__include, and am__quote
17327 <    # from the Makefile without running `make'.
17327 >    # from the Makefile without running 'make'.
17328      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17329      test -z "$DEPDIR" && continue
17330      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17331 <    test -z "am__include" && continue
17331 >    test -z "$am__include" && continue
17332      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15404 –    # When using ansi2knr, U may be empty or an underscore; expand it
15405 –    U=`sed -n 's/^U = //p' < "$mf"`
17333      # Find all dependency output files, they are included files with
17334      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17335      # simplest approach to changing $(DEPDIR) to its actual value in the
17336      # expansion.
17337      for file in `sed -n "
17338        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17339 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17339 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17340        # Make sure the directory exists.
17341        test -f "$dirpart/$file" && continue
17342        fdir=`$as_dirname -- "$file" ||
# Line 15463 | Line 17390 | $as_echo X"$file" |
17390   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17391   #
17392   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17393 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17393 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17394 > #                 Foundation, Inc.
17395   #   Written by Gordon Matzigkeit, 1996
17396   #
17397   #   This file is part of GNU Libtool.
# Line 15511 | Line 17439 | pic_mode=$pic_mode
17439   # Whether or not to optimize for fast installation.
17440   fast_install=$enable_fast_install
17441  
17442 + # Shell to use when invoking shell scripts.
17443 + SHELL=$lt_SHELL
17444 +
17445 + # An echo program that protects backslashes.
17446 + ECHO=$lt_ECHO
17447 +
17448 + # The PATH separator for the build system.
17449 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17450 +
17451   # The host system.
17452   host_alias=$host_alias
17453   host=$host
# Line 15560 | Line 17497 | SP2NL=$lt_lt_SP2NL
17497   # turn newlines into spaces.
17498   NL2SP=$lt_lt_NL2SP
17499  
17500 < # How to create reloadable object files.
17501 < reload_flag=$lt_reload_flag
17502 < reload_cmds=$lt_reload_cmds
17500 > # convert \$build file names to \$host format.
17501 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17502 >
17503 > # convert \$build files to toolchain format.
17504 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17505  
17506   # An object symbol dumper.
17507   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 17509 | OBJDUMP=$lt_OBJDUMP
17509   # Method to check whether dependent libraries are shared objects.
17510   deplibs_check_method=$lt_deplibs_check_method
17511  
17512 < # Command to use when deplibs_check_method == "file_magic".
17512 > # Command to use when deplibs_check_method = "file_magic".
17513   file_magic_cmd=$lt_file_magic_cmd
17514  
17515 + # How to find potential files when deplibs_check_method = "file_magic".
17516 + file_magic_glob=$lt_file_magic_glob
17517 +
17518 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17519 + want_nocaseglob=$lt_want_nocaseglob
17520 +
17521 + # DLL creation program.
17522 + DLLTOOL=$lt_DLLTOOL
17523 +
17524 + # Command to associate shared and link libraries.
17525 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17526 +
17527   # The archiver.
17528   AR=$lt_AR
17529 +
17530 + # Flags to create an archive.
17531   AR_FLAGS=$lt_AR_FLAGS
17532  
17533 + # How to feed a file listing to the archiver.
17534 + archiver_list_spec=$lt_archiver_list_spec
17535 +
17536   # A symbol stripping program.
17537   STRIP=$lt_STRIP
17538  
# Line 15585 | Line 17541 | RANLIB=$lt_RANLIB
17541   old_postinstall_cmds=$lt_old_postinstall_cmds
17542   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17543  
17544 + # Whether to use a lock for old archive extraction.
17545 + lock_old_archive_extraction=$lock_old_archive_extraction
17546 +
17547   # A C compiler.
17548   LTCC=$lt_CC
17549  
# Line 15603 | Line 17562 | global_symbol_to_c_name_address=$lt_lt_c
17562   # Transform the output of nm in a C name address pair when lib prefix is needed.
17563   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17564  
17565 < # The name of the directory that contains temporary libtool files.
17566 < objdir=$objdir
17565 > # Specify filename containing input files for \$NM.
17566 > nm_file_list_spec=$lt_nm_file_list_spec
17567  
17568 < # Shell to use when invoking shell scripts.
17569 < SHELL=$lt_SHELL
17568 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17569 > lt_sysroot=$lt_sysroot
17570  
17571 < # An echo program that does not interpret backslashes.
17572 < ECHO=$lt_ECHO
17571 > # The name of the directory that contains temporary libtool files.
17572 > objdir=$objdir
17573  
17574   # Used to examine libraries when file_magic_cmd begins with "file".
17575   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 17577 | MAGIC_CMD=$MAGIC_CMD
17577   # Must we lock files when doing compilation?
17578   need_locks=$lt_need_locks
17579  
17580 + # Manifest tool.
17581 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17582 +
17583   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17584   DSYMUTIL=$lt_DSYMUTIL
17585  
# Line 15674 | Line 17636 | library_names_spec=$lt_library_names_spe
17636   # The coded name of the library, if different from the real name.
17637   soname_spec=$lt_soname_spec
17638  
17639 + # Permission mode override for installation of shared libraries.
17640 + install_override_mode=$lt_install_override_mode
17641 +
17642   # Command to use after installation of a shared archive.
17643   postinstall_cmds=$lt_postinstall_cmds
17644  
# Line 15713 | Line 17678 | striplib=$lt_striplib
17678   # The linker used to build libraries.
17679   LD=$lt_LD
17680  
17681 + # How to create reloadable object files.
17682 + reload_flag=$lt_reload_flag
17683 + reload_cmds=$lt_reload_cmds
17684 +
17685   # Commands used to build an old-style archive.
17686   old_archive_cmds=$lt_old_archive_cmds
17687  
# Line 15725 | Line 17694 | with_gcc=$GCC
17694   # Compiler flag to turn off builtin functions.
17695   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17696  
15728 – # How to pass a linker flag through the compiler.
15729 – wl=$lt_lt_prog_compiler_wl
15730 –
17697   # Additional compiler flags for building library objects.
17698   pic_flag=$lt_lt_prog_compiler_pic
17699  
17700 + # How to pass a linker flag through the compiler.
17701 + wl=$lt_lt_prog_compiler_wl
17702 +
17703   # Compiler flag to prevent dynamic linking.
17704   link_static_flag=$lt_lt_prog_compiler_static
17705  
# Line 15780 | Line 17749 | no_undefined_flag=$lt_no_undefined_flag
17749   # This must work even if \$libdir does not exist
17750   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17751  
15783 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15784 – # during linking.  This must work even if \$libdir does not exist.
15785 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15786 –
17752   # Whether we need a single "-rpath" flag with a separated argument.
17753   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17754  
# Line 15817 | Line 17782 | inherit_rpath=$inherit_rpath
17782   # Whether libtool must link a program against all its dependency libraries.
17783   link_all_deplibs=$link_all_deplibs
17784  
15820 – # Fix the shell variable \$srcfile for the compiler.
15821 – fix_srcfile_path=$lt_fix_srcfile_path
15822 –
17785   # Set to "yes" if exported symbols are required.
17786   always_export_symbols=$always_export_symbols
17787  
# Line 15835 | Line 17797 | include_expsyms=$lt_include_expsyms
17797   # Commands necessary for linking programs (against libraries) with templates.
17798   prelink_cmds=$lt_prelink_cmds
17799  
17800 + # Commands necessary for finishing linking programs.
17801 + postlink_cmds=$lt_postlink_cmds
17802 +
17803   # Specify filename containing input files.
17804   file_list_spec=$lt_file_list_spec
17805  
# Line 15867 | Line 17832 | ltmain="$ac_aux_dir/ltmain.sh"
17832    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17833    # text mode, it properly converts lines to CR/LF.  This bash problem
17834    # is reportedly fixed, but why not run on old versions too?
17835 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17836 <    || (rm -f "$cfgfile"; exit 1)
15872 <
15873 <  case $xsi_shell in
15874 <  yes)
15875 <    cat << \_LT_EOF >> "$cfgfile"
15876 <
15877 < # func_dirname file append nondir_replacement
15878 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15879 < # otherwise set result to NONDIR_REPLACEMENT.
15880 < func_dirname ()
15881 < {
15882 <  case ${1} in
15883 <    */*) func_dirname_result="${1%/*}${2}" ;;
15884 <    *  ) func_dirname_result="${3}" ;;
15885 <  esac
15886 < }
15887 <
15888 < # func_basename file
15889 < func_basename ()
15890 < {
15891 <  func_basename_result="${1##*/}"
15892 < }
15893 <
15894 < # func_dirname_and_basename file append nondir_replacement
15895 < # perform func_basename and func_dirname in a single function
15896 < # call:
15897 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15898 < #             add APPEND to the result, otherwise set result
15899 < #             to NONDIR_REPLACEMENT.
15900 < #             value returned in "$func_dirname_result"
15901 < #   basename: Compute filename of FILE.
15902 < #             value retuned in "$func_basename_result"
15903 < # Implementation must be kept synchronized with func_dirname
15904 < # and func_basename. For efficiency, we do not delegate to
15905 < # those functions but instead duplicate the functionality here.
15906 < func_dirname_and_basename ()
15907 < {
15908 <  case ${1} in
15909 <    */*) func_dirname_result="${1%/*}${2}" ;;
15910 <    *  ) func_dirname_result="${3}" ;;
15911 <  esac
15912 <  func_basename_result="${1##*/}"
15913 < }
15914 <
15915 < # func_stripname prefix suffix name
15916 < # strip PREFIX and SUFFIX off of NAME.
15917 < # PREFIX and SUFFIX must not contain globbing or regex special
15918 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15919 < # dot (in which case that matches only a dot).
15920 < func_stripname ()
15921 < {
15922 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15923 <  # positional parameters, so assign one to ordinary parameter first.
15924 <  func_stripname_result=${3}
15925 <  func_stripname_result=${func_stripname_result#"${1}"}
15926 <  func_stripname_result=${func_stripname_result%"${2}"}
15927 < }
15928 <
15929 < # func_opt_split
15930 < func_opt_split ()
15931 < {
15932 <  func_opt_split_opt=${1%%=*}
15933 <  func_opt_split_arg=${1#*=}
15934 < }
15935 <
15936 < # func_lo2o object
15937 < func_lo2o ()
15938 < {
15939 <  case ${1} in
15940 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15941 <    *)    func_lo2o_result=${1} ;;
15942 <  esac
15943 < }
15944 <
15945 < # func_xform libobj-or-source
15946 < func_xform ()
15947 < {
15948 <  func_xform_result=${1%.*}.lo
15949 < }
15950 <
15951 < # func_arith arithmetic-term...
15952 < func_arith ()
15953 < {
15954 <  func_arith_result=$(( $* ))
15955 < }
15956 <
15957 < # func_len string
15958 < # STRING may not start with a hyphen.
15959 < func_len ()
15960 < {
15961 <  func_len_result=${#1}
15962 < }
15963 <
15964 < _LT_EOF
15965 <    ;;
15966 <  *) # Bourne compatible functions.
15967 <    cat << \_LT_EOF >> "$cfgfile"
15968 <
15969 < # func_dirname file append nondir_replacement
15970 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15971 < # otherwise set result to NONDIR_REPLACEMENT.
15972 < func_dirname ()
15973 < {
15974 <  # Extract subdirectory from the argument.
15975 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15976 <  if test "X$func_dirname_result" = "X${1}"; then
15977 <    func_dirname_result="${3}"
15978 <  else
15979 <    func_dirname_result="$func_dirname_result${2}"
15980 <  fi
15981 < }
15982 <
15983 < # func_basename file
15984 < func_basename ()
15985 < {
15986 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15987 < }
15988 <
15989 <
15990 < # func_stripname prefix suffix name
15991 < # strip PREFIX and SUFFIX off of NAME.
15992 < # PREFIX and SUFFIX must not contain globbing or regex special
15993 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15994 < # dot (in which case that matches only a dot).
15995 < # func_strip_suffix prefix name
15996 < func_stripname ()
15997 < {
15998 <  case ${2} in
15999 <    .*) func_stripname_result=`$ECHO "X${3}" \
16000 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16001 <    *)  func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16003 <  esac
16004 < }
16005 <
16006 < # sed scripts:
16007 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16008 < my_sed_long_arg='1s/^-[^=]*=//'
16009 <
16010 < # func_opt_split
16011 < func_opt_split ()
16012 < {
16013 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16014 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16015 < }
16016 <
16017 < # func_lo2o object
16018 < func_lo2o ()
16019 < {
16020 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16021 < }
16022 <
16023 < # func_xform libobj-or-source
16024 < func_xform ()
16025 < {
16026 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16027 < }
16028 <
16029 < # func_arith arithmetic-term...
16030 < func_arith ()
16031 < {
16032 <  func_arith_result=`expr "$@"`
16033 < }
16034 <
16035 < # func_len string
16036 < # STRING may not start with a hyphen.
16037 < func_len ()
16038 < {
16039 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16040 < }
16041 <
16042 < _LT_EOF
16043 < esac
16044 <
16045 < case $lt_shell_append in
16046 <  yes)
16047 <    cat << \_LT_EOF >> "$cfgfile"
16048 <
16049 < # func_append var value
16050 < # Append VALUE to the end of shell variable VAR.
16051 < func_append ()
16052 < {
16053 <  eval "$1+=\$2"
16054 < }
16055 < _LT_EOF
16056 <    ;;
16057 <  *)
16058 <    cat << \_LT_EOF >> "$cfgfile"
16059 <
16060 < # func_append var value
16061 < # Append VALUE to the end of shell variable VAR.
16062 < func_append ()
16063 < {
16064 <  eval "$1=\$$1\$2"
16065 < }
16066 <
16067 < _LT_EOF
16068 <    ;;
16069 <  esac
17835 >  sed '$q' "$ltmain" >> "$cfgfile" \
17836 >     || (rm -f "$cfgfile"; exit 1)
17837  
17838 +  if test x"$xsi_shell" = xyes; then
17839 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17840 + func_dirname ()\
17841 + {\
17842 + \    case ${1} in\
17843 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17844 + \      *  ) func_dirname_result="${3}" ;;\
17845 + \    esac\
17846 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17847 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17848 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17849 + test 0 -eq $? || _lt_function_replace_fail=:
17850 +
17851 +
17852 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17853 + func_basename ()\
17854 + {\
17855 + \    func_basename_result="${1##*/}"\
17856 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17857 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17858 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17859 + test 0 -eq $? || _lt_function_replace_fail=:
17860 +
17861 +
17862 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17863 + func_dirname_and_basename ()\
17864 + {\
17865 + \    case ${1} in\
17866 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17867 + \      *  ) func_dirname_result="${3}" ;;\
17868 + \    esac\
17869 + \    func_basename_result="${1##*/}"\
17870 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17871 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17872 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17873 + test 0 -eq $? || _lt_function_replace_fail=:
17874 +
17875 +
17876 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17877 + func_stripname ()\
17878 + {\
17879 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17880 + \    # positional parameters, so assign one to ordinary parameter first.\
17881 + \    func_stripname_result=${3}\
17882 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17883 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17884 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17885 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17886 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17887 + test 0 -eq $? || _lt_function_replace_fail=:
17888 +
17889 +
17890 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17891 + func_split_long_opt ()\
17892 + {\
17893 + \    func_split_long_opt_name=${1%%=*}\
17894 + \    func_split_long_opt_arg=${1#*=}\
17895 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17896 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17897 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17898 + test 0 -eq $? || _lt_function_replace_fail=:
17899 +
17900 +
17901 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17902 + func_split_short_opt ()\
17903 + {\
17904 + \    func_split_short_opt_arg=${1#??}\
17905 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17906 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17907 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17908 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17909 + test 0 -eq $? || _lt_function_replace_fail=:
17910 +
17911 +
17912 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17913 + func_lo2o ()\
17914 + {\
17915 + \    case ${1} in\
17916 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17917 + \      *)    func_lo2o_result=${1} ;;\
17918 + \    esac\
17919 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17920 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17921 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17922 + test 0 -eq $? || _lt_function_replace_fail=:
17923 +
17924 +
17925 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17926 + func_xform ()\
17927 + {\
17928 +    func_xform_result=${1%.*}.lo\
17929 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17930 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17931 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17932 + test 0 -eq $? || _lt_function_replace_fail=:
17933 +
17934 +
17935 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17936 + func_arith ()\
17937 + {\
17938 +    func_arith_result=$(( $* ))\
17939 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17940 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17941 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17942 + test 0 -eq $? || _lt_function_replace_fail=:
17943 +
17944 +
17945 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17946 + func_len ()\
17947 + {\
17948 +    func_len_result=${#1}\
17949 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17950 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17951 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17952 + test 0 -eq $? || _lt_function_replace_fail=:
17953 +
17954 + fi
17955 +
17956 + if test x"$lt_shell_append" = xyes; then
17957 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17958 + func_append ()\
17959 + {\
17960 +    eval "${1}+=\\${2}"\
17961 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17962 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17963 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17964 + test 0 -eq $? || _lt_function_replace_fail=:
17965 +
17966 +
17967 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17968 + func_append_quoted ()\
17969 + {\
17970 + \    func_quote_for_eval "${2}"\
17971 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17972 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17973 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17974 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17975 + test 0 -eq $? || _lt_function_replace_fail=:
17976 +
17977 +
17978 +  # Save a `func_append' function call where possible by direct use of '+='
17979 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17980 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17981 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17982 +  test 0 -eq $? || _lt_function_replace_fail=:
17983 + else
17984 +  # Save a `func_append' function call even when '+=' is not available
17985 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\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 + fi
17990 +
17991 + if test x"$_lt_function_replace_fail" = x":"; then
17992 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17993 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17994 + fi
17995  
16072 –  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073 –    || (rm -f "$cfgfile"; exit 1)
17996  
17997 <  mv -f "$cfgfile" "$ofile" ||
17997 >   mv -f "$cfgfile" "$ofile" ||
17998      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17999    chmod +x "$ofile"
18000  
# Line 16087 | Line 18009 | _ACEOF
18009   ac_clean_files=$ac_clean_files_save
18010  
18011   test $ac_write_fail = 0 ||
18012 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18012 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18013  
18014  
18015   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 18030 | if test "$no_create" != yes; then
18030    exec 5>>config.log
18031    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18032    # would make configure fail if this is the last instruction.
18033 <  $ac_cs_success || as_fn_exit $?
16112 < fi
16113 <
16114 < #
16115 < # CONFIG_SUBDIRS section.
16116 < #
16117 < if test "$no_recursion" != yes; then
16118 <
16119 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120 <  # so they do not pile up.
16121 <  ac_sub_configure_args=
16122 <  ac_prev=
16123 <  eval "set x $ac_configure_args"
16124 <  shift
16125 <  for ac_arg
16126 <  do
16127 <    if test -n "$ac_prev"; then
16128 <      ac_prev=
16129 <      continue
16130 <    fi
16131 <    case $ac_arg in
16132 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134 <      ac_prev=cache_file ;;
16135 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137 <    | --c=*)
16138 <      ;;
16139 <    --config-cache | -C)
16140 <      ;;
16141 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142 <      ac_prev=srcdir ;;
16143 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144 <      ;;
16145 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146 <      ac_prev=prefix ;;
16147 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148 <      ;;
16149 <    --disable-option-checking)
16150 <      ;;
16151 <    *)
16152 <      case $ac_arg in
16153 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 <      esac
16155 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156 <    esac
16157 <  done
16158 <
16159 <  # Always prepend --prefix to ensure using the same prefix
16160 <  # in subdir configurations.
16161 <  ac_arg="--prefix=$prefix"
16162 <  case $ac_arg in
16163 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164 <  esac
16165 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166 <
16167 <  # Pass --silent
16168 <  if test "$silent" = yes; then
16169 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170 <  fi
16171 <
16172 <  # Always prepend --disable-option-checking to silence warnings, since
16173 <  # different subdirs can have different --enable and --with options.
16174 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175 <
16176 <  ac_popdir=`pwd`
16177 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178 <
16179 <    # Do not complain, so a configure script can configure whichever
16180 <    # parts of a large source tree are present.
16181 <    test -d "$srcdir/$ac_dir" || continue
16182 <
16183 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185 <    $as_echo "$ac_msg" >&6
16186 <    as_dir="$ac_dir"; as_fn_mkdir_p
16187 <    ac_builddir=.
16188 <
16189 < case "$ac_dir" in
16190 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 < *)
16192 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193 <  # A ".." for each directory in $ac_dir_suffix.
16194 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195 <  case $ac_top_builddir_sub in
16196 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198 <  esac ;;
16199 < esac
16200 < ac_abs_top_builddir=$ac_pwd
16201 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 < # for backward compatibility:
16203 < ac_top_builddir=$ac_top_build_prefix
16204 <
16205 < case $srcdir in
16206 <  .)  # We are building in place.
16207 <    ac_srcdir=.
16208 <    ac_top_srcdir=$ac_top_builddir_sub
16209 <    ac_abs_top_srcdir=$ac_pwd ;;
16210 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16211 <    ac_srcdir=$srcdir$ac_dir_suffix;
16212 <    ac_top_srcdir=$srcdir
16213 <    ac_abs_top_srcdir=$srcdir ;;
16214 <  *) # Relative name.
16215 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 < esac
16219 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220 <
16221 <
16222 <    cd "$ac_dir"
16223 <
16224 <    # Check for guested configure; otherwise get Cygnus style configure.
16225 <    if test -f "$ac_srcdir/configure.gnu"; then
16226 <      ac_sub_configure=$ac_srcdir/configure.gnu
16227 <    elif test -f "$ac_srcdir/configure"; then
16228 <      ac_sub_configure=$ac_srcdir/configure
16229 <    elif test -f "$ac_srcdir/configure.in"; then
16230 <      # This should be Cygnus configure.
16231 <      ac_sub_configure=$ac_aux_dir/configure
16232 <    else
16233 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235 <      ac_sub_configure=
16236 <    fi
16237 <
16238 <    # The recursion is here.
16239 <    if test -n "$ac_sub_configure"; then
16240 <      # Make the cache file name correct relative to the subdirectory.
16241 <      case $cache_file in
16242 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243 <      *) # Relative name.
16244 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245 <      esac
16246 <
16247 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16248 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249 <      # The eval makes quoting arguments work.
16250 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253 <    fi
16254 <
16255 <    cd "$ac_popdir"
16256 <  done
18033 >  $ac_cs_success || as_fn_exit 1
18034   fi
18035   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18036    { $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 1068 by michael, Tue Feb 16 23:01:26 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 4333 by michael, Sat Aug 2 15:53:16 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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