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 1072 by michael, Wed Feb 17 22:58:23 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 4361 by michael, Sat Aug 2 20:51:40 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 4360 2014-08-02 20:40:29Z 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  
2066 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 # ----------------------------------------------------
2068 # Tries to find if the field MEMBER exists in type AGGR, after including
2069 # INCLUDES, setting cache variable VAR accordingly.
2070 ac_fn_c_check_member ()
2071 {
2072  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 $as_echo_n "checking for $2.$3... " >&6; }
2075 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2076  $as_echo_n "(cached) " >&6
2077 else
2078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h.  */
2080 $5
2081 int
2082 main ()
2083 {
2084 static $2 ac_aggr;
2085 if (ac_aggr.$3)
2086 return 0;
2087  ;
2088  return 0;
2089 }
2090 _ACEOF
2091 if ac_fn_c_try_compile "$LINENO"; then :
2092  eval "$4=yes"
2093 else
2094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h.  */
2096 $5
2097 int
2098 main ()
2099 {
2100 static $2 ac_aggr;
2101 if (sizeof ac_aggr.$3)
2102 return 0;
2103  ;
2104  return 0;
2105 }
2106 _ACEOF
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108  eval "$4=yes"
2109 else
2110  eval "$4=no"
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 fi
2116 eval ac_res=\$$4
2117               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120
2121 } # ac_fn_c_check_member
2122
1942   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943   # -------------------------------------------------------
1944   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2128 | Line 1947 | $as_echo "$ac_res" >&6; }
1947   ac_fn_c_check_header_mongrel ()
1948   {
1949    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 >  if eval \${$3+:} false; then :
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952   $as_echo_n "checking for $2... " >&6; }
1953 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 > if eval \${$3+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   fi
1956   eval ac_res=\$$3
# Line 2167 | Line 1986 | if ac_fn_c_try_cpp "$LINENO"; then :
1986   else
1987    ac_header_preproc=no
1988   fi
1989 < rm -f conftest.err conftest.$ac_ext
1989 > rm -f conftest.err conftest.i conftest.$ac_ext
1990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991   $as_echo "$ac_header_preproc" >&6; }
1992  
# Line 2190 | Line 2009 | $as_echo "$as_me: WARNING: $2: see the A
2009   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2010      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2012 > ( $as_echo "## ----------------------------------- ##
2013   ## Report this to bugs@ircd-hybrid.org ##
2014 < ## ----------------------------------- ##
2197 < _ASBOX
2014 > ## ----------------------------------- ##"
2015       ) | sed "s/^/$as_me: WARNING:     /" >&2
2016      ;;
2017   esac
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019   $as_echo_n "checking for $2... " >&6; }
2020 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2020 > if eval \${$3+:} false; then :
2021    $as_echo_n "(cached) " >&6
2022   else
2023    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2026 | eval ac_res=\$$3
2026                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027   $as_echo "$ac_res" >&6; }
2028   fi
2029 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030  
2031   } # ac_fn_c_check_header_mongrel
2032   cat >config.log <<_ACEOF
2033   This file contains any messages produced by compilers while
2034   running configure, to aid debugging if configure makes a mistake.
2035  
2036 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2037 < generated by GNU Autoconf 2.65.  Invocation command line was
2036 > It was created by ircd-hybrid $as_me TRUNK, which was
2037 > generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
2040  
# Line 2327 | Line 2144 | trap 'exit_status=$?
2144    {
2145      echo
2146  
2147 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2147 >    $as_echo "## ---------------- ##
2148   ## Cache variables. ##
2149 < ## ---------------- ##
2334 < _ASBOX
2149 > ## ---------------- ##"
2150      echo
2151      # The following way of writing the cache mishandles newlines in values,
2152   (
# Line 2365 | Line 2180 | $as_echo "$as_me: WARNING: cache variabl
2180   )
2181      echo
2182  
2183 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2183 >    $as_echo "## ----------------- ##
2184   ## Output variables. ##
2185 < ## ----------------- ##
2372 < _ASBOX
2185 > ## ----------------- ##"
2186      echo
2187      for ac_var in $ac_subst_vars
2188      do
# Line 2382 | Line 2195 | _ASBOX
2195      echo
2196  
2197      if test -n "$ac_subst_files"; then
2198 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2198 >      $as_echo "## ------------------- ##
2199   ## File substitutions. ##
2200 < ## ------------------- ##
2389 < _ASBOX
2200 > ## ------------------- ##"
2201        echo
2202        for ac_var in $ac_subst_files
2203        do
# Line 2400 | Line 2211 | _ASBOX
2211      fi
2212  
2213      if test -s confdefs.h; then
2214 <      cat <<\_ASBOX
2404 < ## ----------- ##
2214 >      $as_echo "## ----------- ##
2215   ## confdefs.h. ##
2216 < ## ----------- ##
2407 < _ASBOX
2216 > ## ----------- ##"
2217        echo
2218        cat confdefs.h
2219        echo
# Line 2459 | Line 2268 | _ACEOF
2268   ac_site_file1=NONE
2269   ac_site_file2=NONE
2270   if test -n "$CONFIG_SITE"; then
2271 <  ac_site_file1=$CONFIG_SITE
2271 >  # We do not want a PATH search for config.site.
2272 >  case $CONFIG_SITE in #((
2273 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2274 >    */*) ac_site_file1=$CONFIG_SITE;;
2275 >    *)   ac_site_file1=./$CONFIG_SITE;;
2276 >  esac
2277   elif test "x$prefix" != xNONE; then
2278    ac_site_file1=$prefix/share/config.site
2279    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2288 | do
2288      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2289   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2290      sed 's/^/| /' "$ac_site_file" >&5
2291 <    . "$ac_site_file"
2291 >    . "$ac_site_file" \
2292 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 > as_fn_error $? "failed to load site script $ac_site_file
2295 > See \`config.log' for more details" "$LINENO" 5; }
2296    fi
2297   done
2298  
# Line 2495 | Line 2313 | $as_echo "$as_me: creating cache $cache_
2313    >$cache_file
2314   fi
2315  
2498 as_fn_append ac_func_list " mmap"
2316   as_fn_append ac_func_list " strtok_r"
2317   as_fn_append ac_func_list " usleep"
2318   as_fn_append ac_func_list " strlcat"
2319   as_fn_append ac_func_list " strlcpy"
2320   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2321   as_fn_append ac_header_list " sys/resource.h"
2322   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2323   as_fn_append ac_header_list " types.h"
2324   as_fn_append ac_header_list " socket.h"
2325   as_fn_append ac_header_list " sys/wait.h"
2326   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2327   # Check that the precious variables saved in the cache have kept the same
2328   # value.
2329   ac_cache_corrupted=false
# Line 2567 | Line 2379 | if $ac_cache_corrupted; then
2379   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2382 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2383   fi
2384   ## -------------------- ##
2385   ## Main body of script. ##
# Line 2580 | Line 2392 | ac_link='$CC -o conftest$ac_exeext $CFLA
2392   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2393  
2394  
2395 < am__api_version='1.11'
2395 > am__api_version='1.14'
2396  
2397   ac_aux_dir=
2398   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 <  for ac_t in install-sh install.sh shtool; do
2400 <    if test -f "$ac_dir/$ac_t"; then
2401 <      ac_aux_dir=$ac_dir
2402 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2403 <      break 2
2404 <    fi
2405 <  done
2399 >  if test -f "$ac_dir/install-sh"; then
2400 >    ac_aux_dir=$ac_dir
2401 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2402 >    break
2403 >  elif test -f "$ac_dir/install.sh"; then
2404 >    ac_aux_dir=$ac_dir
2405 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2406 >    break
2407 >  elif test -f "$ac_dir/shtool"; then
2408 >    ac_aux_dir=$ac_dir
2409 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2410 >    break
2411 >  fi
2412   done
2413   if test -z "$ac_aux_dir"; then
2414 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2415   fi
2416  
2417   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2440 | ac_configure="$SHELL $ac_aux_dir/configu
2440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442   if test -z "$INSTALL"; then
2443 < if test "${ac_cv_path_install+set}" = set; then :
2443 > if ${ac_cv_path_install+:} false; then :
2444    $as_echo_n "(cached) " >&6
2445   else
2446    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2460 | case $as_dir/ in #((
2460      # by default.
2461      for ac_prog in ginstall scoinst install; do
2462        for ac_exec_ext in '' $ac_executable_extensions; do
2463 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2463 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2464            if test $ac_prog = install &&
2465              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2518 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2518  
2519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 # Just in case
2704 sleep 1
2705 echo timestamp > conftest.file
2521   # Reject unsafe characters in $srcdir or the absolute working directory
2522   # name.  Accept space and tab only in the latter.
2523   am_lf='
2524   '
2525   case `pwd` in
2526    *[\\\"\#\$\&\'\`$am_lf]*)
2527 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2527 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2528   esac
2529   case $srcdir in
2530    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2531 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2531 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2532   esac
2533  
2534 < # Do `set' in a subshell so we don't clobber the current shell's
2534 > # Do 'set' in a subshell so we don't clobber the current shell's
2535   # arguments.  Must try -L first in case configure is actually a
2536   # symlink; some systems play weird games with the mod time of symlinks
2537   # (eg FreeBSD returns the mod time of the symlink's containing
2538   # directory).
2539   if (
2540 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 <   if test "$*" = "X"; then
2542 <      # -L didn't work.
2543 <      set X `ls -t "$srcdir/configure" conftest.file`
2544 <   fi
2545 <   rm -f conftest.file
2546 <   if test "$*" != "X $srcdir/configure conftest.file" \
2547 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2548 <
2549 <      # If neither matched, then we have a broken ls.  This can happen
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2540 >   am_has_slept=no
2541 >   for am_try in 1 2; do
2542 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2543 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 >     if test "$*" = "X"; then
2545 >        # -L didn't work.
2546 >        set X `ls -t "$srcdir/configure" conftest.file`
2547 >     fi
2548 >     if test "$*" != "X $srcdir/configure conftest.file" \
2549 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2550  
2551 +        # If neither matched, then we have a broken ls.  This can happen
2552 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2553 +        # broken ls alias from the environment.  This has actually
2554 +        # happened.  Such a system could not be considered "sane".
2555 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2556 +  alias in your environment" "$LINENO" 5
2557 +     fi
2558 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2559 +       break
2560 +     fi
2561 +     # Just in case.
2562 +     sleep 1
2563 +     am_has_slept=yes
2564 +   done
2565     test "$2" = conftest.file
2566     )
2567   then
2568     # Ok.
2569     :
2570   else
2571 <   as_fn_error "newly created file is older than distributed files!
2571 >   as_fn_error $? "newly created file is older than distributed files!
2572   Check your system clock" "$LINENO" 5
2573   fi
2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575   $as_echo "yes" >&6; }
2576 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2577 + # generated files are strictly newer.
2578 + am_sleep_pid=
2579 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2580 +  ( sleep 1 ) &
2581 +  am_sleep_pid=$!
2582 + fi
2583 +
2584 + rm -f conftest.file
2585 +
2586   test "$program_prefix" != NONE &&
2587    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2588   # Use a double $ so make ignores it.
# Line 2772 | Line 2605 | if test x"${MISSING+set}" != xset; then
2605    esac
2606   fi
2607   # Use eval to expand $SHELL
2608 < if eval "$MISSING --run true"; then
2609 <  am_missing_run="$MISSING --run "
2608 > if eval "$MISSING --is-lightweight"; then
2609 >  am_missing_run="$MISSING "
2610   else
2611    am_missing_run=
2612 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2613 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2613 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2614   fi
2615  
2616   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2622 | if test x"${install_sh}" != xset; then
2622    esac
2623   fi
2624  
2625 < # Installed binaries are usually stripped using `strip' when the user
2626 < # run `make install-strip'.  However `strip' might not be the right
2625 > # Installed binaries are usually stripped using 'strip' when the user
2626 > # run "make install-strip".  However 'strip' might not be the right
2627   # tool to use in cross-compilation environments, therefore Automake
2628 < # will honor the `STRIP' environment variable to overrule this program.
2628 > # will honor the 'STRIP' environment variable to overrule this program.
2629   if test "$cross_compiling" != no; then
2630    if test -n "$ac_tool_prefix"; then
2631    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2632   set dummy ${ac_tool_prefix}strip; ac_word=$2
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634   $as_echo_n "checking for $ac_word... " >&6; }
2635 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2635 > if ${ac_cv_prog_STRIP+:} false; then :
2636    $as_echo_n "(cached) " >&6
2637   else
2638    if test -n "$STRIP"; then
# Line 2811 | Line 2644 | do
2644    IFS=$as_save_IFS
2645    test -z "$as_dir" && as_dir=.
2646      for ac_exec_ext in '' $ac_executable_extensions; do
2647 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2649      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650      break 2
# Line 2839 | Line 2672 | if test -z "$ac_cv_prog_STRIP"; then
2672   set dummy strip; ac_word=$2
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674   $as_echo_n "checking for $ac_word... " >&6; }
2675 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2675 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2676    $as_echo_n "(cached) " >&6
2677   else
2678    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2684 | do
2684    IFS=$as_save_IFS
2685    test -z "$as_dir" && as_dir=.
2686      for ac_exec_ext in '' $ac_executable_extensions; do
2687 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688      ac_cv_prog_ac_ct_STRIP="strip"
2689      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690      break 2
# Line 2892 | Line 2725 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2726   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2727   if test -z "$MKDIR_P"; then
2728 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2728 >  if ${ac_cv_path_mkdir+:} false; then :
2729    $as_echo_n "(cached) " >&6
2730   else
2731    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2735 | do
2735    test -z "$as_dir" && as_dir=.
2736      for ac_prog in mkdir gmkdir; do
2737           for ac_exec_ext in '' $ac_executable_extensions; do
2738 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2738 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2739             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2740               'mkdir (GNU coreutils) '* | \
2741               'mkdir (coreutils) '* | \
# Line 2931 | Line 2764 | fi
2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2765   $as_echo "$MKDIR_P" >&6; }
2766  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
2767   for ac_prog in gawk mawk nawk awk
2768   do
2769    # Extract the first word of "$ac_prog", so it can be a program name with args.
2770   set dummy $ac_prog; ac_word=$2
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772   $as_echo_n "checking for $ac_word... " >&6; }
2773 < if test "${ac_cv_prog_AWK+set}" = set; then :
2773 > if ${ac_cv_prog_AWK+:} false; then :
2774    $as_echo_n "(cached) " >&6
2775   else
2776    if test -n "$AWK"; then
# Line 2955 | Line 2782 | do
2782    IFS=$as_save_IFS
2783    test -z "$as_dir" && as_dir=.
2784      for ac_exec_ext in '' $ac_executable_extensions; do
2785 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2786      ac_cv_prog_AWK="$ac_prog"
2787      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788      break 2
# Line 2983 | Line 2810 | done
2810   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2811   set x ${MAKE-make}
2812   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2813 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2813 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2814    $as_echo_n "(cached) " >&6
2815   else
2816    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2818 | SHELL = /bin/sh
2818   all:
2819          @echo '@@@%%%=$(MAKE)=@@@%%%'
2820   _ACEOF
2821 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2821 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2822   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2823    *@@@%%%=?*=@@@%%%*)
2824      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2846 | else
2846   fi
2847   rmdir .tst 2>/dev/null
2848  
2849 + # Check whether --enable-silent-rules was given.
2850 + if test "${enable_silent_rules+set}" = set; then :
2851 +  enableval=$enable_silent_rules;
2852 + fi
2853 +
2854 + case $enable_silent_rules in # (((
2855 +  yes) AM_DEFAULT_VERBOSITY=0;;
2856 +   no) AM_DEFAULT_VERBOSITY=1;;
2857 +    *) AM_DEFAULT_VERBOSITY=1;;
2858 + esac
2859 + am_make=${MAKE-make}
2860 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2861 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2862 + if ${am_cv_make_support_nested_variables+:} false; then :
2863 +  $as_echo_n "(cached) " >&6
2864 + else
2865 +  if $as_echo 'TRUE=$(BAR$(V))
2866 + BAR0=false
2867 + BAR1=true
2868 + V=1
2869 + am__doit:
2870 +        @$(TRUE)
2871 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2872 +  am_cv_make_support_nested_variables=yes
2873 + else
2874 +  am_cv_make_support_nested_variables=no
2875 + fi
2876 + fi
2877 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2878 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2879 + if test $am_cv_make_support_nested_variables = yes; then
2880 +    AM_V='$(V)'
2881 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2882 + else
2883 +  AM_V=$AM_DEFAULT_VERBOSITY
2884 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2885 + fi
2886 + AM_BACKSLASH='\'
2887 +
2888   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2889    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2890    # is not polluted with repeated "-I."
2891    am__isrc=' -I$(srcdir)'
2892    # test to see if srcdir already configured
2893    if test -f $srcdir/config.status; then
2894 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2894 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895    fi
2896   fi
2897  
# Line 3041 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='7.3-rc1'
2910 > VERSION='TRUNK'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2935 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2935  
2936   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2937  
2938 + # For better backward compatibility.  To be removed once Automake 1.9.x
2939 + # dies out for good.  For more background, see:
2940 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2941 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2942 + mkdir_p='$(MKDIR_P)'
2943 +
2944   # We need awk for the "check" target.  The system "awk" is bad on
2945   # some platforms.
2946 < # Always define AMTAR for backward compatibility.
2946 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2947 > # in the wild :-(  We should find a proper way to deprecate it ...
2948 > AMTAR='$${TAR-tar}'
2949 >
2950 >
2951 > # We'll loop over all known methods to create a tar archive until one works.
2952 > _am_tools='gnutar  pax cpio none'
2953  
2954 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2954 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2955  
3078 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2956  
2957  
2958  
2959  
2960  
2961 + # POSIX will say in a future version that running "rm -f" with no argument
2962 + # is OK; and we want to be able to make that assumption in our Makefile
2963 + # recipes.  So use an aggressive probe to check that the usage we want is
2964 + # actually supported "in the wild" to an acceptable degree.
2965 + # See automake bug#10828.
2966 + # To make any issue more visible, cause the running configure to be aborted
2967 + # by default if the 'rm' program in use doesn't match our expectations; the
2968 + # user can still override this though.
2969 + if rm -f && rm -fr && rm -rf; then : OK; else
2970 +  cat >&2 <<'END'
2971 + Oops!
2972 +
2973 + Your 'rm' program seems unable to run without file operands specified
2974 + on the command line, even when the '-f' option is present.  This is contrary
2975 + to the behaviour of most rm programs out there, and not conforming with
2976 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2977 +
2978 + Please tell bug-automake@gnu.org about your system, including the value
2979 + of your $PATH and any error possibly output before this message.  This
2980 + can help us improve future automake versions.
2981 +
2982 + END
2983 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2984 +    echo 'Configuration will proceed anyway, since you have set the' >&2
2985 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2986 +    echo >&2
2987 +  else
2988 +    cat >&2 <<'END'
2989 + Aborting the configuration process, to ensure you take notice of the issue.
2990 +
2991 + You can download and install GNU coreutils to get an 'rm' implementation
2992 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
2993 +
2994 + If you want to complete the configuration process using your problematic
2995 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2996 + to "yes", and re-run configure.
2997 +
2998 + END
2999 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3000 +  fi
3001 + fi
3002  
3003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3004   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3104 | Line 3022 | fi
3022    MAINT=$MAINTAINER_MODE_TRUE
3023  
3024  
3025 +
3026   ac_config_headers="$ac_config_headers config.h"
3027  
3028  
# Line 3128 | Line 3047 | am__quote=
3047   _am_result=none
3048   # First try GNU make style include.
3049   echo "include confinc" > confmf
3050 < # Ignore all kinds of additional output from `make'.
3050 > # Ignore all kinds of additional output from 'make'.
3051   case `$am_make -s -f confmf 2> /dev/null` in #(
3052   *the\ am__doit\ target*)
3053    am__include=include
# Line 3161 | Line 3080 | fi
3080   if test "x$enable_dependency_tracking" != xno; then
3081    am_depcomp="$ac_aux_dir/depcomp"
3082    AMDEPBACKSLASH='\'
3083 +  am__nodep='_no'
3084   fi
3085   if test "x$enable_dependency_tracking" != xno; then
3086    AMDEP_TRUE=
# Line 3181 | Line 3101 | if test -n "$ac_tool_prefix"; then
3101   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103   $as_echo_n "checking for $ac_word... " >&6; }
3104 < if test "${ac_cv_prog_CC+set}" = set; then :
3104 > if ${ac_cv_prog_CC+:} false; then :
3105    $as_echo_n "(cached) " >&6
3106   else
3107    if test -n "$CC"; then
# Line 3193 | Line 3113 | do
3113    IFS=$as_save_IFS
3114    test -z "$as_dir" && as_dir=.
3115      for ac_exec_ext in '' $ac_executable_extensions; do
3116 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3118      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119      break 2
# Line 3221 | Line 3141 | if test -z "$ac_cv_prog_CC"; then
3141   set dummy gcc; ac_word=$2
3142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143   $as_echo_n "checking for $ac_word... " >&6; }
3144 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3144 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3145    $as_echo_n "(cached) " >&6
3146   else
3147    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3153 | do
3153    IFS=$as_save_IFS
3154    test -z "$as_dir" && as_dir=.
3155      for ac_exec_ext in '' $ac_executable_extensions; do
3156 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157      ac_cv_prog_ac_ct_CC="gcc"
3158      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159      break 2
# Line 3274 | Line 3194 | if test -z "$CC"; then
3194   set dummy ${ac_tool_prefix}cc; ac_word=$2
3195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196   $as_echo_n "checking for $ac_word... " >&6; }
3197 < if test "${ac_cv_prog_CC+set}" = set; then :
3197 > if ${ac_cv_prog_CC+:} false; then :
3198    $as_echo_n "(cached) " >&6
3199   else
3200    if test -n "$CC"; then
# Line 3286 | Line 3206 | do
3206    IFS=$as_save_IFS
3207    test -z "$as_dir" && as_dir=.
3208      for ac_exec_ext in '' $ac_executable_extensions; do
3209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210      ac_cv_prog_CC="${ac_tool_prefix}cc"
3211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212      break 2
# Line 3314 | Line 3234 | if test -z "$CC"; then
3234   set dummy cc; ac_word=$2
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236   $as_echo_n "checking for $ac_word... " >&6; }
3237 < if test "${ac_cv_prog_CC+set}" = set; then :
3237 > if ${ac_cv_prog_CC+:} false; then :
3238    $as_echo_n "(cached) " >&6
3239   else
3240    if test -n "$CC"; then
# Line 3327 | Line 3247 | do
3247    IFS=$as_save_IFS
3248    test -z "$as_dir" && as_dir=.
3249      for ac_exec_ext in '' $ac_executable_extensions; do
3250 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3250 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252         ac_prog_rejected=yes
3253         continue
# Line 3373 | Line 3293 | if test -z "$CC"; then
3293   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295   $as_echo_n "checking for $ac_word... " >&6; }
3296 < if test "${ac_cv_prog_CC+set}" = set; then :
3296 > if ${ac_cv_prog_CC+:} false; then :
3297    $as_echo_n "(cached) " >&6
3298   else
3299    if test -n "$CC"; then
# Line 3385 | Line 3305 | do
3305    IFS=$as_save_IFS
3306    test -z "$as_dir" && as_dir=.
3307      for ac_exec_ext in '' $ac_executable_extensions; do
3308 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3310      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311      break 2
# Line 3417 | Line 3337 | do
3337   set dummy $ac_prog; ac_word=$2
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339   $as_echo_n "checking for $ac_word... " >&6; }
3340 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3340 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3341    $as_echo_n "(cached) " >&6
3342   else
3343    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3349 | do
3349    IFS=$as_save_IFS
3350    test -z "$as_dir" && as_dir=.
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353      ac_cv_prog_ac_ct_CC="$ac_prog"
3354      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355      break 2
# Line 3471 | Line 3391 | fi
3391  
3392   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 < as_fn_error "no acceptable C compiler found in \$PATH
3395 < See \`config.log' for more details." "$LINENO" 5; }
3394 > as_fn_error $? "no acceptable C compiler found in \$PATH
3395 > See \`config.log' for more details" "$LINENO" 5; }
3396  
3397   # Provide some information about the compiler.
3398   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3506 | sed 's/^/| /' conftest.$ac_ext >&5
3506  
3507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 < { as_fn_set_status 77
3510 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3509 > as_fn_error 77 "C compiler cannot create executables
3510 > See \`config.log' for more details" "$LINENO" 5; }
3511   else
3512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513   $as_echo "yes" >&6; }
# Line 3630 | Line 3549 | done
3549   else
3550    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3553 < See \`config.log' for more details." "$LINENO" 5; }
3552 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553 > See \`config.log' for more details" "$LINENO" 5; }
3554   fi
3555   rm -f conftest conftest$ac_cv_exeext
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3607 | $as_echo "$ac_try_echo"; } >&5
3607      else
3608          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 < as_fn_error "cannot run C compiled programs.
3610 > as_fn_error $? "cannot run C compiled programs.
3611   If you meant to cross compile, use \`--host'.
3612 < See \`config.log' for more details." "$LINENO" 5; }
3612 > See \`config.log' for more details" "$LINENO" 5; }
3613      fi
3614    fi
3615   fi
# Line 3701 | Line 3620 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3620   ac_clean_files=$ac_clean_files_save
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3622   $as_echo_n "checking for suffix of object files... " >&6; }
3623 < if test "${ac_cv_objext+set}" = set; then :
3623 > if ${ac_cv_objext+:} false; then :
3624    $as_echo_n "(cached) " >&6
3625   else
3626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3660 | sed 's/^/| /' conftest.$ac_ext >&5
3660  
3661   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 < as_fn_error "cannot compute suffix of object files: cannot compile
3664 < See \`config.log' for more details." "$LINENO" 5; }
3663 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3664 > See \`config.log' for more details" "$LINENO" 5; }
3665   fi
3666   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667   fi
# Line 3752 | Line 3671 | OBJEXT=$ac_cv_objext
3671   ac_objext=$OBJEXT
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3673   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3674 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3674 > if ${ac_cv_c_compiler_gnu+:} false; then :
3675    $as_echo_n "(cached) " >&6
3676   else
3677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3708 | ac_test_CFLAGS=${CFLAGS+set}
3708   ac_save_CFLAGS=$CFLAGS
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3710   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3711 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3711 > if ${ac_cv_prog_cc_g+:} false; then :
3712    $as_echo_n "(cached) " >&6
3713   else
3714    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3786 | else
3786   fi
3787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3788   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3789 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3789 > if ${ac_cv_prog_cc_c89+:} false; then :
3790    $as_echo_n "(cached) " >&6
3791   else
3792    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3795 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3795   /* end confdefs.h.  */
3796   #include <stdarg.h>
3797   #include <stdio.h>
3798 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3798 > struct stat;
3799   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3800   struct buf { int x; };
3801   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3880   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882  
3883 + ac_ext=c
3884 + ac_cpp='$CPP $CPPFLAGS'
3885 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3889 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3890 + if ${am_cv_prog_cc_c_o+:} false; then :
3891 +  $as_echo_n "(cached) " >&6
3892 + else
3893 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 + /* end confdefs.h.  */
3895 +
3896 + int
3897 + main ()
3898 + {
3899 +
3900 +  ;
3901 +  return 0;
3902 + }
3903 + _ACEOF
3904 +  # Make sure it works both with $CC and with simple cc.
3905 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3906 +  # compilers refuse to overwrite an existing .o file with -o,
3907 +  # though they will create one.
3908 +  am_cv_prog_cc_c_o=yes
3909 +  for am_i in 1 2; do
3910 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3911 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3912 +   ac_status=$?
3913 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 +   (exit $ac_status); } \
3915 +         && test -f conftest2.$ac_objext; then
3916 +      : OK
3917 +    else
3918 +      am_cv_prog_cc_c_o=no
3919 +      break
3920 +    fi
3921 +  done
3922 +  rm -f core conftest*
3923 +  unset am_i
3924 + fi
3925 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3926 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3927 + if test "$am_cv_prog_cc_c_o" != yes; then
3928 +   # Losing compiler, so override with the script.
3929 +   # FIXME: It is wrong to rewrite CC.
3930 +   # But if we don't then we get into trouble of one sort or another.
3931 +   # A longer-term fix would be to have automake use am__CC in this case,
3932 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3933 +   CC="$am_aux_dir/compile $CC"
3934 + fi
3935 + ac_ext=c
3936 + ac_cpp='$CPP $CPPFLAGS'
3937 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940 +
3941 +
3942   depcc="$CC"   am_compiler_list=
3943  
3944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3945   $as_echo_n "checking dependency style of $depcc... " >&6; }
3946 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3946 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3947    $as_echo_n "(cached) " >&6
3948   else
3949    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3950    # We make a subdir and do the tests there.  Otherwise we can end up
3951    # making bogus files that we don't know about and never remove.  For
3952    # instance it was reported that on HP-UX the gcc test will end up
3953 <  # making a dummy file named `D' -- because `-MD' means `put the output
3954 <  # in D'.
3953 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3954 >  # in D".
3955 >  rm -rf conftest.dir
3956    mkdir conftest.dir
3957    # Copy depcomp to subdir because otherwise we won't find it if we're
3958    # using a relative directory.
# Line 4008 | Line 3986 | else
3986      : > sub/conftest.c
3987      for i in 1 2 3 4 5 6; do
3988        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3989 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3990 <      # Solaris 8's {/usr,}/bin/sh.
3991 <      touch sub/conftst$i.h
3989 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3990 >      # Solaris 10 /bin/sh.
3991 >      echo '/* dummy */' > sub/conftst$i.h
3992      done
3993      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3994  
3995 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3995 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3996      # mode.  It turns out that the SunPro C++ compiler does not properly
3997 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3998 <    # versions had trouble with output in subdirs
3997 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3998 >    # versions had trouble with output in subdirs.
3999      am__obj=sub/conftest.${OBJEXT-o}
4000      am__minus_obj="-o $am__obj"
4001      case $depmode in
# Line 4026 | Line 4004 | else
4004        test "$am__universal" = false || continue
4005        ;;
4006      nosideeffect)
4007 <      # after this tag, mechanisms are not by side-effect, so they'll
4008 <      # only be used when explicitly requested
4007 >      # After this tag, mechanisms are not by side-effect, so they'll
4008 >      # only be used when explicitly requested.
4009        if test "x$enable_dependency_tracking" = xyes; then
4010          continue
4011        else
4012          break
4013        fi
4014        ;;
4015 <    msvisualcpp | msvcmsys)
4016 <      # This compiler won't grok `-c -o', but also, the minuso test has
4015 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4016 >      # This compiler won't grok '-c -o', but also, the minuso test has
4017        # not run yet.  These depmodes are late enough in the game, and
4018        # so weak that their functioning should not be impacted.
4019        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4069 | fi
4069  
4070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4071   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4072 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4072 > if ${ac_cv_prog_cc_c99+:} false; then :
4073    $as_echo_n "(cached) " >&6
4074   else
4075    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4213 | main ()
4213    return 0;
4214   }
4215   _ACEOF
4216 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4216 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4217   do
4218    CC="$ac_save_CC $ac_arg"
4219    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4245 | fi
4245  
4246  
4247   if test "$ac_cv_prog_cc_c99" = "no"; then :
4248 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4248 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4249   fi
4250   for ac_prog in 'bison -y' byacc
4251   do
# Line 4275 | Line 4253 | do
4253   set dummy $ac_prog; ac_word=$2
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255   $as_echo_n "checking for $ac_word... " >&6; }
4256 < if test "${ac_cv_prog_YACC+set}" = set; then :
4256 > if ${ac_cv_prog_YACC+:} false; then :
4257    $as_echo_n "(cached) " >&6
4258   else
4259    if test -n "$YACC"; then
# Line 4287 | Line 4265 | do
4265    IFS=$as_save_IFS
4266    test -z "$as_dir" && as_dir=.
4267      for ac_exec_ext in '' $ac_executable_extensions; do
4268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269      ac_cv_prog_YACC="$ac_prog"
4270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271      break 2
# Line 4319 | Line 4297 | do
4297   set dummy $ac_prog; ac_word=$2
4298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299   $as_echo_n "checking for $ac_word... " >&6; }
4300 < if test "${ac_cv_prog_LEX+set}" = set; then :
4300 > if ${ac_cv_prog_LEX+:} false; then :
4301    $as_echo_n "(cached) " >&6
4302   else
4303    if test -n "$LEX"; then
# Line 4331 | Line 4309 | do
4309    IFS=$as_save_IFS
4310    test -z "$as_dir" && as_dir=.
4311      for ac_exec_ext in '' $ac_executable_extensions; do
4312 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4312 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313      ac_cv_prog_LEX="$ac_prog"
4314      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315      break 2
# Line 4363 | Line 4341 | a { ECHO; }
4341   b { REJECT; }
4342   c { yymore (); }
4343   d { yyless (1); }
4344 < e { yyless (input () != 0); }
4344 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4345 >    yyless ((input () != 0)); }
4346   f { unput (yytext[0]); }
4347   . { BEGIN INITIAL; }
4348   %%
# Line 4389 | Line 4368 | $as_echo "$ac_try_echo"; } >&5
4368    test $ac_status = 0; }
4369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4370   $as_echo_n "checking lex output file root... " >&6; }
4371 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4371 > if ${ac_cv_prog_lex_root+:} false; then :
4372    $as_echo_n "(cached) " >&6
4373   else
4374  
# Line 4398 | Line 4377 | if test -f lex.yy.c; then
4377   elif test -f lexyy.c; then
4378    ac_cv_prog_lex_root=lexyy
4379   else
4380 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4380 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4381   fi
4382   fi
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4387 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4387   if test -z "${LEXLIB+set}"; then
4388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4389   $as_echo_n "checking lex library... " >&6; }
4390 < if test "${ac_cv_lib_lex+set}" = set; then :
4390 > if ${ac_cv_lib_lex+:} false; then :
4391    $as_echo_n "(cached) " >&6
4392   else
4393  
# Line 4438 | Line 4417 | fi
4417  
4418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4419   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4420 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4420 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4421    $as_echo_n "(cached) " >&6
4422   else
4423    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4428 | ac_save_LIBS=$LIBS
4428   LIBS="$LEXLIB $ac_save_LIBS"
4429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430   /* end confdefs.h.  */
4431 < #define YYTEXT_POINTER 1
4431 >
4432 >  #define YYTEXT_POINTER 1
4433   `cat $LEX_OUTPUT_ROOT.c`
4434   _ACEOF
4435   if ac_fn_c_try_link "$LINENO"; then :
# Line 4476 | Line 4456 | fi
4456  
4457  
4458   # Initializing libtool.
4459 +
4460 +
4461 +
4462 +
4463 +
4464 +
4465 +
4466   case `pwd` in
4467    *\ * | *\     *)
4468      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4484 | Line 4471 | esac
4471  
4472  
4473  
4474 < macro_version='2.2.6'
4475 < macro_revision='1.3012'
4474 > macro_version='2.4.2'
4475 > macro_revision='1.3337'
4476  
4477  
4478  
# Line 4503 | Line 4490 | ltmain="$ac_aux_dir/ltmain.sh"
4490  
4491   # Make sure we can run config.sub.
4492   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4493 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4493 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4494  
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4496   $as_echo_n "checking build system type... " >&6; }
4497 < if test "${ac_cv_build+set}" = set; then :
4497 > if ${ac_cv_build+:} false; then :
4498    $as_echo_n "(cached) " >&6
4499   else
4500    ac_build_alias=$build_alias
4501   test "x$ac_build_alias" = x &&
4502    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4503   test "x$ac_build_alias" = x &&
4504 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4504 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4505   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4506 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4506 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4507  
4508   fi
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4510   $as_echo "$ac_cv_build" >&6; }
4511   case $ac_cv_build in
4512   *-*-*) ;;
4513 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4513 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4514   esac
4515   build=$ac_cv_build
4516   ac_save_IFS=$IFS; IFS='-'
# Line 4541 | Line 4528 | case $build_os in *\ *) build_os=`echo "
4528  
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4530   $as_echo_n "checking host system type... " >&6; }
4531 < if test "${ac_cv_host+set}" = set; then :
4531 > if ${ac_cv_host+:} false; then :
4532    $as_echo_n "(cached) " >&6
4533   else
4534    if test "x$host_alias" = x; then
4535    ac_cv_host=$ac_cv_build
4536   else
4537    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4538 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4538 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4539   fi
4540  
4541   fi
# Line 4556 | Line 4543 | fi
4543   $as_echo "$ac_cv_host" >&6; }
4544   case $ac_cv_host in
4545   *-*-*) ;;
4546 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4546 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4547   esac
4548   host=$ac_cv_host
4549   ac_save_IFS=$IFS; IFS='-'
# Line 4572 | Line 4559 | IFS=$ac_save_IFS
4559   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4560  
4561  
4562 + # Backslashify metacharacters that are still active within
4563 + # double-quoted strings.
4564 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4565 +
4566 + # Same as above, but do not quote variable references.
4567 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4568 +
4569 + # Sed substitution to delay expansion of an escaped shell variable in a
4570 + # double_quote_subst'ed string.
4571 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4572 +
4573 + # Sed substitution to delay expansion of an escaped single quote.
4574 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4575 +
4576 + # Sed substitution to avoid accidental globbing in evaled expressions
4577 + no_glob_subst='s/\*/\\\*/g'
4578 +
4579 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4580 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4581 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4582 +
4583 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4584 + $as_echo_n "checking how to print strings... " >&6; }
4585 + # Test print first, because it will be a builtin if present.
4586 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4587 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4588 +  ECHO='print -r --'
4589 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4590 +  ECHO='printf %s\n'
4591 + else
4592 +  # Use this function as a fallback that always works.
4593 +  func_fallback_echo ()
4594 +  {
4595 +    eval 'cat <<_LTECHO_EOF
4596 + $1
4597 + _LTECHO_EOF'
4598 +  }
4599 +  ECHO='func_fallback_echo'
4600 + fi
4601 +
4602 + # func_echo_all arg...
4603 + # Invoke $ECHO with all args, space-separated.
4604 + func_echo_all ()
4605 + {
4606 +    $ECHO ""
4607 + }
4608 +
4609 + case "$ECHO" in
4610 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4611 + $as_echo "printf" >&6; } ;;
4612 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4613 + $as_echo "print -r" >&6; } ;;
4614 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4615 + $as_echo "cat" >&6; } ;;
4616 + esac
4617 +
4618 +
4619 +
4620 +
4621 +
4622 +
4623 +
4624 +
4625 +
4626 +
4627 +
4628 +
4629 +
4630 +
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4632   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4633 < if test "${ac_cv_path_SED+set}" = set; then :
4633 > if ${ac_cv_path_SED+:} false; then :
4634    $as_echo_n "(cached) " >&6
4635   else
4636              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4594 | Line 4650 | do
4650      for ac_prog in sed gsed; do
4651      for ac_exec_ext in '' $ac_executable_extensions; do
4652        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4653 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4653 >      as_fn_executable_p "$ac_path_SED" || continue
4654   # Check for GNU ac_path_SED and select it if it is found.
4655    # Check for GNU $ac_path_SED
4656   case `"$ac_path_SED" --version 2>&1` in
# Line 4629 | Line 4685 | esac
4685    done
4686   IFS=$as_save_IFS
4687    if test -z "$ac_cv_path_SED"; then
4688 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4688 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4689    fi
4690   else
4691    ac_cv_path_SED=$SED
# Line 4656 | Line 4712 | Xsed="$SED -e 1s/^X//"
4712  
4713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4714   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4715 < if test "${ac_cv_path_GREP+set}" = set; then :
4715 > if ${ac_cv_path_GREP+:} false; then :
4716    $as_echo_n "(cached) " >&6
4717   else
4718    if test -z "$GREP"; then
# Line 4670 | Line 4726 | do
4726      for ac_prog in grep ggrep; do
4727      for ac_exec_ext in '' $ac_executable_extensions; do
4728        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4729 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4729 >      as_fn_executable_p "$ac_path_GREP" || continue
4730   # Check for GNU ac_path_GREP and select it if it is found.
4731    # Check for GNU $ac_path_GREP
4732   case `"$ac_path_GREP" --version 2>&1` in
# Line 4705 | Line 4761 | esac
4761    done
4762   IFS=$as_save_IFS
4763    if test -z "$ac_cv_path_GREP"; then
4764 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4764 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4765    fi
4766   else
4767    ac_cv_path_GREP=$GREP
# Line 4719 | Line 4775 | $as_echo "$ac_cv_path_GREP" >&6; }
4775  
4776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4777   $as_echo_n "checking for egrep... " >&6; }
4778 < if test "${ac_cv_path_EGREP+set}" = set; then :
4778 > if ${ac_cv_path_EGREP+:} false; then :
4779    $as_echo_n "(cached) " >&6
4780   else
4781    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4736 | Line 4792 | do
4792      for ac_prog in egrep; do
4793      for ac_exec_ext in '' $ac_executable_extensions; do
4794        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4795 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4795 >      as_fn_executable_p "$ac_path_EGREP" || continue
4796   # Check for GNU ac_path_EGREP and select it if it is found.
4797    # Check for GNU $ac_path_EGREP
4798   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4771 | Line 4827 | esac
4827    done
4828   IFS=$as_save_IFS
4829    if test -z "$ac_cv_path_EGREP"; then
4830 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4830 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4831    fi
4832   else
4833    ac_cv_path_EGREP=$EGREP
# Line 4786 | Line 4842 | $as_echo "$ac_cv_path_EGREP" >&6; }
4842  
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4844   $as_echo_n "checking for fgrep... " >&6; }
4845 < if test "${ac_cv_path_FGREP+set}" = set; then :
4845 > if ${ac_cv_path_FGREP+:} false; then :
4846    $as_echo_n "(cached) " >&6
4847   else
4848    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4803 | Line 4859 | do
4859      for ac_prog in fgrep; do
4860      for ac_exec_ext in '' $ac_executable_extensions; do
4861        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4862 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4862 >      as_fn_executable_p "$ac_path_FGREP" || continue
4863   # Check for GNU ac_path_FGREP and select it if it is found.
4864    # Check for GNU $ac_path_FGREP
4865   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4838 | Line 4894 | esac
4894    done
4895   IFS=$as_save_IFS
4896    if test -z "$ac_cv_path_FGREP"; then
4897 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4897 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4898    fi
4899   else
4900    ac_cv_path_FGREP=$FGREP
# Line 4917 | Line 4973 | else
4973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4974   $as_echo_n "checking for non-GNU ld... " >&6; }
4975   fi
4976 < if test "${lt_cv_path_LD+set}" = set; then :
4976 > if ${lt_cv_path_LD+:} false; then :
4977    $as_echo_n "(cached) " >&6
4978   else
4979    if test -z "$LD"; then
# Line 4954 | Line 5010 | else
5010    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011   $as_echo "no" >&6; }
5012   fi
5013 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5013 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5015   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5016 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5016 > if ${lt_cv_prog_gnu_ld+:} false; then :
5017    $as_echo_n "(cached) " >&6
5018   else
5019    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4984 | Line 5040 | with_gnu_ld=$lt_cv_prog_gnu_ld
5040  
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5042   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5043 < if test "${lt_cv_path_NM+set}" = set; then :
5043 > if ${lt_cv_path_NM+:} false; then :
5044    $as_echo_n "(cached) " >&6
5045   else
5046    if test -n "$NM"; then
# Line 5037 | Line 5093 | if test "$lt_cv_path_NM" != "no"; then
5093    NM="$lt_cv_path_NM"
5094   else
5095    # Didn't find any BSD compatible name lister, look for dumpbin.
5096 <  if test -n "$ac_tool_prefix"; then
5097 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5096 >  if test -n "$DUMPBIN"; then :
5097 >    # Let the user override the test.
5098 >  else
5099 >    if test -n "$ac_tool_prefix"; then
5100 >  for ac_prog in dumpbin "link -dump"
5101    do
5102      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5103   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105   $as_echo_n "checking for $ac_word... " >&6; }
5106 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5106 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5107    $as_echo_n "(cached) " >&6
5108   else
5109    if test -n "$DUMPBIN"; then
# Line 5056 | Line 5115 | do
5115    IFS=$as_save_IFS
5116    test -z "$as_dir" && as_dir=.
5117      for ac_exec_ext in '' $ac_executable_extensions; do
5118 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5120      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121      break 2
# Line 5082 | Line 5141 | fi
5141   fi
5142   if test -z "$DUMPBIN"; then
5143    ac_ct_DUMPBIN=$DUMPBIN
5144 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5144 >  for ac_prog in dumpbin "link -dump"
5145   do
5146    # Extract the first word of "$ac_prog", so it can be a program name with args.
5147   set dummy $ac_prog; ac_word=$2
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149   $as_echo_n "checking for $ac_word... " >&6; }
5150 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5150 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5151    $as_echo_n "(cached) " >&6
5152   else
5153    if test -n "$ac_ct_DUMPBIN"; then
# Line 5100 | Line 5159 | do
5159    IFS=$as_save_IFS
5160    test -z "$as_dir" && as_dir=.
5161      for ac_exec_ext in '' $ac_executable_extensions; do
5162 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5164      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165      break 2
# Line 5137 | Line 5196 | esac
5196    fi
5197   fi
5198  
5199 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5200 +    *COFF*)
5201 +      DUMPBIN="$DUMPBIN -symbols"
5202 +      ;;
5203 +    *)
5204 +      DUMPBIN=:
5205 +      ;;
5206 +    esac
5207 +  fi
5208  
5209    if test "$DUMPBIN" != ":"; then
5210      NM="$DUMPBIN"
# Line 5151 | Line 5219 | test -z "$NM" && NM=nm
5219  
5220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5221   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5222 < if test "${lt_cv_nm_interface+set}" = set; then :
5222 > if ${lt_cv_nm_interface+:} false; then :
5223    $as_echo_n "(cached) " >&6
5224   else
5225    lt_cv_nm_interface="BSD nm"
5226    echo "int some_variable = 0;" > conftest.$ac_ext
5227 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5227 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5228    (eval "$ac_compile" 2>conftest.err)
5229    cat conftest.err >&5
5230 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5230 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5231    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5232    cat conftest.err >&5
5233 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5233 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5234    cat conftest.out >&5
5235    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5236      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5254 | fi
5254   # find the maximum length of command line arguments
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5256   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5257 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5257 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5258    $as_echo_n "(cached) " >&6
5259   else
5260      i=0
# Line 5219 | Line 5287 | else
5287      lt_cv_sys_max_cmd_len=8192;
5288      ;;
5289  
5290 +  mint*)
5291 +    # On MiNT this can take a long time and run out of memory.
5292 +    lt_cv_sys_max_cmd_len=8192;
5293 +    ;;
5294 +
5295    amigaos*)
5296      # On AmigaOS with pdksh, this test takes hours, literally.
5297      # So we just punt and use a minimum line length of 8192.
# Line 5244 | Line 5317 | else
5317      lt_cv_sys_max_cmd_len=196608
5318      ;;
5319  
5320 +  os2*)
5321 +    # The test takes a long time on OS/2.
5322 +    lt_cv_sys_max_cmd_len=8192
5323 +    ;;
5324 +
5325    osf*)
5326      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5327      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5283 | Line 5361 | else
5361        # If test is not a shell built-in, we'll probably end up computing a
5362        # maximum length that is only half of the actual maximum length, but
5363        # we can't tell.
5364 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5365 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5364 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5365 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5366                test $i != 17 # 1/2 MB should be enough
5367        do
5368          i=`expr $i + 1`
# Line 5326 | Line 5404 | $as_echo_n "checking whether the shell u
5404   # Try some XSI features
5405   xsi_shell=no
5406   ( _lt_dummy="a/b/c"
5407 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5408 <      = c,a/b,, \
5407 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5408 >      = c,a/b,b/c, \
5409      && eval 'test $(( 1 + 1 )) -eq 2 \
5410      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5411    && xsi_shell=yes
# Line 5376 | Line 5454 | esac
5454  
5455  
5456  
5457 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5458 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5459 + if ${lt_cv_to_host_file_cmd+:} false; then :
5460 +  $as_echo_n "(cached) " >&6
5461 + else
5462 +  case $host in
5463 +  *-*-mingw* )
5464 +    case $build in
5465 +      *-*-mingw* ) # actually msys
5466 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5467 +        ;;
5468 +      *-*-cygwin* )
5469 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5470 +        ;;
5471 +      * ) # otherwise, assume *nix
5472 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5473 +        ;;
5474 +    esac
5475 +    ;;
5476 +  *-*-cygwin* )
5477 +    case $build in
5478 +      *-*-mingw* ) # actually msys
5479 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5480 +        ;;
5481 +      *-*-cygwin* )
5482 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5483 +        ;;
5484 +      * ) # otherwise, assume *nix
5485 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5486 +        ;;
5487 +    esac
5488 +    ;;
5489 +  * ) # unhandled hosts (and "normal" native builds)
5490 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5491 +    ;;
5492 + esac
5493 +
5494 + fi
5495 +
5496 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5498 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5499 +
5500 +
5501 +
5502 +
5503 +
5504 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5505 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5506 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5507 +  $as_echo_n "(cached) " >&6
5508 + else
5509 +  #assume ordinary cross tools, or native build.
5510 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5511 + case $host in
5512 +  *-*-mingw* )
5513 +    case $build in
5514 +      *-*-mingw* ) # actually msys
5515 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5516 +        ;;
5517 +    esac
5518 +    ;;
5519 + esac
5520 +
5521 + fi
5522 +
5523 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5524 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5525 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5526 +
5527 +
5528 +
5529 +
5530 +
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5532   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5533 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5533 > if ${lt_cv_ld_reload_flag+:} false; then :
5534    $as_echo_n "(cached) " >&6
5535   else
5536    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5544 | case $reload_flag in
5544   esac
5545   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5546   case $host_os in
5547 +  cygwin* | mingw* | pw32* | cegcc*)
5548 +    if test "$GCC" != yes; then
5549 +      reload_cmds=false
5550 +    fi
5551 +    ;;
5552    darwin*)
5553      if test "$GCC" = yes; then
5554        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5414 | Line 5571 | if test -n "$ac_tool_prefix"; then
5571   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573   $as_echo_n "checking for $ac_word... " >&6; }
5574 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5574 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5575    $as_echo_n "(cached) " >&6
5576   else
5577    if test -n "$OBJDUMP"; then
# Line 5426 | Line 5583 | do
5583    IFS=$as_save_IFS
5584    test -z "$as_dir" && as_dir=.
5585      for ac_exec_ext in '' $ac_executable_extensions; do
5586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589      break 2
# Line 5454 | Line 5611 | if test -z "$ac_cv_prog_OBJDUMP"; then
5611   set dummy objdump; ac_word=$2
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613   $as_echo_n "checking for $ac_word... " >&6; }
5614 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5614 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5615    $as_echo_n "(cached) " >&6
5616   else
5617    if test -n "$ac_ct_OBJDUMP"; then
# Line 5466 | Line 5623 | do
5623    IFS=$as_save_IFS
5624    test -z "$as_dir" && as_dir=.
5625      for ac_exec_ext in '' $ac_executable_extensions; do
5626 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5628      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629      break 2
# Line 5513 | Line 5670 | test -z "$OBJDUMP" && OBJDUMP=objdump
5670  
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5672   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5673 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5673 > if ${lt_cv_deplibs_check_method+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5555 | Line 5712 | mingw* | pw32*)
5712    # Base MSYS/MinGW do not provide the 'file' command needed by
5713    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5714    # unless we find 'file', for example because we are cross-compiling.
5715 <  if ( file / ) >/dev/null 2>&1; then
5715 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5716 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5717      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5718      lt_cv_file_magic_cmd='func_win32_libid'
5719    else
5720 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5720 >    # Keep this pattern in sync with the one in func_win32_libid.
5721 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5722      lt_cv_file_magic_cmd='$OBJDUMP -f'
5723    fi
5724    ;;
5725  
5726 < cegcc)
5726 > cegcc*)
5727    # use the weaker test based on 'objdump'. See mingw*.
5728    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5729    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5594 | Line 5753 | gnu*)
5753    lt_cv_deplibs_check_method=pass_all
5754    ;;
5755  
5756 + haiku*)
5757 +  lt_cv_deplibs_check_method=pass_all
5758 +  ;;
5759 +
5760   hpux10.20* | hpux11*)
5761    lt_cv_file_magic_cmd=/usr/bin/file
5762    case $host_cpu in
# Line 5602 | Line 5765 | hpux10.20* | hpux11*)
5765      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5766      ;;
5767    hppa*64*)
5768 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5768 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5769      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5770      ;;
5771    *)
5772 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5772 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5773      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774      ;;
5775    esac
# Line 5627 | Line 5790 | irix5* | irix6* | nonstopux*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < # This must be Linux ELF.
5794 < linux* | k*bsd*-gnu)
5793 > # This must be glibc/ELF.
5794 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5795    lt_cv_deplibs_check_method=pass_all
5796    ;;
5797  
# Line 5709 | Line 5872 | esac
5872   fi
5873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5874   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5875 +
5876 + file_magic_glob=
5877 + want_nocaseglob=no
5878 + if test "$build" = "$host"; then
5879 +  case $host_os in
5880 +  mingw* | pw32*)
5881 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5882 +      want_nocaseglob=yes
5883 +    else
5884 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5885 +    fi
5886 +    ;;
5887 +  esac
5888 + fi
5889 +
5890   file_magic_cmd=$lt_cv_file_magic_cmd
5891   deplibs_check_method=$lt_cv_deplibs_check_method
5892   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5902 | test -z "$deplibs_check_method" && depli
5902  
5903  
5904  
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915   if test -n "$ac_tool_prefix"; then
5916 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5917 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5916 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5917 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5918 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 > $as_echo_n "checking for $ac_word... " >&6; }
5920 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5921 >  $as_echo_n "(cached) " >&6
5922 > else
5923 >  if test -n "$DLLTOOL"; then
5924 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5925 > else
5926 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 > for as_dir in $PATH
5928 > do
5929 >  IFS=$as_save_IFS
5930 >  test -z "$as_dir" && as_dir=.
5931 >    for ac_exec_ext in '' $ac_executable_extensions; do
5932 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5934 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 >    break 2
5936 >  fi
5937 > done
5938 >  done
5939 > IFS=$as_save_IFS
5940 >
5941 > fi
5942 > fi
5943 > DLLTOOL=$ac_cv_prog_DLLTOOL
5944 > if test -n "$DLLTOOL"; then
5945 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5946 > $as_echo "$DLLTOOL" >&6; }
5947 > else
5948 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 > $as_echo "no" >&6; }
5950 > fi
5951 >
5952 >
5953 > fi
5954 > if test -z "$ac_cv_prog_DLLTOOL"; then
5955 >  ac_ct_DLLTOOL=$DLLTOOL
5956 >  # Extract the first word of "dlltool", so it can be a program name with args.
5957 > set dummy dlltool; ac_word=$2
5958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959   $as_echo_n "checking for $ac_word... " >&6; }
5960 < if test "${ac_cv_prog_AR+set}" = set; then :
5960 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5961 >  $as_echo_n "(cached) " >&6
5962 > else
5963 >  if test -n "$ac_ct_DLLTOOL"; then
5964 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5965 > else
5966 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 > for as_dir in $PATH
5968 > do
5969 >  IFS=$as_save_IFS
5970 >  test -z "$as_dir" && as_dir=.
5971 >    for ac_exec_ext in '' $ac_executable_extensions; do
5972 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5974 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 >    break 2
5976 >  fi
5977 > done
5978 >  done
5979 > IFS=$as_save_IFS
5980 >
5981 > fi
5982 > fi
5983 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5984 > if test -n "$ac_ct_DLLTOOL"; then
5985 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5986 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5987 > else
5988 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 > $as_echo "no" >&6; }
5990 > fi
5991 >
5992 >  if test "x$ac_ct_DLLTOOL" = x; then
5993 >    DLLTOOL="false"
5994 >  else
5995 >    case $cross_compiling:$ac_tool_warned in
5996 > yes:)
5997 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 > ac_tool_warned=yes ;;
6000 > esac
6001 >    DLLTOOL=$ac_ct_DLLTOOL
6002 >  fi
6003 > else
6004 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
6005 > fi
6006 >
6007 > test -z "$DLLTOOL" && DLLTOOL=dlltool
6008 >
6009 >
6010 >
6011 >
6012 >
6013 >
6014 >
6015 >
6016 >
6017 >
6018 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6019 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6020 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6021 >  $as_echo_n "(cached) " >&6
6022 > else
6023 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6024 >
6025 > case $host_os in
6026 > cygwin* | mingw* | pw32* | cegcc*)
6027 >  # two different shell functions defined in ltmain.sh
6028 >  # decide which to use based on capabilities of $DLLTOOL
6029 >  case `$DLLTOOL --help 2>&1` in
6030 >  *--identify-strict*)
6031 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6032 >    ;;
6033 >  *)
6034 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6035 >    ;;
6036 >  esac
6037 >  ;;
6038 > *)
6039 >  # fallback: assume linklib IS sharedlib
6040 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6041 >  ;;
6042 > esac
6043 >
6044 > fi
6045 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6046 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6047 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6048 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6049 >
6050 >
6051 >
6052 >
6053 >
6054 >
6055 >
6056 > if test -n "$ac_tool_prefix"; then
6057 >  for ac_prog in ar
6058 >  do
6059 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 > $as_echo_n "checking for $ac_word... " >&6; }
6063 > if ${ac_cv_prog_AR+:} false; then :
6064    $as_echo_n "(cached) " >&6
6065   else
6066    if test -n "$AR"; then
# Line 5741 | Line 6072 | do
6072    IFS=$as_save_IFS
6073    test -z "$as_dir" && as_dir=.
6074      for ac_exec_ext in '' $ac_executable_extensions; do
6075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078      break 2
6079    fi
# Line 5762 | Line 6093 | $as_echo "no" >&6; }
6093   fi
6094  
6095  
6096 +    test -n "$AR" && break
6097 +  done
6098   fi
6099 < if test -z "$ac_cv_prog_AR"; then
6099 > if test -z "$AR"; then
6100    ac_ct_AR=$AR
6101 <  # Extract the first word of "ar", so it can be a program name with args.
6102 < set dummy ar; ac_word=$2
6101 >  for ac_prog in ar
6102 > do
6103 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 > set dummy $ac_prog; ac_word=$2
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106   $as_echo_n "checking for $ac_word... " >&6; }
6107 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6107 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6108    $as_echo_n "(cached) " >&6
6109   else
6110    if test -n "$ac_ct_AR"; then
# Line 5781 | Line 6116 | do
6116    IFS=$as_save_IFS
6117    test -z "$as_dir" && as_dir=.
6118      for ac_exec_ext in '' $ac_executable_extensions; do
6119 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 <    ac_cv_prog_ac_ct_AR="ar"
6119 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6121      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122      break 2
6123    fi
# Line 5801 | Line 6136 | else
6136   $as_echo "no" >&6; }
6137   fi
6138  
6139 +
6140 +  test -n "$ac_ct_AR" && break
6141 + done
6142 +
6143    if test "x$ac_ct_AR" = x; then
6144      AR="false"
6145    else
# Line 5812 | Line 6151 | ac_tool_warned=yes ;;
6151   esac
6152      AR=$ac_ct_AR
6153    fi
5815 else
5816  AR="$ac_cv_prog_AR"
6154   fi
6155  
6156 < test -z "$AR" && AR=ar
6157 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6156 > : ${AR=ar}
6157 > : ${AR_FLAGS=cru}
6158 >
6159 >
6160  
6161  
6162  
# Line 5827 | Line 6166 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6166  
6167  
6168  
6169 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6170 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6171 + if ${lt_cv_ar_at_file+:} false; then :
6172 +  $as_echo_n "(cached) " >&6
6173 + else
6174 +  lt_cv_ar_at_file=no
6175 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 + /* end confdefs.h.  */
6177 +
6178 + int
6179 + main ()
6180 + {
6181 +
6182 +  ;
6183 +  return 0;
6184 + }
6185 + _ACEOF
6186 + if ac_fn_c_try_compile "$LINENO"; then :
6187 +  echo conftest.$ac_objext > conftest.lst
6188 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6189 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6190 +  (eval $lt_ar_try) 2>&5
6191 +  ac_status=$?
6192 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193 +  test $ac_status = 0; }
6194 +      if test "$ac_status" -eq 0; then
6195 +        # Ensure the archiver fails upon bogus file names.
6196 +        rm -f conftest.$ac_objext libconftest.a
6197 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6198 +  (eval $lt_ar_try) 2>&5
6199 +  ac_status=$?
6200 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6201 +  test $ac_status = 0; }
6202 +        if test "$ac_status" -ne 0; then
6203 +          lt_cv_ar_at_file=@
6204 +        fi
6205 +      fi
6206 +      rm -f conftest.* libconftest.a
6207 +
6208 + fi
6209 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 +
6211 + fi
6212 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6213 + $as_echo "$lt_cv_ar_at_file" >&6; }
6214 +
6215 + if test "x$lt_cv_ar_at_file" = xno; then
6216 +  archiver_list_spec=
6217 + else
6218 +  archiver_list_spec=$lt_cv_ar_at_file
6219 + fi
6220 +
6221 +
6222 +
6223 +
6224 +
6225  
6226  
6227   if test -n "$ac_tool_prefix"; then
# Line 5834 | Line 6229 | if test -n "$ac_tool_prefix"; then
6229   set dummy ${ac_tool_prefix}strip; ac_word=$2
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231   $as_echo_n "checking for $ac_word... " >&6; }
6232 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6232 > if ${ac_cv_prog_STRIP+:} false; then :
6233    $as_echo_n "(cached) " >&6
6234   else
6235    if test -n "$STRIP"; then
# Line 5846 | Line 6241 | do
6241    IFS=$as_save_IFS
6242    test -z "$as_dir" && as_dir=.
6243      for ac_exec_ext in '' $ac_executable_extensions; do
6244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247      break 2
# Line 5874 | Line 6269 | if test -z "$ac_cv_prog_STRIP"; then
6269   set dummy strip; ac_word=$2
6270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271   $as_echo_n "checking for $ac_word... " >&6; }
6272 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6272 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6273    $as_echo_n "(cached) " >&6
6274   else
6275    if test -n "$ac_ct_STRIP"; then
# Line 5886 | Line 6281 | do
6281    IFS=$as_save_IFS
6282    test -z "$as_dir" && as_dir=.
6283      for ac_exec_ext in '' $ac_executable_extensions; do
6284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285      ac_cv_prog_ac_ct_STRIP="strip"
6286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287      break 2
# Line 5933 | Line 6328 | if test -n "$ac_tool_prefix"; then
6328   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6331 > if ${ac_cv_prog_RANLIB+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$RANLIB"; then
# Line 5945 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5973 | Line 6368 | if test -z "$ac_cv_prog_RANLIB"; then
6368   set dummy ranlib; ac_word=$2
6369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370   $as_echo_n "checking for $ac_word... " >&6; }
6371 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6371 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6372    $as_echo_n "(cached) " >&6
6373   else
6374    if test -n "$ac_ct_RANLIB"; then
# Line 5985 | Line 6380 | do
6380    IFS=$as_save_IFS
6381    test -z "$as_dir" && as_dir=.
6382      for ac_exec_ext in '' $ac_executable_extensions; do
6383 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6384      ac_cv_prog_ac_ct_RANLIB="ranlib"
6385      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386      break 2
# Line 6035 | Line 6430 | old_postuninstall_cmds=
6430   if test -n "$RANLIB"; then
6431    case $host_os in
6432    openbsd*)
6433 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6433 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6434      ;;
6435    *)
6436 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6436 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6437      ;;
6438    esac
6439 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6439 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6440   fi
6441  
6442 + case $host_os in
6443 +  darwin*)
6444 +    lock_old_archive_extraction=yes ;;
6445 +  *)
6446 +    lock_old_archive_extraction=no ;;
6447 + esac
6448 +
6449 +
6450 +
6451 +
6452 +
6453 +
6454  
6455  
6456  
# Line 6090 | Line 6497 | compiler=$CC
6497   # Check for command to grab the raw symbol name followed by C symbol from nm.
6498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6499   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6500 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6500 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6501    $as_echo_n "(cached) " >&6
6502   else
6503  
# Line 6151 | Line 6558 | esac
6558   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6559  
6560   # Transform an extracted symbol line into symbol name and symbol address
6561 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6561 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6563  
6564   # Handle CRLF in mingw tool chain
6565   opt_cr=
# Line 6176 | Line 6583 | for ac_symprfx in "" "_"; do
6583      # which start with @ or ?.
6584      lt_cv_sys_global_symbol_pipe="$AWK '"\
6585   "     {last_section=section; section=\$ 3};"\
6586 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6587   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6588   "     \$ 0!~/External *\|/{next};"\
6589   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6188 | Line 6596 | for ac_symprfx in "" "_"; do
6596    else
6597      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6598    fi
6599 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6600  
6601    # Check to see that the pipe works correctly.
6602    pipe_works=no
# Line 6213 | Line 6622 | _LT_EOF
6622    test $ac_status = 0; }; then
6623      # Now try to grab the symbols.
6624      nlist=conftest.nm
6625 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6626 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6625 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6626 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6627    ac_status=$?
6628    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6638 | _LT_EOF
6638        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6639          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6640            cat <<_LT_EOF > conftest.$ac_ext
6641 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6642 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6643 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6644 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6645 + # define LT_DLSYM_CONST
6646 + #elif defined(__osf__)
6647 + /* This system does not cope well with relocations in const data.  */
6648 + # define LT_DLSYM_CONST
6649 + #else
6650 + # define LT_DLSYM_CONST const
6651 + #endif
6652 +
6653   #ifdef __cplusplus
6654   extern "C" {
6655   #endif
# Line 6240 | Line 6661 | _LT_EOF
6661            cat <<_LT_EOF >> conftest.$ac_ext
6662  
6663   /* The mapping between symbol names and symbols.  */
6664 < const struct {
6664 > LT_DLSYM_CONST struct {
6665    const char *name;
6666    void       *address;
6667   }
# Line 6266 | Line 6687 | static const void *lt_preloaded_setup()
6687   _LT_EOF
6688            # Now try linking the two files.
6689            mv conftest.$ac_objext conftstm.$ac_objext
6690 <          lt_save_LIBS="$LIBS"
6691 <          lt_save_CFLAGS="$CFLAGS"
6690 >          lt_globsym_save_LIBS=$LIBS
6691 >          lt_globsym_save_CFLAGS=$CFLAGS
6692            LIBS="conftstm.$ac_objext"
6693            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6694            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6277 | Line 6698 | _LT_EOF
6698    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6699              pipe_works=yes
6700            fi
6701 <          LIBS="$lt_save_LIBS"
6702 <          CFLAGS="$lt_save_CFLAGS"
6701 >          LIBS=$lt_globsym_save_LIBS
6702 >          CFLAGS=$lt_globsym_save_CFLAGS
6703          else
6704            echo "cannot find nm_test_func in $nlist" >&5
6705          fi
# Line 6315 | Line 6736 | else
6736   $as_echo "ok" >&6; }
6737   fi
6738  
6739 + # Response file support.
6740 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6741 +  nm_file_list_spec='@'
6742 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6743 +  nm_file_list_spec='@'
6744 + fi
6745 +
6746 +
6747 +
6748 +
6749 +
6750  
6751  
6752  
# Line 6336 | Line 6768 | fi
6768  
6769  
6770  
6771 +
6772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6773 + $as_echo_n "checking for sysroot... " >&6; }
6774 +
6775 + # Check whether --with-sysroot was given.
6776 + if test "${with_sysroot+set}" = set; then :
6777 +  withval=$with_sysroot;
6778 + else
6779 +  with_sysroot=no
6780 + fi
6781 +
6782 +
6783 + lt_sysroot=
6784 + case ${with_sysroot} in #(
6785 + yes)
6786 +   if test "$GCC" = yes; then
6787 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6788 +   fi
6789 +   ;; #(
6790 + /*)
6791 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6792 +   ;; #(
6793 + no|'')
6794 +   ;; #(
6795 + *)
6796 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6797 + $as_echo "${with_sysroot}" >&6; }
6798 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6799 +   ;;
6800 + esac
6801 +
6802 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6803 + $as_echo "${lt_sysroot:-no}" >&6; }
6804 +
6805 +
6806 +
6807 +
6808 +
6809   # Check whether --enable-libtool-lock was given.
6810   if test "${enable_libtool_lock+set}" = set; then :
6811    enableval=$enable_libtool_lock;
# Line 6367 | Line 6837 | ia64-*-hpux*)
6837    ;;
6838   *-*-irix6*)
6839    # Find out which ABI we are using.
6840 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6840 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6841    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6842    (eval $ac_compile) 2>&5
6843    ac_status=$?
# Line 6461 | Line 6931 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6931    CFLAGS="$CFLAGS -belf"
6932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6933   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6934 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6934 > if ${lt_cv_cc_needs_belf+:} false; then :
6935    $as_echo_n "(cached) " >&6
6936   else
6937    ac_ext=c
# Line 6502 | Line 6972 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6972      CFLAGS="$SAVE_CFLAGS"
6973    fi
6974    ;;
6975 < sparc*-*solaris*)
6975 > *-*solaris*)
6976    # Find out which ABI we are using.
6977    echo 'int i;' > conftest.$ac_ext
6978    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6513 | Line 6983 | sparc*-*solaris*)
6983      case `/usr/bin/file conftest.o` in
6984      *64-bit*)
6985        case $lt_cv_prog_gnu_ld in
6986 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6986 >      yes*)
6987 >        case $host in
6988 >        i?86-*-solaris*)
6989 >          LD="${LD-ld} -m elf_x86_64"
6990 >          ;;
6991 >        sparc*-*-solaris*)
6992 >          LD="${LD-ld} -m elf64_sparc"
6993 >          ;;
6994 >        esac
6995 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6996 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6997 >          LD="${LD-ld}_sol2"
6998 >        fi
6999 >        ;;
7000        *)
7001          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7002            LD="${LD-ld} -64"
# Line 6529 | Line 7012 | esac
7012  
7013   need_locks="$enable_libtool_lock"
7014  
7015 + if test -n "$ac_tool_prefix"; then
7016 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7017 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 + $as_echo_n "checking for $ac_word... " >&6; }
7020 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7021 +  $as_echo_n "(cached) " >&6
7022 + else
7023 +  if test -n "$MANIFEST_TOOL"; then
7024 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7025 + else
7026 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 + for as_dir in $PATH
7028 + do
7029 +  IFS=$as_save_IFS
7030 +  test -z "$as_dir" && as_dir=.
7031 +    for ac_exec_ext in '' $ac_executable_extensions; do
7032 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7034 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 +    break 2
7036 +  fi
7037 + done
7038 +  done
7039 + IFS=$as_save_IFS
7040 +
7041 + fi
7042 + fi
7043 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7044 + if test -n "$MANIFEST_TOOL"; then
7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7046 + $as_echo "$MANIFEST_TOOL" >&6; }
7047 + else
7048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 + $as_echo "no" >&6; }
7050 + fi
7051 +
7052 +
7053 + fi
7054 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7055 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7056 +  # Extract the first word of "mt", so it can be a program name with args.
7057 + set dummy mt; ac_word=$2
7058 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 + $as_echo_n "checking for $ac_word... " >&6; }
7060 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7061 +  $as_echo_n "(cached) " >&6
7062 + else
7063 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7064 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7065 + else
7066 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 + for as_dir in $PATH
7068 + do
7069 +  IFS=$as_save_IFS
7070 +  test -z "$as_dir" && as_dir=.
7071 +    for ac_exec_ext in '' $ac_executable_extensions; do
7072 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7074 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 +    break 2
7076 +  fi
7077 + done
7078 +  done
7079 + IFS=$as_save_IFS
7080 +
7081 + fi
7082 + fi
7083 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7084 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7085 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7086 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7087 + else
7088 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 + $as_echo "no" >&6; }
7090 + fi
7091 +
7092 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7093 +    MANIFEST_TOOL=":"
7094 +  else
7095 +    case $cross_compiling:$ac_tool_warned in
7096 + yes:)
7097 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 + ac_tool_warned=yes ;;
7100 + esac
7101 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7102 +  fi
7103 + else
7104 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7105 + fi
7106 +
7107 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7108 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7109 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7110 + if ${lt_cv_path_mainfest_tool+:} false; then :
7111 +  $as_echo_n "(cached) " >&6
7112 + else
7113 +  lt_cv_path_mainfest_tool=no
7114 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7115 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7116 +  cat conftest.err >&5
7117 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7118 +    lt_cv_path_mainfest_tool=yes
7119 +  fi
7120 +  rm -f conftest*
7121 + fi
7122 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7123 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7124 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7125 +  MANIFEST_TOOL=:
7126 + fi
7127 +
7128 +
7129 +
7130 +
7131 +
7132  
7133    case $host_os in
7134      rhapsody* | darwin*)
# Line 6537 | Line 7137 | need_locks="$enable_libtool_lock"
7137   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139   $as_echo_n "checking for $ac_word... " >&6; }
7140 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7140 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7141    $as_echo_n "(cached) " >&6
7142   else
7143    if test -n "$DSYMUTIL"; then
# Line 6549 | Line 7149 | do
7149    IFS=$as_save_IFS
7150    test -z "$as_dir" && as_dir=.
7151      for ac_exec_ext in '' $ac_executable_extensions; do
7152 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7154      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155      break 2
# Line 6577 | Line 7177 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7177   set dummy dsymutil; ac_word=$2
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179   $as_echo_n "checking for $ac_word... " >&6; }
7180 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7180 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7181    $as_echo_n "(cached) " >&6
7182   else
7183    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6589 | Line 7189 | do
7189    IFS=$as_save_IFS
7190    test -z "$as_dir" && as_dir=.
7191      for ac_exec_ext in '' $ac_executable_extensions; do
7192 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7192 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7194      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195      break 2
# Line 6629 | Line 7229 | fi
7229   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231   $as_echo_n "checking for $ac_word... " >&6; }
7232 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7232 > if ${ac_cv_prog_NMEDIT+:} false; then :
7233    $as_echo_n "(cached) " >&6
7234   else
7235    if test -n "$NMEDIT"; then
# Line 6641 | Line 7241 | do
7241    IFS=$as_save_IFS
7242    test -z "$as_dir" && as_dir=.
7243      for ac_exec_ext in '' $ac_executable_extensions; do
7244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247      break 2
# Line 6669 | Line 7269 | if test -z "$ac_cv_prog_NMEDIT"; then
7269   set dummy nmedit; ac_word=$2
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271   $as_echo_n "checking for $ac_word... " >&6; }
7272 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7272 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7273    $as_echo_n "(cached) " >&6
7274   else
7275    if test -n "$ac_ct_NMEDIT"; then
# Line 6681 | Line 7281 | do
7281    IFS=$as_save_IFS
7282    test -z "$as_dir" && as_dir=.
7283      for ac_exec_ext in '' $ac_executable_extensions; do
7284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287      break 2
# Line 6721 | Line 7321 | fi
7321   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323   $as_echo_n "checking for $ac_word... " >&6; }
7324 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7324 > if ${ac_cv_prog_LIPO+:} false; then :
7325    $as_echo_n "(cached) " >&6
7326   else
7327    if test -n "$LIPO"; then
# Line 6733 | Line 7333 | do
7333    IFS=$as_save_IFS
7334    test -z "$as_dir" && as_dir=.
7335      for ac_exec_ext in '' $ac_executable_extensions; do
7336 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339      break 2
# Line 6761 | Line 7361 | if test -z "$ac_cv_prog_LIPO"; then
7361   set dummy lipo; ac_word=$2
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363   $as_echo_n "checking for $ac_word... " >&6; }
7364 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7364 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7365    $as_echo_n "(cached) " >&6
7366   else
7367    if test -n "$ac_ct_LIPO"; then
# Line 6773 | Line 7373 | do
7373    IFS=$as_save_IFS
7374    test -z "$as_dir" && as_dir=.
7375      for ac_exec_ext in '' $ac_executable_extensions; do
7376 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377      ac_cv_prog_ac_ct_LIPO="lipo"
7378      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379      break 2
# Line 6813 | Line 7413 | fi
7413   set dummy ${ac_tool_prefix}otool; ac_word=$2
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415   $as_echo_n "checking for $ac_word... " >&6; }
7416 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7416 > if ${ac_cv_prog_OTOOL+:} false; then :
7417    $as_echo_n "(cached) " >&6
7418   else
7419    if test -n "$OTOOL"; then
# Line 6825 | Line 7425 | do
7425    IFS=$as_save_IFS
7426    test -z "$as_dir" && as_dir=.
7427      for ac_exec_ext in '' $ac_executable_extensions; do
7428 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7430      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431      break 2
# Line 6853 | Line 7453 | if test -z "$ac_cv_prog_OTOOL"; then
7453   set dummy otool; ac_word=$2
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455   $as_echo_n "checking for $ac_word... " >&6; }
7456 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7456 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7457    $as_echo_n "(cached) " >&6
7458   else
7459    if test -n "$ac_ct_OTOOL"; then
# Line 6865 | Line 7465 | do
7465    IFS=$as_save_IFS
7466    test -z "$as_dir" && as_dir=.
7467      for ac_exec_ext in '' $ac_executable_extensions; do
7468 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7469      ac_cv_prog_ac_ct_OTOOL="otool"
7470      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471      break 2
# Line 6905 | Line 7505 | fi
7505   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507   $as_echo_n "checking for $ac_word... " >&6; }
7508 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7508 > if ${ac_cv_prog_OTOOL64+:} false; then :
7509    $as_echo_n "(cached) " >&6
7510   else
7511    if test -n "$OTOOL64"; then
# Line 6917 | Line 7517 | do
7517    IFS=$as_save_IFS
7518    test -z "$as_dir" && as_dir=.
7519      for ac_exec_ext in '' $ac_executable_extensions; do
7520 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7522      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523      break 2
# Line 6945 | Line 7545 | if test -z "$ac_cv_prog_OTOOL64"; then
7545   set dummy otool64; ac_word=$2
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547   $as_echo_n "checking for $ac_word... " >&6; }
7548 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7548 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7549    $as_echo_n "(cached) " >&6
7550   else
7551    if test -n "$ac_ct_OTOOL64"; then
# Line 6957 | Line 7557 | do
7557    IFS=$as_save_IFS
7558    test -z "$as_dir" && as_dir=.
7559      for ac_exec_ext in '' $ac_executable_extensions; do
7560 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561      ac_cv_prog_ac_ct_OTOOL64="otool64"
7562      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563      break 2
# Line 7020 | Line 7620 | fi
7620  
7621      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7622   $as_echo_n "checking for -single_module linker flag... " >&6; }
7623 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7623 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7624    $as_echo_n "(cached) " >&6
7625   else
7626    lt_cv_apple_cc_single_mod=no
# Line 7036 | Line 7636 | else
7636          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7637            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7638          _lt_result=$?
7639 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7639 >        # If there is a non-empty error log, and "single_module"
7640 >        # appears in it, assume the flag caused a linker warning
7641 >        if test -s conftest.err && $GREP single_module conftest.err; then
7642 >          cat conftest.err >&5
7643 >        # Otherwise, if the output was created with a 0 exit code from
7644 >        # the compiler, it worked.
7645 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7646            lt_cv_apple_cc_single_mod=yes
7647          else
7648            cat conftest.err >&5
# Line 7047 | Line 7653 | else
7653   fi
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7655   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7656 +
7657      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7658   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7659 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7659 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7660    $as_echo_n "(cached) " >&6
7661   else
7662    lt_cv_ld_exported_symbols_list=no
# Line 7079 | Line 7686 | rm -f core conftest.err conftest.$ac_obj
7686   fi
7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7688   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7689 +
7690 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7691 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7692 + if ${lt_cv_ld_force_load+:} false; then :
7693 +  $as_echo_n "(cached) " >&6
7694 + else
7695 +  lt_cv_ld_force_load=no
7696 +      cat > conftest.c << _LT_EOF
7697 + int forced_loaded() { return 2;}
7698 + _LT_EOF
7699 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7700 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7701 +      echo "$AR cru libconftest.a conftest.o" >&5
7702 +      $AR cru libconftest.a conftest.o 2>&5
7703 +      echo "$RANLIB libconftest.a" >&5
7704 +      $RANLIB libconftest.a 2>&5
7705 +      cat > conftest.c << _LT_EOF
7706 + int main() { return 0;}
7707 + _LT_EOF
7708 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7709 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7710 +      _lt_result=$?
7711 +      if test -s conftest.err && $GREP force_load conftest.err; then
7712 +        cat conftest.err >&5
7713 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7714 +        lt_cv_ld_force_load=yes
7715 +      else
7716 +        cat conftest.err >&5
7717 +      fi
7718 +        rm -f conftest.err libconftest.a conftest conftest.c
7719 +        rm -rf conftest.dSYM
7720 +
7721 + fi
7722 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7723 + $as_echo "$lt_cv_ld_force_load" >&6; }
7724      case $host_os in
7725      rhapsody* | darwin1.[012])
7726        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7106 | Line 7748 | $as_echo "$lt_cv_ld_exported_symbols_lis
7748      else
7749        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7750      fi
7751 <    if test "$DSYMUTIL" != ":"; then
7751 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7752        _lt_dsymutil='~$DSYMUTIL $lib || :'
7753      else
7754        _lt_dsymutil=
# Line 7126 | Line 7768 | if test -n "$CPP" && test -d "$CPP"; the
7768    CPP=
7769   fi
7770   if test -z "$CPP"; then
7771 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7771 >  if ${ac_cv_prog_CPP+:} false; then :
7772    $as_echo_n "(cached) " >&6
7773   else
7774        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7798 | else
7798    # Broken: fails on valid input.
7799   continue
7800   fi
7801 < rm -f conftest.err conftest.$ac_ext
7801 > rm -f conftest.err conftest.i conftest.$ac_ext
7802  
7803    # OK, works on sane cases.  Now check whether nonexistent headers
7804    # can be detected and how.
# Line 7172 | Line 7814 | else
7814   ac_preproc_ok=:
7815   break
7816   fi
7817 < rm -f conftest.err conftest.$ac_ext
7817 > rm -f conftest.err conftest.i conftest.$ac_ext
7818  
7819   done
7820   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7821 < rm -f conftest.err conftest.$ac_ext
7821 > rm -f conftest.i conftest.err conftest.$ac_ext
7822   if $ac_preproc_ok; then :
7823    break
7824   fi
# Line 7215 | Line 7857 | else
7857    # Broken: fails on valid input.
7858   continue
7859   fi
7860 < rm -f conftest.err conftest.$ac_ext
7860 > rm -f conftest.err conftest.i conftest.$ac_ext
7861  
7862    # OK, works on sane cases.  Now check whether nonexistent headers
7863    # can be detected and how.
# Line 7231 | Line 7873 | else
7873   ac_preproc_ok=:
7874   break
7875   fi
7876 < rm -f conftest.err conftest.$ac_ext
7876 > rm -f conftest.err conftest.i conftest.$ac_ext
7877  
7878   done
7879   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7880 < rm -f conftest.err conftest.$ac_ext
7880 > rm -f conftest.i conftest.err conftest.$ac_ext
7881   if $ac_preproc_ok; then :
7882  
7883   else
7884    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7885   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7886 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7887 < See \`config.log' for more details." "$LINENO" 5; }
7886 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7887 > See \`config.log' for more details" "$LINENO" 5; }
7888   fi
7889  
7890   ac_ext=c
# Line 7254 | Line 7896 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7896  
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7898   $as_echo_n "checking for ANSI C header files... " >&6; }
7899 < if test "${ac_cv_header_stdc+set}" = set; then :
7899 > if ${ac_cv_header_stdc+:} false; then :
7900    $as_echo_n "(cached) " >&6
7901   else
7902    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 8013 | do :
8013    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8014   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8015   "
8016 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
8016 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8017    cat >>confdefs.h <<_ACEOF
8018   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8019   _ACEOF
# Line 7386 | Line 8027 | for ac_header in dlfcn.h
8027   do :
8028    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8029   "
8030 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8031    cat >>confdefs.h <<_ACEOF
8032   #define HAVE_DLFCN_H 1
8033   _ACEOF
# Line 7397 | Line 8038 | done
8038  
8039  
8040  
8041 +
8042 +
8043   # Set options
8044   enable_dlopen=yes
8045   # Check whether --enable-static was given.
# Line 7470 | Line 8113 | fi
8113  
8114   # Check whether --with-pic was given.
8115   if test "${with_pic+set}" = set; then :
8116 <  withval=$with_pic; pic_mode="$withval"
8116 >  withval=$with_pic; lt_p=${PACKAGE-default}
8117 >    case $withval in
8118 >    yes|no) pic_mode=$withval ;;
8119 >    *)
8120 >      pic_mode=default
8121 >      # Look at the argument we got.  We use all the common list separators.
8122 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8123 >      for lt_pkg in $withval; do
8124 >        IFS="$lt_save_ifs"
8125 >        if test "X$lt_pkg" = "X$lt_p"; then
8126 >          pic_mode=yes
8127 >        fi
8128 >      done
8129 >      IFS="$lt_save_ifs"
8130 >      ;;
8131 >    esac
8132   else
8133    pic_mode=default
8134   fi
# Line 7547 | Line 8205 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8205  
8206  
8207  
8208 +
8209 +
8210 +
8211 +
8212 +
8213   test -z "$LN_S" && LN_S="ln -s"
8214  
8215  
# Line 7568 | Line 8231 | fi
8231  
8232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8233   $as_echo_n "checking for objdir... " >&6; }
8234 < if test "${lt_cv_objdir+set}" = set; then :
8234 > if ${lt_cv_objdir+:} false; then :
8235    $as_echo_n "(cached) " >&6
8236   else
8237    rm -f .libs 2>/dev/null
# Line 7596 | Line 8259 | _ACEOF
8259  
8260  
8261  
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
8262   case $host_os in
8263   aix3*)
8264    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7621 | Line 8271 | aix3*)
8271    ;;
8272   esac
8273  
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
8274   # Global variables:
8275   ofile=libtool
8276   can_build_shared=yes
# Line 7666 | Line 8299 | for cc_temp in $compiler""; do
8299      *) break;;
8300    esac
8301   done
8302 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8302 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8303  
8304  
8305   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8309 | file_magic*)
8309    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8310      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8311   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8312 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8312 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8313    $as_echo_n "(cached) " >&6
8314   else
8315    case $MAGIC_CMD in
# Line 7742 | Line 8375 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8375    if test -n "$ac_tool_prefix"; then
8376      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8377   $as_echo_n "checking for file... " >&6; }
8378 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8378 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8379    $as_echo_n "(cached) " >&6
8380   else
8381    case $MAGIC_CMD in
# Line 7866 | Line 8499 | _lt_linker_boilerplate=`cat conftest.err
8499   $RM -r conftest*
8500  
8501  
8502 + ## CAVEAT EMPTOR:
8503 + ## There is no encapsulation within the following macros, do not change
8504 + ## the running order or otherwise move them around unless you know exactly
8505 + ## what you are doing...
8506   if test -n "$compiler"; then
8507  
8508   lt_prog_compiler_no_builtin_flag=
8509  
8510   if test "$GCC" = yes; then
8511 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8511 >  case $cc_basename in
8512 >  nvcc*)
8513 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8514 >  *)
8515 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8516 >  esac
8517  
8518    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8519   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8520 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8520 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8521    $as_echo_n "(cached) " >&6
8522   else
8523    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7891 | Line 8533 | else
8533     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8534     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8535     -e 's:$: $lt_compiler_flag:'`
8536 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8536 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8537     (eval "$lt_compile" 2>conftest.err)
8538     ac_status=$?
8539     cat conftest.err >&5
8540 <   echo "$as_me:7898: \$? = $ac_status" >&5
8540 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541     if (exit $ac_status) && test -s "$ac_outfile"; then
8542       # The compiler can only warn and ignore the option if not recognized
8543       # So say no if there are warnings other than the usual output.
8544 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8544 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8545       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8546       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8547         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7928 | Line 8570 | fi
8570   lt_prog_compiler_pic=
8571   lt_prog_compiler_static=
8572  
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; }
8573  
8574    if test "$GCC" = yes; then
8575      lt_prog_compiler_wl='-Wl,'
# Line 7977 | Line 8617 | $as_echo_n "checking for $compiler optio
8617        lt_prog_compiler_pic='-fno-common'
8618        ;;
8619  
8620 +    haiku*)
8621 +      # PIC is the default for Haiku.
8622 +      # The "-static" flag exists, but is broken.
8623 +      lt_prog_compiler_static=
8624 +      ;;
8625 +
8626      hpux*)
8627        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8628        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8665 | $as_echo_n "checking for $compiler optio
8665        lt_prog_compiler_pic='-fPIC'
8666        ;;
8667      esac
8668 +
8669 +    case $cc_basename in
8670 +    nvcc*) # Cuda Compiler Driver 2.2
8671 +      lt_prog_compiler_wl='-Xlinker '
8672 +      if test -n "$lt_prog_compiler_pic"; then
8673 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8674 +      fi
8675 +      ;;
8676 +    esac
8677    else
8678      # PORTME Check for flag to pass linker flags through the system compiler.
8679      case $host_os in
# Line 8060 | Line 8715 | $as_echo_n "checking for $compiler optio
8715        lt_prog_compiler_static='-non_shared'
8716        ;;
8717  
8718 <    linux* | k*bsd*-gnu)
8718 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8719        case $cc_basename in
8720        # old Intel for x86_64 which still supported -KPIC.
8721        ecc*)
# Line 8081 | Line 8736 | $as_echo_n "checking for $compiler optio
8736          lt_prog_compiler_pic='--shared'
8737          lt_prog_compiler_static='--static'
8738          ;;
8739 <      pgcc* | pgf77* | pgf90* | pgf95*)
8739 >      nagfor*)
8740 >        # NAG Fortran compiler
8741 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8742 >        lt_prog_compiler_pic='-PIC'
8743 >        lt_prog_compiler_static='-Bstatic'
8744 >        ;;
8745 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8746          # Portland Group compilers (*not* the Pentium gcc compiler,
8747          # which looks to be a dead project)
8748          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8754 | $as_echo_n "checking for $compiler optio
8754          # All Alpha code is PIC.
8755          lt_prog_compiler_static='-non_shared'
8756          ;;
8757 <      xl*)
8758 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8757 >      xl* | bgxl* | bgf* | mpixl*)
8758 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8759          lt_prog_compiler_wl='-Wl,'
8760          lt_prog_compiler_pic='-qpic'
8761          lt_prog_compiler_static='-qstaticlink'
8762          ;;
8763        *)
8764          case `$CC -V 2>&1 | sed 5q` in
8765 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8766 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8767 +          lt_prog_compiler_pic='-KPIC'
8768 +          lt_prog_compiler_static='-Bstatic'
8769 +          lt_prog_compiler_wl=''
8770 +          ;;
8771 +        *Sun\ F* | *Sun*Fortran*)
8772 +          lt_prog_compiler_pic='-KPIC'
8773 +          lt_prog_compiler_static='-Bstatic'
8774 +          lt_prog_compiler_wl='-Qoption ld '
8775 +          ;;
8776          *Sun\ C*)
8777            # Sun C 5.9
8778            lt_prog_compiler_pic='-KPIC'
8779            lt_prog_compiler_static='-Bstatic'
8780            lt_prog_compiler_wl='-Wl,'
8781            ;;
8782 <        *Sun\ F*)
8783 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8784 <          lt_prog_compiler_pic='-KPIC'
8782 >        *Intel*\ [CF]*Compiler*)
8783 >          lt_prog_compiler_wl='-Wl,'
8784 >          lt_prog_compiler_pic='-fPIC'
8785 >          lt_prog_compiler_static='-static'
8786 >          ;;
8787 >        *Portland\ Group*)
8788 >          lt_prog_compiler_wl='-Wl,'
8789 >          lt_prog_compiler_pic='-fpic'
8790            lt_prog_compiler_static='-Bstatic'
8114          lt_prog_compiler_wl=''
8791            ;;
8792          esac
8793          ;;
# Line 8143 | Line 8819 | $as_echo_n "checking for $compiler optio
8819        lt_prog_compiler_pic='-KPIC'
8820        lt_prog_compiler_static='-Bstatic'
8821        case $cc_basename in
8822 <      f77* | f90* | f95*)
8822 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8823          lt_prog_compiler_wl='-Qoption ld ';;
8824        *)
8825          lt_prog_compiler_wl='-Wl,';;
# Line 8200 | Line 8876 | case $host_os in
8876      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8877      ;;
8878   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
8879  
8880 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8881 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8882 + if ${lt_cv_prog_compiler_pic+:} false; then :
8883 +  $as_echo_n "(cached) " >&6
8884 + else
8885 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8886 + fi
8887 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8888 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8889 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8890  
8891   #
8892   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 8894 | $as_echo "$lt_prog_compiler_pic" >&6; }
8894   if test -n "$lt_prog_compiler_pic"; then
8895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8896   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8897 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8897 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8898    $as_echo_n "(cached) " >&6
8899   else
8900    lt_cv_prog_compiler_pic_works=no
# Line 8230 | Line 8910 | else
8910     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8911     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8912     -e 's:$: $lt_compiler_flag:'`
8913 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8913 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8914     (eval "$lt_compile" 2>conftest.err)
8915     ac_status=$?
8916     cat conftest.err >&5
8917 <   echo "$as_me:8237: \$? = $ac_status" >&5
8917 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918     if (exit $ac_status) && test -s "$ac_outfile"; then
8919       # The compiler can only warn and ignore the option if not recognized
8920       # So say no if there are warnings other than the usual output.
8921 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8921 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8922       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8923       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8924         lt_cv_prog_compiler_pic_works=yes
# Line 8267 | Line 8947 | fi
8947  
8948  
8949  
8950 +
8951 +
8952 +
8953 +
8954 +
8955   #
8956   # Check to make sure the static flag actually works.
8957   #
8958   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8960   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8961 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8961 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8962    $as_echo_n "(cached) " >&6
8963   else
8964    lt_cv_prog_compiler_static_works=no
# Line 8286 | Line 8971 | else
8971       if test -s conftest.err; then
8972         # Append any errors to the config.log.
8973         cat conftest.err 1>&5
8974 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8974 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8975         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8976         if diff conftest.exp conftest.er2 >/dev/null; then
8977           lt_cv_prog_compiler_static_works=yes
# Line 8316 | Line 9001 | fi
9001  
9002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9003   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9004 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9005    $as_echo_n "(cached) " >&6
9006   else
9007    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 9020 | else
9020     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022     -e 's:$: $lt_compiler_flag:'`
9023 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
9023 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9024     (eval "$lt_compile" 2>out/conftest.err)
9025     ac_status=$?
9026     cat out/conftest.err >&5
9027 <   echo "$as_me:8342: \$? = $ac_status" >&5
9027 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9029     then
9030       # The compiler can only warn and ignore the option if not recognized
9031       # So say no if there are warnings
9032 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9032 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9033       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9034       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9035         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 9056 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9056  
9057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9058   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9059 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9059 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9060    $as_echo_n "(cached) " >&6
9061   else
9062    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 9075 | else
9075     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077     -e 's:$: $lt_compiler_flag:'`
9078 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
9078 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9079     (eval "$lt_compile" 2>out/conftest.err)
9080     ac_status=$?
9081     cat out/conftest.err >&5
9082 <   echo "$as_me:8397: \$? = $ac_status" >&5
9082 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9084     then
9085       # The compiler can only warn and ignore the option if not recognized
9086       # So say no if there are warnings
9087 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9087 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9088       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9089       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9090         lt_cv_prog_compiler_c_o=yes
# Line 8465 | Line 9150 | $as_echo_n "checking whether the $compil
9150    hardcode_direct=no
9151    hardcode_direct_absolute=no
9152    hardcode_libdir_flag_spec=
8468  hardcode_libdir_flag_spec_ld=
9153    hardcode_libdir_separator=
9154    hardcode_minus_L=no
9155    hardcode_shlibpath_var=unsupported
# Line 8512 | Line 9196 | $as_echo_n "checking whether the $compil
9196    esac
9197  
9198    ld_shlibs=yes
9199 +
9200 +  # On some targets, GNU ld is compatible enough with the native linker
9201 +  # that we're better off using the native interface for both.
9202 +  lt_use_gnu_ld_interface=no
9203    if test "$with_gnu_ld" = yes; then
9204 +    case $host_os in
9205 +      aix*)
9206 +        # The AIX port of GNU ld has always aspired to compatibility
9207 +        # with the native linker.  However, as the warning in the GNU ld
9208 +        # block says, versions before 2.19.5* couldn't really create working
9209 +        # shared libraries, regardless of the interface used.
9210 +        case `$LD -v 2>&1` in
9211 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9212 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9213 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9214 +          *)
9215 +            lt_use_gnu_ld_interface=yes
9216 +            ;;
9217 +        esac
9218 +        ;;
9219 +      *)
9220 +        lt_use_gnu_ld_interface=yes
9221 +        ;;
9222 +    esac
9223 +  fi
9224 +
9225 +  if test "$lt_use_gnu_ld_interface" = yes; then
9226      # If archive_cmds runs LD, not CC, wlarc should be empty
9227      wlarc='${wl}'
9228  
# Line 8530 | Line 9240 | $as_echo_n "checking whether the $compil
9240      fi
9241      supports_anon_versioning=no
9242      case `$LD -v 2>&1` in
9243 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9244        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9245        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9246        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8545 | Line 9256 | $as_echo_n "checking whether the $compil
9256          ld_shlibs=no
9257          cat <<_LT_EOF 1>&2
9258  
9259 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9259 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9260   *** to be unable to reliably create shared libraries on AIX.
9261   *** Therefore, libtool is disabling shared libraries support.  If you
9262 < *** really care for shared libraries, you may want to modify your PATH
9263 < *** so that a non-GNU linker is found, and then restart.
9262 > *** really care for shared libraries, you may want to install binutils
9263 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9264 > *** You will then need to restart the configuration process.
9265  
9266   _LT_EOF
9267        fi
# Line 8585 | Line 9297 | _LT_EOF
9297        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9298        # as there is no search path for DLLs.
9299        hardcode_libdir_flag_spec='-L$libdir'
9300 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9301        allow_undefined_flag=unsupported
9302        always_export_symbols=no
9303        enable_shared_with_static_runtimes=yes
9304 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9304 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9305 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9306  
9307        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9308          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8606 | Line 9320 | _LT_EOF
9320        fi
9321        ;;
9322  
9323 +    haiku*)
9324 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 +      link_all_deplibs=yes
9326 +      ;;
9327 +
9328      interix[3-9]*)
9329        hardcode_direct=no
9330        hardcode_shlibpath_var=no
# Line 8621 | Line 9340 | _LT_EOF
9340        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9341        ;;
9342  
9343 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9343 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9344        tmp_diet=no
9345        if test "$host_os" = linux-dietlibc; then
9346          case $cc_basename in
# Line 8631 | Line 9350 | _LT_EOF
9350        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9351           && test "$tmp_diet" = no
9352        then
9353 <        tmp_addflag=
9353 >        tmp_addflag=' $pic_flag'
9354          tmp_sharedflag='-shared'
9355          case $cc_basename,$host_cpu in
9356          pgcc*)                          # Portland Group C compiler
9357 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9357 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9358            tmp_addflag=' $pic_flag'
9359            ;;
9360 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9361 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9360 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9361 >                                        # Portland Group f77 and f90 compilers
9362 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9363            tmp_addflag=' $pic_flag -Mnomain' ;;
9364          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9365            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9370 | _LT_EOF
9370          lf95*)                          # Lahey Fortran 8.1
9371            whole_archive_flag_spec=
9372            tmp_sharedflag='--shared' ;;
9373 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9373 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9374            tmp_sharedflag='-qmkshrobj'
9375            tmp_addflag= ;;
9376 +        nvcc*)  # Cuda Compiler Driver 2.2
9377 +          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9378 +          compiler_needs_object=yes
9379 +          ;;
9380          esac
9381          case `$CC -V 2>&1 | sed 5q` in
9382          *Sun\ C*)                       # Sun C 5.9
9383 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9383 >          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9384            compiler_needs_object=yes
9385            tmp_sharedflag='-G' ;;
9386          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8672 | Line 9396 | _LT_EOF
9396          fi
9397  
9398          case $cc_basename in
9399 <        xlf*)
9399 >        xlf* | bgf* | bgxlf* | mpixlf*)
9400            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9401            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9402 <          hardcode_libdir_flag_spec=
9403 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8680 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9402 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9403 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9404            if test "x$supports_anon_versioning" = xyes; then
9405              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9406                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9407                echo "local: *; };" >> $output_objdir/$libname.ver~
9408 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9408 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9409            fi
9410            ;;
9411          esac
# Line 8696 | Line 9419 | _LT_EOF
9419          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9420          wlarc=
9421        else
9422 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424        fi
9425        ;;
9426  
# Line 8715 | Line 9438 | _LT_EOF
9438  
9439   _LT_EOF
9440        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443        else
9444          ld_shlibs=no
9445        fi
# Line 8762 | Line 9485 | _LT_EOF
9485  
9486      *)
9487        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9488 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9490        else
9491          ld_shlibs=no
9492        fi
# Line 8803 | Line 9526 | _LT_EOF
9526        else
9527          # If we're using GNU nm, then we don't want the "-C" option.
9528          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9529 +        # Also, AIX nm treats weak defined symbols like other global
9530 +        # defined symbols, whereas GNU nm marks them as "W".
9531          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9532 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9532 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9533          else
9534            export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9535          fi
# Line 8866 | Line 9591 | _LT_EOF
9591          if test "$aix_use_runtimelinking" = yes; then
9592            shared_flag="$shared_flag "'${wl}-G'
9593          fi
8869        link_all_deplibs=no
9594        else
9595          # not using gcc
9596          if test "$host_cpu" = ia64; then
# Line 8892 | Line 9616 | _LT_EOF
9616          allow_undefined_flag='-berok'
9617          # Determine the default libpath from the value encoded in an
9618          # empty executable.
9619 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 >        if test "${lt_cv_aix_libpath+set}" = set; then
9620 >  aix_libpath=$lt_cv_aix_libpath
9621 > else
9622 >  if ${lt_cv_aix_libpath_+:} false; then :
9623 >  $as_echo_n "(cached) " >&6
9624 > else
9625 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626   /* end confdefs.h.  */
9627  
9628   int
# Line 8905 | Line 9635 | main ()
9635   _ACEOF
9636   if ac_fn_c_try_link "$LINENO"; then :
9637  
9638 < lt_aix_libpath_sed='
9639 <    /Import File Strings/,/^$/ {
9640 <        /^0/ {
9641 <            s/^0  *\(.*\)$/\1/
9642 <            p
9643 <        }
9644 <    }'
9645 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 < # Check for a 64-bit object if we didn't find anything.
9647 < if test -z "$aix_libpath"; then
9648 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 < fi
9638 >  lt_aix_libpath_sed='
9639 >      /Import File Strings/,/^$/ {
9640 >          /^0/ {
9641 >              s/^0  *\([^ ]*\) *$/\1/
9642 >              p
9643 >          }
9644 >      }'
9645 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 >  # Check for a 64-bit object if we didn't find anything.
9647 >  if test -z "$lt_cv_aix_libpath_"; then
9648 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 >  fi
9650   fi
9651   rm -f core conftest.err conftest.$ac_objext \
9652      conftest$ac_exeext conftest.$ac_ext
9653 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9653 >  if test -z "$lt_cv_aix_libpath_"; then
9654 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9655 >  fi
9656 >
9657 > fi
9658 >
9659 >  aix_libpath=$lt_cv_aix_libpath_
9660 > fi
9661  
9662          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9663 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9664        else
9665          if test "$host_cpu" = ia64; then
9666            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 9669 | if test -z "$aix_libpath"; then aix_libp
9669          else
9670           # Determine the default libpath from the value encoded in an
9671           # empty executable.
9672 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 >         if test "${lt_cv_aix_libpath+set}" = set; then
9673 >  aix_libpath=$lt_cv_aix_libpath
9674 > else
9675 >  if ${lt_cv_aix_libpath_+:} false; then :
9676 >  $as_echo_n "(cached) " >&6
9677 > else
9678 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679   /* end confdefs.h.  */
9680  
9681   int
# Line 8945 | Line 9688 | main ()
9688   _ACEOF
9689   if ac_fn_c_try_link "$LINENO"; then :
9690  
9691 < lt_aix_libpath_sed='
9692 <    /Import File Strings/,/^$/ {
9693 <        /^0/ {
9694 <            s/^0  *\(.*\)$/\1/
9695 <            p
9696 <        }
9697 <    }'
9698 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 < # Check for a 64-bit object if we didn't find anything.
9700 < if test -z "$aix_libpath"; then
9701 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 < fi
9691 >  lt_aix_libpath_sed='
9692 >      /Import File Strings/,/^$/ {
9693 >          /^0/ {
9694 >              s/^0  *\([^ ]*\) *$/\1/
9695 >              p
9696 >          }
9697 >      }'
9698 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 >  # Check for a 64-bit object if we didn't find anything.
9700 >  if test -z "$lt_cv_aix_libpath_"; then
9701 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 >  fi
9703   fi
9704   rm -f core conftest.err conftest.$ac_objext \
9705      conftest$ac_exeext conftest.$ac_ext
9706 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9708 >  fi
9709 >
9710 > fi
9711 >
9712 >  aix_libpath=$lt_cv_aix_libpath_
9713 > fi
9714  
9715           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716            # Warning - without using the other run time loading flags,
9717            # -berok will link without error, but may produce a broken library.
9718            no_undefined_flag=' ${wl}-bernotok'
9719            allow_undefined_flag=' ${wl}-berok'
9720 <          # Exported symbols can be pulled into shared objects from archives
9721 <          whole_archive_flag_spec='$convenience'
9720 >          if test "$with_gnu_ld" = yes; then
9721 >            # We only use this code for GNU lds that support --whole-archive.
9722 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9723 >          else
9724 >            # Exported symbols can be pulled into shared objects from archives
9725 >            whole_archive_flag_spec='$convenience'
9726 >          fi
9727            archive_cmds_need_lc=yes
9728            # This is similar to how AIX traditionally builds its shared libraries.
9729            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 9000 | Line 9755 | if test -z "$aix_libpath"; then aix_libp
9755        # Microsoft Visual C++.
9756        # hardcode_libdir_flag_spec is actually meaningless, as there is
9757        # no search path for DLLs.
9758 <      hardcode_libdir_flag_spec=' '
9759 <      allow_undefined_flag=unsupported
9760 <      # Tell ltmain to make .lib files, not .a files.
9761 <      libext=lib
9762 <      # Tell ltmain to make .dll files, not .so files.
9763 <      shrext_cmds=".dll"
9764 <      # FIXME: Setting linknames here is a bad hack.
9765 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9766 <      # The linker will automatically build a .lib file if we build a DLL.
9767 <      old_archive_from_new_cmds='true'
9768 <      # FIXME: Should let the user specify the lib program.
9769 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9771 <      enable_shared_with_static_runtimes=yes
9758 >      case $cc_basename in
9759 >      cl*)
9760 >        # Native MSVC
9761 >        hardcode_libdir_flag_spec=' '
9762 >        allow_undefined_flag=unsupported
9763 >        always_export_symbols=yes
9764 >        file_list_spec='@'
9765 >        # Tell ltmain to make .lib files, not .a files.
9766 >        libext=lib
9767 >        # Tell ltmain to make .dll files, not .so files.
9768 >        shrext_cmds=".dll"
9769 >        # FIXME: Setting linknames here is a bad hack.
9770 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9771 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9772 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9773 >          else
9774 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9775 >          fi~
9776 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9777 >          linknames='
9778 >        # The linker will not automatically build a static lib if we build a DLL.
9779 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9780 >        enable_shared_with_static_runtimes=yes
9781 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9782 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9783 >        # Don't use ranlib
9784 >        old_postinstall_cmds='chmod 644 $oldlib'
9785 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9786 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9787 >          case $lt_outputfile in
9788 >            *.exe|*.EXE) ;;
9789 >            *)
9790 >              lt_outputfile="$lt_outputfile.exe"
9791 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9792 >              ;;
9793 >          esac~
9794 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9795 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9796 >            $RM "$lt_outputfile.manifest";
9797 >          fi'
9798 >        ;;
9799 >      *)
9800 >        # Assume MSVC wrapper
9801 >        hardcode_libdir_flag_spec=' '
9802 >        allow_undefined_flag=unsupported
9803 >        # Tell ltmain to make .lib files, not .a files.
9804 >        libext=lib
9805 >        # Tell ltmain to make .dll files, not .so files.
9806 >        shrext_cmds=".dll"
9807 >        # FIXME: Setting linknames here is a bad hack.
9808 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9809 >        # The linker will automatically build a .lib file if we build a DLL.
9810 >        old_archive_from_new_cmds='true'
9811 >        # FIXME: Should let the user specify the lib program.
9812 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9813 >        enable_shared_with_static_runtimes=yes
9814 >        ;;
9815 >      esac
9816        ;;
9817  
9818      darwin* | rhapsody*)
# Line 9023 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822    hardcode_direct=no
9823    hardcode_automatic=yes
9824    hardcode_shlibpath_var=unsupported
9825 <  whole_archive_flag_spec=''
9825 >  if test "$lt_cv_ld_force_load" = "yes"; then
9826 >    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9827 >
9828 >  else
9829 >    whole_archive_flag_spec=''
9830 >  fi
9831    link_all_deplibs=yes
9832    allow_undefined_flag="$_lt_dar_allow_undefined"
9833    case $cc_basename in
# Line 9031 | Line 9835 | if test -z "$aix_libpath"; then aix_libp
9835       *) _lt_dar_can_shared=$GCC ;;
9836    esac
9837    if test "$_lt_dar_can_shared" = "yes"; then
9838 <    output_verbose_link_cmd=echo
9838 >    output_verbose_link_cmd=func_echo_all
9839      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9840      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9841      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9049 | Line 9853 | if test -z "$aix_libpath"; then aix_libp
9853        hardcode_shlibpath_var=no
9854        ;;
9855  
9052    freebsd1*)
9053      ld_shlibs=no
9054      ;;
9055
9856      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9857      # support.  Future versions do this automatically, but an explicit c++rt0.o
9858      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 9865 | if test -z "$aix_libpath"; then aix_libp
9865        ;;
9866  
9867      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9868 <    freebsd2*)
9868 >    freebsd2.*)
9869        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9870        hardcode_direct=yes
9871        hardcode_minus_L=yes
# Line 9074 | Line 9874 | if test -z "$aix_libpath"; then aix_libp
9874  
9875      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9876      freebsd* | dragonfly*)
9877 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9877 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9878        hardcode_libdir_flag_spec='-R$libdir'
9879        hardcode_direct=yes
9880        hardcode_shlibpath_var=no
# Line 9082 | Line 9882 | if test -z "$aix_libpath"; then aix_libp
9882  
9883      hpux9*)
9884        if test "$GCC" = yes; then
9885 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9885 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9886        else
9887          archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9888        fi
# Line 9097 | Line 9897 | if test -z "$aix_libpath"; then aix_libp
9897        ;;
9898  
9899      hpux10*)
9900 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9901 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9900 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9901 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9902        else
9903          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9904        fi
9905        if test "$with_gnu_ld" = no; then
9906          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107        hardcode_libdir_flag_spec_ld='+b $libdir'
9907          hardcode_libdir_separator=:
9908          hardcode_direct=yes
9909          hardcode_direct_absolute=yes
# Line 9116 | Line 9915 | if test -z "$aix_libpath"; then aix_libp
9915        ;;
9916  
9917      hpux11*)
9918 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9918 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9919          case $host_cpu in
9920          hppa*64*)
9921            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9922            ;;
9923          ia64*)
9924 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9924 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9925            ;;
9926          *)
9927 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9928            ;;
9929          esac
9930        else
# Line 9137 | Line 9936 | if test -z "$aix_libpath"; then aix_libp
9936            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9937            ;;
9938          *)
9939 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 >
9940 >          # Older versions of the 11.00 compiler do not understand -b yet
9941 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9942 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9943 > $as_echo_n "checking if $CC understands -b... " >&6; }
9944 > if ${lt_cv_prog_compiler__b+:} false; then :
9945 >  $as_echo_n "(cached) " >&6
9946 > else
9947 >  lt_cv_prog_compiler__b=no
9948 >   save_LDFLAGS="$LDFLAGS"
9949 >   LDFLAGS="$LDFLAGS -b"
9950 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9951 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9952 >     # The linker can only warn and ignore the option if not recognized
9953 >     # So say no if there are warnings
9954 >     if test -s conftest.err; then
9955 >       # Append any errors to the config.log.
9956 >       cat conftest.err 1>&5
9957 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9958 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9959 >       if diff conftest.exp conftest.er2 >/dev/null; then
9960 >         lt_cv_prog_compiler__b=yes
9961 >       fi
9962 >     else
9963 >       lt_cv_prog_compiler__b=yes
9964 >     fi
9965 >   fi
9966 >   $RM -r conftest*
9967 >   LDFLAGS="$save_LDFLAGS"
9968 >
9969 > fi
9970 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9971 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9972 >
9973 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9974 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9975 > else
9976 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9977 > fi
9978 >
9979            ;;
9980          esac
9981        fi
# Line 9165 | Line 10003 | if test -z "$aix_libpath"; then aix_libp
10003  
10004      irix5* | irix6* | nonstopux*)
10005        if test "$GCC" = yes; then
10006 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10006 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10007          # Try to use the -exported_symbol ld option, if it does not
10008          # work, assume that -exports_file does not work either and
10009          # implicitly export all symbols.
10010 <        save_LDFLAGS="$LDFLAGS"
10011 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10012 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 >        # This should be the same for all languages, so no per-tag cache variable.
10011 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10012 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10013 > if ${lt_cv_irix_exported_symbol+:} false; then :
10014 >  $as_echo_n "(cached) " >&6
10015 > else
10016 >  save_LDFLAGS="$LDFLAGS"
10017 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10018 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019   /* end confdefs.h.  */
10020 < int foo(void) {}
10020 > int foo (void) { return 0; }
10021   _ACEOF
10022   if ac_fn_c_try_link "$LINENO"; then :
10023 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10024 <
10023 >  lt_cv_irix_exported_symbol=yes
10024 > else
10025 >  lt_cv_irix_exported_symbol=no
10026   fi
10027   rm -f core conftest.err conftest.$ac_objext \
10028      conftest$ac_exeext conftest.$ac_ext
10029 <        LDFLAGS="$save_LDFLAGS"
10029 >           LDFLAGS="$save_LDFLAGS"
10030 > fi
10031 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10032 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10033 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10034 >          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10035 >        fi
10036        else
10037 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10038 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10037 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10038 >        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10039        fi
10040        archive_cmds_need_lc='no'
10041        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9246 | Line 10097 | rm -f core conftest.err conftest.$ac_obj
10097        hardcode_libdir_flag_spec='-L$libdir'
10098        hardcode_minus_L=yes
10099        allow_undefined_flag=unsupported
10100 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10100 >      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10101        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10102        ;;
10103  
10104      osf3*)
10105        if test "$GCC" = yes; then
10106          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10107 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10107 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10108        else
10109          allow_undefined_flag=' -expect_unresolved \*'
10110 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10110 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10111        fi
10112        archive_cmds_need_lc='no'
10113        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9266 | Line 10117 | rm -f core conftest.err conftest.$ac_obj
10117      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10118        if test "$GCC" = yes; then
10119          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10120 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10120 >        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10121          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10122        else
10123          allow_undefined_flag=' -expect_unresolved \*'
10124 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10124 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10125          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10126 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10126 >        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10127  
10128          # Both c and cxx compiler support -rpath directly
10129          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9285 | Line 10136 | rm -f core conftest.err conftest.$ac_obj
10136        no_undefined_flag=' -z defs'
10137        if test "$GCC" = yes; then
10138          wlarc='${wl}'
10139 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10140          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10141 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10141 >          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10142        else
10143          case `$CC -V 2>&1` in
10144          *"Compilers 5.0"*)
# Line 9475 | Line 10326 | x|xyes)
10326        # to ld, don't add -lc before -lgcc.
10327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10328   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10329 <      $RM conftest*
10330 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10329 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10330 >  $as_echo_n "(cached) " >&6
10331 > else
10332 >  $RM conftest*
10333 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10334  
10335 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10335 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10336    (eval $ac_compile) 2>&5
10337    ac_status=$?
10338    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10339    test $ac_status = 0; } 2>conftest.err; then
10340 <        soname=conftest
10341 <        lib=conftest
10342 <        libobjs=conftest.$ac_objext
10343 <        deplibs=
10344 <        wl=$lt_prog_compiler_wl
10345 <        pic_flag=$lt_prog_compiler_pic
10346 <        compiler_flags=-v
10347 <        linker_flags=-v
10348 <        verstring=
10349 <        output_objdir=.
10350 <        libname=conftest
10351 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10352 <        allow_undefined_flag=
10353 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10340 >          soname=conftest
10341 >          lib=conftest
10342 >          libobjs=conftest.$ac_objext
10343 >          deplibs=
10344 >          wl=$lt_prog_compiler_wl
10345 >          pic_flag=$lt_prog_compiler_pic
10346 >          compiler_flags=-v
10347 >          linker_flags=-v
10348 >          verstring=
10349 >          output_objdir=.
10350 >          libname=conftest
10351 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10352 >          allow_undefined_flag=
10353 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10354    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10355    ac_status=$?
10356    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10357    test $ac_status = 0; }
10358 <        then
10359 <          archive_cmds_need_lc=no
10360 <        else
10361 <          archive_cmds_need_lc=yes
10362 <        fi
10363 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10364 <      else
10365 <        cat conftest.err 1>&5
10366 <      fi
10367 <      $RM conftest*
10368 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10369 < $as_echo "$archive_cmds_need_lc" >&6; }
10358 >          then
10359 >            lt_cv_archive_cmds_need_lc=no
10360 >          else
10361 >            lt_cv_archive_cmds_need_lc=yes
10362 >          fi
10363 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10364 >        else
10365 >          cat conftest.err 1>&5
10366 >        fi
10367 >        $RM conftest*
10368 >
10369 > fi
10370 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10371 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10372 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10373        ;;
10374      esac
10375    fi
# Line 9670 | Line 10527 | esac
10527  
10528  
10529  
9673
9674
9675
9676
9677
10530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10531   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10532  
# Line 9683 | Line 10535 | if test "$GCC" = yes; then
10535      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10536      *) lt_awk_arg="/^libraries:/" ;;
10537    esac
10538 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10539 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10538 >  case $host_os in
10539 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10540 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10541 >  esac
10542 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10543 >  case $lt_search_path_spec in
10544 >  *\;*)
10545      # if the path contains ";" then we assume it to be the separator
10546      # otherwise default to the standard path separator (i.e. ":") - it is
10547      # assumed that no part of a normal pathname contains ";" but that should
10548      # okay in the real world where ";" in dirpaths is itself problematic.
10549 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10550 <  else
10551 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10552 <  fi
10549 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10550 >    ;;
10551 >  *)
10552 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10553 >    ;;
10554 >  esac
10555    # Ok, now we have the path, separated by spaces, we can step through it
10556    # and add multilib dir if necessary.
10557    lt_tmp_lt_search_path_spec=
# Line 9705 | Line 10564 | if test "$GCC" = yes; then
10564          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565      fi
10566    done
10567 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10567 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10568   BEGIN {RS=" "; FS="/|\n";} {
10569    lt_foo="";
10570    lt_count=0;
# Line 9725 | Line 10584 | BEGIN {RS=" "; FS="/|\n";} {
10584    if (lt_foo != "") { lt_freq[lt_foo]++; }
10585    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10586   }'`
10587 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10587 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10588 >  # for these hosts.
10589 >  case $host_os in
10590 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10591 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10592 >  esac
10593 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10594   else
10595    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10596   fi
# Line 9751 | Line 10616 | need_version=unknown
10616  
10617   case $host_os in
10618   aix3*)
10619 <  version_type=linux
10619 >  version_type=linux # correct to gnu/linux during the next big refactor
10620    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10621    shlibpath_var=LIBPATH
10622  
# Line 9760 | Line 10625 | aix3*)
10625    ;;
10626  
10627   aix[4-9]*)
10628 <  version_type=linux
10628 >  version_type=linux # correct to gnu/linux during the next big refactor
10629    need_lib_prefix=no
10630    need_version=no
10631    hardcode_into_libs=yes
# Line 9813 | Line 10678 | amigaos*)
10678    m68k)
10679      library_names_spec='$libname.ixlibrary $libname.a'
10680      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10681 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10681 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10682      ;;
10683    esac
10684    ;;
# Line 9825 | Line 10690 | beos*)
10690    ;;
10691  
10692   bsdi[45]*)
10693 <  version_type=linux
10693 >  version_type=linux # correct to gnu/linux during the next big refactor
10694    need_version=no
10695    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9844 | Line 10709 | cygwin* | mingw* | pw32* | cegcc*)
10709    need_version=no
10710    need_lib_prefix=no
10711  
10712 <  case $GCC,$host_os in
10713 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10712 >  case $GCC,$cc_basename in
10713 >  yes,*)
10714 >    # gcc
10715      library_names_spec='$libname.dll.a'
10716      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10717      postinstall_cmds='base_file=`basename \${file}`~
# Line 9866 | Line 10732 | cygwin* | mingw* | pw32* | cegcc*)
10732      cygwin*)
10733        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10734        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10735 >
10736 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10737        ;;
10738      mingw* | cegcc*)
10739        # MinGW DLLs use traditional 'lib' prefix
10740        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
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
10741        ;;
10742      pw32*)
10743        # pw32 DLLs use 'pw' prefix rather than 'lib'
10744        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10745        ;;
10746      esac
10747 +    dynamic_linker='Win32 ld.exe'
10748 +    ;;
10749 +
10750 +  *,cl*)
10751 +    # Native MSVC
10752 +    libname_spec='$name'
10753 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10754 +    library_names_spec='${libname}.dll.lib'
10755 +
10756 +    case $build_os in
10757 +    mingw*)
10758 +      sys_lib_search_path_spec=
10759 +      lt_save_ifs=$IFS
10760 +      IFS=';'
10761 +      for lt_path in $LIB
10762 +      do
10763 +        IFS=$lt_save_ifs
10764 +        # Let DOS variable expansion print the short 8.3 style file name.
10765 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10766 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10767 +      done
10768 +      IFS=$lt_save_ifs
10769 +      # Convert to MSYS style.
10770 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10771 +      ;;
10772 +    cygwin*)
10773 +      # Convert to unix form, then to dos form, then back to unix form
10774 +      # but this time dos style (no spaces!) so that the unix form looks
10775 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10776 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10777 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10778 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10779 +      ;;
10780 +    *)
10781 +      sys_lib_search_path_spec="$LIB"
10782 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10783 +        # It is most probably a Windows format PATH.
10784 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10785 +      else
10786 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10787 +      fi
10788 +      # FIXME: find the short name or the path components, as spaces are
10789 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10790 +      ;;
10791 +    esac
10792 +
10793 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10794 +    postinstall_cmds='base_file=`basename \${file}`~
10795 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10796 +      dldir=$destdir/`dirname \$dlpath`~
10797 +      test -d \$dldir || mkdir -p \$dldir~
10798 +      $install_prog $dir/$dlname \$dldir/$dlname'
10799 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10800 +      dlpath=$dir/\$dldll~
10801 +       $RM \$dlpath'
10802 +    shlibpath_overrides_runpath=yes
10803 +    dynamic_linker='Win32 link.exe'
10804      ;;
10805  
10806    *)
10807 +    # Assume MSVC wrapper
10808      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10809 +    dynamic_linker='Win32 ld.exe'
10810      ;;
10811    esac
9898  dynamic_linker='Win32 ld.exe'
10812    # FIXME: first we should search . and the directory the executable is in
10813    shlibpath_var=PATH
10814    ;;
# Line 9916 | Line 10829 | darwin* | rhapsody*)
10829    ;;
10830  
10831   dgux*)
10832 <  version_type=linux
10832 >  version_type=linux # correct to gnu/linux during the next big refactor
10833    need_lib_prefix=no
10834    need_version=no
10835    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9924 | Line 10837 | dgux*)
10837    shlibpath_var=LD_LIBRARY_PATH
10838    ;;
10839  
9927 freebsd1*)
9928  dynamic_linker=no
9929  ;;
9930
10840   freebsd* | dragonfly*)
10841    # DragonFly does not have aout.  When/if they implement a new
10842    # versioning mechanism, adjust this.
# Line 9935 | Line 10844 | freebsd* | dragonfly*)
10844      objformat=`/usr/bin/objformat`
10845    else
10846      case $host_os in
10847 <    freebsd[123]*) objformat=aout ;;
10847 >    freebsd[23].*) objformat=aout ;;
10848      *) objformat=elf ;;
10849      esac
10850    fi
# Line 9953 | Line 10862 | freebsd* | dragonfly*)
10862    esac
10863    shlibpath_var=LD_LIBRARY_PATH
10864    case $host_os in
10865 <  freebsd2*)
10865 >  freebsd2.*)
10866      shlibpath_overrides_runpath=yes
10867      ;;
10868    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9973 | Line 10882 | freebsd* | dragonfly*)
10882    ;;
10883  
10884   gnu*)
10885 <  version_type=linux
10885 >  version_type=linux # correct to gnu/linux during the next big refactor
10886    need_lib_prefix=no
10887    need_version=no
10888    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10889    soname_spec='${libname}${release}${shared_ext}$major'
10890    shlibpath_var=LD_LIBRARY_PATH
10891 +  shlibpath_overrides_runpath=no
10892 +  hardcode_into_libs=yes
10893 +  ;;
10894 +
10895 + haiku*)
10896 +  version_type=linux # correct to gnu/linux during the next big refactor
10897 +  need_lib_prefix=no
10898 +  need_version=no
10899 +  dynamic_linker="$host_os runtime_loader"
10900 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10901 +  soname_spec='${libname}${release}${shared_ext}$major'
10902 +  shlibpath_var=LIBRARY_PATH
10903 +  shlibpath_overrides_runpath=yes
10904 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10905    hardcode_into_libs=yes
10906    ;;
10907  
# Line 10024 | Line 10947 | hpux9* | hpux10* | hpux11*)
10947      soname_spec='${libname}${release}${shared_ext}$major'
10948      ;;
10949    esac
10950 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10950 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10951    postinstall_cmds='chmod 555 $lib'
10952 +  # or fails outright, so override atomically:
10953 +  install_override_mode=555
10954    ;;
10955  
10956   interix[3-9]*)
10957 <  version_type=linux
10957 >  version_type=linux # correct to gnu/linux during the next big refactor
10958    need_lib_prefix=no
10959    need_version=no
10960    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10045 | Line 10970 | irix5* | irix6* | nonstopux*)
10970      nonstopux*) version_type=nonstopux ;;
10971      *)
10972          if test "$lt_cv_prog_gnu_ld" = yes; then
10973 <                version_type=linux
10973 >                version_type=linux # correct to gnu/linux during the next big refactor
10974          else
10975                  version_type=irix
10976          fi ;;
# Line 10082 | Line 11007 | linux*oldld* | linux*aout* | linux*coff*
11007    dynamic_linker=no
11008    ;;
11009  
11010 < # This must be Linux ELF.
11011 < linux* | k*bsd*-gnu)
11012 <  version_type=linux
11010 > # This must be glibc/ELF.
11011 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11012 >  version_type=linux # correct to gnu/linux during the next big refactor
11013    need_lib_prefix=no
11014    need_version=no
11015    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10092 | Line 11017 | linux* | k*bsd*-gnu)
11017    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11018    shlibpath_var=LD_LIBRARY_PATH
11019    shlibpath_overrides_runpath=no
11020 +
11021    # Some binutils ld are patched to set DT_RUNPATH
11022 <  save_LDFLAGS=$LDFLAGS
11023 <  save_libdir=$libdir
11024 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11025 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11026 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11023 >  $as_echo_n "(cached) " >&6
11024 > else
11025 >  lt_cv_shlibpath_overrides_runpath=no
11026 >    save_LDFLAGS=$LDFLAGS
11027 >    save_libdir=$libdir
11028 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11029 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11030 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031   /* end confdefs.h.  */
11032  
11033   int
# Line 10110 | Line 11040 | main ()
11040   _ACEOF
11041   if ac_fn_c_try_link "$LINENO"; then :
11042    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043 <  shlibpath_overrides_runpath=yes
11043 >  lt_cv_shlibpath_overrides_runpath=yes
11044   fi
11045   fi
11046   rm -f core conftest.err conftest.$ac_objext \
11047      conftest$ac_exeext conftest.$ac_ext
11048 <  LDFLAGS=$save_LDFLAGS
11049 <  libdir=$save_libdir
11048 >    LDFLAGS=$save_LDFLAGS
11049 >    libdir=$save_libdir
11050 >
11051 > fi
11052 >
11053 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11054  
11055    # This implies no fast_install, which is unacceptable.
11056    # Some rework will be needed to allow for fast_install
11057    # before this can be enabled.
11058    hardcode_into_libs=yes
11059  
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
11060    # Append ld.so.conf contents to the search path
11061    if test -f /etc/ld.so.conf; then
11062 <    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11063 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11062 >    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11063 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11064    fi
11065  
11066    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10179 | Line 11091 | netbsd*)
11091    ;;
11092  
11093   newsos6)
11094 <  version_type=linux
11094 >  version_type=linux # correct to gnu/linux during the next big refactor
11095    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096    shlibpath_var=LD_LIBRARY_PATH
11097    shlibpath_overrides_runpath=yes
# Line 10248 | Line 11160 | rdos*)
11160    ;;
11161  
11162   solaris*)
11163 <  version_type=linux
11163 >  version_type=linux # correct to gnu/linux during the next big refactor
11164    need_lib_prefix=no
11165    need_version=no
11166    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10273 | Line 11185 | sunos4*)
11185    ;;
11186  
11187   sysv4 | sysv4.3*)
11188 <  version_type=linux
11188 >  version_type=linux # correct to gnu/linux during the next big refactor
11189    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190    soname_spec='${libname}${release}${shared_ext}$major'
11191    shlibpath_var=LD_LIBRARY_PATH
# Line 10297 | Line 11209 | sysv4 | sysv4.3*)
11209  
11210   sysv4*MP*)
11211    if test -d /usr/nec ;then
11212 <    version_type=linux
11212 >    version_type=linux # correct to gnu/linux during the next big refactor
11213      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11214      soname_spec='$libname${shared_ext}.$major'
11215      shlibpath_var=LD_LIBRARY_PATH
# Line 10328 | Line 11240 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11240  
11241   tpf*)
11242    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11243 <  version_type=linux
11243 >  version_type=linux # correct to gnu/linux during the next big refactor
11244    need_lib_prefix=no
11245    need_version=no
11246    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10338 | Line 11250 | tpf*)
11250    ;;
11251  
11252   uts4*)
11253 <  version_type=linux
11253 >  version_type=linux # correct to gnu/linux during the next big refactor
11254    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255    soname_spec='${libname}${release}${shared_ext}$major'
11256    shlibpath_var=LD_LIBRARY_PATH
# Line 10450 | Line 11362 | fi
11362  
11363  
11364  
11365 +
11366 +
11367 +
11368 +
11369 +
11370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11371   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11372   hardcode_action=
# Line 10522 | Line 11439 | else
11439    # if libdl is installed we need to link against it
11440      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11442 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11443    $as_echo_n "(cached) " >&6
11444   else
11445    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11473 | LIBS=$ac_check_lib_save_LIBS
11473   fi
11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11476 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478   else
11479  
# Line 10570 | Line 11487 | fi
11487  
11488    *)
11489      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11490 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11490 > if test "x$ac_cv_func_shl_load" = xyes; then :
11491    lt_cv_dlopen="shl_load"
11492   else
11493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11494   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11495 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11495 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11496    $as_echo_n "(cached) " >&6
11497   else
11498    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11526 | LIBS=$ac_check_lib_save_LIBS
11526   fi
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11528   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11529 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11529 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11530    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11531   else
11532    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11533 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11533 > if test "x$ac_cv_func_dlopen" = xyes; then :
11534    lt_cv_dlopen="dlopen"
11535   else
11536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11537   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11538 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11538 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11539    $as_echo_n "(cached) " >&6
11540   else
11541    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11569 | LIBS=$ac_check_lib_save_LIBS
11569   fi
11570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11571   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11572 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11572 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11573    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11574   else
11575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11576   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11577 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11577 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11578    $as_echo_n "(cached) " >&6
11579   else
11580    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11608 | LIBS=$ac_check_lib_save_LIBS
11608   fi
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11610   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11611 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11611 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11612    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11613   else
11614    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11615   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11616 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11616 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11617    $as_echo_n "(cached) " >&6
11618   else
11619    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11647 | LIBS=$ac_check_lib_save_LIBS
11647   fi
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11649   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11650 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11650 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11651    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11652   fi
11653  
# Line 10771 | Line 11688 | fi
11688  
11689      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11690   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11691 < if test "${lt_cv_dlopen_self+set}" = set; then :
11691 > if ${lt_cv_dlopen_self+:} false; then :
11692    $as_echo_n "(cached) " >&6
11693   else
11694            if test "$cross_compiling" = yes; then :
# Line 10780 | Line 11697 | else
11697    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11698    lt_status=$lt_dlunknown
11699    cat > conftest.$ac_ext <<_LT_EOF
11700 < #line 10783 "configure"
11700 > #line $LINENO "configure"
11701   #include "confdefs.h"
11702  
11703   #if HAVE_DLFCN_H
# Line 10821 | Line 11738 | else
11738   #  endif
11739   #endif
11740  
11741 < void fnord() { int i=42;}
11741 > /* When -fvisbility=hidden is used, assume the code has been annotated
11742 >   correspondingly for the symbols needed.  */
11743 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11744 > int fnord () __attribute__((visibility("default")));
11745 > #endif
11746 >
11747 > int fnord () { return 42; }
11748   int main ()
11749   {
11750    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11753 | int main ()
11753    if (self)
11754      {
11755        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11756 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11756 >      else
11757 >        {
11758 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11759 >          else puts (dlerror ());
11760 >        }
11761        /* dlclose (self); */
11762      }
11763    else
# Line 10867 | Line 11794 | $as_echo "$lt_cv_dlopen_self" >&6; }
11794        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11795        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11796   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11797 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11797 > if ${lt_cv_dlopen_self_static+:} false; then :
11798    $as_echo_n "(cached) " >&6
11799   else
11800            if test "$cross_compiling" = yes; then :
# Line 10876 | Line 11803 | else
11803    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11804    lt_status=$lt_dlunknown
11805    cat > conftest.$ac_ext <<_LT_EOF
11806 < #line 10879 "configure"
11806 > #line $LINENO "configure"
11807   #include "confdefs.h"
11808  
11809   #if HAVE_DLFCN_H
# Line 10917 | Line 11844 | else
11844   #  endif
11845   #endif
11846  
11847 < void fnord() { int i=42;}
11847 > /* When -fvisbility=hidden is used, assume the code has been annotated
11848 >   correspondingly for the symbols needed.  */
11849 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11850 > int fnord () __attribute__((visibility("default")));
11851 > #endif
11852 >
11853 > int fnord () { return 42; }
11854   int main ()
11855   {
11856    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 11859 | int main ()
11859    if (self)
11860      {
11861        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11862 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11862 >      else
11863 >        {
11864 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11865 >          else puts (dlerror ());
11866 >        }
11867        /* dlclose (self); */
11868      }
11869    else
# Line 11095 | Line 12032 | CC="$lt_save_CC"
12032  
12033  
12034  
12035 +
12036 +
12037          ac_config_commands="$ac_config_commands libtool"
12038  
12039  
# Line 11105 | Line 12044 | CC="$lt_save_CC"
12044  
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12046   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12047 < if test "${libltdl_cv_shlibext+set}" = set; then :
12047 > if ${libltdl_cv_shlibext+:} false; then :
12048    $as_echo_n "(cached) " >&6
12049   else
12050  
12051   module=yes
12052   eval libltdl_cv_shlibext=$shrext_cmds
12053 + module=no
12054 + eval libltdl_cv_shrext=$shrext_cmds
12055  
12056   fi
12057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 12063 | cat >>confdefs.h <<_ACEOF
12063   _ACEOF
12064  
12065   fi
12066 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12067 +
12068 + cat >>confdefs.h <<_ACEOF
12069 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12070 + _ACEOF
12071 +
12072 + fi
12073  
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12075   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12076 < if test "${lt_cv_module_path_var+set}" = set; then :
12076 > if ${lt_cv_module_path_var+:} false; then :
12077    $as_echo_n "(cached) " >&6
12078   else
12079    lt_cv_module_path_var="$shlibpath_var"
# Line 11142 | Line 12090 | fi
12090  
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12092   $as_echo_n "checking for the default library search path... " >&6; }
12093 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12093 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12094    $as_echo_n "(cached) " >&6
12095   else
12096    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11179 | Line 12127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12127   LIBADD_DLOPEN=
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12129   $as_echo_n "checking for library containing dlopen... " >&6; }
12130 < if test "${ac_cv_search_dlopen+set}" = set; then :
12130 > if ${ac_cv_search_dlopen+:} false; then :
12131    $as_echo_n "(cached) " >&6
12132   else
12133    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12161 | for ac_lib in '' dl; do
12161   fi
12162   rm -f core conftest.err conftest.$ac_objext \
12163      conftest$ac_exeext
12164 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12164 >  if ${ac_cv_search_dlopen+:} false; then :
12165    break
12166   fi
12167   done
12168 < if test "${ac_cv_search_dlopen+set}" = set; then :
12168 > if ${ac_cv_search_dlopen+:} false; then :
12169  
12170   else
12171    ac_cv_search_dlopen=no
# Line 11262 | Line 12210 | $as_echo "#define HAVE_LIBDL 1" >>confde
12210   else
12211    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12212   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12213 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12213 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12214    $as_echo_n "(cached) " >&6
12215   else
12216    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12244 | LIBS=$ac_check_lib_save_LIBS
12244   fi
12245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12246   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12247 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12247 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12248  
12249   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12250  
# Line 11316 | Line 12264 | then
12264    for ac_func in dlerror
12265   do :
12266    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12267 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12267 > if test "x$ac_cv_func_dlerror" = xyes; then :
12268    cat >>confdefs.h <<_ACEOF
12269   #define HAVE_DLERROR 1
12270   _ACEOF
# Line 11330 | Line 12278 | fi
12278  
12279   LIBADD_SHL_LOAD=
12280   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12281 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12281 > if test "x$ac_cv_func_shl_load" = xyes; then :
12282  
12283   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12284  
# Line 11338 | Line 12286 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12286   else
12287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12288   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12289 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12289 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12290    $as_echo_n "(cached) " >&6
12291   else
12292    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12320 | LIBS=$ac_check_lib_save_LIBS
12320   fi
12321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12322   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12323 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12323 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12324  
12325   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12326  
# Line 11388 | Line 12336 | case $host_os in
12336   darwin[1567].*)
12337   # We only want this for pre-Mac OS X 10.4.
12338    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12339 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12339 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12340  
12341   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12342  
# Line 11402 | Line 12350 | beos*)
12350   cygwin* | mingw* | os2* | pw32*)
12351    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12352   "
12353 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12353 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12354    ac_have_decl=1
12355   else
12356    ac_have_decl=0
# Line 11418 | Line 12366 | esac
12366  
12367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12368   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12369 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12369 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12370    $as_echo_n "(cached) " >&6
12371   else
12372    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12400 | LIBS=$ac_check_lib_save_LIBS
12400   fi
12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12402   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12403 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12403 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12404  
12405   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12406  
# Line 11486 | Line 12434 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12434  
12435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12436   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12437 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12437 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12438    $as_echo_n "(cached) " >&6
12439   else
12440    lt_cv_sys_symbol_underscore=no
# Line 11536 | Line 12484 | if test x"$lt_cv_sys_symbol_underscore"
12484       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12485          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12486   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12487 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12487 > if ${libltdl_cv_need_uscore+:} false; then :
12488    $as_echo_n "(cached) " >&6
12489   else
12490    libltdl_cv_need_uscore=unknown
# Line 11548 | Line 12496 | else
12496    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12497    lt_status=$lt_dlunknown
12498    cat > conftest.$ac_ext <<_LT_EOF
12499 < #line 11551 "configure"
12499 > #line $LINENO "configure"
12500   #include "confdefs.h"
12501  
12502   #if HAVE_DLFCN_H
# Line 11589 | Line 12537 | else
12537   #  endif
12538   #endif
12539  
12540 < void fnord() { int i=42;}
12540 > /* When -fvisbility=hidden is used, assume the code has been annotated
12541 >   correspondingly for the symbols needed.  */
12542 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12543 > int fnord () __attribute__((visibility("default")));
12544 > #endif
12545 >
12546 > int fnord () { return 42; }
12547   int main ()
12548   {
12549    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12552 | int main ()
12552    if (self)
12553      {
12554        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12555 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12555 >      else
12556 >        {
12557 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12558 >          else puts (dlerror ());
12559 >        }
12560        /* dlclose (self); */
12561      }
12562    else
# Line 11642 | Line 12600 | fi
12600  
12601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12602   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12603 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12603 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12604    $as_echo_n "(cached) " >&6
12605   else
12606    # PORTME does your system automatically load deplibs for dlopen?
# Line 11674 | Line 12632 | else
12632    freebsd* | dragonfly*)
12633      lt_cv_sys_dlopen_deplibs=yes
12634      ;;
12635 <  gnu* | linux* | k*bsd*-gnu)
12635 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12636      # GNU and its variants, using gnu ld.so (Glibc)
12637      lt_cv_sys_dlopen_deplibs=yes
12638      ;;
# Line 11748 | Line 12706 | for ac_header in argz.h
12706   do :
12707    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12708   "
12709 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12709 > if test "x$ac_cv_header_argz_h" = xyes; then :
12710    cat >>confdefs.h <<_ACEOF
12711   #define HAVE_ARGZ_H 1
12712   _ACEOF
# Line 11762 | Line 12720 | ac_fn_c_check_type "$LINENO" "error_t" "
12720   #  include <argz.h>
12721   #endif
12722   "
12723 < if test "x$ac_cv_type_error_t" = x""yes; then :
12723 > if test "x$ac_cv_type_error_t" = xyes; then :
12724  
12725   cat >>confdefs.h <<_ACEOF
12726   #define HAVE_ERROR_T 1
# Line 11785 | Line 12743 | for ac_func in argz_add argz_append argz
12743   do :
12744    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12745   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12746 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12746 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12747    cat >>confdefs.h <<_ACEOF
12748   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12749   _ACEOF
# Line 11803 | Line 12760 | done
12760   if test -z "$ARGZ_H"; then :
12761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12762   $as_echo_n "checking if argz actually works... " >&6; }
12763 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12763 > if ${lt_cv_sys_argz_works+:} false; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    case $host_os in #(
# Line 11834 | Line 12791 | else
12791   fi
12792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12793   $as_echo "$lt_cv_sys_argz_works" >&6; }
12794 <     if test $lt_cv_sys_argz_works = yes; then :
12794 >     if test "$lt_cv_sys_argz_works" = yes; then :
12795  
12796   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12797  
# Line 11851 | Line 12808 | fi
12808  
12809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12810   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12811 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12811 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12812    $as_echo_n "(cached) " >&6
12813   else
12814    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11869 | Line 12826 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12826  
12827   fi
12828  
11872
11873
12829   # Set options
12830  
12831  
# Line 11883 | Line 12838 | fi
12838  
12839  
12840  
11886
12841   # Check whether --with-included_ltdl was given.
12842   if test "${with_included_ltdl+set}" = set; then :
12843    withval=$with_included_ltdl;
# Line 11896 | Line 12850 | if test "x$with_included_ltdl" != xyes;
12850    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12851  
12852   "
12853 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12853 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12854    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12855              #include <ltdl.h>
12856   "
12857 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12857 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12859   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12860 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12860 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12861    $as_echo_n "(cached) " >&6
12862   else
12863    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 12891 | LIBS=$ac_check_lib_save_LIBS
12891   fi
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12893   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12894 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12894 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12895    with_included_ltdl=no
12896   else
12897    with_included_ltdl=yes
# Line 11957 | Line 12911 | fi
12911  
12912  
12913  
11960
11961
11962
11963
11964
12914   # Check whether --with-ltdl_include was given.
12915   if test "${with_ltdl_include+set}" = set; then :
12916    withval=$with_ltdl_include;
# Line 11971 | Line 12920 | fi
12920   if test -n "$with_ltdl_include"; then
12921    if test -f "$with_ltdl_include/ltdl.h"; then :
12922    else
12923 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12923 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12924    fi
12925   else
12926    with_ltdl_include=no
# Line 11987 | Line 12936 | fi
12936   if test -n "$with_ltdl_lib"; then
12937    if test -f "$with_ltdl_lib/libltdl.la"; then :
12938    else
12939 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12939 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12940    fi
12941   else
12942    with_ltdl_lib=no
# Line 11996 | Line 12945 | fi
12945   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12946    ,yes,no,no,)
12947          case $enable_ltdl_convenience in
12948 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12948 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12949    "") enable_ltdl_convenience=yes
12950        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12951   esac
# Line 12024 | Line 12973 | $as_echo "#define HAVE_LTDL 1" >>confdef
12973          LTDLINCL=
12974          ;;
12975    ,no*,no,*)
12976 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12976 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12977          ;;
12978    *)    with_included_ltdl=no
12979          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12075 | Line 13024 | fi
13024  
13025  
13026  
12078    subdirs="$subdirs libltdl"
12079
12080
13027  
13028  
13029  
# Line 12094 | Line 13040 | do :
13040    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13041   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13042   "
13043 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
13043 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13044    cat >>confdefs.h <<_ACEOF
13045   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13046   _ACEOF
# Line 12109 | Line 13054 | for ac_func in closedir opendir readdir
13054   do :
13055    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13056   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13057 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
13057 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13058    cat >>confdefs.h <<_ACEOF
13059   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13060   _ACEOF
# Line 12127 | Line 13071 | for ac_func in strlcat strlcpy
13071   do :
13072    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13073   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13074 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
13074 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13075    cat >>confdefs.h <<_ACEOF
13076   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13077   _ACEOF
# Line 12148 | Line 13091 | cat >>confdefs.h <<_ACEOF
13091   _ACEOF
13092  
13093  
13094 + name=
13095 + eval "lt_libprefix=\"$libname_spec\""
13096 +
13097 + cat >>confdefs.h <<_ACEOF
13098 + #define LT_LIBPREFIX "$lt_libprefix"
13099 + _ACEOF
13100 +
13101 +
13102   name=ltdl
13103 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13103 > eval "LTDLOPEN=\"$libname_spec\""
13104  
13105  
13106  
# Line 12165 | Line 13116 | LIBTOOL="$LIBTOOL --silent"
13116  
13117   # Checks for libraries.
13118  
13119 +
13120 +  if test "X$CC" != "X"; then
13121 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13122 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13123 + if ${ssp_cv_cc+:} false; then :
13124 +  $as_echo_n "(cached) " >&6
13125 + else
13126 +  ssp_old_cflags="$CFLAGS"
13127 +       CFLAGS="$CFLAGS -fstack-protector"
13128 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 + /* end confdefs.h.  */
13130 +
13131 + int
13132 + main ()
13133 + {
13134 +
13135 +  ;
13136 +  return 0;
13137 + }
13138 + _ACEOF
13139 + if ac_fn_c_try_compile "$LINENO"; then :
13140 +  ssp_cv_cc=yes
13141 + else
13142 +  ssp_cv_cc=no
13143 + fi
13144 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 +       CFLAGS="$ssp_old_cflags"
13146 +
13147 + fi
13148 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13149 + $as_echo "$ssp_cv_cc" >&6; }
13150 +    if test $ssp_cv_cc = yes; then
13151 +      CFLAGS="$CFLAGS -fstack-protector"
13152 +
13153 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13154 +
13155 +    fi
13156 +  fi
13157 +
13158 +
13159 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13160 + $as_echo_n "checking whether libssp exists... " >&6; }
13161 + if ${ssp_cv_lib+:} false; then :
13162 +  $as_echo_n "(cached) " >&6
13163 + else
13164 +  ssp_old_libs="$LIBS"
13165 +     LIBS="$LIBS -lssp"
13166 +     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 + /* end confdefs.h.  */
13168 +
13169 + int
13170 + main ()
13171 + {
13172 +
13173 +  ;
13174 +  return 0;
13175 + }
13176 + _ACEOF
13177 + if ac_fn_c_try_link "$LINENO"; then :
13178 +  ssp_cv_lib=yes
13179 + else
13180 +  ssp_cv_lib=no
13181 + fi
13182 + rm -f core conftest.err conftest.$ac_objext \
13183 +    conftest$ac_exeext conftest.$ac_ext
13184 +     LIBS="$ssp_old_libs"
13185 +
13186 + fi
13187 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13188 + $as_echo "$ssp_cv_lib" >&6; }
13189 +  if test $ssp_cv_lib = yes; then
13190 +    LIBS="$LIBS -lssp"
13191 +  fi
13192 +
13193 +
13194 +
13195 +
13196 +
13197 +
13198 + for flag in -fno-strict-aliasing; do
13199 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13200 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13201 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13202 + if eval \${$as_CACHEVAR+:} false; then :
13203 +  $as_echo_n "(cached) " >&6
13204 + else
13205 +
13206 +  ax_check_save_flags=$CFLAGS
13207 +  CFLAGS="$CFLAGS  $flag"
13208 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 + /* end confdefs.h.  */
13210 +
13211 + int
13212 + main ()
13213 + {
13214 +
13215 +  ;
13216 +  return 0;
13217 + }
13218 + _ACEOF
13219 + if ac_fn_c_try_compile "$LINENO"; then :
13220 +  eval "$as_CACHEVAR=yes"
13221 + else
13222 +  eval "$as_CACHEVAR=no"
13223 + fi
13224 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 +  CFLAGS=$ax_check_save_flags
13226 + fi
13227 + eval ac_res=\$$as_CACHEVAR
13228 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13229 + $as_echo "$ac_res" >&6; }
13230 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13231 +  if ${CFLAGS+:} false; then :
13232 +  case " $CFLAGS " in
13233 +    *" $flag "*)
13234 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13235 +  (: CFLAGS already contains $flag) 2>&5
13236 +  ac_status=$?
13237 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13238 +  test $ac_status = 0; }
13239 +      ;;
13240 +    *)
13241 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13242 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13243 +  ac_status=$?
13244 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13245 +  test $ac_status = 0; }
13246 +      CFLAGS="$CFLAGS $flag"
13247 +      ;;
13248 +   esac
13249 + else
13250 +  CFLAGS="$flag"
13251 + fi
13252 +
13253 + else
13254 +  :
13255 + fi
13256 +
13257 + done
13258 +
13259 +
13260 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13261 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13262 +
13263 + else
13264 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13265 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13266 + if ${ac_cv_search_getaddrinfo+:} false; then :
13267 +  $as_echo_n "(cached) " >&6
13268 + else
13269 +  ac_func_search_save_LIBS=$LIBS
13270 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 + /* end confdefs.h.  */
13272 +
13273 + /* Override any GCC internal prototype to avoid an error.
13274 +   Use char because int might match the return type of a GCC
13275 +   builtin and then its argument prototype would still apply.  */
13276 + #ifdef __cplusplus
13277 + extern "C"
13278 + #endif
13279 + char getaddrinfo ();
13280 + int
13281 + main ()
13282 + {
13283 + return getaddrinfo ();
13284 +  ;
13285 +  return 0;
13286 + }
13287 + _ACEOF
13288 + for ac_lib in '' nsl; do
13289 +  if test -z "$ac_lib"; then
13290 +    ac_res="none required"
13291 +  else
13292 +    ac_res=-l$ac_lib
13293 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13294 +  fi
13295 +  if ac_fn_c_try_link "$LINENO"; then :
13296 +  ac_cv_search_getaddrinfo=$ac_res
13297 + fi
13298 + rm -f core conftest.err conftest.$ac_objext \
13299 +    conftest$ac_exeext
13300 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13301 +  break
13302 + fi
13303 + done
13304 + if ${ac_cv_search_getaddrinfo+:} false; then :
13305 +
13306 + else
13307 +  ac_cv_search_getaddrinfo=no
13308 + fi
13309 + rm conftest.$ac_ext
13310 + LIBS=$ac_func_search_save_LIBS
13311 + fi
13312 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13313 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13314 + ac_res=$ac_cv_search_getaddrinfo
13315 + if test "$ac_res" != no; then :
13316 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13317 +
13318 + fi
13319 +
13320 + fi
13321 +
13322 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13323 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13324 +
13325 + else
13326 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13327 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13328 + if ${ac_cv_search_getnameinfo+:} false; then :
13329 +  $as_echo_n "(cached) " >&6
13330 + else
13331 +  ac_func_search_save_LIBS=$LIBS
13332 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 + /* end confdefs.h.  */
13334 +
13335 + /* Override any GCC internal prototype to avoid an error.
13336 +   Use char because int might match the return type of a GCC
13337 +   builtin and then its argument prototype would still apply.  */
13338 + #ifdef __cplusplus
13339 + extern "C"
13340 + #endif
13341 + char getnameinfo ();
13342 + int
13343 + main ()
13344 + {
13345 + return getnameinfo ();
13346 +  ;
13347 +  return 0;
13348 + }
13349 + _ACEOF
13350 + for ac_lib in '' nsl; do
13351 +  if test -z "$ac_lib"; then
13352 +    ac_res="none required"
13353 +  else
13354 +    ac_res=-l$ac_lib
13355 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13356 +  fi
13357 +  if ac_fn_c_try_link "$LINENO"; then :
13358 +  ac_cv_search_getnameinfo=$ac_res
13359 + fi
13360 + rm -f core conftest.err conftest.$ac_objext \
13361 +    conftest$ac_exeext
13362 +  if ${ac_cv_search_getnameinfo+:} false; then :
13363 +  break
13364 + fi
13365 + done
13366 + if ${ac_cv_search_getnameinfo+:} false; then :
13367 +
13368 + else
13369 +  ac_cv_search_getnameinfo=no
13370 + fi
13371 + rm conftest.$ac_ext
13372 + LIBS=$ac_func_search_save_LIBS
13373 + fi
13374 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13375 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13376 + ac_res=$ac_cv_search_getnameinfo
13377 + if test "$ac_res" != no; then :
13378 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13379 +
13380 + fi
13381 +
13382 + fi
13383 +
13384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13385   $as_echo_n "checking for library containing socket... " >&6; }
13386 < if test "${ac_cv_search_socket+set}" = set; then :
13386 > if ${ac_cv_search_socket+:} false; then :
13387    $as_echo_n "(cached) " >&6
13388   else
13389    ac_func_search_save_LIBS=$LIBS
# Line 12201 | Line 13417 | for ac_lib in '' socket; do
13417   fi
13418   rm -f core conftest.err conftest.$ac_objext \
13419      conftest$ac_exeext
13420 <  if test "${ac_cv_search_socket+set}" = set; then :
13420 >  if ${ac_cv_search_socket+:} false; then :
13421    break
13422   fi
13423   done
13424 < if test "${ac_cv_search_socket+set}" = set; then :
13424 > if ${ac_cv_search_socket+:} false; then :
13425  
13426   else
13427    ac_cv_search_socket=no
# Line 12220 | Line 13436 | if test "$ac_res" != no; then :
13436    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13437  
13438   else
13439 <  as_fn_error "socket library not found" "$LINENO" 5
13439 >  as_fn_error $? "socket library not found" "$LINENO" 5
13440   fi
13441  
13442 <  for ac_func in inet_aton inet_ntop inet_pton
13443 < do :
13444 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13445 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13446 < 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
13442 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13443 > "
13444 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13445 >
13446 > $as_echo "#define IPV6 1" >>confdefs.h
13447  
13448   fi
12237 done
13449  
13450    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13451     #include <sys/socket.h>
13452     #include <netdb.h>
13453  
13454   "
13455 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13455 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13456  
13457   cat >>confdefs.h <<_ACEOF
13458   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12254 | Line 13465 | ac_fn_c_check_type "$LINENO" "struct soc
13465     #include <netdb.h>
13466  
13467   "
13468 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13468 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13469  
13470   cat >>confdefs.h <<_ACEOF
13471   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12267 | Line 13478 | ac_fn_c_check_type "$LINENO" "struct add
13478     #include <netdb.h>
13479  
13480   "
13481 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13481 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13482  
13483   cat >>confdefs.h <<_ACEOF
13484   #define HAVE_STRUCT_ADDRINFO 1
# Line 12276 | Line 13487 | _ACEOF
13487  
13488   fi
13489  
12279  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12280  <sys/socket.h>
12281 "
12282 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12283
12284 cat >>confdefs.h <<_ACEOF
12285 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12286 _ACEOF
12287
12288
12289 fi
12290
12291
12292
12293  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
12294 if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12295
12296 cat >>confdefs.h <<_ACEOF
12297 #define HAVE_STRUCT_SOCKADDR_IN6 1
12298 _ACEOF
12299
12300
12301 else
12302
12303 $as_echo "#define IPV6 1" >>confdefs.h
12304
12305 fi
12306
13490  
13491  
13492   # Checks for typedefs, structures, and compiler characteristics.
13493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13494   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13495 < if test "${ac_cv_c_bigendian+set}" = set; then :
13495 > if ${ac_cv_c_bigendian+:} false; then :
13496    $as_echo_n "(cached) " >&6
13497   else
13498    ac_cv_c_bigendian=unknown
# Line 12527 | Line 13710 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13710  
13711       ;; #(
13712     *)
13713 <     as_fn_error "unknown endianness
13713 >     as_fn_error $? "unknown endianness
13714   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13715   esac
13716  
# Line 12540 | Line 13723 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13723   do :
13724    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13725   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13726 < eval as_val=\$$as_ac_var
12544 <   if test "x$as_val" = x""yes; then :
13726 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13727    cat >>confdefs.h <<_ACEOF
13728   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13729   _ACEOF
# Line 12559 | Line 13741 | done
13741  
13742  
13743  
12562
12563
13744   # Checks for header files.
13745  
13746  
# Line 12570 | Line 13750 | do :
13750    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13751   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13752   "
13753 < eval as_val=\$$as_ac_Header
12574 <   if test "x$as_val" = x""yes; then :
13753 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13754    cat >>confdefs.h <<_ACEOF
13755   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13756   _ACEOF
# Line 12596 | Line 13775 | done
13775  
13776  
13777  
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
13778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13779   $as_echo_n "checking for library containing crypt... " >&6; }
13780 < if test "${ac_cv_search_crypt+set}" = set; then :
13780 > if ${ac_cv_search_crypt+:} false; then :
13781    $as_echo_n "(cached) " >&6
13782   else
13783    ac_func_search_save_LIBS=$LIBS
# Line 12662 | Line 13811 | for ac_lib in '' crypt; do
13811   fi
13812   rm -f core conftest.err conftest.$ac_objext \
13813      conftest$ac_exeext
13814 <  if test "${ac_cv_search_crypt+set}" = set; then :
13814 >  if ${ac_cv_search_crypt+:} false; then :
13815    break
13816   fi
13817   done
13818 < if test "${ac_cv_search_crypt+set}" = set; then :
13818 > if ${ac_cv_search_crypt+:} false; then :
13819  
13820   else
13821    ac_cv_search_crypt=no
# Line 12683 | Line 13832 | if test "$ac_res" != no; then :
13832   fi
13833  
13834  
13835 <
13836 <
13837 < # Check whether --with-zlib-path was given.
13838 < if test "${with_zlib_path+set}" = set; then :
13839 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13840 < fi
13841 <
13842 <
13843 < # 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 :
13835 > # Check whether --enable-libgeoip was given.
13836 > if test "${enable_libgeoip+set}" = set; then :
13837 >  enableval=$enable_libgeoip;
13838 > else
13839 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13840 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13841 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13842 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13843 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13844    $as_echo_n "(cached) " >&6
13845   else
13846 <  ac_check_lib_save_LIBS=$LIBS
12712 < LIBS="-lz  $LIBS"
13846 >  ac_func_search_save_LIBS=$LIBS
13847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848   /* end confdefs.h.  */
13849  
# Line 12719 | Line 13853 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13853   #ifdef __cplusplus
13854   extern "C"
13855   #endif
13856 < char zlibVersion ();
13856 > char GeoIP_id_by_ipnum_v6_gl ();
13857   int
13858   main ()
13859   {
13860 < return zlibVersion ();
13860 > return GeoIP_id_by_ipnum_v6_gl ();
13861    ;
13862    return 0;
13863   }
13864   _ACEOF
13865 < if ac_fn_c_try_link "$LINENO"; then :
13866 <  ac_cv_lib_z_zlibVersion=yes
13867 < else
13868 <  ac_cv_lib_z_zlibVersion=no
13865 > for ac_lib in '' GeoIP; do
13866 >  if test -z "$ac_lib"; then
13867 >    ac_res="none required"
13868 >  else
13869 >    ac_res=-l$ac_lib
13870 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13871 >  fi
13872 >  if ac_fn_c_try_link "$LINENO"; then :
13873 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13874   fi
13875   rm -f core conftest.err conftest.$ac_objext \
13876 <    conftest$ac_exeext conftest.$ac_ext
13877 < LIBS=$ac_check_lib_save_LIBS
13878 < 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"
12766 < fi
12767 <
12768 <
12769 < # Check whether --enable-libpcre was given.
12770 < if test "${enable_libpcre+set}" = set; then :
12771 <  enableval=$enable_libpcre; libpcre=$enableval
12772 < else
12773 <  libpcre=yes
13876 >    conftest$ac_exeext
13877 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13878 >  break
13879   fi
13880 + done
13881 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13882  
12776
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
13883   else
13884 <  ac_cv_lib_pcre_pcre_study=no
13884 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13885   fi
13886 < rm -f core conftest.err conftest.$ac_objext \
13887 <    conftest$ac_exeext conftest.$ac_ext
12813 < LIBS=$ac_check_lib_save_LIBS
13886 > rm conftest.$ac_ext
13887 > LIBS=$ac_func_search_save_LIBS
13888   fi
13889 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13890 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13891 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13892 <
13893 <      LIBS="-lpcre $LIBS"
12820 <
12821 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13889 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13890 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13891 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13892 > if test "$ac_res" != no; then :
13893 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13894  
13895 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13896  
12824 else
12825  libpcre=no
13897   fi
13898  
12828
12829 else
12830  libpcre=no
13899   fi
13900  
13901  
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=
13902   fi
13903  
13904  
# Line 12882 | Line 13942 | if test "$cf_enable_openssl" != "no"; th
13942    fi
13943  
13944        if test ! -z "$cf_openssl_basedir"; then
12885    LIBS="-lcrypto -lssl $LIBS"
13945      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13946   $as_echo "$cf_openssl_basedir" >&6; }
13947      cf_enable_openssl="yes"
12889
12890 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12891
13948    else
13949      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13950   $as_echo "not found. Please check your path." >&6; }
# Line 12901 | Line 13957 | $as_echo "disabled" >&6; }
13957   fi
13958  
13959   if test "$cf_enable_openssl" != "no"; then :
13960 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13961 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13960 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13961 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13962    if test "$cross_compiling" = yes; then :
13963    cf_openssl_version_ok=no
13964   else
13965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966   /* end confdefs.h.  */
13967  
13968 +
13969      #include <openssl/opensslv.h>
13970      #include <stdlib.h>
13971   int
13972   main ()
13973   {
13974 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13974 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
13975    ;
13976    return 0;
13977   }
# Line 12935 | Line 13992 | $as_echo "found" >&6; }
13992  
13993      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13994   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13995 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13995 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13996    $as_echo_n "(cached) " >&6
13997   else
13998    ac_check_lib_save_LIBS=$LIBS
# Line 12969 | Line 14026 | LIBS=$ac_check_lib_save_LIBS
14026   fi
14027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14028   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14029 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14029 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14030    cat >>confdefs.h <<_ACEOF
14031   #define HAVE_LIBCRYPTO 1
14032   _ACEOF
# Line 12979 | Line 14036 | _ACEOF
14036   fi
14037  
14038      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14039 <  for ac_func in EVP_bf_cfb           \
14040 <                      EVP_cast5_cfb        \
14041 <                      EVP_idea_cfb         \
14042 <                      EVP_rc5_32_12_16_cfb \
14043 <                      EVP_des_ede3_cfb     \
14044 <                      EVP_des_cfb
14045 < do :
14046 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14047 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14048 < eval as_val=\$$as_ac_var
14049 <   if test "x$as_val" = x""yes; then :
14039 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14040 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14041 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14042 >  $as_echo_n "(cached) " >&6
14043 > else
14044 >  ac_check_lib_save_LIBS=$LIBS
14045 > LIBS="-lssl  $LIBS"
14046 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 > /* end confdefs.h.  */
14048 >
14049 > /* Override any GCC internal prototype to avoid an error.
14050 >   Use char because int might match the return type of a GCC
14051 >   builtin and then its argument prototype would still apply.  */
14052 > #ifdef __cplusplus
14053 > extern "C"
14054 > #endif
14055 > char SSL_connect ();
14056 > int
14057 > main ()
14058 > {
14059 > return SSL_connect ();
14060 >  ;
14061 >  return 0;
14062 > }
14063 > _ACEOF
14064 > if ac_fn_c_try_link "$LINENO"; then :
14065 >  ac_cv_lib_ssl_SSL_connect=yes
14066 > else
14067 >  ac_cv_lib_ssl_SSL_connect=no
14068 > fi
14069 > rm -f core conftest.err conftest.$ac_objext \
14070 >    conftest$ac_exeext conftest.$ac_ext
14071 > LIBS=$ac_check_lib_save_LIBS
14072 > fi
14073 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14074 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14075 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14076    cat >>confdefs.h <<_ACEOF
14077 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14077 > #define HAVE_LIBSSL 1
14078   _ACEOF
14079  
14080 +  LIBS="-lssl $LIBS"
14081 +
14082   fi
12998 done
14083  
14084   fi
14085  
# Line 13006 | Line 14090 | $as_echo "no - OpenSSL support disabled"
14090   fi
14091   fi
14092  
14093 < if test "$cf_enable_openssl" = yes; then
14093 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14094    ENABLE_SSL_TRUE=
14095    ENABLE_SSL_FALSE='#'
14096   else
# Line 13031 | Line 14115 | $as_echo "#define NDEBUG 1" >>confdefs.h
14115   fi
14116  
14117  
14118 < # 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
13046 <
13047 <
13048 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13049 <
13050 <
13051 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13052 <
14118 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14119  
13054 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14120  
14121 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14122  
13057 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14123  
14124 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14125  
13060 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14126  
14127 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14128  
13063 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14129  
14130 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14131  
13066 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14132  
14133 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14134  
13069 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14135  
14136 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14137  
13072 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13073
13074 else
13075
13076
13077
13078 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13079
13080
13081 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13082
13083
13084 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14138  
14139 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14140  
13087 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14141  
14142 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14143  
13090 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14144  
14145 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14146  
13093 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14147  
14148 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14149  
13096 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14150  
14151 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14152  
13099 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14153  
14154 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14155  
13102 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14156  
14157 <
13105 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13106 <
13107 < fi
14157 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14158  
14159  
14160   # Argument processing.
14161  
14162 <    desired_iopoll_mechanism="none"
14163 <    # Check whether --enable-kqueue was given.
14162 >  desired_iopoll_mechanism="none"
14163 >
14164 >  # Check whether --enable-kqueue was given.
14165   if test "${enable_kqueue+set}" = set; then :
14166    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14167   fi
# Line 13125 | Line 14176 | if test "${enable_devpoll+set}" = set; t
14176    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14177   fi
14178  
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
14179    # Check whether --enable-poll was given.
14180   if test "${enable_poll+set}" = set; then :
14181    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14182   fi
14183  
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
14184  
14185 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14185 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14186   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14187 +
14188    iopoll_mechanism_none=0
14189  
14190   cat >>confdefs.h <<_ACEOF
14191   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14192   _ACEOF
14193  
14194 <      iopoll_mechanism_kqueue=1
14194 >
14195 >  iopoll_mechanism_kqueue=1
14196  
14197   cat >>confdefs.h <<_ACEOF
14198   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 13202 | Line 14246 | else
14246   fi
14247   rm -f core conftest.err conftest.$ac_objext \
14248      conftest$ac_exeext conftest.$ac_ext
14249 <      iopoll_mechanism_epoll=2
14249 >
14250 >  iopoll_mechanism_epoll=2
14251  
14252   cat >>confdefs.h <<_ACEOF
14253   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14254   _ACEOF
14255  
13211  if test "$cross_compiling" = yes; then :
13212  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13214 as_fn_error "cannot run test program while cross compiling
13215 See \`config.log' for more details." "$LINENO" 5; }
13216 else
14256    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257   /* end confdefs.h.  */
13219
14258   #include <sys/epoll.h>
14259 < #include <sys/syscall.h>
14260 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14261 < #if !defined(__NR_epoll_create)
14262 < #if defined(__ia64__)
14263 < #define __NR_epoll_create 1243
14264 < #elif defined(__x86_64__)
14265 < #define __NR_epoll_create 214
13228 < #elif defined(__sparc64__) || defined(__sparc__)
13229 < #define __NR_epoll_create 193
13230 < #elif defined(__s390__) || defined(__m68k__)
13231 < #define __NR_epoll_create 249
13232 < #elif defined(__ppc64__) || defined(__ppc__)
13233 < #define __NR_epoll_create 236
13234 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13235 < #define __NR_epoll_create 224
13236 < #elif defined(__alpha__)
13237 < #define __NR_epoll_create 407
13238 < #elif defined(__sh64__)
13239 < #define __NR_epoll_create 282
13240 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13241 < #define __NR_epoll_create 254
13242 < #else
13243 < #error No system call numbers defined for epoll family.
13244 < #endif
13245 < #endif
13246 < _syscall1(int, epoll_create, int, size)
13247 < #endif
13248 < main() { return epoll_create(256) == -1 ? 1 : 0; }
13249 <
14259 > int
14260 > main ()
14261 > {
14262 > epoll_create(256);
14263 >  ;
14264 >  return 0;
14265 > }
14266   _ACEOF
14267 < if ac_fn_c_try_run "$LINENO"; then :
14267 > if ac_fn_c_try_link "$LINENO"; then :
14268    is_epoll_mechanism_available="yes"
14269   else
14270    is_epoll_mechanism_available="no"
14271   fi
14272 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14273 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13258 < fi
14272 > rm -f core conftest.err conftest.$ac_objext \
14273 >    conftest$ac_exeext conftest.$ac_ext
14274  
14275 <      iopoll_mechanism_devpoll=3
14275 >  iopoll_mechanism_devpoll=3
14276  
14277   cat >>confdefs.h <<_ACEOF
14278   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 13307 | Line 14322 | rm -f core conftest.err conftest.$ac_obj
14322   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14323  
14324    fi
13310      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
14325  
14326 <      iopoll_mechanism_poll=5
14326 >  iopoll_mechanism_poll=4
14327  
14328   cat >>confdefs.h <<_ACEOF
14329   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13400 | Line 14377 | else
14377   fi
14378   rm -f core conftest.err conftest.$ac_objext \
14379      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.  */
14380  
14381 < #ifdef __STDC__
14382 < # 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
13457 <      optimal_iopoll_mechanism="none"
13458 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14381 >  optimal_iopoll_mechanism="none"
14382 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14383      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14384      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14385        optimal_iopoll_mechanism="$mechanism"
14386        break
14387      fi
14388    done
14389 <      if test "$desired_iopoll_mechanism" = "none" ; then
14389 >
14390 >  if test "$desired_iopoll_mechanism" = "none" ; then
14391      if test "$optimal_iopoll_mechanism" = "none" ; then
14392        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14393   $as_echo "none" >&6; }
14394 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14394 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14395      else
14396        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14397        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13481 | Line 14406 | $as_echo "$selected_iopoll_mechanism" >&
14406      else
14407        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14408   $as_echo "none" >&6; }
14409 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14409 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14410      fi
14411    fi
14412 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14412 >
14413 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14414  
14415   cat >>confdefs.h <<_ACEOF
14416   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 13492 | Line 14418 | _ACEOF
14418  
14419  
14420  
14421 +  # Check whether --enable-debugging was given.
14422 + if test "${enable_debugging+set}" = set; then :
14423 +  enableval=$enable_debugging; debugging="$enableval"
14424 + else
14425 +  debugging="no"
14426 + fi
14427 +
14428 +  if test "$debugging" = "yes" ; then
14429 +    CFLAGS="-Wall -g -O0"
14430 +  fi
14431 +
14432  
14433 < # Check whether --with-nicklen was given.
14434 < if test "${with_nicklen+set}" = set; then :
14435 <  withval=$with_nicklen; nicklen="$withval"
14433 >  # Check whether --enable-warnings was given.
14434 > if test "${enable_warnings+set}" = set; then :
14435 >  enableval=$enable_warnings; warnings="$enableval"
14436   else
14437 <  nicklen="9"
14437 >  warnings="no"
14438   fi
14439  
14440  
14441 < cat >>confdefs.h <<_ACEOF
14442 < #define NICKLEN ($nicklen+1)
14441 >  if test "$warnings" = "yes" ; then
14442 >
14443 >
14444 >
14445 >
14446 > for flag in -Wall; do
14447 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14448 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14449 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14450 > if eval \${$as_CACHEVAR+:} false; then :
14451 >  $as_echo_n "(cached) " >&6
14452 > else
14453 >
14454 >  ax_check_save_flags=$CFLAGS
14455 >  CFLAGS="$CFLAGS  $flag"
14456 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 > /* end confdefs.h.  */
14458 >
14459 > int
14460 > main ()
14461 > {
14462 >
14463 >  ;
14464 >  return 0;
14465 > }
14466   _ACEOF
14467 + if ac_fn_c_try_compile "$LINENO"; then :
14468 +  eval "$as_CACHEVAR=yes"
14469 + else
14470 +  eval "$as_CACHEVAR=no"
14471 + fi
14472 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14473 +  CFLAGS=$ax_check_save_flags
14474 + fi
14475 + eval ac_res=\$$as_CACHEVAR
14476 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14477 + $as_echo "$ac_res" >&6; }
14478 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14479 +  if ${CFLAGS+:} false; then :
14480 +  case " $CFLAGS " in
14481 +    *" $flag "*)
14482 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14483 +  (: CFLAGS already contains $flag) 2>&5
14484 +  ac_status=$?
14485 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14486 +  test $ac_status = 0; }
14487 +      ;;
14488 +    *)
14489 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14490 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14491 +  ac_status=$?
14492 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14493 +  test $ac_status = 0; }
14494 +      CFLAGS="$CFLAGS $flag"
14495 +      ;;
14496 +   esac
14497 + else
14498 +  CFLAGS="$flag"
14499 + fi
14500 +
14501 + else
14502 +  :
14503 + fi
14504 +
14505 + done
14506 +
14507 +
14508 +
14509 +
14510 +
14511 + for flag in -Wextra; do
14512 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14513 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14514 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14515 + if eval \${$as_CACHEVAR+:} false; then :
14516 +  $as_echo_n "(cached) " >&6
14517 + else
14518  
14519 +  ax_check_save_flags=$CFLAGS
14520 +  CFLAGS="$CFLAGS  $flag"
14521 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 + /* end confdefs.h.  */
14523  
14524 + int
14525 + main ()
14526 + {
14527  
14528 +  ;
14529 +  return 0;
14530 + }
14531 + _ACEOF
14532 + if ac_fn_c_try_compile "$LINENO"; then :
14533 +  eval "$as_CACHEVAR=yes"
14534 + else
14535 +  eval "$as_CACHEVAR=no"
14536 + fi
14537 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14538 +  CFLAGS=$ax_check_save_flags
14539 + fi
14540 + eval ac_res=\$$as_CACHEVAR
14541 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14542 + $as_echo "$ac_res" >&6; }
14543 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14544 +  if ${CFLAGS+:} false; then :
14545 +  case " $CFLAGS " in
14546 +    *" $flag "*)
14547 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14548 +  (: CFLAGS already contains $flag) 2>&5
14549 +  ac_status=$?
14550 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14551 +  test $ac_status = 0; }
14552 +      ;;
14553 +    *)
14554 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14555 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14556 +  ac_status=$?
14557 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14558 +  test $ac_status = 0; }
14559 +      CFLAGS="$CFLAGS $flag"
14560 +      ;;
14561 +   esac
14562 + else
14563 +  CFLAGS="$flag"
14564 + fi
14565  
13511 # Check whether --with-topiclen was given.
13512 if test "${with_topiclen+set}" = set; then :
13513  withval=$with_topiclen; topiclen="$withval"
14566   else
14567 <  topiclen="160"
14567 >  :
14568   fi
14569  
14570 + done
14571  
14572 < cat >>confdefs.h <<_ACEOF
14573 < #define TOPICLEN ($topiclen)
14572 >
14573 >
14574 >
14575 >
14576 > for flag in -Wno-unused; do
14577 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14578 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14579 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14580 > if eval \${$as_CACHEVAR+:} false; then :
14581 >  $as_echo_n "(cached) " >&6
14582 > else
14583 >
14584 >  ax_check_save_flags=$CFLAGS
14585 >  CFLAGS="$CFLAGS  $flag"
14586 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 > /* end confdefs.h.  */
14588 >
14589 > int
14590 > main ()
14591 > {
14592 >
14593 >  ;
14594 >  return 0;
14595 > }
14596   _ACEOF
14597 + if ac_fn_c_try_compile "$LINENO"; then :
14598 +  eval "$as_CACHEVAR=yes"
14599 + else
14600 +  eval "$as_CACHEVAR=no"
14601 + fi
14602 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14603 +  CFLAGS=$ax_check_save_flags
14604 + fi
14605 + eval ac_res=\$$as_CACHEVAR
14606 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14607 + $as_echo "$ac_res" >&6; }
14608 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14609 +  if ${CFLAGS+:} false; then :
14610 +  case " $CFLAGS " in
14611 +    *" $flag "*)
14612 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14613 +  (: CFLAGS already contains $flag) 2>&5
14614 +  ac_status=$?
14615 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14616 +  test $ac_status = 0; }
14617 +      ;;
14618 +    *)
14619 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14620 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14621 +  ac_status=$?
14622 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14623 +  test $ac_status = 0; }
14624 +      CFLAGS="$CFLAGS $flag"
14625 +      ;;
14626 +   esac
14627 + else
14628 +  CFLAGS="$flag"
14629 + fi
14630 +
14631 + else
14632 +  :
14633 + fi
14634 +
14635 + done
14636 +
14637 +
14638 +
14639  
14640  
14641 + for flag in -Wcast-qual; do
14642 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14643 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14644 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14645 + if eval \${$as_CACHEVAR+:} false; then :
14646 +  $as_echo_n "(cached) " >&6
14647 + else
14648 +
14649 +  ax_check_save_flags=$CFLAGS
14650 +  CFLAGS="$CFLAGS  $flag"
14651 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 + /* end confdefs.h.  */
14653  
14654 + int
14655 + main ()
14656 + {
14657  
14658 < # Check whether --with-syslog-facility was given.
14659 < if test "${with_syslog_facility+set}" = set; then :
14660 <  withval=$with_syslog_facility; syslog_facility="$withval"
14658 >  ;
14659 >  return 0;
14660 > }
14661 > _ACEOF
14662 > if ac_fn_c_try_compile "$LINENO"; then :
14663 >  eval "$as_CACHEVAR=yes"
14664   else
14665 <  syslog_facility="LOG_LOCAL4"
14665 >  eval "$as_CACHEVAR=no"
14666 > fi
14667 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14668 >  CFLAGS=$ax_check_save_flags
14669 > fi
14670 > eval ac_res=\$$as_CACHEVAR
14671 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14672 > $as_echo "$ac_res" >&6; }
14673 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14674 >  if ${CFLAGS+:} false; then :
14675 >  case " $CFLAGS " in
14676 >    *" $flag "*)
14677 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14678 >  (: CFLAGS already contains $flag) 2>&5
14679 >  ac_status=$?
14680 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14681 >  test $ac_status = 0; }
14682 >      ;;
14683 >    *)
14684 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14685 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14686 >  ac_status=$?
14687 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688 >  test $ac_status = 0; }
14689 >      CFLAGS="$CFLAGS $flag"
14690 >      ;;
14691 >   esac
14692 > else
14693 >  CFLAGS="$flag"
14694   fi
14695  
14696 + else
14697 +  :
14698 + fi
14699  
14700 < cat >>confdefs.h <<_ACEOF
14701 < #define LOG_FACILITY $syslog_facility
14700 > done
14701 >
14702 >
14703 >
14704 >
14705 >
14706 > for flag in -Wcast-align; do
14707 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14708 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14709 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14710 > if eval \${$as_CACHEVAR+:} false; then :
14711 >  $as_echo_n "(cached) " >&6
14712 > else
14713 >
14714 >  ax_check_save_flags=$CFLAGS
14715 >  CFLAGS="$CFLAGS  $flag"
14716 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 > /* end confdefs.h.  */
14718 >
14719 > int
14720 > main ()
14721 > {
14722 >
14723 >  ;
14724 >  return 0;
14725 > }
14726   _ACEOF
14727 + if ac_fn_c_try_compile "$LINENO"; then :
14728 +  eval "$as_CACHEVAR=yes"
14729 + else
14730 +  eval "$as_CACHEVAR=no"
14731 + fi
14732 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14733 +  CFLAGS=$ax_check_save_flags
14734 + fi
14735 + eval ac_res=\$$as_CACHEVAR
14736 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14737 + $as_echo "$ac_res" >&6; }
14738 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14739 +  if ${CFLAGS+:} false; then :
14740 +  case " $CFLAGS " in
14741 +    *" $flag "*)
14742 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14743 +  (: CFLAGS already contains $flag) 2>&5
14744 +  ac_status=$?
14745 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14746 +  test $ac_status = 0; }
14747 +      ;;
14748 +    *)
14749 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14750 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14751 +  ac_status=$?
14752 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14753 +  test $ac_status = 0; }
14754 +      CFLAGS="$CFLAGS $flag"
14755 +      ;;
14756 +   esac
14757 + else
14758 +  CFLAGS="$flag"
14759 + fi
14760 +
14761 + else
14762 +  :
14763 + fi
14764 +
14765 + done
14766 +
14767 +
14768 +
14769 +
14770 +
14771 + for flag in -Wbad-function-cast; do
14772 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14773 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14774 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14775 + if eval \${$as_CACHEVAR+:} false; then :
14776 +  $as_echo_n "(cached) " >&6
14777 + else
14778  
14779 +  ax_check_save_flags=$CFLAGS
14780 +  CFLAGS="$CFLAGS  $flag"
14781 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 + /* end confdefs.h.  */
14783  
14784 + int
14785 + main ()
14786 + {
14787 +
14788 +  ;
14789 +  return 0;
14790 + }
14791 + _ACEOF
14792 + if ac_fn_c_try_compile "$LINENO"; then :
14793 +  eval "$as_CACHEVAR=yes"
14794 + else
14795 +  eval "$as_CACHEVAR=no"
14796 + fi
14797 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 +  CFLAGS=$ax_check_save_flags
14799 + fi
14800 + eval ac_res=\$$as_CACHEVAR
14801 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14802 + $as_echo "$ac_res" >&6; }
14803 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14804 +  if ${CFLAGS+:} false; then :
14805 +  case " $CFLAGS " in
14806 +    *" $flag "*)
14807 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14808 +  (: CFLAGS already contains $flag) 2>&5
14809 +  ac_status=$?
14810 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811 +  test $ac_status = 0; }
14812 +      ;;
14813 +    *)
14814 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14815 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14816 +  ac_status=$?
14817 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14818 +  test $ac_status = 0; }
14819 +      CFLAGS="$CFLAGS $flag"
14820 +      ;;
14821 +   esac
14822 + else
14823 +  CFLAGS="$flag"
14824 + fi
14825  
13540  # Check whether --enable-efnet was given.
13541 if test "${enable_efnet+set}" = set; then :
13542  enableval=$enable_efnet; efnet="$enableval"
14826   else
14827 <  efnet="no"
14827 >  :
14828   fi
14829  
14830 <  if test "$efnet" = "yes" ; then
13548 <                use_efnet="yes"
14830 > done
14831  
13550 $as_echo "#define EFNET 1" >>confdefs.h
14832  
14833  
13553 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14834  
14835 <        else
14836 <                use_efnet="no"
14837 <  fi
14838 <   if test "$use_efnet" = "yes"; then
14839 <  EFNET_TRUE=
14840 <  EFNET_FALSE='#'
14835 >
14836 > for flag in -Wlogical-op; do
14837 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14838 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14839 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14840 > if eval \${$as_CACHEVAR+:} false; then :
14841 >  $as_echo_n "(cached) " >&6
14842   else
14843 <  EFNET_TRUE='#'
14844 <  EFNET_FALSE=
14843 >
14844 >  ax_check_save_flags=$CFLAGS
14845 >  CFLAGS="$CFLAGS  $flag"
14846 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 > /* end confdefs.h.  */
14848 >
14849 > int
14850 > main ()
14851 > {
14852 >
14853 >  ;
14854 >  return 0;
14855 > }
14856 > _ACEOF
14857 > if ac_fn_c_try_compile "$LINENO"; then :
14858 >  eval "$as_CACHEVAR=yes"
14859 > else
14860 >  eval "$as_CACHEVAR=no"
14861 > fi
14862 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14863 >  CFLAGS=$ax_check_save_flags
14864 > fi
14865 > eval ac_res=\$$as_CACHEVAR
14866 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14867 > $as_echo "$ac_res" >&6; }
14868 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14869 >  if ${CFLAGS+:} false; then :
14870 >  case " $CFLAGS " in
14871 >    *" $flag "*)
14872 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14873 >  (: CFLAGS already contains $flag) 2>&5
14874 >  ac_status=$?
14875 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 >  test $ac_status = 0; }
14877 >      ;;
14878 >    *)
14879 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14880 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14881 >  ac_status=$?
14882 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883 >  test $ac_status = 0; }
14884 >      CFLAGS="$CFLAGS $flag"
14885 >      ;;
14886 >   esac
14887 > else
14888 >  CFLAGS="$flag"
14889   fi
14890  
14891 + else
14892 +  :
14893 + fi
14894 +
14895 + done
14896 +
14897 +
14898  
14899  
14900 <  # Check whether --enable-halfops was given.
14901 < if test "${enable_halfops+set}" = set; then :
14902 <  enableval=$enable_halfops; halfops="$enableval"
14900 >
14901 > for flag in -Wmissing-declarations; do
14902 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14903 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14904 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14905 > if eval \${$as_CACHEVAR+:} false; then :
14906 >  $as_echo_n "(cached) " >&6
14907 > else
14908 >
14909 >  ax_check_save_flags=$CFLAGS
14910 >  CFLAGS="$CFLAGS  $flag"
14911 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 > /* end confdefs.h.  */
14913 >
14914 > int
14915 > main ()
14916 > {
14917 >
14918 >  ;
14919 >  return 0;
14920 > }
14921 > _ACEOF
14922 > if ac_fn_c_try_compile "$LINENO"; then :
14923 >  eval "$as_CACHEVAR=yes"
14924   else
14925 <  halfops="no"
14925 >  eval "$as_CACHEVAR=no"
14926 > fi
14927 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14928 >  CFLAGS=$ax_check_save_flags
14929 > fi
14930 > eval ac_res=\$$as_CACHEVAR
14931 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14932 > $as_echo "$ac_res" >&6; }
14933 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14934 >  if ${CFLAGS+:} false; then :
14935 >  case " $CFLAGS " in
14936 >    *" $flag "*)
14937 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14938 >  (: CFLAGS already contains $flag) 2>&5
14939 >  ac_status=$?
14940 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14941 >  test $ac_status = 0; }
14942 >      ;;
14943 >    *)
14944 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14945 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14946 >  ac_status=$?
14947 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14948 >  test $ac_status = 0; }
14949 >      CFLAGS="$CFLAGS $flag"
14950 >      ;;
14951 >   esac
14952 > else
14953 >  CFLAGS="$flag"
14954   fi
14955  
14956 <  if test "$halfops" = "yes" ; then
14956 > else
14957 >  :
14958 > fi
14959  
14960 < $as_echo "#define HALFOPS 1" >>confdefs.h
14960 > done
14961  
13579  fi
14962  
14963  
14964 <  # Check whether --enable-debugging was given.
14965 < if test "${enable_debugging+set}" = set; then :
14966 <  enableval=$enable_debugging; debugging="$enableval"
14964 >
14965 >
14966 > for flag in -Wmissing-include-dirs; do
14967 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14968 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14969 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14970 > if eval \${$as_CACHEVAR+:} false; then :
14971 >  $as_echo_n "(cached) " >&6
14972   else
14973 <  debugging="no"
14973 >
14974 >  ax_check_save_flags=$CFLAGS
14975 >  CFLAGS="$CFLAGS  $flag"
14976 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 > /* end confdefs.h.  */
14978 >
14979 > int
14980 > main ()
14981 > {
14982 >
14983 >  ;
14984 >  return 0;
14985 > }
14986 > _ACEOF
14987 > if ac_fn_c_try_compile "$LINENO"; then :
14988 >  eval "$as_CACHEVAR=yes"
14989 > else
14990 >  eval "$as_CACHEVAR=no"
14991 > fi
14992 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 >  CFLAGS=$ax_check_save_flags
14994 > fi
14995 > eval ac_res=\$$as_CACHEVAR
14996 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14997 > $as_echo "$ac_res" >&6; }
14998 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14999 >  if ${CFLAGS+:} false; then :
15000 >  case " $CFLAGS " in
15001 >    *" $flag "*)
15002 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15003 >  (: CFLAGS already contains $flag) 2>&5
15004 >  ac_status=$?
15005 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15006 >  test $ac_status = 0; }
15007 >      ;;
15008 >    *)
15009 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15010 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15011 >  ac_status=$?
15012 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15013 >  test $ac_status = 0; }
15014 >      CFLAGS="$CFLAGS $flag"
15015 >      ;;
15016 >   esac
15017 > else
15018 >  CFLAGS="$flag"
15019   fi
15020  
15021 <  if test "$debugging" = "yes" ; then
15021 > else
15022 >  :
15023 > fi
15024  
15025 < $as_echo "#define DEBUG 1" >>confdefs.h
15025 > done
15026  
13593    CFLAGS="-Wall -g -O0"
13594  else
15027  
13596 $as_echo "#define NDEBUG 1" >>confdefs.h
15028  
13598  fi
15029  
15030  
15031 <  # Check whether --enable-warnings was given.
15032 < if test "${enable_warnings+set}" = set; then :
15033 <  enableval=$enable_warnings; warnings="$enableval"
15031 > for flag in -Wmissing-prototypes; do
15032 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15033 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15034 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15035 > if eval \${$as_CACHEVAR+:} false; then :
15036 >  $as_echo_n "(cached) " >&6
15037   else
15038 <  warnings="no"
15038 >
15039 >  ax_check_save_flags=$CFLAGS
15040 >  CFLAGS="$CFLAGS  $flag"
15041 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 > /* end confdefs.h.  */
15043 >
15044 > int
15045 > main ()
15046 > {
15047 >
15048 >  ;
15049 >  return 0;
15050 > }
15051 > _ACEOF
15052 > if ac_fn_c_try_compile "$LINENO"; then :
15053 >  eval "$as_CACHEVAR=yes"
15054 > else
15055 >  eval "$as_CACHEVAR=no"
15056 > fi
15057 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15058 >  CFLAGS=$ax_check_save_flags
15059 > fi
15060 > eval ac_res=\$$as_CACHEVAR
15061 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15062 > $as_echo "$ac_res" >&6; }
15063 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15064 >  if ${CFLAGS+:} false; then :
15065 >  case " $CFLAGS " in
15066 >    *" $flag "*)
15067 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15068 >  (: CFLAGS already contains $flag) 2>&5
15069 >  ac_status=$?
15070 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15071 >  test $ac_status = 0; }
15072 >      ;;
15073 >    *)
15074 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15075 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15076 >  ac_status=$?
15077 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15078 >  test $ac_status = 0; }
15079 >      CFLAGS="$CFLAGS $flag"
15080 >      ;;
15081 >   esac
15082 > else
15083 >  CFLAGS="$flag"
15084   fi
15085  
15086 <  if test "$warnings" = "yes" ; then
15087 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15088 <  fi
15086 > else
15087 >  :
15088 > fi
15089  
15090 + done
15091  
15092 <  for ac_header in syslog.h sys/syslog.h
15093 < do :
15094 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15095 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15096 < eval as_val=\$$as_ac_Header
15097 <   if test "x$as_val" = x""yes; then :
15098 <  cat >>confdefs.h <<_ACEOF
15099 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15092 >
15093 >
15094 >
15095 >
15096 > for flag in -Wnested-externs; do
15097 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15098 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15099 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15100 > if eval \${$as_CACHEVAR+:} false; then :
15101 >  $as_echo_n "(cached) " >&6
15102 > else
15103 >
15104 >  ax_check_save_flags=$CFLAGS
15105 >  CFLAGS="$CFLAGS  $flag"
15106 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 > /* end confdefs.h.  */
15108 >
15109 > int
15110 > main ()
15111 > {
15112 >
15113 >  ;
15114 >  return 0;
15115 > }
15116 > _ACEOF
15117 > if ac_fn_c_try_compile "$LINENO"; then :
15118 >  eval "$as_CACHEVAR=yes"
15119 > else
15120 >  eval "$as_CACHEVAR=no"
15121 > fi
15122 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15123 >  CFLAGS=$ax_check_save_flags
15124 > fi
15125 > eval ac_res=\$$as_CACHEVAR
15126 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15127 > $as_echo "$ac_res" >&6; }
15128 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15129 >  if ${CFLAGS+:} false; then :
15130 >  case " $CFLAGS " in
15131 >    *" $flag "*)
15132 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15133 >  (: CFLAGS already contains $flag) 2>&5
15134 >  ac_status=$?
15135 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15136 >  test $ac_status = 0; }
15137 >      ;;
15138 >    *)
15139 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15140 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15141 >  ac_status=$?
15142 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15143 >  test $ac_status = 0; }
15144 >      CFLAGS="$CFLAGS $flag"
15145 >      ;;
15146 >   esac
15147 > else
15148 >  CFLAGS="$flag"
15149 > fi
15150 >
15151 > else
15152 >  :
15153 > fi
15154 >
15155 > done
15156 >
15157 >
15158 >
15159 >
15160 >
15161 > for flag in -Wpointer-arith; do
15162 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15163 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15164 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15165 > if eval \${$as_CACHEVAR+:} false; then :
15166 >  $as_echo_n "(cached) " >&6
15167 > else
15168 >
15169 >  ax_check_save_flags=$CFLAGS
15170 >  CFLAGS="$CFLAGS  $flag"
15171 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 > /* end confdefs.h.  */
15173 >
15174 > int
15175 > main ()
15176 > {
15177 >
15178 >  ;
15179 >  return 0;
15180 > }
15181   _ACEOF
15182 + if ac_fn_c_try_compile "$LINENO"; then :
15183 +  eval "$as_CACHEVAR=yes"
15184 + else
15185 +  eval "$as_CACHEVAR=no"
15186 + fi
15187 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15188 +  CFLAGS=$ax_check_save_flags
15189 + fi
15190 + eval ac_res=\$$as_CACHEVAR
15191 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15192 + $as_echo "$ac_res" >&6; }
15193 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15194 +  if ${CFLAGS+:} false; then :
15195 +  case " $CFLAGS " in
15196 +    *" $flag "*)
15197 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15198 +  (: CFLAGS already contains $flag) 2>&5
15199 +  ac_status=$?
15200 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15201 +  test $ac_status = 0; }
15202 +      ;;
15203 +    *)
15204 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15205 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15206 +  ac_status=$?
15207 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15208 +  test $ac_status = 0; }
15209 +      CFLAGS="$CFLAGS $flag"
15210 +      ;;
15211 +   esac
15212 + else
15213 +  CFLAGS="$flag"
15214 + fi
15215  
15216 + else
15217 +  :
15218   fi
15219  
15220   done
15221  
15222 <  # Check whether --enable-syslog was given.
15223 < if test "${enable_syslog+set}" = set; then :
15224 <  enableval=$enable_syslog; syslog="$enableval"
15225 < else
15226 <  syslog="no"
15222 >
15223 >
15224 >
15225 >
15226 > for flag in -Wredundant-decls; do
15227 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15228 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15229 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15230 > if eval \${$as_CACHEVAR+:} false; then :
15231 >  $as_echo_n "(cached) " >&6
15232 > else
15233 >
15234 >  ax_check_save_flags=$CFLAGS
15235 >  CFLAGS="$CFLAGS  $flag"
15236 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 > /* end confdefs.h.  */
15238 >
15239 > int
15240 > main ()
15241 > {
15242 >
15243 >  ;
15244 >  return 0;
15245 > }
15246 > _ACEOF
15247 > if ac_fn_c_try_compile "$LINENO"; then :
15248 >  eval "$as_CACHEVAR=yes"
15249 > else
15250 >  eval "$as_CACHEVAR=no"
15251 > fi
15252 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253 >  CFLAGS=$ax_check_save_flags
15254 > fi
15255 > eval ac_res=\$$as_CACHEVAR
15256 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15257 > $as_echo "$ac_res" >&6; }
15258 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15259 >  if ${CFLAGS+:} false; then :
15260 >  case " $CFLAGS " in
15261 >    *" $flag "*)
15262 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15263 >  (: CFLAGS already contains $flag) 2>&5
15264 >  ac_status=$?
15265 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15266 >  test $ac_status = 0; }
15267 >      ;;
15268 >    *)
15269 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15270 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15271 >  ac_status=$?
15272 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15273 >  test $ac_status = 0; }
15274 >      CFLAGS="$CFLAGS $flag"
15275 >      ;;
15276 >   esac
15277 > else
15278 >  CFLAGS="$flag"
15279   fi
15280  
15281 <  if test "$enableval" != "no" ; then
15282 <    for option in $enableval ; do
15283 <      case "$option" in
15284 <        users)
15285 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15286 < ;;
15287 <        oper)
15288 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15289 < ;;
15290 <        yes) : ;;
15291 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15292 <      esac
15293 <    done
15281 > else
15282 >  :
15283 > fi
15284 >
15285 > done
15286 >
15287 >
15288 >
15289 >
15290 >
15291 > for flag in -Wshadow; do
15292 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15293 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15294 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15295 > if eval \${$as_CACHEVAR+:} false; then :
15296 >  $as_echo_n "(cached) " >&6
15297 > else
15298 >
15299 >  ax_check_save_flags=$CFLAGS
15300 >  CFLAGS="$CFLAGS  $flag"
15301 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 > /* end confdefs.h.  */
15303 >
15304 > int
15305 > main ()
15306 > {
15307 >
15308 >  ;
15309 >  return 0;
15310 > }
15311 > _ACEOF
15312 > if ac_fn_c_try_compile "$LINENO"; then :
15313 >  eval "$as_CACHEVAR=yes"
15314 > else
15315 >  eval "$as_CACHEVAR=no"
15316 > fi
15317 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318 >  CFLAGS=$ax_check_save_flags
15319 > fi
15320 > eval ac_res=\$$as_CACHEVAR
15321 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15322 > $as_echo "$ac_res" >&6; }
15323 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15324 >  if ${CFLAGS+:} false; then :
15325 >  case " $CFLAGS " in
15326 >    *" $flag "*)
15327 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15328 >  (: CFLAGS already contains $flag) 2>&5
15329 >  ac_status=$?
15330 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15331 >  test $ac_status = 0; }
15332 >      ;;
15333 >    *)
15334 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15335 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15336 >  ac_status=$?
15337 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15338 >  test $ac_status = 0; }
15339 >      CFLAGS="$CFLAGS $flag"
15340 >      ;;
15341 >   esac
15342 > else
15343 >  CFLAGS="$flag"
15344 > fi
15345 >
15346 > else
15347 >  :
15348 > fi
15349 >
15350 > done
15351 >
15352 >
15353 >
15354 >
15355 >
15356 > for flag in -Wwrite-strings; do
15357 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15358 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15359 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15360 > if eval \${$as_CACHEVAR+:} false; then :
15361 >  $as_echo_n "(cached) " >&6
15362 > else
15363 >
15364 >  ax_check_save_flags=$CFLAGS
15365 >  CFLAGS="$CFLAGS  $flag"
15366 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 > /* end confdefs.h.  */
15368 >
15369 > int
15370 > main ()
15371 > {
15372 >
15373 >  ;
15374 >  return 0;
15375 > }
15376 > _ACEOF
15377 > if ac_fn_c_try_compile "$LINENO"; then :
15378 >  eval "$as_CACHEVAR=yes"
15379 > else
15380 >  eval "$as_CACHEVAR=no"
15381 > fi
15382 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 >  CFLAGS=$ax_check_save_flags
15384 > fi
15385 > eval ac_res=\$$as_CACHEVAR
15386 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15387 > $as_echo "$ac_res" >&6; }
15388 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15389 >  if ${CFLAGS+:} false; then :
15390 >  case " $CFLAGS " in
15391 >    *" $flag "*)
15392 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15393 >  (: CFLAGS already contains $flag) 2>&5
15394 >  ac_status=$?
15395 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15396 >  test $ac_status = 0; }
15397 >      ;;
15398 >    *)
15399 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15400 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15401 >  ac_status=$?
15402 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403 >  test $ac_status = 0; }
15404 >      CFLAGS="$CFLAGS $flag"
15405 >      ;;
15406 >   esac
15407 > else
15408 >  CFLAGS="$flag"
15409 > fi
15410 >
15411 > else
15412 >  :
15413 > fi
15414 >
15415 > done
15416 >
15417 >
15418 >
15419 >
15420 >
15421 > for flag in -Wundef; do
15422 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15423 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15424 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15425 > if eval \${$as_CACHEVAR+:} false; then :
15426 >  $as_echo_n "(cached) " >&6
15427 > else
15428 >
15429 >  ax_check_save_flags=$CFLAGS
15430 >  CFLAGS="$CFLAGS  $flag"
15431 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 > /* end confdefs.h.  */
15433 >
15434 > int
15435 > main ()
15436 > {
15437  
15438 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15438 >  ;
15439 >  return 0;
15440 > }
15441 > _ACEOF
15442 > if ac_fn_c_try_compile "$LINENO"; then :
15443 >  eval "$as_CACHEVAR=yes"
15444 > else
15445 >  eval "$as_CACHEVAR=no"
15446 > fi
15447 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 >  CFLAGS=$ax_check_save_flags
15449 > fi
15450 > eval ac_res=\$$as_CACHEVAR
15451 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15452 > $as_echo "$ac_res" >&6; }
15453 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15454 >  if ${CFLAGS+:} false; then :
15455 >  case " $CFLAGS " in
15456 >    *" $flag "*)
15457 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15458 >  (: CFLAGS already contains $flag) 2>&5
15459 >  ac_status=$?
15460 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 >  test $ac_status = 0; }
15462 >      ;;
15463 >    *)
15464 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15465 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15466 >  ac_status=$?
15467 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15468 >  test $ac_status = 0; }
15469 >      CFLAGS="$CFLAGS $flag"
15470 >      ;;
15471 >   esac
15472 > else
15473 >  CFLAGS="$flag"
15474 > fi
15475 >
15476 > else
15477 >  :
15478 > fi
15479 >
15480 > done
15481  
15482    fi
15483  
# Line 13736 | Line 15568 | _ACEOF
15568    test "$exec_prefix_NONE" && exec_prefix=NONE
15569  
15570  
15571 < 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"
15571 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15572  
15573  
15574   cat >confcache <<\_ACEOF
# Line 13803 | Line 15635 | $as_echo "$as_me: WARNING: cache variabl
15635       :end' >>confcache
15636   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15637    if test -w "$cache_file"; then
15638 <    test "x$cache_file" != "x/dev/null" &&
15638 >    if test "x$cache_file" != "x/dev/null"; then
15639        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15640   $as_echo "$as_me: updating cache $cache_file" >&6;}
15641 <    cat confcache >$cache_file
15641 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15642 >        cat confcache >"$cache_file"
15643 >      else
15644 >        case $cache_file in #(
15645 >        */* | ?:*)
15646 >          mv -f confcache "$cache_file"$$ &&
15647 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15648 >        *)
15649 >          mv -f confcache "$cache_file" ;;
15650 >        esac
15651 >      fi
15652 >    fi
15653    else
15654      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15655   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13822 | Line 15665 | DEFS=-DHAVE_CONFIG_H
15665  
15666   ac_libobjs=
15667   ac_ltlibobjs=
15668 + U=
15669   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15670    # 1. Remove the extension, and $U if already installed.
15671    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13836 | Line 15680 | LIBOBJS=$ac_libobjs
15680   LTLIBOBJS=$ac_ltlibobjs
15681  
15682  
15683 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15684 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15685 +   if test -n "$am_sleep_pid"; then
15686 +     # Hide warnings about reused PIDs.
15687 +     wait $am_sleep_pid 2>/dev/null
15688 +   fi
15689 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15690 + $as_echo "done" >&6; }
15691   if test -n "$EXEEXT"; then
15692    am__EXEEXT_TRUE=
15693    am__EXEEXT_FALSE='#'
# Line 13845 | Line 15697 | else
15697   fi
15698  
15699   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15700 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15700 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15701   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15702   fi
15703   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15704 <  as_fn_error "conditional \"AMDEP\" was never defined.
15704 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15705   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15706   fi
15707   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15708 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15708 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15709   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15710   fi
15711   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15712 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15712 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15713   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15714   fi
15715   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15716 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15716 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15717   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15718   fi
15719   LT_CONFIG_H=config.h
# Line 13882 | Line 15734 | LT_CONFIG_H=config.h
15734  
15735  
15736  
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
15737   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15738 <  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.
15738 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15739   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15740   fi
15741  
15742 < : ${CONFIG_STATUS=./config.status}
15742 > : "${CONFIG_STATUS=./config.status}"
15743   ac_write_fail=0
15744   ac_clean_files_save=$ac_clean_files
15745   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13996 | Line 15840 | fi
15840   IFS=" ""        $as_nl"
15841  
15842   # Find who we are.  Look in the path if we contain no directory separator.
15843 + as_myself=
15844   case $0 in #((
15845    *[\\/]* ) as_myself=$0 ;;
15846    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14041 | Line 15886 | export LANGUAGE
15886   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15887  
15888  
15889 < # as_fn_error ERROR [LINENO LOG_FD]
15890 < # ---------------------------------
15889 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15890 > # ----------------------------------------
15891   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15892   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15893 < # script with status $?, using 1 if that was 0.
15893 > # script with STATUS, using 1 if that was 0.
15894   as_fn_error ()
15895   {
15896 <  as_status=$?; test $as_status -eq 0 && as_status=1
15897 <  if test "$3"; then
15898 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15899 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15896 >  as_status=$1; test $as_status -eq 0 && as_status=1
15897 >  if test "$4"; then
15898 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15899 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15900    fi
15901 <  $as_echo "$as_me: error: $1" >&2
15901 >  $as_echo "$as_me: error: $2" >&2
15902    as_fn_exit $as_status
15903   } # as_fn_error
15904  
# Line 14191 | Line 16036 | if (echo >conf$$.file) 2>/dev/null; then
16036      # ... but there are two gotchas:
16037      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16038      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16039 <    # In both cases, we have to default to `cp -p'.
16039 >    # In both cases, we have to default to `cp -pR'.
16040      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16041 <      as_ln_s='cp -p'
16041 >      as_ln_s='cp -pR'
16042    elif ln conf$$.file conf$$ 2>/dev/null; then
16043      as_ln_s=ln
16044    else
16045 <    as_ln_s='cp -p'
16045 >    as_ln_s='cp -pR'
16046    fi
16047   else
16048 <  as_ln_s='cp -p'
16048 >  as_ln_s='cp -pR'
16049   fi
16050   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16051   rmdir conf$$.dir 2>/dev/null
# Line 14249 | Line 16094 | $as_echo X"$as_dir" |
16094        test -d "$as_dir" && break
16095      done
16096      test -z "$as_dirs" || eval "mkdir $as_dirs"
16097 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16097 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16098  
16099  
16100   } # as_fn_mkdir_p
# Line 14260 | Line 16105 | else
16105    as_mkdir_p=false
16106   fi
16107  
16108 < if test -x / >/dev/null 2>&1; then
16109 <  as_test_x='test -x'
16110 < else
16111 <  if ls -dL / >/dev/null 2>&1; then
16112 <    as_ls_L_option=L
16113 <  else
16114 <    as_ls_L_option=
16115 <  fi
16116 <  as_test_x='
16117 <    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
16108 >
16109 > # as_fn_executable_p FILE
16110 > # -----------------------
16111 > # Test if FILE is an executable regular file.
16112 > as_fn_executable_p ()
16113 > {
16114 >  test -f "$1" && test -x "$1"
16115 > } # as_fn_executable_p
16116 > as_test_x='test -x'
16117 > as_executable_p=as_fn_executable_p
16118  
16119   # Sed expression to map a string onto a valid CPP name.
16120   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14302 | Line 16135 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16135   # report actual input values of CONFIG_FILES etc. instead of their
16136   # values after options handling.
16137   ac_log="
16138 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16139 < generated by GNU Autoconf 2.65.  Invocation command line was
16138 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16139 > generated by GNU Autoconf 2.69.  Invocation command line was
16140  
16141    CONFIG_FILES    = $CONFIG_FILES
16142    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14368 | Line 16201 | _ACEOF
16201   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16202   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16203   ac_cs_version="\\
16204 < ircd-hybrid config.status 7.3-rc1
16205 < configured by $0, generated by GNU Autoconf 2.65,
16204 > ircd-hybrid config.status TRUNK
16205 > configured by $0, generated by GNU Autoconf 2.69,
16206    with options \\"\$ac_cs_config\\"
16207  
16208 < Copyright (C) 2009 Free Software Foundation, Inc.
16208 > Copyright (C) 2012 Free Software Foundation, Inc.
16209   This config.status script is free software; the Free Software Foundation
16210   gives unlimited permission to copy, distribute and modify it."
16211  
# Line 14390 | Line 16223 | ac_need_defaults=:
16223   while test $# != 0
16224   do
16225    case $1 in
16226 <  --*=*)
16226 >  --*=?*)
16227      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16228      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16229      ac_shift=:
16230      ;;
16231 +  --*=)
16232 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16233 +    ac_optarg=
16234 +    ac_shift=:
16235 +    ;;
16236    *)
16237      ac_option=$1
16238      ac_optarg=$2
# Line 14416 | Line 16254 | do
16254      $ac_shift
16255      case $ac_optarg in
16256      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16257 +    '') as_fn_error $? "missing file argument" ;;
16258      esac
16259      as_fn_append CONFIG_FILES " '$ac_optarg'"
16260      ac_need_defaults=false;;
# Line 14428 | Line 16267 | do
16267      ac_need_defaults=false;;
16268    --he | --h)
16269      # Conflict between --help and --header
16270 <    as_fn_error "ambiguous option: \`$1'
16270 >    as_fn_error $? "ambiguous option: \`$1'
16271   Try \`$0 --help' for more information.";;
16272    --help | --hel | -h )
16273      $as_echo "$ac_cs_usage"; exit ;;
# Line 14437 | Line 16276 | Try \`$0 --help' for more information.";
16276      ac_cs_silent=: ;;
16277  
16278    # This is an error.
16279 <  -*) as_fn_error "unrecognized option: \`$1'
16279 >  -*) as_fn_error $? "unrecognized option: \`$1'
16280   Try \`$0 --help' for more information." ;;
16281  
16282    *) as_fn_append ac_config_targets " $1"
# Line 14457 | Line 16296 | fi
16296   _ACEOF
16297   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16298   if \$ac_cs_recheck; then
16299 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16299 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16300    shift
16301    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16302    CONFIG_SHELL='$SHELL'
# Line 14491 | Line 16330 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16330   sed_quote_subst='$sed_quote_subst'
16331   double_quote_subst='$double_quote_subst'
16332   delay_variable_subst='$delay_variable_subst'
16333 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16334 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16335 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16336 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16337 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16338 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16339 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16340 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16341 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16342 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16343 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16344 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16345 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16346 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16347 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16348 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16349 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16350 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16351 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16352 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16353 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16354 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16355 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16356 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16357 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16358 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16359 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16360 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16361 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16362 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16363 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16364 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16365 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16366 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16367 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16368 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16369 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16370 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16371 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16372 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16373 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16374 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16375 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16376 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16377 < 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"`'
16378 < 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"`'
16379 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16380 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16381 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16382 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16383 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16384 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16385 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16386 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16387 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16388 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16389 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16390 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16391 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16392 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16393 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16394 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16395 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16396 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16397 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16398 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16399 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16400 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16401 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16402 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16403 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16404 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16405 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16406 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16407 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16408 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16409 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16410 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16411 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16412 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16413 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16414 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16415 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16416 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16417 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16418 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16419 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16420 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16421 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16422 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16423 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16424 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16425 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16426 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16427 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16428 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16429 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16430 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16431 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16432 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16433 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16434 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16435 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16436 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16437 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16438 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16439 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16440 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16441 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16442 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16443 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16444 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16445 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16446 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16447 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16448 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16449 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16450 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16333 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16334 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16335 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16336 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16337 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16338 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16339 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16340 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16341 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16342 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16343 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16344 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16345 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16346 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16347 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16348 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16349 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16350 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16351 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16352 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16353 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16354 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16355 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16356 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16357 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16358 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16359 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16360 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16361 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16362 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16363 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16364 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16365 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16366 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16367 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16368 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16369 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16370 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16371 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16372 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16373 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16374 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16375 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16376 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16377 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16378 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16379 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16380 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16381 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16382 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16383 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16384 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16385 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16386 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16387 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16388 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16389 > 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"`'
16390 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16391 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16392 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16393 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16394 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16395 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16396 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16397 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16398 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16399 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16400 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16401 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16402 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16403 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16404 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16405 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16406 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16407 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16408 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16409 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16410 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16411 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16412 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16413 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16414 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16415 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16416 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16417 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16418 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16419 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16420 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16421 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16422 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16423 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16424 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16425 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16426 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16427 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16428 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16429 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16430 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16431 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16432 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16433 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16434 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16435 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16436 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16437 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16438 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16439 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16440 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16441 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16442 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16443 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16444 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16445 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16446 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16447 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16448 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16449 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16450 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16451 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16452 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16453 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16454 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16455 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16456 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16457 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16458 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16459 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16460 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16461 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16462 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16463  
16464   LTCC='$LTCC'
16465   LTCFLAGS='$LTCFLAGS'
16466   compiler='$compiler_DEFAULT'
16467  
16468 + # A function that is used when there is no print builtin or printf.
16469 + func_fallback_echo ()
16470 + {
16471 +  eval 'cat <<_LTECHO_EOF
16472 + \$1
16473 + _LTECHO_EOF'
16474 + }
16475 +
16476   # Quote evaled strings.
16477 < for var in SED \
16477 > for var in SHELL \
16478 > ECHO \
16479 > PATH_SEPARATOR \
16480 > SED \
16481   GREP \
16482   EGREP \
16483   FGREP \
# Line 14628 | Line 16490 | reload_flag \
16490   OBJDUMP \
16491   deplibs_check_method \
16492   file_magic_cmd \
16493 + file_magic_glob \
16494 + want_nocaseglob \
16495 + DLLTOOL \
16496 + sharedlib_from_linklib_cmd \
16497   AR \
16498   AR_FLAGS \
16499 + archiver_list_spec \
16500   STRIP \
16501   RANLIB \
16502   CC \
# Line 14639 | Line 16506 | lt_cv_sys_global_symbol_pipe \
16506   lt_cv_sys_global_symbol_to_cdecl \
16507   lt_cv_sys_global_symbol_to_c_name_address \
16508   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16509 < SHELL \
14643 < ECHO \
16509 > nm_file_list_spec \
16510   lt_prog_compiler_no_builtin_flag \
14645 lt_prog_compiler_wl \
16511   lt_prog_compiler_pic \
16512 + lt_prog_compiler_wl \
16513   lt_prog_compiler_static \
16514   lt_cv_prog_compiler_c_o \
16515   need_locks \
16516 + MANIFEST_TOOL \
16517   DSYMUTIL \
16518   NMEDIT \
16519   LIPO \
# Line 14660 | Line 16527 | with_gnu_ld \
16527   allow_undefined_flag \
16528   no_undefined_flag \
16529   hardcode_libdir_flag_spec \
14663 hardcode_libdir_flag_spec_ld \
16530   hardcode_libdir_separator \
14665 fix_srcfile_path \
16531   exclude_expsyms \
16532   include_expsyms \
16533   file_list_spec \
# Line 14670 | Line 16535 | variables_saved_for_relink \
16535   libname_spec \
16536   library_names_spec \
16537   soname_spec \
16538 + install_override_mode \
16539   finish_eval \
16540   old_striplib \
16541   striplib; do
16542 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16542 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16543      *[\\\\\\\`\\"\\\$]*)
16544 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16544 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16545        ;;
16546      *)
16547        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 16563 | module_cmds \
16563   module_expsym_cmds \
16564   export_symbols_cmds \
16565   prelink_cmds \
16566 + postlink_cmds \
16567   postinstall_cmds \
16568   postuninstall_cmds \
16569   finish_cmds \
16570   sys_lib_search_path_spec \
16571   sys_lib_dlsearch_path_spec; do
16572 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16572 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16573      *[\\\\\\\`\\"\\\$]*)
16574 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16574 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16575        ;;
16576      *)
16577        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14712 | Line 16579 | sys_lib_dlsearch_path_spec; do
16579      esac
16580   done
16581  
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
16582   ac_aux_dir='$ac_aux_dir'
16583   xsi_shell='$xsi_shell'
16584   lt_shell_append='$lt_shell_append'
# Line 14750 | Line 16611 | do
16611      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16612      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16613      "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" ;;
16614      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16615 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16615 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16616      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16617      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16618      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16619      "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" ;;
16620      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16621  
16622 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16622 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16623    esac
16624   done
16625  
# Line 14787 | Line 16642 | fi
16642   # after its creation but before its name has been assigned to `$tmp'.
16643   $debug ||
16644   {
16645 <  tmp=
16645 >  tmp= ac_tmp=
16646    trap 'exit_status=$?
16647 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16647 >  : "${ac_tmp:=$tmp}"
16648 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16649   ' 0
16650    trap 'as_fn_exit 1' 1 2 13 15
16651   }
# Line 14797 | Line 16653 | $debug ||
16653  
16654   {
16655    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16656 <  test -n "$tmp" && test -d "$tmp"
16656 >  test -d "$tmp"
16657   }  ||
16658   {
16659    tmp=./conf$$-$RANDOM
16660    (umask 077 && mkdir "$tmp")
16661 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16661 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16662 > ac_tmp=$tmp
16663  
16664   # Set up the scripts for CONFIG_FILES section.
16665   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 16676 | if test "x$ac_cr" = x; then
16676   fi
16677   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16678   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16679 <  ac_cs_awk_cr='\r'
16679 >  ac_cs_awk_cr='\\r'
16680   else
16681    ac_cs_awk_cr=$ac_cr
16682   fi
16683  
16684 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16684 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16685   _ACEOF
16686  
16687  
# Line 14833 | Line 16690 | _ACEOF
16690    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16691    echo "_ACEOF"
16692   } >conf$$subs.sh ||
16693 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16694 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16693 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16694 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16695   ac_delim='%!_!# '
16696   for ac_last_try in false false false false false :; do
16697    . ./conf$$subs.sh ||
16698 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16698 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16699  
16700    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16701    if test $ac_delim_n = $ac_delim_num; then
16702      break
16703    elif $ac_last_try; then
16704 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16704 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16705    else
16706      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16707    fi
# Line 14852 | Line 16709 | done
16709   rm -f conf$$subs.sh
16710  
16711   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16712 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16712 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16713   _ACEOF
16714   sed -n '
16715   h
# Line 14900 | Line 16757 | t delim
16757   rm -f conf$$subs.awk
16758   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16759   _ACAWK
16760 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16760 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16761    for (key in S) S_is_set[key] = 1
16762    FS = ""
16763  
# Line 14932 | Line 16789 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16789    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16790   else
16791    cat
16792 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16793 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16792 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16793 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16794   _ACEOF
16795  
16796 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16797 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16796 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16797 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16798   # trailing colons and then remove the whole line if VPATH becomes empty
16799   # (actually we leave an empty line to preserve line numbers).
16800   if test "x$srcdir" = x.; then
16801 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16802 < s/:*\$(srcdir):*/:/
16803 < s/:*\${srcdir}:*/:/
16804 < s/:*@srcdir@:*/:/
16805 < s/^\([^=]*=[     ]*\):*/\1/
16801 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16802 > h
16803 > s///
16804 > s/^/:/
16805 > s/[      ]*$/:/
16806 > s/:\$(srcdir):/:/g
16807 > s/:\${srcdir}:/:/g
16808 > s/:@srcdir@:/:/g
16809 > s/^:*//
16810   s/:*$//
16811 + x
16812 + s/\(=[   ]*\).*/\1/
16813 + G
16814 + s/\n//
16815   s/^[^=]*=[       ]*$//
16816   }'
16817   fi
# Line 14958 | Line 16823 | fi # test -n "$CONFIG_FILES"
16823   # No need to generate them if there are no CONFIG_HEADERS.
16824   # This happens for instance with `./config.status Makefile'.
16825   if test -n "$CONFIG_HEADERS"; then
16826 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16826 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16827   BEGIN {
16828   _ACEOF
16829  
# Line 14970 | Line 16835 | _ACEOF
16835   # handling of long lines.
16836   ac_delim='%!_!# '
16837   for ac_last_try in false false :; do
16838 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16839 <  if test -z "$ac_t"; then
16838 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16839 >  if test -z "$ac_tt"; then
16840      break
16841    elif $ac_last_try; then
16842 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16842 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16843    else
16844      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16845    fi
# Line 15059 | Line 16924 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16924   _ACAWK
16925   _ACEOF
16926   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16927 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16927 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16928   fi # test -n "$CONFIG_HEADERS"
16929  
16930  
# Line 15072 | Line 16937 | do
16937    esac
16938    case $ac_mode$ac_tag in
16939    :[FHL]*:*);;
16940 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16940 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16941    :[FH]-) ac_tag=-:-;;
16942    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16943    esac
# Line 15091 | Line 16956 | do
16956      for ac_f
16957      do
16958        case $ac_f in
16959 <      -) ac_f="$tmp/stdin";;
16959 >      -) ac_f="$ac_tmp/stdin";;
16960        *) # Look for the file first in the build tree, then in the source tree
16961           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16962           # because $ac_f cannot contain `:'.
# Line 15100 | Line 16965 | do
16965             [\\/$]*) false;;
16966             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16967             esac ||
16968 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16968 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16969        esac
16970        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16971        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 16991 | $as_echo "$as_me: creating $ac_file" >&6
16991      esac
16992  
16993      case $ac_tag in
16994 <    *:-:* | *:-) cat >"$tmp/stdin" \
16995 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16994 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16995 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16996      esac
16997      ;;
16998    esac
# Line 15263 | Line 17128 | s&@INSTALL@&$ac_INSTALL&;t t
17128   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17129   $ac_datarootdir_hack
17130   "
17131 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17132 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17131 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17132 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17133  
17134   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17135 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17136 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17135 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17136 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17137 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17139 < which seems to be undefined.  Please make sure it is defined." >&5
17139 > which seems to be undefined.  Please make sure it is defined" >&5
17140   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17141 < which seems to be undefined.  Please make sure it is defined." >&2;}
17141 > which seems to be undefined.  Please make sure it is defined" >&2;}
17142  
17143 <  rm -f "$tmp/stdin"
17143 >  rm -f "$ac_tmp/stdin"
17144    case $ac_file in
17145 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17146 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17145 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17146 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17147    esac \
17148 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17148 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17149   ;;
17150    :H)
17151    #
# Line 15288 | Line 17154 | which seems to be undefined.  Please mak
17154    if test x"$ac_file" != x-; then
17155      {
17156        $as_echo "/* $configure_input  */" \
17157 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17158 <    } >"$tmp/config.h" \
17159 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17160 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17157 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17158 >    } >"$ac_tmp/config.h" \
17159 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17160 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17161        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17162   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17163      else
17164        rm -f "$ac_file"
17165 <      mv "$tmp/config.h" "$ac_file" \
17166 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17165 >      mv "$ac_tmp/config.h" "$ac_file" \
17166 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17167      fi
17168    else
17169      $as_echo "/* $configure_input  */" \
17170 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17171 <      || as_fn_error "could not create -" "$LINENO" 5
17170 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17171 >      || as_fn_error $? "could not create -" "$LINENO" 5
17172    fi
17173   # Compute "$ac_file"'s index in $config_headers.
17174   _am_arg="$ac_file"
# Line 15348 | Line 17214 | $as_echo "$as_me: executing $ac_file com
17214  
17215    case $ac_file$ac_mode in
17216      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17217 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17217 >  # Older Autoconf quotes --file arguments for eval, but not when files
17218    # are listed without --file.  Let's play safe and only enable the eval
17219    # if we detect the quoting.
17220    case $CONFIG_FILES in
# Line 15361 | Line 17227 | $as_echo "$as_me: executing $ac_file com
17227      # Strip MF so we end up with the name of the file.
17228      mf=`echo "$mf" | sed -e 's/:.*$//'`
17229      # Check whether this is an Automake generated Makefile or not.
17230 <    # We used to match only the files named `Makefile.in', but
17230 >    # We used to match only the files named 'Makefile.in', but
17231      # some people rename them; so instead we look at the file content.
17232      # Grep'ing the first line is not enough: some people post-process
17233      # each Makefile.in and add a new line on top of each file to say so.
# Line 15395 | Line 17261 | $as_echo X"$mf" |
17261        continue
17262      fi
17263      # Extract the definition of DEPDIR, am__include, and am__quote
17264 <    # from the Makefile without running `make'.
17264 >    # from the Makefile without running 'make'.
17265      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17266      test -z "$DEPDIR" && continue
17267      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17268 <    test -z "am__include" && continue
17268 >    test -z "$am__include" && continue
17269      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"`
17270      # Find all dependency output files, they are included files with
17271      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17272      # simplest approach to changing $(DEPDIR) to its actual value in the
17273      # expansion.
17274      for file in `sed -n "
17275        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17276 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17276 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17277        # Make sure the directory exists.
17278        test -f "$dirpart/$file" && continue
17279        fdir=`$as_dirname -- "$file" ||
# Line 15463 | Line 17327 | $as_echo X"$file" |
17327   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17328   #
17329   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17330 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17330 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17331 > #                 Foundation, Inc.
17332   #   Written by Gordon Matzigkeit, 1996
17333   #
17334   #   This file is part of GNU Libtool.
# Line 15511 | Line 17376 | pic_mode=$pic_mode
17376   # Whether or not to optimize for fast installation.
17377   fast_install=$enable_fast_install
17378  
17379 + # Shell to use when invoking shell scripts.
17380 + SHELL=$lt_SHELL
17381 +
17382 + # An echo program that protects backslashes.
17383 + ECHO=$lt_ECHO
17384 +
17385 + # The PATH separator for the build system.
17386 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17387 +
17388   # The host system.
17389   host_alias=$host_alias
17390   host=$host
# Line 15560 | Line 17434 | SP2NL=$lt_lt_SP2NL
17434   # turn newlines into spaces.
17435   NL2SP=$lt_lt_NL2SP
17436  
17437 < # How to create reloadable object files.
17438 < reload_flag=$lt_reload_flag
17439 < reload_cmds=$lt_reload_cmds
17437 > # convert \$build file names to \$host format.
17438 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17439 >
17440 > # convert \$build files to toolchain format.
17441 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17442  
17443   # An object symbol dumper.
17444   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 17446 | OBJDUMP=$lt_OBJDUMP
17446   # Method to check whether dependent libraries are shared objects.
17447   deplibs_check_method=$lt_deplibs_check_method
17448  
17449 < # Command to use when deplibs_check_method == "file_magic".
17449 > # Command to use when deplibs_check_method = "file_magic".
17450   file_magic_cmd=$lt_file_magic_cmd
17451  
17452 + # How to find potential files when deplibs_check_method = "file_magic".
17453 + file_magic_glob=$lt_file_magic_glob
17454 +
17455 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17456 + want_nocaseglob=$lt_want_nocaseglob
17457 +
17458 + # DLL creation program.
17459 + DLLTOOL=$lt_DLLTOOL
17460 +
17461 + # Command to associate shared and link libraries.
17462 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17463 +
17464   # The archiver.
17465   AR=$lt_AR
17466 +
17467 + # Flags to create an archive.
17468   AR_FLAGS=$lt_AR_FLAGS
17469  
17470 + # How to feed a file listing to the archiver.
17471 + archiver_list_spec=$lt_archiver_list_spec
17472 +
17473   # A symbol stripping program.
17474   STRIP=$lt_STRIP
17475  
# Line 15585 | Line 17478 | RANLIB=$lt_RANLIB
17478   old_postinstall_cmds=$lt_old_postinstall_cmds
17479   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17480  
17481 + # Whether to use a lock for old archive extraction.
17482 + lock_old_archive_extraction=$lock_old_archive_extraction
17483 +
17484   # A C compiler.
17485   LTCC=$lt_CC
17486  
# Line 15603 | Line 17499 | global_symbol_to_c_name_address=$lt_lt_c
17499   # Transform the output of nm in a C name address pair when lib prefix is needed.
17500   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17501  
17502 < # The name of the directory that contains temporary libtool files.
17503 < objdir=$objdir
17502 > # Specify filename containing input files for \$NM.
17503 > nm_file_list_spec=$lt_nm_file_list_spec
17504  
17505 < # Shell to use when invoking shell scripts.
17506 < SHELL=$lt_SHELL
17505 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17506 > lt_sysroot=$lt_sysroot
17507  
17508 < # An echo program that does not interpret backslashes.
17509 < ECHO=$lt_ECHO
17508 > # The name of the directory that contains temporary libtool files.
17509 > objdir=$objdir
17510  
17511   # Used to examine libraries when file_magic_cmd begins with "file".
17512   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 17514 | MAGIC_CMD=$MAGIC_CMD
17514   # Must we lock files when doing compilation?
17515   need_locks=$lt_need_locks
17516  
17517 + # Manifest tool.
17518 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17519 +
17520   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17521   DSYMUTIL=$lt_DSYMUTIL
17522  
# Line 15674 | Line 17573 | library_names_spec=$lt_library_names_spe
17573   # The coded name of the library, if different from the real name.
17574   soname_spec=$lt_soname_spec
17575  
17576 + # Permission mode override for installation of shared libraries.
17577 + install_override_mode=$lt_install_override_mode
17578 +
17579   # Command to use after installation of a shared archive.
17580   postinstall_cmds=$lt_postinstall_cmds
17581  
# Line 15713 | Line 17615 | striplib=$lt_striplib
17615   # The linker used to build libraries.
17616   LD=$lt_LD
17617  
17618 + # How to create reloadable object files.
17619 + reload_flag=$lt_reload_flag
17620 + reload_cmds=$lt_reload_cmds
17621 +
17622   # Commands used to build an old-style archive.
17623   old_archive_cmds=$lt_old_archive_cmds
17624  
# Line 15725 | Line 17631 | with_gcc=$GCC
17631   # Compiler flag to turn off builtin functions.
17632   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17633  
15728 # How to pass a linker flag through the compiler.
15729 wl=$lt_lt_prog_compiler_wl
15730
17634   # Additional compiler flags for building library objects.
17635   pic_flag=$lt_lt_prog_compiler_pic
17636  
17637 + # How to pass a linker flag through the compiler.
17638 + wl=$lt_lt_prog_compiler_wl
17639 +
17640   # Compiler flag to prevent dynamic linking.
17641   link_static_flag=$lt_lt_prog_compiler_static
17642  
# Line 15780 | Line 17686 | no_undefined_flag=$lt_no_undefined_flag
17686   # This must work even if \$libdir does not exist
17687   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17688  
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
17689   # Whether we need a single "-rpath" flag with a separated argument.
17690   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17691  
# Line 15817 | Line 17719 | inherit_rpath=$inherit_rpath
17719   # Whether libtool must link a program against all its dependency libraries.
17720   link_all_deplibs=$link_all_deplibs
17721  
15820 # Fix the shell variable \$srcfile for the compiler.
15821 fix_srcfile_path=$lt_fix_srcfile_path
15822
17722   # Set to "yes" if exported symbols are required.
17723   always_export_symbols=$always_export_symbols
17724  
# Line 15835 | Line 17734 | include_expsyms=$lt_include_expsyms
17734   # Commands necessary for linking programs (against libraries) with templates.
17735   prelink_cmds=$lt_prelink_cmds
17736  
17737 + # Commands necessary for finishing linking programs.
17738 + postlink_cmds=$lt_postlink_cmds
17739 +
17740   # Specify filename containing input files.
17741   file_list_spec=$lt_file_list_spec
17742  
# Line 15867 | Line 17769 | ltmain="$ac_aux_dir/ltmain.sh"
17769    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17770    # text mode, it properly converts lines to CR/LF.  This bash problem
17771    # is reportedly fixed, but why not run on old versions too?
17772 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17773 <    || (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
17772 >  sed '$q' "$ltmain" >> "$cfgfile" \
17773 >     || (rm -f "$cfgfile"; exit 1)
17774  
17775 +  if test x"$xsi_shell" = xyes; then
17776 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17777 + func_dirname ()\
17778 + {\
17779 + \    case ${1} in\
17780 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17781 + \      *  ) func_dirname_result="${3}" ;;\
17782 + \    esac\
17783 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17784 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17785 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17786 + test 0 -eq $? || _lt_function_replace_fail=:
17787 +
17788 +
17789 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17790 + func_basename ()\
17791 + {\
17792 + \    func_basename_result="${1##*/}"\
17793 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17794 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17795 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17796 + test 0 -eq $? || _lt_function_replace_fail=:
17797 +
17798 +
17799 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17800 + func_dirname_and_basename ()\
17801 + {\
17802 + \    case ${1} in\
17803 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17804 + \      *  ) func_dirname_result="${3}" ;;\
17805 + \    esac\
17806 + \    func_basename_result="${1##*/}"\
17807 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17808 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17809 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17810 + test 0 -eq $? || _lt_function_replace_fail=:
17811 +
17812 +
17813 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17814 + func_stripname ()\
17815 + {\
17816 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17817 + \    # positional parameters, so assign one to ordinary parameter first.\
17818 + \    func_stripname_result=${3}\
17819 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17820 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17821 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17822 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17823 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17824 + test 0 -eq $? || _lt_function_replace_fail=:
17825 +
17826 +
17827 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17828 + func_split_long_opt ()\
17829 + {\
17830 + \    func_split_long_opt_name=${1%%=*}\
17831 + \    func_split_long_opt_arg=${1#*=}\
17832 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17833 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17834 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17835 + test 0 -eq $? || _lt_function_replace_fail=:
17836 +
17837 +
17838 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17839 + func_split_short_opt ()\
17840 + {\
17841 + \    func_split_short_opt_arg=${1#??}\
17842 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17843 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17844 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17845 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17846 + test 0 -eq $? || _lt_function_replace_fail=:
17847 +
17848 +
17849 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17850 + func_lo2o ()\
17851 + {\
17852 + \    case ${1} in\
17853 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17854 + \      *)    func_lo2o_result=${1} ;;\
17855 + \    esac\
17856 + } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
17863 + func_xform ()\
17864 + {\
17865 +    func_xform_result=${1%.*}.lo\
17866 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17867 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17868 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17869 + test 0 -eq $? || _lt_function_replace_fail=:
17870 +
17871 +
17872 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17873 + func_arith ()\
17874 + {\
17875 +    func_arith_result=$(( $* ))\
17876 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17877 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17878 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17879 + test 0 -eq $? || _lt_function_replace_fail=:
17880 +
17881 +
17882 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17883 + func_len ()\
17884 + {\
17885 +    func_len_result=${#1}\
17886 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17887 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17888 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17889 + test 0 -eq $? || _lt_function_replace_fail=:
17890 +
17891 + fi
17892 +
17893 + if test x"$lt_shell_append" = xyes; then
17894 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17895 + func_append ()\
17896 + {\
17897 +    eval "${1}+=\\${2}"\
17898 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17899 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17900 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17901 + test 0 -eq $? || _lt_function_replace_fail=:
17902 +
17903 +
17904 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17905 + func_append_quoted ()\
17906 + {\
17907 + \    func_quote_for_eval "${2}"\
17908 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17909 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17910 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17911 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17912 + test 0 -eq $? || _lt_function_replace_fail=:
17913 +
17914 +
17915 +  # Save a `func_append' function call where possible by direct use of '+='
17916 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17917 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17918 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17919 +  test 0 -eq $? || _lt_function_replace_fail=:
17920 + else
17921 +  # Save a `func_append' function call even when '+=' is not available
17922 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17923 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17924 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17925 +  test 0 -eq $? || _lt_function_replace_fail=:
17926 + fi
17927 +
17928 + if test x"$_lt_function_replace_fail" = x":"; then
17929 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17930 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17931 + fi
17932  
16072  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073    || (rm -f "$cfgfile"; exit 1)
17933  
17934 <  mv -f "$cfgfile" "$ofile" ||
17934 >   mv -f "$cfgfile" "$ofile" ||
17935      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17936    chmod +x "$ofile"
17937  
# Line 16087 | Line 17946 | _ACEOF
17946   ac_clean_files=$ac_clean_files_save
17947  
17948   test $ac_write_fail = 0 ||
17949 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17949 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17950  
17951  
17952   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 17967 | if test "$no_create" != yes; then
17967    exec 5>>config.log
17968    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17969    # would make configure fail if this is the last instruction.
17970 <  $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
17970 >  $ac_cs_success || as_fn_exit 1
17971   fi
17972   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17973    { $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 1072 by michael, Wed Feb 17 22:58:23 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 4361 by michael, Sat Aug 2 20:51:40 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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