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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1730 by michael, Sun Jan 6 11:27:11 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 1720 2012-12-28 21:06:21Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
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-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | 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 132 | 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 165 | 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 210 | 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 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | 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 355 | 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 440 | 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 474 | 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 495 | 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'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < 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 524 | 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  
528
529 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
572  
573 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
574 <    for dir in $PATH /usr/ucb; do
593 <      IFS="$lt_save_ifs"
594 <      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595 <         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596 <         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597 <         test "X$echo_testing_string" = "X$echo_test_string"; then
598 <        ECHO="$dir/echo"
599 <        break
600 <      fi
601 <    done
602 <    IFS="$lt_save_ifs"
603 <
604 <    if test "X$ECHO" = Xecho; then
605 <      # We didn't find a better echo, so look for alternatives.
606 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 <         test "X$echo_testing_string" = "X$echo_test_string"; then
609 <        # This shell has a builtin print -r that does the trick.
610 <        ECHO='print -r'
611 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 <        # If we have ksh, try running configure again with it.
614 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 <        export ORIGINAL_CONFIG_SHELL
616 <        CONFIG_SHELL=/bin/ksh
617 <        export CONFIG_SHELL
618 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 <      else
620 <        # Try using printf.
621 <        ECHO='printf %s\n'
622 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 <           test "X$echo_testing_string" = "X$echo_test_string"; then
625 <          # Cool, printf works
626 <          :
627 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 <             test "X$echo_testing_string" = 'X\t' &&
629 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 <             test "X$echo_testing_string" = "X$echo_test_string"; then
631 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 <          export CONFIG_SHELL
633 <          SHELL="$CONFIG_SHELL"
634 <          export SHELL
635 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 <             test "X$echo_testing_string" = 'X\t' &&
638 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 <             test "X$echo_testing_string" = "X$echo_test_string"; then
640 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 <        else
642 <          # maybe with a smaller string...
643 <          prev=:
644 <
645 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 <            then
648 <              break
649 <            fi
650 <            prev="$cmd"
651 <          done
652 <
653 <          if test "$prev" != 'sed 50q "$0"'; then
654 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
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 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
763 HAVE_CRYPT_FALSE
764 HAVE_CRYPT_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
767 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 787 | 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 817 | 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 833 | 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 897 | 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
902 enable_shared
797   enable_static
798 + 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
913 < enable_zlib
808 > enable_libpcre
809   enable_openssl
810   enable_assert
916 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
# Line 922 | Line 816 | enable_poll
816   enable_select
817   with_nicklen
818   with_topiclen
925 with_syslog_facility
926 enable_efnet
819   enable_halfops
820   enable_debugging
821   enable_warnings
930 enable_syslog
822   '
823        ac_precious_vars='build_alias
824   host_alias
# Line 940 | Line 831 | CPPFLAGS
831   YACC
832   YFLAGS
833   CPP'
834 < ac_subdirs_all='libltdl'
834 >
835  
836   # Initialize some variables set by options.
837   ac_init_help=
# Line 1002 | Line 893 | do
893    fi
894  
895    case $ac_option in
896 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 <  *)    ac_optarg=yes ;;
896 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 >  *=)   ac_optarg= ;;
898 >  *)    ac_optarg=yes ;;
899    esac
900  
901    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1048 | Line 940 | do
940      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941      # Reject names that are not valid shell variable names.
942      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 <      as_fn_error "invalid feature name: $ac_useropt"
943 >      as_fn_error $? "invalid feature name: $ac_useropt"
944      ac_useropt_orig=$ac_useropt
945      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946      case $ac_user_opts in
# Line 1074 | Line 966 | do
966      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967      # Reject names that are not valid shell variable names.
968      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 <      as_fn_error "invalid feature name: $ac_useropt"
969 >      as_fn_error $? "invalid feature name: $ac_useropt"
970      ac_useropt_orig=$ac_useropt
971      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972      case $ac_user_opts in
# Line 1278 | Line 1170 | do
1170      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171      # Reject names that are not valid shell variable names.
1172      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 <      as_fn_error "invalid package name: $ac_useropt"
1173 >      as_fn_error $? "invalid package name: $ac_useropt"
1174      ac_useropt_orig=$ac_useropt
1175      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176      case $ac_user_opts in
# Line 1294 | Line 1186 | do
1186      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187      # Reject names that are not valid shell variable names.
1188      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189 <      as_fn_error "invalid package name: $ac_useropt"
1189 >      as_fn_error $? "invalid package name: $ac_useropt"
1190      ac_useropt_orig=$ac_useropt
1191      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192      case $ac_user_opts in
# Line 1324 | Line 1216 | do
1216    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1217      x_libraries=$ac_optarg ;;
1218  
1219 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1220 < Try \`$0 --help' for more information."
1219 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1220 > Try \`$0 --help' for more information"
1221      ;;
1222  
1223    *=*)
# Line 1333 | Line 1225 | Try \`$0 --help' for more information."
1225      # Reject names that are not valid shell variable names.
1226      case $ac_envvar in #(
1227        '' | [0-9]* | *[!_$as_cr_alnum]* )
1228 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1228 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1229      esac
1230      eval $ac_envvar=\$ac_optarg
1231      export $ac_envvar ;;
# Line 1343 | Line 1235 | Try \`$0 --help' for more information."
1235      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1237        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1238 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1239      ;;
1240  
1241    esac
# Line 1351 | Line 1243 | done
1243  
1244   if test -n "$ac_prev"; then
1245    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1246 <  as_fn_error "missing argument to $ac_option"
1246 >  as_fn_error $? "missing argument to $ac_option"
1247   fi
1248  
1249   if test -n "$ac_unrecognized_opts"; then
1250    case $enable_option_checking in
1251      no) ;;
1252 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1252 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1253      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254    esac
1255   fi
# Line 1380 | Line 1272 | do
1272      [\\/$]* | ?:[\\/]* )  continue;;
1273      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274    esac
1275 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1275 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1276   done
1277  
1278   # There might be people who depend on the old broken behavior: `$host'
# Line 1394 | Line 1286 | target=$target_alias
1286   if test "x$host_alias" != x; then
1287    if test "x$build_alias" = x; then
1288      cross_compiling=maybe
1397    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398    If a cross compiler is detected then cross compile mode will be used." >&2
1289    elif test "x$build_alias" != "x$host_alias"; then
1290      cross_compiling=yes
1291    fi
# Line 1410 | Line 1300 | test "$silent" = yes && exec 6>/dev/null
1300   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1301   ac_ls_di=`ls -di .` &&
1302   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1303 <  as_fn_error "working directory cannot be determined"
1303 >  as_fn_error $? "working directory cannot be determined"
1304   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 <  as_fn_error "pwd does not report name of working directory"
1305 >  as_fn_error $? "pwd does not report name of working directory"
1306  
1307  
1308   # Find the source files, if location was not specified.
# Line 1451 | Line 1341 | else
1341   fi
1342   if test ! -r "$srcdir/$ac_unique_file"; then
1343    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1344 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1344 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1345   fi
1346   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347   ac_abs_confdir=`(
1348 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1348 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349          pwd)`
1350   # When building in place, set srcdir=.
1351   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1481 | Line 1371 | if test "$ac_init_help" = "long"; then
1371    # Omit some internal or obsolete options to make the list less imposing.
1372    # This message is too long to be a string in the A/UX 3.1 sh.
1373    cat <<_ACEOF
1374 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1374 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1375  
1376   Usage: $0 [OPTION]... [VAR=VALUE]...
1377  
# Line 1495 | Line 1385 | Configuration:
1385        --help=short        display options specific to this package
1386        --help=recursive    display the short help of all the included packages
1387    -V, --version           display version information and exit
1388 <  -q, --quiet, --silent   do not print \`checking...' messages
1388 >  -q, --quiet, --silent   do not print \`checking ...' messages
1389        --cache-file=FILE   cache test results in FILE [disabled]
1390    -C, --config-cache      alias for \`--cache-file=config.cache'
1391    -n, --no-create         do not create output files
# Line 1551 | Line 1441 | fi
1441  
1442   if test -n "$ac_init_help"; then
1443    case $ac_init_help in
1444 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1444 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1445     esac
1446    cat <<\_ACEOF
1447  
# Line 1559 | Line 1449 | Optional Features:
1449    --disable-option-checking  ignore unrecognized --enable/--with options
1450    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1451    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1452 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1453 <                          (and sometimes confusing) to the casual installer
1454 <  --disable-dependency-tracking  speeds up one-time build
1455 <  --enable-dependency-tracking   do not reject slow dependency extractors
1452 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1453 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1454 >  --enable-maintainer-mode
1455 >                          enable make rules and dependencies not useful (and
1456 >                          sometimes confusing) to the casual installer
1457 >  --enable-dependency-tracking
1458 >                          do not reject slow dependency extractors
1459 >  --disable-dependency-tracking
1460 >                          speeds up one-time build
1461 >  --enable-static[=PKGS]  build static libraries [default=no]
1462    --enable-shared[=PKGS]  build shared libraries [default=yes]
1567  --enable-static[=PKGS]  build static libraries [default=yes]
1463    --enable-fast-install[=PKGS]
1464                            optimize for fast installation [default=yes]
1465    --disable-libtool-lock  avoid locking (might break parallel builds)
1466    --enable-ltdl-install   install libltdl
1467 <  --disable-zlib          Disable ziplinks support
1467 >  --disable-libpcre       Disable PCRE support
1468    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1469    --disable-openssl            Disable OpenSSL support.
1470    --enable-assert         Enable assert() statements
1576  --enable-small-net      Enable small network support.
1471    --enable-kqueue         Force kqueue usage.
1472    --enable-epoll          Force epoll usage.
1473    --enable-devpoll        Force devpoll usage.
1474    --enable-rtsigio        Force rtsigio usage.
1475    --enable-poll           Force poll usage.
1476    --enable-select         Force select usage.
1583  --enable-efnet          For IRCDs running on EFnet.
1477    --enable-halfops        Enable halfops support.
1478    --enable-debugging      Enable debugging.
1479    --enable-warnings       Enable compiler warnings.
1587  --enable-syslog="EVENTS"
1588                          Enable syslog for events: users oper (space
1589                          separated in quotes; default: disabled).
1480  
1481   Optional Packages:
1482    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1483    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1484 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1484 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1485                            both]
1486    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1487 +  --with-sysroot=DIR Search for dependent libraries within DIR
1488 +                        (or the compiler's sysroot if not specified).
1489    --with-included-ltdl    use the GNU ltdl sources included here
1490    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1491    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1600  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1492    --with-nicklen=<value>  Set nickname length (default 9).
1493    --with-topiclen=<value> Set topic length (default 160).
1603  --with-syslog-facility=LOG
1604                          Define the syslog facility to use (default:
1605                          LOG_LOCAL4)
1494  
1495   Some influential environment variables:
1496    CC          C compiler command
# Line 1610 | Line 1498 | Some influential environment variables:
1498    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499                nonstandard directory <lib dir>
1500    LIBS        libraries to pass to the linker, e.g. -l<library>
1501 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1501 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502                you have headers in a nonstandard directory <include dir>
1503 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1504 <              the first program found out of: `bison -y', `byacc', `yacc'.
1503 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1504 >              Defaults to the first program found out of: `bison -y', `byacc',
1505 >              `yacc'.
1506    YFLAGS      The list of arguments that will be passed by default to $YACC.
1507                This script will default YFLAGS to the empty string to avoid a
1508                default value of `-d' given by some make applications.
# Line 1622 | Line 1511 | Some influential environment variables:
1511   Use these variables to override the choices made by `configure' or to help
1512   it to find libraries and programs with nonstandard names/locations.
1513  
1514 < Report bugs to the package provider.
1514 > Report bugs to <bugs@ircd-hybrid.org>.
1515   _ACEOF
1516   ac_status=$?
1517   fi
# Line 1685 | Line 1574 | fi
1574   test -n "$ac_init_help" && exit $ac_status
1575   if $ac_init_version; then
1576    cat <<\_ACEOF
1577 < ircd-hybrid configure 7.2.4
1578 < generated by GNU Autoconf 2.64
1577 > ircd-hybrid configure TRUNK
1578 > generated by GNU Autoconf 2.69
1579  
1580 < Copyright (C) 2009 Free Software Foundation, Inc.
1580 > Copyright (C) 2012 Free Software Foundation, Inc.
1581   This configure script is free software; the Free Software Foundation
1582   gives unlimited permission to copy, distribute and modify it.
1583   _ACEOF
# Line 1732 | Line 1621 | sed 's/^/| /' conftest.$ac_ext >&5
1621  
1622          ac_retval=1
1623   fi
1624 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625 <  return $ac_retval
1624 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 >  as_fn_set_status $ac_retval
1626  
1627   } # ac_fn_c_try_compile
1628  
# Line 1764 | Line 1653 | $as_echo "$ac_try_echo"; } >&5
1653           test ! -s conftest.err
1654         } && test -s conftest$ac_exeext && {
1655           test "$cross_compiling" = yes ||
1656 <         $as_test_x conftest$ac_exeext
1656 >         test -x conftest$ac_exeext
1657         }; then :
1658    ac_retval=0
1659   else
# Line 1778 | Line 1667 | fi
1667    # interfere with the next link command; also delete a directory that is
1668    # left behind by Apple's compiler.  We do this before executing the actions.
1669    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 <  return $ac_retval
1670 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 >  as_fn_set_status $ac_retval
1672  
1673   } # ac_fn_c_try_link
1674  
# Line 1792 | Line 1681 | ac_fn_c_check_header_compile ()
1681    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683   $as_echo_n "checking for $2... " >&6; }
1684 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 > if eval \${$3+:} false; then :
1685    $as_echo_n "(cached) " >&6
1686   else
1687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1810 | Line 1699 | fi
1699   eval ac_res=\$$3
1700                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701   $as_echo "$ac_res" >&6; }
1702 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703  
1704   } # ac_fn_c_check_header_compile
1705  
# Line 1835 | Line 1724 | $as_echo "$ac_try_echo"; } >&5
1724      mv -f conftest.er1 conftest.err
1725    fi
1726    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 <  test $ac_status = 0; } >/dev/null && {
1727 >  test $ac_status = 0; } > conftest.i && {
1728           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729           test ! -s conftest.err
1730         }; then :
# Line 1846 | Line 1735 | sed 's/^/| /' conftest.$ac_ext >&5
1735  
1736      ac_retval=1
1737   fi
1738 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 <  return $ac_retval
1738 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 >  as_fn_set_status $ac_retval
1740  
1741   } # ac_fn_c_try_cpp
1742  
# Line 1888 | Line 1777 | sed 's/^/| /' conftest.$ac_ext >&5
1777         ac_retval=$ac_status
1778   fi
1779    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 <  return $ac_retval
1780 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 >  as_fn_set_status $ac_retval
1782  
1783   } # ac_fn_c_try_run
1784  
# Line 1901 | Line 1790 | ac_fn_c_check_func ()
1790    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792   $as_echo_n "checking for $2... " >&6; }
1793 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1793 > if eval \${$3+:} false; then :
1794    $as_echo_n "(cached) " >&6
1795   else
1796    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1956 | Line 1845 | fi
1845   eval ac_res=\$$3
1846                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847   $as_echo "$ac_res" >&6; }
1848 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1848 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849  
1850   } # ac_fn_c_check_func
1851  
1852 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1853 < # ------------------------------------
1854 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1852 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1853 > # ---------------------------------------------
1854 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1855 > # accordingly.
1856   ac_fn_c_check_decl ()
1857   {
1858    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1860 < $as_echo_n "checking whether $2 is declared... " >&6; }
1861 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1860 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1861 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1862 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1863 > if eval \${$3+:} false; then :
1864    $as_echo_n "(cached) " >&6
1865   else
1866    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1977 | Line 1869 | $4
1869   int
1870   main ()
1871   {
1872 < #ifndef $2
1873 <  (void) $2;
1872 > #ifndef $as_decl_name
1873 > #ifdef __cplusplus
1874 >  (void) $as_decl_use;
1875 > #else
1876 >  (void) $as_decl_name;
1877 > #endif
1878   #endif
1879  
1880    ;
# Line 1995 | Line 1891 | fi
1891   eval ac_res=\$$3
1892                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893   $as_echo "$ac_res" >&6; }
1894 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895  
1896   } # ac_fn_c_check_decl
1897  
# Line 2008 | Line 1904 | ac_fn_c_check_type ()
1904    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906   $as_echo_n "checking for $2... " >&6; }
1907 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1907 > if eval \${$3+:} false; then :
1908    $as_echo_n "(cached) " >&6
1909   else
1910    eval "$3=no"
# Line 2049 | Line 1945 | fi
1945   eval ac_res=\$$3
1946                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947   $as_echo "$ac_res" >&6; }
1948 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949  
1950   } # ac_fn_c_check_type
1951  
# Line 2062 | Line 1958 | ac_fn_c_check_member ()
1958    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1960   $as_echo_n "checking for $2.$3... " >&6; }
1961 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1961 > if eval \${$4+:} false; then :
1962    $as_echo_n "(cached) " >&6
1963   else
1964    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2106 | Line 2002 | fi
2002   eval ac_res=\$$4
2003                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004   $as_echo "$ac_res" >&6; }
2005 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2006  
2007   } # ac_fn_c_check_member
2008  
2113 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2114 # --------------------------------------------
2115 # Tries to find the compile-time value of EXPR in a program that includes
2116 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2117 # computed
2118 ac_fn_c_compute_int ()
2119 {
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  if test "$cross_compiling" = yes; then
2122    # Depending upon the size, compute the lo and hi bounds.
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h.  */
2125 $4
2126 int
2127 main ()
2128 {
2129 static int test_array [1 - 2 * !(($2) >= 0)];
2130 test_array [0] = 0
2131
2132  ;
2133  return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137  ac_lo=0 ac_mid=0
2138  while :; do
2139    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h.  */
2141 $4
2142 int
2143 main ()
2144 {
2145 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2146 test_array [0] = 0
2147
2148  ;
2149  return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_hi=$ac_mid; break
2154 else
2155  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2156                        if test $ac_lo -le $ac_mid; then
2157                          ac_lo= ac_hi=
2158                          break
2159                        fi
2160                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2161 fi
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163  done
2164 else
2165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $4
2168 int
2169 main ()
2170 {
2171 static int test_array [1 - 2 * !(($2) < 0)];
2172 test_array [0] = 0
2173
2174  ;
2175  return 0;
2176 }
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2179  ac_hi=-1 ac_mid=-1
2180  while :; do
2181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h.  */
2183 $4
2184 int
2185 main ()
2186 {
2187 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2188 test_array [0] = 0
2189
2190  ;
2191  return 0;
2192 }
2193 _ACEOF
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_lo=$ac_mid; break
2196 else
2197  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2198                        if test $ac_mid -le $ac_hi; then
2199                          ac_lo= ac_hi=
2200                          break
2201                        fi
2202                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2203 fi
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205  done
2206 else
2207  ac_lo= ac_hi=
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 fi
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 # Binary search between lo and hi bounds.
2213 while test "x$ac_lo" != "x$ac_hi"; do
2214  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h.  */
2217 $4
2218 int
2219 main ()
2220 {
2221 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2222 test_array [0] = 0
2223
2224  ;
2225  return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229  ac_hi=$ac_mid
2230 else
2231  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 done
2235 case $ac_lo in #((
2236 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2237 '') ac_retval=1 ;;
2238 esac
2239  else
2240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h.  */
2242 $4
2243 static long int longval () { return $2; }
2244 static unsigned long int ulongval () { return $2; }
2245 #include <stdio.h>
2246 #include <stdlib.h>
2247 int
2248 main ()
2249 {
2250
2251  FILE *f = fopen ("conftest.val", "w");
2252  if (! f)
2253    return 1;
2254  if (($2) < 0)
2255    {
2256      long int i = longval ();
2257      if (i != ($2))
2258        return 1;
2259      fprintf (f, "%ld", i);
2260    }
2261  else
2262    {
2263      unsigned long int i = ulongval ();
2264      if (i != ($2))
2265        return 1;
2266      fprintf (f, "%lu", i);
2267    }
2268  /* Do not output a trailing newline, as this causes \r\n confusion
2269     on some platforms.  */
2270  return ferror (f) || fclose (f) != 0;
2271
2272  ;
2273  return 0;
2274 }
2275 _ACEOF
2276 if ac_fn_c_try_run "$LINENO"; then :
2277  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2278 else
2279  ac_retval=1
2280 fi
2281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2282  conftest.$ac_objext conftest.beam conftest.$ac_ext
2283 rm -f conftest.val
2284
2285  fi
2286  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2287  return $ac_retval
2288
2289 } # ac_fn_c_compute_int
2290
2009   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2010   # -------------------------------------------------------
2011   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2296 | Line 2014 | rm -f conftest.val
2014   ac_fn_c_check_header_mongrel ()
2015   {
2016    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2017 >  if eval \${$3+:} false; then :
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   fi
2023   eval ac_res=\$$3
# Line 2335 | Line 2053 | if ac_fn_c_try_cpp "$LINENO"; then :
2053   else
2054    ac_header_preproc=no
2055   fi
2056 < rm -f conftest.err conftest.$ac_ext
2056 > rm -f conftest.err conftest.i conftest.$ac_ext
2057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2058   $as_echo "$ac_header_preproc" >&6; }
2059  
# Line 2358 | Line 2076 | $as_echo "$as_me: WARNING: $2: see the A
2076   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2077      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2078   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2079 + ( $as_echo "## ----------------------------------- ##
2080 + ## Report this to bugs@ircd-hybrid.org ##
2081 + ## ----------------------------------- ##"
2082 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2083      ;;
2084   esac
2085    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086   $as_echo_n "checking for $2... " >&6; }
2087 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087 > if eval \${$3+:} false; then :
2088    $as_echo_n "(cached) " >&6
2089   else
2090    eval "$3=\$ac_header_compiler"
# Line 2371 | Line 2093 | eval ac_res=\$$3
2093                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094   $as_echo "$ac_res" >&6; }
2095   fi
2096 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097  
2098   } # ac_fn_c_check_header_mongrel
2099   cat >config.log <<_ACEOF
2100   This file contains any messages produced by compilers while
2101   running configure, to aid debugging if configure makes a mistake.
2102  
2103 < It was created by ircd-hybrid $as_me 7.2.4, which was
2104 < generated by GNU Autoconf 2.64.  Invocation command line was
2103 > It was created by ircd-hybrid $as_me TRUNK, which was
2104 > generated by GNU Autoconf 2.69.  Invocation command line was
2105  
2106    $ $0 $@
2107  
# Line 2489 | Line 2211 | trap 'exit_status=$?
2211    {
2212      echo
2213  
2214 <    cat <<\_ASBOX
2493 < ## ---------------- ##
2214 >    $as_echo "## ---------------- ##
2215   ## Cache variables. ##
2216 < ## ---------------- ##
2496 < _ASBOX
2216 > ## ---------------- ##"
2217      echo
2218      # The following way of writing the cache mishandles newlines in values,
2219   (
# Line 2527 | Line 2247 | $as_echo "$as_me: WARNING: cache variabl
2247   )
2248      echo
2249  
2250 <    cat <<\_ASBOX
2531 < ## ----------------- ##
2250 >    $as_echo "## ----------------- ##
2251   ## Output variables. ##
2252 < ## ----------------- ##
2534 < _ASBOX
2252 > ## ----------------- ##"
2253      echo
2254      for ac_var in $ac_subst_vars
2255      do
# Line 2544 | Line 2262 | _ASBOX
2262      echo
2263  
2264      if test -n "$ac_subst_files"; then
2265 <      cat <<\_ASBOX
2548 < ## ------------------- ##
2265 >      $as_echo "## ------------------- ##
2266   ## File substitutions. ##
2267 < ## ------------------- ##
2551 < _ASBOX
2267 > ## ------------------- ##"
2268        echo
2269        for ac_var in $ac_subst_files
2270        do
# Line 2562 | Line 2278 | _ASBOX
2278      fi
2279  
2280      if test -s confdefs.h; then
2281 <      cat <<\_ASBOX
2566 < ## ----------- ##
2281 >      $as_echo "## ----------- ##
2282   ## confdefs.h. ##
2283 < ## ----------- ##
2569 < _ASBOX
2283 > ## ----------- ##"
2284        echo
2285        cat confdefs.h
2286        echo
# Line 2621 | Line 2335 | _ACEOF
2335   ac_site_file1=NONE
2336   ac_site_file2=NONE
2337   if test -n "$CONFIG_SITE"; then
2338 <  ac_site_file1=$CONFIG_SITE
2338 >  # We do not want a PATH search for config.site.
2339 >  case $CONFIG_SITE in #((
2340 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2341 >    */*) ac_site_file1=$CONFIG_SITE;;
2342 >    *)   ac_site_file1=./$CONFIG_SITE;;
2343 >  esac
2344   elif test "x$prefix" != xNONE; then
2345    ac_site_file1=$prefix/share/config.site
2346    ac_site_file2=$prefix/etc/config.site
# Line 2632 | Line 2351 | fi
2351   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2352   do
2353    test "x$ac_site_file" = xNONE && continue
2354 <  if test -r "$ac_site_file"; then
2354 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2355      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2356   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2357      sed 's/^/| /' "$ac_site_file" >&5
2358 <    . "$ac_site_file"
2358 >    . "$ac_site_file" \
2359 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2360 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2361 > as_fn_error $? "failed to load site script $ac_site_file
2362 > See \`config.log' for more details" "$LINENO" 5; }
2363    fi
2364   done
2365  
2366   if test -r "$cache_file"; then
2367 <  # Some versions of bash will fail to source /dev/null (special
2368 <  # files actually), so we avoid doing that.
2369 <  if test -f "$cache_file"; then
2367 >  # Some versions of bash will fail to source /dev/null (special files
2368 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2369 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2370      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2371   $as_echo "$as_me: loading cache $cache_file" >&6;}
2372      case $cache_file in
# Line 2657 | Line 2380 | $as_echo "$as_me: creating cache $cache_
2380    >$cache_file
2381   fi
2382  
2660 as_fn_append ac_func_list " snprintf"
2661 as_fn_append ac_func_list " vsnprintf"
2662 as_fn_append ac_func_list " lrand48"
2663 as_fn_append ac_func_list " srand48"
2664 as_fn_append ac_func_list " mmap"
2383   as_fn_append ac_func_list " strtok_r"
2384   as_fn_append ac_func_list " usleep"
2385   as_fn_append ac_func_list " strlcat"
2386   as_fn_append ac_func_list " strlcpy"
2669 as_fn_append ac_func_list " basename"
2387   as_fn_append ac_header_list " crypt.h"
2671 as_fn_append ac_header_list " inttypes.h"
2672 as_fn_append ac_header_list " stdint.h"
2388   as_fn_append ac_header_list " sys/resource.h"
2389   as_fn_append ac_header_list " sys/param.h"
2675 as_fn_append ac_header_list " errno.h"
2676 as_fn_append ac_header_list " sys/syslog.h"
2677 as_fn_append ac_header_list " stddef.h"
2678 as_fn_append ac_header_list " libgen.h"
2390   as_fn_append ac_header_list " types.h"
2391   as_fn_append ac_header_list " socket.h"
2392   as_fn_append ac_header_list " sys/wait.h"
2393   as_fn_append ac_header_list " wait.h"
2683 as_fn_append ac_header_list " link.h"
2394   # Check that the precious variables saved in the cache have kept the same
2395   # value.
2396   ac_cache_corrupted=false
# Line 2736 | Line 2446 | if $ac_cache_corrupted; then
2446   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2448   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2449 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450   fi
2451   ## -------------------- ##
2452   ## Main body of script. ##
# Line 2749 | Line 2459 | ac_link='$CC -o conftest$ac_exeext $CFLA
2459   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460  
2461  
2462 < am__api_version='1.11'
2462 > am__api_version='1.13'
2463  
2464   ac_aux_dir=
2465   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466 <  for ac_t in install-sh install.sh shtool; do
2467 <    if test -f "$ac_dir/$ac_t"; then
2468 <      ac_aux_dir=$ac_dir
2469 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2470 <      break 2
2471 <    fi
2472 <  done
2466 >  if test -f "$ac_dir/install-sh"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2469 >    break
2470 >  elif test -f "$ac_dir/install.sh"; then
2471 >    ac_aux_dir=$ac_dir
2472 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2473 >    break
2474 >  elif test -f "$ac_dir/shtool"; then
2475 >    ac_aux_dir=$ac_dir
2476 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2477 >    break
2478 >  fi
2479   done
2480   if test -z "$ac_aux_dir"; then
2481 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482   fi
2483  
2484   # These three variables are undocumented and unsupported,
# Line 2791 | Line 2507 | ac_configure="$SHELL $ac_aux_dir/configu
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2509   if test -z "$INSTALL"; then
2510 < if test "${ac_cv_path_install+set}" = set; then :
2510 > if ${ac_cv_path_install+:} false; then :
2511    $as_echo_n "(cached) " >&6
2512   else
2513    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2811 | Line 2527 | case $as_dir/ in #((
2527      # by default.
2528      for ac_prog in ginstall scoinst install; do
2529        for ac_exec_ext in '' $ac_executable_extensions; do
2530 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2530 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2531            if test $ac_prog = install &&
2532              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2533              # AIX install.  It has an incompatible calling convention.
# Line 2869 | Line 2585 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2585  
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2587   $as_echo_n "checking whether build environment is sane... " >&6; }
2872 # Just in case
2873 sleep 1
2874 echo timestamp > conftest.file
2588   # Reject unsafe characters in $srcdir or the absolute working directory
2589   # name.  Accept space and tab only in the latter.
2590   am_lf='
2591   '
2592   case `pwd` in
2593    *[\\\"\#\$\&\'\`$am_lf]*)
2594 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2594 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595   esac
2596   case $srcdir in
2597    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2598 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2598 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2599   esac
2600  
2601 < # Do `set' in a subshell so we don't clobber the current shell's
2601 > # Do 'set' in a subshell so we don't clobber the current shell's
2602   # arguments.  Must try -L first in case configure is actually a
2603   # symlink; some systems play weird games with the mod time of symlinks
2604   # (eg FreeBSD returns the mod time of the symlink's containing
2605   # directory).
2606   if (
2607 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2608 <   if test "$*" = "X"; then
2609 <      # -L didn't work.
2610 <      set X `ls -t "$srcdir/configure" conftest.file`
2611 <   fi
2612 <   rm -f conftest.file
2613 <   if test "$*" != "X $srcdir/configure conftest.file" \
2614 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2615 <
2616 <      # If neither matched, then we have a broken ls.  This can happen
2904 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2905 <      # broken ls alias from the environment.  This has actually
2906 <      # happened.  Such a system could not be considered "sane".
2907 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2908 < alias in your environment" "$LINENO" 5
2909 <   fi
2607 >   am_has_slept=no
2608 >   for am_try in 1 2; do
2609 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2610 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2611 >     if test "$*" = "X"; then
2612 >        # -L didn't work.
2613 >        set X `ls -t "$srcdir/configure" conftest.file`
2614 >     fi
2615 >     if test "$*" != "X $srcdir/configure conftest.file" \
2616 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2617  
2618 +        # If neither matched, then we have a broken ls.  This can happen
2619 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2620 +        # broken ls alias from the environment.  This has actually
2621 +        # happened.  Such a system could not be considered "sane".
2622 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2623 +  alias in your environment" "$LINENO" 5
2624 +     fi
2625 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2626 +       break
2627 +     fi
2628 +     # Just in case.
2629 +     sleep 1
2630 +     am_has_slept=yes
2631 +   done
2632     test "$2" = conftest.file
2633     )
2634   then
2635     # Ok.
2636     :
2637   else
2638 <   as_fn_error "newly created file is older than distributed files!
2638 >   as_fn_error $? "newly created file is older than distributed files!
2639   Check your system clock" "$LINENO" 5
2640   fi
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642   $as_echo "yes" >&6; }
2643 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2644 + # generated files are strictly newer.
2645 + am_sleep_pid=
2646 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2647 +  ( sleep 1 ) &
2648 +  am_sleep_pid=$!
2649 + fi
2650 +
2651 + rm -f conftest.file
2652 +
2653   test "$program_prefix" != NONE &&
2654    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2655   # Use a double $ so make ignores it.
# Line 2941 | Line 2672 | if test x"${MISSING+set}" != xset; then
2672    esac
2673   fi
2674   # Use eval to expand $SHELL
2675 < if eval "$MISSING --run true"; then
2676 <  am_missing_run="$MISSING --run "
2675 > if eval "$MISSING --is-lightweight"; then
2676 >  am_missing_run="$MISSING "
2677   else
2678    am_missing_run=
2679 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2680 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2679 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2680 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2681   fi
2682  
2683   if test x"${install_sh}" != xset; then
# Line 2958 | Line 2689 | if test x"${install_sh}" != xset; then
2689    esac
2690   fi
2691  
2692 < # Installed binaries are usually stripped using `strip' when the user
2693 < # run `make install-strip'.  However `strip' might not be the right
2692 > # Installed binaries are usually stripped using 'strip' when the user
2693 > # run "make install-strip".  However 'strip' might not be the right
2694   # tool to use in cross-compilation environments, therefore Automake
2695 < # will honor the `STRIP' environment variable to overrule this program.
2695 > # will honor the 'STRIP' environment variable to overrule this program.
2696   if test "$cross_compiling" != no; then
2697    if test -n "$ac_tool_prefix"; then
2698    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699   set dummy ${ac_tool_prefix}strip; ac_word=$2
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701   $as_echo_n "checking for $ac_word... " >&6; }
2702 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2702 > if ${ac_cv_prog_STRIP+:} false; then :
2703    $as_echo_n "(cached) " >&6
2704   else
2705    if test -n "$STRIP"; then
# Line 2980 | Line 2711 | do
2711    IFS=$as_save_IFS
2712    test -z "$as_dir" && as_dir=.
2713      for ac_exec_ext in '' $ac_executable_extensions; do
2714 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717      break 2
# Line 3008 | Line 2739 | if test -z "$ac_cv_prog_STRIP"; then
2739   set dummy strip; ac_word=$2
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741   $as_echo_n "checking for $ac_word... " >&6; }
2742 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2742 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2743    $as_echo_n "(cached) " >&6
2744   else
2745    if test -n "$ac_ct_STRIP"; then
# Line 3020 | Line 2751 | do
2751    IFS=$as_save_IFS
2752    test -z "$as_dir" && as_dir=.
2753      for ac_exec_ext in '' $ac_executable_extensions; do
2754 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755      ac_cv_prog_ac_ct_STRIP="strip"
2756      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757      break 2
# Line 3061 | Line 2792 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2793   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2794   if test -z "$MKDIR_P"; then
2795 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2795 >  if ${ac_cv_path_mkdir+:} false; then :
2796    $as_echo_n "(cached) " >&6
2797   else
2798    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3071 | Line 2802 | do
2802    test -z "$as_dir" && as_dir=.
2803      for ac_prog in mkdir gmkdir; do
2804           for ac_exec_ext in '' $ac_executable_extensions; do
2805 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2805 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2806             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2807               'mkdir (GNU coreutils) '* | \
2808               'mkdir (coreutils) '* | \
# Line 3086 | Line 2817 | IFS=$as_save_IFS
2817  
2818   fi
2819  
2820 +  test -d ./--version && rmdir ./--version
2821    if test "${ac_cv_path_mkdir+set}" = set; then
2822      MKDIR_P="$ac_cv_path_mkdir -p"
2823    else
# Line 3093 | Line 2825 | fi
2825      # value for MKDIR_P within a source directory, because that will
2826      # break other packages using the cache if that directory is
2827      # removed, or if the value is a relative name.
3096    test -d ./--version && rmdir ./--version
2828      MKDIR_P="$ac_install_sh -d"
2829    fi
2830   fi
2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2832   $as_echo "$MKDIR_P" >&6; }
2833  
3103 mkdir_p="$MKDIR_P"
3104 case $mkdir_p in
3105  [\\/$]* | ?:[\\/]*) ;;
3106  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3107 esac
3108
2834   for ac_prog in gawk mawk nawk awk
2835   do
2836    # Extract the first word of "$ac_prog", so it can be a program name with args.
2837   set dummy $ac_prog; ac_word=$2
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839   $as_echo_n "checking for $ac_word... " >&6; }
2840 < if test "${ac_cv_prog_AWK+set}" = set; then :
2840 > if ${ac_cv_prog_AWK+:} false; then :
2841    $as_echo_n "(cached) " >&6
2842   else
2843    if test -n "$AWK"; then
# Line 3124 | Line 2849 | do
2849    IFS=$as_save_IFS
2850    test -z "$as_dir" && as_dir=.
2851      for ac_exec_ext in '' $ac_executable_extensions; do
2852 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853      ac_cv_prog_AWK="$ac_prog"
2854      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855      break 2
# Line 3152 | Line 2877 | done
2877   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2878   set x ${MAKE-make}
2879   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2880 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2880 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2881    $as_echo_n "(cached) " >&6
2882   else
2883    cat >conftest.make <<\_ACEOF
# Line 3160 | Line 2885 | SHELL = /bin/sh
2885   all:
2886          @echo '@@@%%%=$(MAKE)=@@@%%%'
2887   _ACEOF
2888 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2888 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2889   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2890    *@@@%%%=?*=@@@%%%*)
2891      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3188 | Line 2913 | else
2913   fi
2914   rmdir .tst 2>/dev/null
2915  
2916 + # Check whether --enable-silent-rules was given.
2917 + if test "${enable_silent_rules+set}" = set; then :
2918 +  enableval=$enable_silent_rules;
2919 + fi
2920 +
2921 + case $enable_silent_rules in # (((
2922 +  yes) AM_DEFAULT_VERBOSITY=0;;
2923 +   no) AM_DEFAULT_VERBOSITY=1;;
2924 +    *) AM_DEFAULT_VERBOSITY=1;;
2925 + esac
2926 + am_make=${MAKE-make}
2927 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2928 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2929 + if ${am_cv_make_support_nested_variables+:} false; then :
2930 +  $as_echo_n "(cached) " >&6
2931 + else
2932 +  if $as_echo 'TRUE=$(BAR$(V))
2933 + BAR0=false
2934 + BAR1=true
2935 + V=1
2936 + am__doit:
2937 +        @$(TRUE)
2938 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2939 +  am_cv_make_support_nested_variables=yes
2940 + else
2941 +  am_cv_make_support_nested_variables=no
2942 + fi
2943 + fi
2944 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2945 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2946 + if test $am_cv_make_support_nested_variables = yes; then
2947 +    AM_V='$(V)'
2948 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2949 + else
2950 +  AM_V=$AM_DEFAULT_VERBOSITY
2951 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2952 + fi
2953 + AM_BACKSLASH='\'
2954 +
2955   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2956    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2957    # is not polluted with repeated "-I."
2958    am__isrc=' -I$(srcdir)'
2959    # test to see if srcdir already configured
2960    if test -f $srcdir/config.status; then
2961 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2961 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2962    fi
2963   fi
2964  
# Line 3210 | Line 2974 | fi
2974  
2975   # Define the identity of the package.
2976   PACKAGE='ircd-hybrid'
2977 < VERSION='7.2.4'
2977 > VERSION='TRUNK'
2978  
2979  
2980   cat >>confdefs.h <<_ACEOF
# Line 3238 | Line 3002 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
3002  
3003   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3004  
3005 + # For better backward compatibility.  To be removed once Automake 1.9.x
3006 + # dies out for good.  For more background, see:
3007 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3008 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3009 + mkdir_p='$(MKDIR_P)'
3010 +
3011   # We need awk for the "check" target.  The system "awk" is bad on
3012   # some platforms.
3013 < # Always define AMTAR for backward compatibility.
3014 <
3015 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3013 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3014 > # in the wild :-(  We should find a proper way to deprecate it ...
3015 > AMTAR='$${TAR-tar}'
3016  
3017 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3017 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3018  
3019  
3020  
# Line 3277 | Line 3047 | ac_config_headers="$ac_config_headers co
3047  
3048  
3049  
3280
3050   # Checks for programs.
3051 + DEPDIR="${am__leading_dot}deps"
3052 +
3053 + ac_config_commands="$ac_config_commands depfiles"
3054 +
3055 +
3056 + am_make=${MAKE-make}
3057 + cat > confinc << 'END'
3058 + am__doit:
3059 +        @echo this is the am__doit target
3060 + .PHONY: am__doit
3061 + END
3062 + # If we don't find an include directive, just comment out the code.
3063 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3064 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3065 + am__include="#"
3066 + am__quote=
3067 + _am_result=none
3068 + # First try GNU make style include.
3069 + echo "include confinc" > confmf
3070 + # Ignore all kinds of additional output from 'make'.
3071 + case `$am_make -s -f confmf 2> /dev/null` in #(
3072 + *the\ am__doit\ target*)
3073 +  am__include=include
3074 +  am__quote=
3075 +  _am_result=GNU
3076 +  ;;
3077 + esac
3078 + # Now try BSD make style include.
3079 + if test "$am__include" = "#"; then
3080 +   echo '.include "confinc"' > confmf
3081 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3082 +   *the\ am__doit\ target*)
3083 +     am__include=.include
3084 +     am__quote="\""
3085 +     _am_result=BSD
3086 +     ;;
3087 +   esac
3088 + fi
3089 +
3090 +
3091 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3092 + $as_echo "$_am_result" >&6; }
3093 + rm -f confinc confmf
3094 +
3095 + # Check whether --enable-dependency-tracking was given.
3096 + if test "${enable_dependency_tracking+set}" = set; then :
3097 +  enableval=$enable_dependency_tracking;
3098 + fi
3099 +
3100 + if test "x$enable_dependency_tracking" != xno; then
3101 +  am_depcomp="$ac_aux_dir/depcomp"
3102 +  AMDEPBACKSLASH='\'
3103 +  am__nodep='_no'
3104 + fi
3105 + if test "x$enable_dependency_tracking" != xno; then
3106 +  AMDEP_TRUE=
3107 +  AMDEP_FALSE='#'
3108 + else
3109 +  AMDEP_TRUE='#'
3110 +  AMDEP_FALSE=
3111 + fi
3112 +
3113 +
3114   ac_ext=c
3115   ac_cpp='$CPP $CPPFLAGS'
3116   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3289 | Line 3121 | if test -n "$ac_tool_prefix"; then
3121   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123   $as_echo_n "checking for $ac_word... " >&6; }
3124 < if test "${ac_cv_prog_CC+set}" = set; then :
3124 > if ${ac_cv_prog_CC+:} false; then :
3125    $as_echo_n "(cached) " >&6
3126   else
3127    if test -n "$CC"; then
# Line 3301 | Line 3133 | do
3133    IFS=$as_save_IFS
3134    test -z "$as_dir" && as_dir=.
3135      for ac_exec_ext in '' $ac_executable_extensions; do
3136 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3138      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139      break 2
# Line 3329 | Line 3161 | if test -z "$ac_cv_prog_CC"; then
3161   set dummy gcc; ac_word=$2
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163   $as_echo_n "checking for $ac_word... " >&6; }
3164 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3164 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3165    $as_echo_n "(cached) " >&6
3166   else
3167    if test -n "$ac_ct_CC"; then
# Line 3341 | Line 3173 | do
3173    IFS=$as_save_IFS
3174    test -z "$as_dir" && as_dir=.
3175      for ac_exec_ext in '' $ac_executable_extensions; do
3176 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177      ac_cv_prog_ac_ct_CC="gcc"
3178      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179      break 2
# Line 3382 | Line 3214 | if test -z "$CC"; then
3214   set dummy ${ac_tool_prefix}cc; ac_word=$2
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216   $as_echo_n "checking for $ac_word... " >&6; }
3217 < if test "${ac_cv_prog_CC+set}" = set; then :
3217 > if ${ac_cv_prog_CC+:} false; then :
3218    $as_echo_n "(cached) " >&6
3219   else
3220    if test -n "$CC"; then
# Line 3394 | Line 3226 | do
3226    IFS=$as_save_IFS
3227    test -z "$as_dir" && as_dir=.
3228      for ac_exec_ext in '' $ac_executable_extensions; do
3229 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3229 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230      ac_cv_prog_CC="${ac_tool_prefix}cc"
3231      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232      break 2
# Line 3422 | Line 3254 | if test -z "$CC"; then
3254   set dummy cc; ac_word=$2
3255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256   $as_echo_n "checking for $ac_word... " >&6; }
3257 < if test "${ac_cv_prog_CC+set}" = set; then :
3257 > if ${ac_cv_prog_CC+:} false; then :
3258    $as_echo_n "(cached) " >&6
3259   else
3260    if test -n "$CC"; then
# Line 3435 | Line 3267 | do
3267    IFS=$as_save_IFS
3268    test -z "$as_dir" && as_dir=.
3269      for ac_exec_ext in '' $ac_executable_extensions; do
3270 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3272         ac_prog_rejected=yes
3273         continue
# Line 3481 | Line 3313 | if test -z "$CC"; then
3313   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315   $as_echo_n "checking for $ac_word... " >&6; }
3316 < if test "${ac_cv_prog_CC+set}" = set; then :
3316 > if ${ac_cv_prog_CC+:} false; then :
3317    $as_echo_n "(cached) " >&6
3318   else
3319    if test -n "$CC"; then
# Line 3493 | Line 3325 | do
3325    IFS=$as_save_IFS
3326    test -z "$as_dir" && as_dir=.
3327      for ac_exec_ext in '' $ac_executable_extensions; do
3328 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3328 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3329      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3330      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331      break 2
# Line 3525 | Line 3357 | do
3357   set dummy $ac_prog; ac_word=$2
3358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359   $as_echo_n "checking for $ac_word... " >&6; }
3360 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3360 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3361    $as_echo_n "(cached) " >&6
3362   else
3363    if test -n "$ac_ct_CC"; then
# Line 3537 | Line 3369 | do
3369    IFS=$as_save_IFS
3370    test -z "$as_dir" && as_dir=.
3371      for ac_exec_ext in '' $ac_executable_extensions; do
3372 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3372 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3373      ac_cv_prog_ac_ct_CC="$ac_prog"
3374      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375      break 2
# Line 3579 | Line 3411 | fi
3411  
3412   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 < as_fn_error "no acceptable C compiler found in \$PATH
3415 < See \`config.log' for more details." "$LINENO" 5; }
3414 > as_fn_error $? "no acceptable C compiler found in \$PATH
3415 > See \`config.log' for more details" "$LINENO" 5; }
3416  
3417   # Provide some information about the compiler.
3418   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3601 | Line 3433 | $as_echo "$ac_try_echo"; } >&5
3433   ... rest of stderr output deleted ...
3434           10q' conftest.err >conftest.er1
3435      cat conftest.er1 >&5
3604    rm -f conftest.er1 conftest.err
3436    fi
3437 +  rm -f conftest.er1 conftest.err
3438    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439    test $ac_status = 0; }
3440   done
3441  
3442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443   /* end confdefs.h.  */
3444 < #include <stdio.h>
3444 >
3445   int
3446   main ()
3447   {
3616 FILE *f = fopen ("conftest.out", "w");
3617 return ferror (f) || fclose (f) != 0;
3448  
3449    ;
3450    return 0;
3451   }
3452   _ACEOF
3453   ac_clean_files_save=$ac_clean_files
3454 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3454 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3455   # Try to create an executable without -o first, disregard a.out.
3456   # It will help us diagnose broken compilers, and finding out an intuition
3457   # of exeext.
3458 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3459 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3458 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3459 > $as_echo_n "checking whether the C compiler works... " >&6; }
3460   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3461  
3462   # The possible output files:
# Line 3688 | Line 3518 | test "$ac_cv_exeext" = no && ac_cv_exeex
3518   else
3519    ac_file=''
3520   fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3692 $as_echo "$ac_file" >&6; }
3521   if test -z "$ac_file"; then :
3522 <  $as_echo "$as_me: failed program was:" >&5
3522 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523 > $as_echo "no" >&6; }
3524 > $as_echo "$as_me: failed program was:" >&5
3525   sed 's/^/| /' conftest.$ac_ext >&5
3526  
3527   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 < { as_fn_set_status 77
3530 < as_fn_error "C compiler cannot create executables
3531 < See \`config.log' for more details." "$LINENO" 5; }; }
3529 > as_fn_error 77 "C compiler cannot create executables
3530 > See \`config.log' for more details" "$LINENO" 5; }
3531 > else
3532 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3533 > $as_echo "yes" >&6; }
3534   fi
3535 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3536 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3537 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3538 + $as_echo "$ac_file" >&6; }
3539   ac_exeext=$ac_cv_exeext
3540  
3541 < # Check that the compiler produces executables we can run.  If not, either
3706 < # the compiler is broken, or we cross compile.
3707 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708 < $as_echo_n "checking whether the C compiler works... " >&6; }
3709 < # If not cross compiling, check that we can run a simple program.
3710 < if test "$cross_compiling" != yes; then
3711 <  if { ac_try='./$ac_file'
3712 <  { { case "(($ac_try" in
3713 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 <  *) ac_try_echo=$ac_try;;
3715 < esac
3716 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 < $as_echo "$ac_try_echo"; } >&5
3718 <  (eval "$ac_try") 2>&5
3719 <  ac_status=$?
3720 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 <  test $ac_status = 0; }; }; then
3722 <    cross_compiling=no
3723 <  else
3724 <    if test "$cross_compiling" = maybe; then
3725 <        cross_compiling=yes
3726 <    else
3727 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 < as_fn_error "cannot run C compiled programs.
3730 < If you meant to cross compile, use \`--host'.
3731 < See \`config.log' for more details." "$LINENO" 5; }
3732 <    fi
3733 <  fi
3734 < fi
3735 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 < $as_echo "yes" >&6; }
3737 <
3738 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3541 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3542   ac_clean_files=$ac_clean_files_save
3740 # Check that the compiler produces executables we can run.  If not, either
3741 # the compiler is broken, or we cross compile.
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3743 $as_echo_n "checking whether we are cross compiling... " >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3745 $as_echo "$cross_compiling" >&6; }
3746
3543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3544   $as_echo_n "checking for suffix of executables... " >&6; }
3545   if { { ac_try="$ac_link"
# Line 3773 | Line 3569 | done
3569   else
3570    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3573 < See \`config.log' for more details." "$LINENO" 5; }
3572 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3573 > See \`config.log' for more details" "$LINENO" 5; }
3574   fi
3575 < rm -f conftest$ac_cv_exeext
3575 > rm -f conftest conftest$ac_cv_exeext
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3577   $as_echo "$ac_cv_exeext" >&6; }
3578  
3579   rm -f conftest.$ac_ext
3580   EXEEXT=$ac_cv_exeext
3581   ac_exeext=$EXEEXT
3582 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 + /* end confdefs.h.  */
3584 + #include <stdio.h>
3585 + int
3586 + main ()
3587 + {
3588 + FILE *f = fopen ("conftest.out", "w");
3589 + return ferror (f) || fclose (f) != 0;
3590 +
3591 +  ;
3592 +  return 0;
3593 + }
3594 + _ACEOF
3595 + ac_clean_files="$ac_clean_files conftest.out"
3596 + # Check that the compiler produces executables we can run.  If not, either
3597 + # the compiler is broken, or we cross compile.
3598 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3599 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3600 + if test "$cross_compiling" != yes; then
3601 +  { { ac_try="$ac_link"
3602 + case "(($ac_try" in
3603 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 +  *) ac_try_echo=$ac_try;;
3605 + esac
3606 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607 + $as_echo "$ac_try_echo"; } >&5
3608 +  (eval "$ac_link") 2>&5
3609 +  ac_status=$?
3610 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3611 +  test $ac_status = 0; }
3612 +  if { ac_try='./conftest$ac_cv_exeext'
3613 +  { { case "(($ac_try" in
3614 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615 +  *) ac_try_echo=$ac_try;;
3616 + esac
3617 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3618 + $as_echo "$ac_try_echo"; } >&5
3619 +  (eval "$ac_try") 2>&5
3620 +  ac_status=$?
3621 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622 +  test $ac_status = 0; }; }; then
3623 +    cross_compiling=no
3624 +  else
3625 +    if test "$cross_compiling" = maybe; then
3626 +        cross_compiling=yes
3627 +    else
3628 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 + as_fn_error $? "cannot run C compiled programs.
3631 + If you meant to cross compile, use \`--host'.
3632 + See \`config.log' for more details" "$LINENO" 5; }
3633 +    fi
3634 +  fi
3635 + fi
3636 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3637 + $as_echo "$cross_compiling" >&6; }
3638 +
3639 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3640 + ac_clean_files=$ac_clean_files_save
3641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3642   $as_echo_n "checking for suffix of object files... " >&6; }
3643 < if test "${ac_cv_objext+set}" = set; then :
3643 > if ${ac_cv_objext+:} false; then :
3644    $as_echo_n "(cached) " >&6
3645   else
3646    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3825 | Line 3680 | sed 's/^/| /' conftest.$ac_ext >&5
3680  
3681   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 < as_fn_error "cannot compute suffix of object files: cannot compile
3684 < See \`config.log' for more details." "$LINENO" 5; }
3683 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3684 > See \`config.log' for more details" "$LINENO" 5; }
3685   fi
3686   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3687   fi
# Line 3836 | Line 3691 | OBJEXT=$ac_cv_objext
3691   ac_objext=$OBJEXT
3692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3693   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3694 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3694 > if ${ac_cv_c_compiler_gnu+:} false; then :
3695    $as_echo_n "(cached) " >&6
3696   else
3697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3873 | Line 3728 | ac_test_CFLAGS=${CFLAGS+set}
3728   ac_save_CFLAGS=$CFLAGS
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3730   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3731 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3731 > if ${ac_cv_prog_cc_g+:} false; then :
3732    $as_echo_n "(cached) " >&6
3733   else
3734    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3951 | Line 3806 | else
3806   fi
3807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3808   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3809 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3809 > if ${ac_cv_prog_cc_c89+:} false; then :
3810    $as_echo_n "(cached) " >&6
3811   else
3812    ac_cv_prog_cc_c89=no
# Line 3960 | Line 3815 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3815   /* end confdefs.h.  */
3816   #include <stdarg.h>
3817   #include <stdio.h>
3818 < #include <sys/types.h>
3964 < #include <sys/stat.h>
3818 > struct stat;
3819   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3820   struct buf { int x; };
3821   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4045 | Line 3899 | ac_cpp='$CPP $CPPFLAGS'
3899   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3900   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 DEPDIR="${am__leading_dot}deps"
4049
4050 ac_config_commands="$ac_config_commands depfiles"
4051
4052
4053 am_make=${MAKE-make}
4054 cat > confinc << 'END'
4055 am__doit:
4056        @echo this is the am__doit target
4057 .PHONY: am__doit
4058 END
4059 # If we don't find an include directive, just comment out the code.
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4061 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4062 am__include="#"
4063 am__quote=
4064 _am_result=none
4065 # First try GNU make style include.
4066 echo "include confinc" > confmf
4067 # Ignore all kinds of additional output from `make'.
4068 case `$am_make -s -f confmf 2> /dev/null` in #(
4069 *the\ am__doit\ target*)
4070  am__include=include
4071  am__quote=
4072  _am_result=GNU
4073  ;;
4074 esac
4075 # Now try BSD make style include.
4076 if test "$am__include" = "#"; then
4077   echo '.include "confinc"' > confmf
4078   case `$am_make -s -f confmf 2> /dev/null` in #(
4079   *the\ am__doit\ target*)
4080     am__include=.include
4081     am__quote="\""
4082     _am_result=BSD
4083     ;;
4084   esac
4085 fi
4086
4087
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4089 $as_echo "$_am_result" >&6; }
4090 rm -f confinc confmf
4091
4092 # Check whether --enable-dependency-tracking was given.
4093 if test "${enable_dependency_tracking+set}" = set; then :
4094  enableval=$enable_dependency_tracking;
4095 fi
4096
4097 if test "x$enable_dependency_tracking" != xno; then
4098  am_depcomp="$ac_aux_dir/depcomp"
4099  AMDEPBACKSLASH='\'
4100 fi
4101 if test "x$enable_dependency_tracking" != xno; then
4102  AMDEP_TRUE=
4103  AMDEP_FALSE='#'
4104 else
4105  AMDEP_TRUE='#'
4106  AMDEP_FALSE=
4107 fi
4108
4109
3902  
3903   depcc="$CC"   am_compiler_list=
3904  
3905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3906   $as_echo_n "checking dependency style of $depcc... " >&6; }
3907 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3907 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3908    $as_echo_n "(cached) " >&6
3909   else
3910    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3911    # We make a subdir and do the tests there.  Otherwise we can end up
3912    # making bogus files that we don't know about and never remove.  For
3913    # instance it was reported that on HP-UX the gcc test will end up
3914 <  # making a dummy file named `D' -- because `-MD' means `put the output
3915 <  # in D'.
3914 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3915 >  # in D".
3916 >  rm -rf conftest.dir
3917    mkdir conftest.dir
3918    # Copy depcomp to subdir because otherwise we won't find it if we're
3919    # using a relative directory.
# Line 4154 | Line 3947 | else
3947      : > sub/conftest.c
3948      for i in 1 2 3 4 5 6; do
3949        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3950 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3951 <      # Solaris 8's {/usr,}/bin/sh.
3952 <      touch sub/conftst$i.h
3950 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3951 >      # Solaris 10 /bin/sh.
3952 >      echo '/* dummy */' > sub/conftst$i.h
3953      done
3954      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3955  
3956 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3956 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3957      # mode.  It turns out that the SunPro C++ compiler does not properly
3958 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3959 <    # versions had trouble with output in subdirs
3958 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3959 >    # versions had trouble with output in subdirs.
3960      am__obj=sub/conftest.${OBJEXT-o}
3961      am__minus_obj="-o $am__obj"
3962      case $depmode in
# Line 4172 | Line 3965 | else
3965        test "$am__universal" = false || continue
3966        ;;
3967      nosideeffect)
3968 <      # after this tag, mechanisms are not by side-effect, so they'll
3969 <      # only be used when explicitly requested
3968 >      # After this tag, mechanisms are not by side-effect, so they'll
3969 >      # only be used when explicitly requested.
3970        if test "x$enable_dependency_tracking" = xyes; then
3971          continue
3972        else
3973          break
3974        fi
3975        ;;
3976 <    msvisualcpp | msvcmsys)
3977 <      # This compiler won't grok `-c -o', but also, the minuso test has
3976 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3977 >      # This compiler won't grok '-c -o', but also, the minuso test has
3978        # not run yet.  These depmodes are late enough in the game, and
3979        # so weak that their functioning should not be impacted.
3980        am__obj=conftest.${OBJEXT-o}
# Line 4235 | Line 4028 | else
4028   fi
4029  
4030  
4031 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4032 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4033 + if ${ac_cv_prog_cc_c99+:} false; then :
4034 +  $as_echo_n "(cached) " >&6
4035 + else
4036 +  ac_cv_prog_cc_c99=no
4037 + ac_save_CC=$CC
4038 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 + /* end confdefs.h.  */
4040 + #include <stdarg.h>
4041 + #include <stdbool.h>
4042 + #include <stdlib.h>
4043 + #include <wchar.h>
4044 + #include <stdio.h>
4045 +
4046 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4047 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4048 + #define showlist(...) puts (#__VA_ARGS__)
4049 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4050 + static void
4051 + test_varargs_macros (void)
4052 + {
4053 +  int x = 1234;
4054 +  int y = 5678;
4055 +  debug ("Flag");
4056 +  debug ("X = %d\n", x);
4057 +  showlist (The first, second, and third items.);
4058 +  report (x>y, "x is %d but y is %d", x, y);
4059 + }
4060 +
4061 + // Check long long types.
4062 + #define BIG64 18446744073709551615ull
4063 + #define BIG32 4294967295ul
4064 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4065 + #if !BIG_OK
4066 +  your preprocessor is broken;
4067 + #endif
4068 + #if BIG_OK
4069 + #else
4070 +  your preprocessor is broken;
4071 + #endif
4072 + static long long int bignum = -9223372036854775807LL;
4073 + static unsigned long long int ubignum = BIG64;
4074 +
4075 + struct incomplete_array
4076 + {
4077 +  int datasize;
4078 +  double data[];
4079 + };
4080 +
4081 + struct named_init {
4082 +  int number;
4083 +  const wchar_t *name;
4084 +  double average;
4085 + };
4086 +
4087 + typedef const char *ccp;
4088 +
4089 + static inline int
4090 + test_restrict (ccp restrict text)
4091 + {
4092 +  // See if C++-style comments work.
4093 +  // Iterate through items via the restricted pointer.
4094 +  // Also check for declarations in for loops.
4095 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4096 +    continue;
4097 +  return 0;
4098 + }
4099 +
4100 + // Check varargs and va_copy.
4101 + static void
4102 + test_varargs (const char *format, ...)
4103 + {
4104 +  va_list args;
4105 +  va_start (args, format);
4106 +  va_list args_copy;
4107 +  va_copy (args_copy, args);
4108 +
4109 +  const char *str;
4110 +  int number;
4111 +  float fnumber;
4112 +
4113 +  while (*format)
4114 +    {
4115 +      switch (*format++)
4116 +        {
4117 +        case 's': // string
4118 +          str = va_arg (args_copy, const char *);
4119 +          break;
4120 +        case 'd': // int
4121 +          number = va_arg (args_copy, int);
4122 +          break;
4123 +        case 'f': // float
4124 +          fnumber = va_arg (args_copy, double);
4125 +          break;
4126 +        default:
4127 +          break;
4128 +        }
4129 +    }
4130 +  va_end (args_copy);
4131 +  va_end (args);
4132 + }
4133 +
4134 + int
4135 + main ()
4136 + {
4137 +
4138 +  // Check bool.
4139 +  _Bool success = false;
4140 +
4141 +  // Check restrict.
4142 +  if (test_restrict ("String literal") == 0)
4143 +    success = true;
4144 +  char *restrict newvar = "Another string";
4145 +
4146 +  // Check varargs.
4147 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4148 +  test_varargs_macros ();
4149 +
4150 +  // Check flexible array members.
4151 +  struct incomplete_array *ia =
4152 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4153 +  ia->datasize = 10;
4154 +  for (int i = 0; i < ia->datasize; ++i)
4155 +    ia->data[i] = i * 1.234;
4156 +
4157 +  // Check named initializers.
4158 +  struct named_init ni = {
4159 +    .number = 34,
4160 +    .name = L"Test wide string",
4161 +    .average = 543.34343,
4162 +  };
4163 +
4164 +  ni.number = 58;
4165 +
4166 +  int dynamic_array[ni.number];
4167 +  dynamic_array[ni.number - 1] = 543;
4168 +
4169 +  // work around unused variable warnings
4170 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4171 +          || dynamic_array[ni.number - 1] != 543);
4172 +
4173 +  ;
4174 +  return 0;
4175 + }
4176 + _ACEOF
4177 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4178 + do
4179 +  CC="$ac_save_CC $ac_arg"
4180 +  if ac_fn_c_try_compile "$LINENO"; then :
4181 +  ac_cv_prog_cc_c99=$ac_arg
4182 + fi
4183 + rm -f core conftest.err conftest.$ac_objext
4184 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4185 + done
4186 + rm -f conftest.$ac_ext
4187 + CC=$ac_save_CC
4188 +
4189 + fi
4190 + # AC_CACHE_VAL
4191 + case "x$ac_cv_prog_cc_c99" in
4192 +  x)
4193 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4194 + $as_echo "none needed" >&6; } ;;
4195 +  xno)
4196 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4197 + $as_echo "unsupported" >&6; } ;;
4198 +  *)
4199 +    CC="$CC $ac_cv_prog_cc_c99"
4200 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4201 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4202 + esac
4203 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4204 +
4205 + fi
4206 +
4207 +
4208 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4209 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4210 + fi
4211   for ac_prog in 'bison -y' byacc
4212   do
4213    # Extract the first word of "$ac_prog", so it can be a program name with args.
4214   set dummy $ac_prog; ac_word=$2
4215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216   $as_echo_n "checking for $ac_word... " >&6; }
4217 < if test "${ac_cv_prog_YACC+set}" = set; then :
4217 > if ${ac_cv_prog_YACC+:} false; then :
4218    $as_echo_n "(cached) " >&6
4219   else
4220    if test -n "$YACC"; then
# Line 4253 | Line 4226 | do
4226    IFS=$as_save_IFS
4227    test -z "$as_dir" && as_dir=.
4228      for ac_exec_ext in '' $ac_executable_extensions; do
4229 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4229 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230      ac_cv_prog_YACC="$ac_prog"
4231      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232      break 2
# Line 4285 | Line 4258 | do
4258   set dummy $ac_prog; ac_word=$2
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260   $as_echo_n "checking for $ac_word... " >&6; }
4261 < if test "${ac_cv_prog_LEX+set}" = set; then :
4261 > if ${ac_cv_prog_LEX+:} false; then :
4262    $as_echo_n "(cached) " >&6
4263   else
4264    if test -n "$LEX"; then
# Line 4297 | Line 4270 | do
4270    IFS=$as_save_IFS
4271    test -z "$as_dir" && as_dir=.
4272      for ac_exec_ext in '' $ac_executable_extensions; do
4273 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4274      ac_cv_prog_LEX="$ac_prog"
4275      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276      break 2
# Line 4329 | Line 4302 | a { ECHO; }
4302   b { REJECT; }
4303   c { yymore (); }
4304   d { yyless (1); }
4305 < e { yyless (input () != 0); }
4305 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4306 >    yyless ((input () != 0)); }
4307   f { unput (yytext[0]); }
4308   . { BEGIN INITIAL; }
4309   %%
# Line 4355 | Line 4329 | $as_echo "$ac_try_echo"; } >&5
4329    test $ac_status = 0; }
4330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4331   $as_echo_n "checking lex output file root... " >&6; }
4332 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4332 > if ${ac_cv_prog_lex_root+:} false; then :
4333    $as_echo_n "(cached) " >&6
4334   else
4335  
# Line 4364 | Line 4338 | if test -f lex.yy.c; then
4338   elif test -f lexyy.c; then
4339    ac_cv_prog_lex_root=lexyy
4340   else
4341 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4341 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4342   fi
4343   fi
4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4374 | Line 4348 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4348   if test -z "${LEXLIB+set}"; then
4349    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4350   $as_echo_n "checking lex library... " >&6; }
4351 < if test "${ac_cv_lib_lex+set}" = set; then :
4351 > if ${ac_cv_lib_lex+:} false; then :
4352    $as_echo_n "(cached) " >&6
4353   else
4354  
# Line 4404 | Line 4378 | fi
4378  
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4380   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4381 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4381 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4382    $as_echo_n "(cached) " >&6
4383   else
4384    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4415 | Line 4389 | ac_save_LIBS=$LIBS
4389   LIBS="$LEXLIB $ac_save_LIBS"
4390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391   /* end confdefs.h.  */
4392 < #define YYTEXT_POINTER 1
4392 >
4393 >  #define YYTEXT_POINTER 1
4394   `cat $LEX_OUTPUT_ROOT.c`
4395   _ACEOF
4396   if ac_fn_c_try_link "$LINENO"; then :
# Line 4441 | Line 4416 | if test "$LEX" = :; then
4416   fi
4417  
4418  
4419 + # Initializing libtool.
4420 +
4421 +
4422 +
4423 +
4424 +
4425 +
4426  
4445 #ltdl stuff
4427   case `pwd` in
4428    *\ * | *\     *)
4429      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4451 | Line 4432 | esac
4432  
4433  
4434  
4435 < macro_version='2.2.6'
4436 < macro_revision='1.3012'
4435 > macro_version='2.4.2'
4436 > macro_revision='1.3337'
4437  
4438  
4439  
# Line 4470 | Line 4451 | ltmain="$ac_aux_dir/ltmain.sh"
4451  
4452   # Make sure we can run config.sub.
4453   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4454 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4454 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4455  
4456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4457   $as_echo_n "checking build system type... " >&6; }
4458 < if test "${ac_cv_build+set}" = set; then :
4458 > if ${ac_cv_build+:} false; then :
4459    $as_echo_n "(cached) " >&6
4460   else
4461    ac_build_alias=$build_alias
4462   test "x$ac_build_alias" = x &&
4463    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4464   test "x$ac_build_alias" = x &&
4465 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4465 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4466   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4467 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4467 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4468  
4469   fi
4470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4471   $as_echo "$ac_cv_build" >&6; }
4472   case $ac_cv_build in
4473   *-*-*) ;;
4474 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4474 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4475   esac
4476   build=$ac_cv_build
4477   ac_save_IFS=$IFS; IFS='-'
# Line 4508 | Line 4489 | case $build_os in *\ *) build_os=`echo "
4489  
4490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4491   $as_echo_n "checking host system type... " >&6; }
4492 < if test "${ac_cv_host+set}" = set; then :
4492 > if ${ac_cv_host+:} false; then :
4493    $as_echo_n "(cached) " >&6
4494   else
4495    if test "x$host_alias" = x; then
4496    ac_cv_host=$ac_cv_build
4497   else
4498    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4499 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4499 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4500   fi
4501  
4502   fi
# Line 4523 | Line 4504 | fi
4504   $as_echo "$ac_cv_host" >&6; }
4505   case $ac_cv_host in
4506   *-*-*) ;;
4507 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4507 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4508   esac
4509   host=$ac_cv_host
4510   ac_save_IFS=$IFS; IFS='-'
# Line 4539 | Line 4520 | IFS=$ac_save_IFS
4520   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4521  
4522  
4523 + # Backslashify metacharacters that are still active within
4524 + # double-quoted strings.
4525 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4526 +
4527 + # Same as above, but do not quote variable references.
4528 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4529 +
4530 + # Sed substitution to delay expansion of an escaped shell variable in a
4531 + # double_quote_subst'ed string.
4532 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4533 +
4534 + # Sed substitution to delay expansion of an escaped single quote.
4535 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4536 +
4537 + # Sed substitution to avoid accidental globbing in evaled expressions
4538 + no_glob_subst='s/\*/\\\*/g'
4539 +
4540 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4541 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4542 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4543 +
4544 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4545 + $as_echo_n "checking how to print strings... " >&6; }
4546 + # Test print first, because it will be a builtin if present.
4547 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4548 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4549 +  ECHO='print -r --'
4550 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4551 +  ECHO='printf %s\n'
4552 + else
4553 +  # Use this function as a fallback that always works.
4554 +  func_fallback_echo ()
4555 +  {
4556 +    eval 'cat <<_LTECHO_EOF
4557 + $1
4558 + _LTECHO_EOF'
4559 +  }
4560 +  ECHO='func_fallback_echo'
4561 + fi
4562 +
4563 + # func_echo_all arg...
4564 + # Invoke $ECHO with all args, space-separated.
4565 + func_echo_all ()
4566 + {
4567 +    $ECHO ""
4568 + }
4569 +
4570 + case "$ECHO" in
4571 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4572 + $as_echo "printf" >&6; } ;;
4573 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4574 + $as_echo "print -r" >&6; } ;;
4575 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4576 + $as_echo "cat" >&6; } ;;
4577 + esac
4578 +
4579 +
4580 +
4581 +
4582 +
4583 +
4584 +
4585 +
4586 +
4587 +
4588 +
4589 +
4590 +
4591 +
4592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4593   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4594 < if test "${ac_cv_path_SED+set}" = set; then :
4594 > if ${ac_cv_path_SED+:} false; then :
4595    $as_echo_n "(cached) " >&6
4596   else
4597              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4561 | Line 4611 | do
4611      for ac_prog in sed gsed; do
4612      for ac_exec_ext in '' $ac_executable_extensions; do
4613        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4614 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4614 >      as_fn_executable_p "$ac_path_SED" || continue
4615   # Check for GNU ac_path_SED and select it if it is found.
4616    # Check for GNU $ac_path_SED
4617   case `"$ac_path_SED" --version 2>&1` in
# Line 4596 | Line 4646 | esac
4646    done
4647   IFS=$as_save_IFS
4648    if test -z "$ac_cv_path_SED"; then
4649 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4649 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4650    fi
4651   else
4652    ac_cv_path_SED=$SED
# Line 4623 | Line 4673 | Xsed="$SED -e 1s/^X//"
4673  
4674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4675   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4676 < if test "${ac_cv_path_GREP+set}" = set; then :
4676 > if ${ac_cv_path_GREP+:} false; then :
4677    $as_echo_n "(cached) " >&6
4678   else
4679    if test -z "$GREP"; then
# Line 4637 | Line 4687 | do
4687      for ac_prog in grep ggrep; do
4688      for ac_exec_ext in '' $ac_executable_extensions; do
4689        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4690 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4690 >      as_fn_executable_p "$ac_path_GREP" || continue
4691   # Check for GNU ac_path_GREP and select it if it is found.
4692    # Check for GNU $ac_path_GREP
4693   case `"$ac_path_GREP" --version 2>&1` in
# Line 4672 | Line 4722 | esac
4722    done
4723   IFS=$as_save_IFS
4724    if test -z "$ac_cv_path_GREP"; then
4725 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4725 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726    fi
4727   else
4728    ac_cv_path_GREP=$GREP
# Line 4686 | Line 4736 | $as_echo "$ac_cv_path_GREP" >&6; }
4736  
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4738   $as_echo_n "checking for egrep... " >&6; }
4739 < if test "${ac_cv_path_EGREP+set}" = set; then :
4739 > if ${ac_cv_path_EGREP+:} false; then :
4740    $as_echo_n "(cached) " >&6
4741   else
4742    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4703 | Line 4753 | do
4753      for ac_prog in egrep; do
4754      for ac_exec_ext in '' $ac_executable_extensions; do
4755        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4756 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4756 >      as_fn_executable_p "$ac_path_EGREP" || continue
4757   # Check for GNU ac_path_EGREP and select it if it is found.
4758    # Check for GNU $ac_path_EGREP
4759   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4738 | Line 4788 | esac
4788    done
4789   IFS=$as_save_IFS
4790    if test -z "$ac_cv_path_EGREP"; then
4791 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4792    fi
4793   else
4794    ac_cv_path_EGREP=$EGREP
# Line 4753 | Line 4803 | $as_echo "$ac_cv_path_EGREP" >&6; }
4803  
4804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4805   $as_echo_n "checking for fgrep... " >&6; }
4806 < if test "${ac_cv_path_FGREP+set}" = set; then :
4806 > if ${ac_cv_path_FGREP+:} false; then :
4807    $as_echo_n "(cached) " >&6
4808   else
4809    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4770 | Line 4820 | do
4820      for ac_prog in fgrep; do
4821      for ac_exec_ext in '' $ac_executable_extensions; do
4822        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4823 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4823 >      as_fn_executable_p "$ac_path_FGREP" || continue
4824   # Check for GNU ac_path_FGREP and select it if it is found.
4825    # Check for GNU $ac_path_FGREP
4826   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4805 | Line 4855 | esac
4855    done
4856   IFS=$as_save_IFS
4857    if test -z "$ac_cv_path_FGREP"; then
4858 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4858 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4859    fi
4860   else
4861    ac_cv_path_FGREP=$FGREP
# Line 4884 | Line 4934 | else
4934    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4935   $as_echo_n "checking for non-GNU ld... " >&6; }
4936   fi
4937 < if test "${lt_cv_path_LD+set}" = set; then :
4937 > if ${lt_cv_path_LD+:} false; then :
4938    $as_echo_n "(cached) " >&6
4939   else
4940    if test -z "$LD"; then
# Line 4921 | Line 4971 | else
4971    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972   $as_echo "no" >&6; }
4973   fi
4974 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4974 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4976   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4977 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4977 > if ${lt_cv_prog_gnu_ld+:} false; then :
4978    $as_echo_n "(cached) " >&6
4979   else
4980    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4951 | Line 5001 | with_gnu_ld=$lt_cv_prog_gnu_ld
5001  
5002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5003   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5004 < if test "${lt_cv_path_NM+set}" = set; then :
5004 > if ${lt_cv_path_NM+:} false; then :
5005    $as_echo_n "(cached) " >&6
5006   else
5007    if test -n "$NM"; then
# Line 5004 | Line 5054 | if test "$lt_cv_path_NM" != "no"; then
5054    NM="$lt_cv_path_NM"
5055   else
5056    # Didn't find any BSD compatible name lister, look for dumpbin.
5057 <  if test -n "$ac_tool_prefix"; then
5058 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5057 >  if test -n "$DUMPBIN"; then :
5058 >    # Let the user override the test.
5059 >  else
5060 >    if test -n "$ac_tool_prefix"; then
5061 >  for ac_prog in dumpbin "link -dump"
5062    do
5063      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5064   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066   $as_echo_n "checking for $ac_word... " >&6; }
5067 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5067 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5068    $as_echo_n "(cached) " >&6
5069   else
5070    if test -n "$DUMPBIN"; then
# Line 5023 | Line 5076 | do
5076    IFS=$as_save_IFS
5077    test -z "$as_dir" && as_dir=.
5078      for ac_exec_ext in '' $ac_executable_extensions; do
5079 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5081      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082      break 2
# Line 5049 | Line 5102 | fi
5102   fi
5103   if test -z "$DUMPBIN"; then
5104    ac_ct_DUMPBIN=$DUMPBIN
5105 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5105 >  for ac_prog in dumpbin "link -dump"
5106   do
5107    # Extract the first word of "$ac_prog", so it can be a program name with args.
5108   set dummy $ac_prog; ac_word=$2
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110   $as_echo_n "checking for $ac_word... " >&6; }
5111 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5111 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5112    $as_echo_n "(cached) " >&6
5113   else
5114    if test -n "$ac_ct_DUMPBIN"; then
# Line 5067 | Line 5120 | do
5120    IFS=$as_save_IFS
5121    test -z "$as_dir" && as_dir=.
5122      for ac_exec_ext in '' $ac_executable_extensions; do
5123 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5125      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126      break 2
# Line 5104 | Line 5157 | esac
5157    fi
5158   fi
5159  
5160 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5161 +    *COFF*)
5162 +      DUMPBIN="$DUMPBIN -symbols"
5163 +      ;;
5164 +    *)
5165 +      DUMPBIN=:
5166 +      ;;
5167 +    esac
5168 +  fi
5169  
5170    if test "$DUMPBIN" != ":"; then
5171      NM="$DUMPBIN"
# Line 5118 | Line 5180 | test -z "$NM" && NM=nm
5180  
5181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5182   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5183 < if test "${lt_cv_nm_interface+set}" = set; then :
5183 > if ${lt_cv_nm_interface+:} false; then :
5184    $as_echo_n "(cached) " >&6
5185   else
5186    lt_cv_nm_interface="BSD nm"
5187    echo "int some_variable = 0;" > conftest.$ac_ext
5188 <  (eval echo "\"\$as_me:5126: $ac_compile\"" >&5)
5188 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5189    (eval "$ac_compile" 2>conftest.err)
5190    cat conftest.err >&5
5191 <  (eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5191 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5192    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5193    cat conftest.err >&5
5194 <  (eval echo "\"\$as_me:5132: output\"" >&5)
5194 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5195    cat conftest.out >&5
5196    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5197      lt_cv_nm_interface="MS dumpbin"
# Line 5153 | Line 5215 | fi
5215   # find the maximum length of command line arguments
5216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5217   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5218 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5218 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5219    $as_echo_n "(cached) " >&6
5220   else
5221      i=0
# Line 5186 | Line 5248 | else
5248      lt_cv_sys_max_cmd_len=8192;
5249      ;;
5250  
5251 +  mint*)
5252 +    # On MiNT this can take a long time and run out of memory.
5253 +    lt_cv_sys_max_cmd_len=8192;
5254 +    ;;
5255 +
5256    amigaos*)
5257      # On AmigaOS with pdksh, this test takes hours, literally.
5258      # So we just punt and use a minimum line length of 8192.
# Line 5211 | Line 5278 | else
5278      lt_cv_sys_max_cmd_len=196608
5279      ;;
5280  
5281 +  os2*)
5282 +    # The test takes a long time on OS/2.
5283 +    lt_cv_sys_max_cmd_len=8192
5284 +    ;;
5285 +
5286    osf*)
5287      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5288      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5250 | Line 5322 | else
5322        # If test is not a shell built-in, we'll probably end up computing a
5323        # maximum length that is only half of the actual maximum length, but
5324        # we can't tell.
5325 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5326 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5325 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5326 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5327                test $i != 17 # 1/2 MB should be enough
5328        do
5329          i=`expr $i + 1`
# Line 5293 | Line 5365 | $as_echo_n "checking whether the shell u
5365   # Try some XSI features
5366   xsi_shell=no
5367   ( _lt_dummy="a/b/c"
5368 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5369 <      = c,a/b,, \
5368 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5369 >      = c,a/b,b/c, \
5370      && eval 'test $(( 1 + 1 )) -eq 2 \
5371      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5372    && xsi_shell=yes
# Line 5343 | Line 5415 | esac
5415  
5416  
5417  
5418 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5419 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5420 + if ${lt_cv_to_host_file_cmd+:} false; then :
5421 +  $as_echo_n "(cached) " >&6
5422 + else
5423 +  case $host in
5424 +  *-*-mingw* )
5425 +    case $build in
5426 +      *-*-mingw* ) # actually msys
5427 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5428 +        ;;
5429 +      *-*-cygwin* )
5430 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5431 +        ;;
5432 +      * ) # otherwise, assume *nix
5433 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5434 +        ;;
5435 +    esac
5436 +    ;;
5437 +  *-*-cygwin* )
5438 +    case $build in
5439 +      *-*-mingw* ) # actually msys
5440 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5441 +        ;;
5442 +      *-*-cygwin* )
5443 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5444 +        ;;
5445 +      * ) # otherwise, assume *nix
5446 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5447 +        ;;
5448 +    esac
5449 +    ;;
5450 +  * ) # unhandled hosts (and "normal" native builds)
5451 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5452 +    ;;
5453 + esac
5454 +
5455 + fi
5456 +
5457 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5458 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5459 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5460 +
5461 +
5462 +
5463 +
5464 +
5465 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5466 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5467 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5468 +  $as_echo_n "(cached) " >&6
5469 + else
5470 +  #assume ordinary cross tools, or native build.
5471 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5472 + case $host in
5473 +  *-*-mingw* )
5474 +    case $build in
5475 +      *-*-mingw* ) # actually msys
5476 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5477 +        ;;
5478 +    esac
5479 +    ;;
5480 + esac
5481 +
5482 + fi
5483 +
5484 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5485 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5486 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5487 +
5488 +
5489 +
5490 +
5491 +
5492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5493   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5494 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5494 > if ${lt_cv_ld_reload_flag+:} false; then :
5495    $as_echo_n "(cached) " >&6
5496   else
5497    lt_cv_ld_reload_flag='-r'
# Line 5359 | Line 5505 | case $reload_flag in
5505   esac
5506   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5507   case $host_os in
5508 +  cygwin* | mingw* | pw32* | cegcc*)
5509 +    if test "$GCC" != yes; then
5510 +      reload_cmds=false
5511 +    fi
5512 +    ;;
5513    darwin*)
5514      if test "$GCC" = yes; then
5515        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5381 | Line 5532 | if test -n "$ac_tool_prefix"; then
5532   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534   $as_echo_n "checking for $ac_word... " >&6; }
5535 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5535 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5536    $as_echo_n "(cached) " >&6
5537   else
5538    if test -n "$OBJDUMP"; then
# Line 5393 | Line 5544 | do
5544    IFS=$as_save_IFS
5545    test -z "$as_dir" && as_dir=.
5546      for ac_exec_ext in '' $ac_executable_extensions; do
5547 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5549      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550      break 2
# Line 5421 | Line 5572 | if test -z "$ac_cv_prog_OBJDUMP"; then
5572   set dummy objdump; ac_word=$2
5573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574   $as_echo_n "checking for $ac_word... " >&6; }
5575 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5575 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5576    $as_echo_n "(cached) " >&6
5577   else
5578    if test -n "$ac_ct_OBJDUMP"; then
# Line 5433 | Line 5584 | do
5584    IFS=$as_save_IFS
5585    test -z "$as_dir" && as_dir=.
5586      for ac_exec_ext in '' $ac_executable_extensions; do
5587 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5589      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590      break 2
# Line 5480 | Line 5631 | test -z "$OBJDUMP" && OBJDUMP=objdump
5631  
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5633   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5634 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5634 > if ${lt_cv_deplibs_check_method+:} false; then :
5635    $as_echo_n "(cached) " >&6
5636   else
5637    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5522 | Line 5673 | mingw* | pw32*)
5673    # Base MSYS/MinGW do not provide the 'file' command needed by
5674    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5675    # unless we find 'file', for example because we are cross-compiling.
5676 <  if ( file / ) >/dev/null 2>&1; then
5676 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5677 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5678      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5679      lt_cv_file_magic_cmd='func_win32_libid'
5680    else
5681 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5681 >    # Keep this pattern in sync with the one in func_win32_libid.
5682 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5683      lt_cv_file_magic_cmd='$OBJDUMP -f'
5684    fi
5685    ;;
5686  
5687 < cegcc)
5687 > cegcc*)
5688    # use the weaker test based on 'objdump'. See mingw*.
5689    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5690    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5561 | Line 5714 | gnu*)
5714    lt_cv_deplibs_check_method=pass_all
5715    ;;
5716  
5717 + haiku*)
5718 +  lt_cv_deplibs_check_method=pass_all
5719 +  ;;
5720 +
5721   hpux10.20* | hpux11*)
5722    lt_cv_file_magic_cmd=/usr/bin/file
5723    case $host_cpu in
# Line 5569 | Line 5726 | hpux10.20* | hpux11*)
5726      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5727      ;;
5728    hppa*64*)
5729 <    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]'
5729 >    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]'
5730      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5731      ;;
5732    *)
5733 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5733 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5734      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5735      ;;
5736    esac
# Line 5594 | Line 5751 | irix5* | irix6* | nonstopux*)
5751    lt_cv_deplibs_check_method=pass_all
5752    ;;
5753  
5754 < # This must be Linux ELF.
5755 < linux* | k*bsd*-gnu)
5754 > # This must be glibc/ELF.
5755 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5756    lt_cv_deplibs_check_method=pass_all
5757    ;;
5758  
# Line 5676 | Line 5833 | esac
5833   fi
5834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5835   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5836 +
5837 + file_magic_glob=
5838 + want_nocaseglob=no
5839 + if test "$build" = "$host"; then
5840 +  case $host_os in
5841 +  mingw* | pw32*)
5842 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5843 +      want_nocaseglob=yes
5844 +    else
5845 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5846 +    fi
5847 +    ;;
5848 +  esac
5849 + fi
5850 +
5851   file_magic_cmd=$lt_cv_file_magic_cmd
5852   deplibs_check_method=$lt_cv_deplibs_check_method
5853   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5863 | test -z "$deplibs_check_method" && depli
5863  
5864  
5865  
5866 +
5867 +
5868 +
5869 +
5870 +
5871 +
5872 +
5873 +
5874 +
5875 +
5876 + if test -n "$ac_tool_prefix"; then
5877 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5878 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5879 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 + $as_echo_n "checking for $ac_word... " >&6; }
5881 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5882 +  $as_echo_n "(cached) " >&6
5883 + else
5884 +  if test -n "$DLLTOOL"; then
5885 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5886 + else
5887 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 + for as_dir in $PATH
5889 + do
5890 +  IFS=$as_save_IFS
5891 +  test -z "$as_dir" && as_dir=.
5892 +    for ac_exec_ext in '' $ac_executable_extensions; do
5893 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5895 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 +    break 2
5897 +  fi
5898 + done
5899 +  done
5900 + IFS=$as_save_IFS
5901 +
5902 + fi
5903 + fi
5904 + DLLTOOL=$ac_cv_prog_DLLTOOL
5905 + if test -n "$DLLTOOL"; then
5906 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5907 + $as_echo "$DLLTOOL" >&6; }
5908 + else
5909 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 + $as_echo "no" >&6; }
5911 + fi
5912 +
5913 +
5914 + fi
5915 + if test -z "$ac_cv_prog_DLLTOOL"; then
5916 +  ac_ct_DLLTOOL=$DLLTOOL
5917 +  # Extract the first word of "dlltool", so it can be a program name with args.
5918 + set dummy dlltool; ac_word=$2
5919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 + $as_echo_n "checking for $ac_word... " >&6; }
5921 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5922 +  $as_echo_n "(cached) " >&6
5923 + else
5924 +  if test -n "$ac_ct_DLLTOOL"; then
5925 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5926 + else
5927 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 + for as_dir in $PATH
5929 + do
5930 +  IFS=$as_save_IFS
5931 +  test -z "$as_dir" && as_dir=.
5932 +    for ac_exec_ext in '' $ac_executable_extensions; do
5933 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5935 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 +    break 2
5937 +  fi
5938 + done
5939 +  done
5940 + IFS=$as_save_IFS
5941 +
5942 + fi
5943 + fi
5944 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5945 + if test -n "$ac_ct_DLLTOOL"; then
5946 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5947 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5948 + else
5949 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 + $as_echo "no" >&6; }
5951 + fi
5952 +
5953 +  if test "x$ac_ct_DLLTOOL" = x; then
5954 +    DLLTOOL="false"
5955 +  else
5956 +    case $cross_compiling:$ac_tool_warned in
5957 + yes:)
5958 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5959 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5960 + ac_tool_warned=yes ;;
5961 + esac
5962 +    DLLTOOL=$ac_ct_DLLTOOL
5963 +  fi
5964 + else
5965 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5966 + fi
5967 +
5968 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5969 +
5970 +
5971 +
5972 +
5973 +
5974 +
5975 +
5976 +
5977 +
5978 +
5979 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5980 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5981 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5982 +  $as_echo_n "(cached) " >&6
5983 + else
5984 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5985 +
5986 + case $host_os in
5987 + cygwin* | mingw* | pw32* | cegcc*)
5988 +  # two different shell functions defined in ltmain.sh
5989 +  # decide which to use based on capabilities of $DLLTOOL
5990 +  case `$DLLTOOL --help 2>&1` in
5991 +  *--identify-strict*)
5992 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5993 +    ;;
5994 +  *)
5995 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5996 +    ;;
5997 +  esac
5998 +  ;;
5999 + *)
6000 +  # fallback: assume linklib IS sharedlib
6001 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6002 +  ;;
6003 + esac
6004 +
6005 + fi
6006 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6007 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6008 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6009 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6010 +
6011 +
6012 +
6013 +
6014 +
6015 +
6016 +
6017   if test -n "$ac_tool_prefix"; then
6018 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6019 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6018 >  for ac_prog in ar
6019 >  do
6020 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6021 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023   $as_echo_n "checking for $ac_word... " >&6; }
6024 < if test "${ac_cv_prog_AR+set}" = set; then :
6024 > if ${ac_cv_prog_AR+:} false; then :
6025    $as_echo_n "(cached) " >&6
6026   else
6027    if test -n "$AR"; then
# Line 5708 | Line 6033 | do
6033    IFS=$as_save_IFS
6034    test -z "$as_dir" && as_dir=.
6035      for ac_exec_ext in '' $ac_executable_extensions; do
6036 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6036 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6038      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039      break 2
6040    fi
# Line 5729 | Line 6054 | $as_echo "no" >&6; }
6054   fi
6055  
6056  
6057 +    test -n "$AR" && break
6058 +  done
6059   fi
6060 < if test -z "$ac_cv_prog_AR"; then
6060 > if test -z "$AR"; then
6061    ac_ct_AR=$AR
6062 <  # Extract the first word of "ar", so it can be a program name with args.
6063 < set dummy ar; ac_word=$2
6062 >  for ac_prog in ar
6063 > do
6064 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 > set dummy $ac_prog; ac_word=$2
6066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067   $as_echo_n "checking for $ac_word... " >&6; }
6068 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6068 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6069    $as_echo_n "(cached) " >&6
6070   else
6071    if test -n "$ac_ct_AR"; then
# Line 5748 | Line 6077 | do
6077    IFS=$as_save_IFS
6078    test -z "$as_dir" && as_dir=.
6079      for ac_exec_ext in '' $ac_executable_extensions; do
6080 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 <    ac_cv_prog_ac_ct_AR="ar"
6080 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6082      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083      break 2
6084    fi
# Line 5768 | Line 6097 | else
6097   $as_echo "no" >&6; }
6098   fi
6099  
6100 +
6101 +  test -n "$ac_ct_AR" && break
6102 + done
6103 +
6104    if test "x$ac_ct_AR" = x; then
6105      AR="false"
6106    else
# Line 5779 | Line 6112 | ac_tool_warned=yes ;;
6112   esac
6113      AR=$ac_ct_AR
6114    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6115   fi
6116  
6117 < test -z "$AR" && AR=ar
6118 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6117 > : ${AR=ar}
6118 > : ${AR_FLAGS=cru}
6119 >
6120 >
6121 >
6122 >
6123 >
6124 >
6125 >
6126 >
6127 >
6128 >
6129 >
6130 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6131 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6132 > if ${lt_cv_ar_at_file+:} false; then :
6133 >  $as_echo_n "(cached) " >&6
6134 > else
6135 >  lt_cv_ar_at_file=no
6136 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 > /* end confdefs.h.  */
6138  
6139 + int
6140 + main ()
6141 + {
6142  
6143 +  ;
6144 +  return 0;
6145 + }
6146 + _ACEOF
6147 + if ac_fn_c_try_compile "$LINENO"; then :
6148 +  echo conftest.$ac_objext > conftest.lst
6149 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6150 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6151 +  (eval $lt_ar_try) 2>&5
6152 +  ac_status=$?
6153 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6154 +  test $ac_status = 0; }
6155 +      if test "$ac_status" -eq 0; then
6156 +        # Ensure the archiver fails upon bogus file names.
6157 +        rm -f conftest.$ac_objext libconftest.a
6158 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6159 +  (eval $lt_ar_try) 2>&5
6160 +  ac_status=$?
6161 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6162 +  test $ac_status = 0; }
6163 +        if test "$ac_status" -ne 0; then
6164 +          lt_cv_ar_at_file=@
6165 +        fi
6166 +      fi
6167 +      rm -f conftest.* libconftest.a
6168  
6169 + fi
6170 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171  
6172 + fi
6173 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6174 + $as_echo "$lt_cv_ar_at_file" >&6; }
6175 +
6176 + if test "x$lt_cv_ar_at_file" = xno; then
6177 +  archiver_list_spec=
6178 + else
6179 +  archiver_list_spec=$lt_cv_ar_at_file
6180 + fi
6181  
6182  
6183  
# Line 5801 | Line 6190 | if test -n "$ac_tool_prefix"; then
6190   set dummy ${ac_tool_prefix}strip; ac_word=$2
6191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192   $as_echo_n "checking for $ac_word... " >&6; }
6193 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6193 > if ${ac_cv_prog_STRIP+:} false; then :
6194    $as_echo_n "(cached) " >&6
6195   else
6196    if test -n "$STRIP"; then
# Line 5813 | Line 6202 | do
6202    IFS=$as_save_IFS
6203    test -z "$as_dir" && as_dir=.
6204      for ac_exec_ext in '' $ac_executable_extensions; do
6205 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6205 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6207      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208      break 2
# Line 5841 | Line 6230 | if test -z "$ac_cv_prog_STRIP"; then
6230   set dummy strip; ac_word=$2
6231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6232   $as_echo_n "checking for $ac_word... " >&6; }
6233 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6233 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6234    $as_echo_n "(cached) " >&6
6235   else
6236    if test -n "$ac_ct_STRIP"; then
# Line 5853 | Line 6242 | do
6242    IFS=$as_save_IFS
6243    test -z "$as_dir" && as_dir=.
6244      for ac_exec_ext in '' $ac_executable_extensions; do
6245 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6245 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6246      ac_cv_prog_ac_ct_STRIP="strip"
6247      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6248      break 2
# Line 5900 | Line 6289 | if test -n "$ac_tool_prefix"; then
6289   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291   $as_echo_n "checking for $ac_word... " >&6; }
6292 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6292 > if ${ac_cv_prog_RANLIB+:} false; then :
6293    $as_echo_n "(cached) " >&6
6294   else
6295    if test -n "$RANLIB"; then
# Line 5912 | Line 6301 | do
6301    IFS=$as_save_IFS
6302    test -z "$as_dir" && as_dir=.
6303      for ac_exec_ext in '' $ac_executable_extensions; do
6304 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6306      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307      break 2
# Line 5940 | Line 6329 | if test -z "$ac_cv_prog_RANLIB"; then
6329   set dummy ranlib; ac_word=$2
6330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331   $as_echo_n "checking for $ac_word... " >&6; }
6332 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6332 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6333    $as_echo_n "(cached) " >&6
6334   else
6335    if test -n "$ac_ct_RANLIB"; then
# Line 5952 | Line 6341 | do
6341    IFS=$as_save_IFS
6342    test -z "$as_dir" && as_dir=.
6343      for ac_exec_ext in '' $ac_executable_extensions; do
6344 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6345      ac_cv_prog_ac_ct_RANLIB="ranlib"
6346      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347      break 2
# Line 6002 | Line 6391 | old_postuninstall_cmds=
6391   if test -n "$RANLIB"; then
6392    case $host_os in
6393    openbsd*)
6394 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6394 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6395      ;;
6396    *)
6397 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6397 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6398      ;;
6399    esac
6400 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6400 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6401   fi
6402  
6403 + case $host_os in
6404 +  darwin*)
6405 +    lock_old_archive_extraction=yes ;;
6406 +  *)
6407 +    lock_old_archive_extraction=no ;;
6408 + esac
6409 +
6410 +
6411 +
6412 +
6413 +
6414 +
6415  
6416  
6417  
# Line 6057 | Line 6458 | compiler=$CC
6458   # Check for command to grab the raw symbol name followed by C symbol from nm.
6459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6460   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6461 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6461 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6462    $as_echo_n "(cached) " >&6
6463   else
6464  
# Line 6118 | Line 6519 | esac
6519   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6520  
6521   # Transform an extracted symbol line into symbol name and symbol address
6522 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6523 < 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'"
6522 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6523 > 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'"
6524  
6525   # Handle CRLF in mingw tool chain
6526   opt_cr=
# Line 6143 | Line 6544 | for ac_symprfx in "" "_"; do
6544      # which start with @ or ?.
6545      lt_cv_sys_global_symbol_pipe="$AWK '"\
6546   "     {last_section=section; section=\$ 3};"\
6547 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6548   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6549   "     \$ 0!~/External *\|/{next};"\
6550   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6155 | Line 6557 | for ac_symprfx in "" "_"; do
6557    else
6558      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6559    fi
6560 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6561  
6562    # Check to see that the pipe works correctly.
6563    pipe_works=no
# Line 6180 | Line 6583 | _LT_EOF
6583    test $ac_status = 0; }; then
6584      # Now try to grab the symbols.
6585      nlist=conftest.nm
6586 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6587 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6586 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6587 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6588    ac_status=$?
6589    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6590    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6196 | Line 6599 | _LT_EOF
6599        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6600          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6601            cat <<_LT_EOF > conftest.$ac_ext
6602 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6603 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6604 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6605 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6606 + # define LT_DLSYM_CONST
6607 + #elif defined(__osf__)
6608 + /* This system does not cope well with relocations in const data.  */
6609 + # define LT_DLSYM_CONST
6610 + #else
6611 + # define LT_DLSYM_CONST const
6612 + #endif
6613 +
6614   #ifdef __cplusplus
6615   extern "C" {
6616   #endif
# Line 6207 | Line 6622 | _LT_EOF
6622            cat <<_LT_EOF >> conftest.$ac_ext
6623  
6624   /* The mapping between symbol names and symbols.  */
6625 < const struct {
6625 > LT_DLSYM_CONST struct {
6626    const char *name;
6627    void       *address;
6628   }
# Line 6233 | Line 6648 | static const void *lt_preloaded_setup()
6648   _LT_EOF
6649            # Now try linking the two files.
6650            mv conftest.$ac_objext conftstm.$ac_objext
6651 <          lt_save_LIBS="$LIBS"
6652 <          lt_save_CFLAGS="$CFLAGS"
6651 >          lt_globsym_save_LIBS=$LIBS
6652 >          lt_globsym_save_CFLAGS=$CFLAGS
6653            LIBS="conftstm.$ac_objext"
6654            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6655            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6244 | Line 6659 | _LT_EOF
6659    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6660              pipe_works=yes
6661            fi
6662 <          LIBS="$lt_save_LIBS"
6663 <          CFLAGS="$lt_save_CFLAGS"
6662 >          LIBS=$lt_globsym_save_LIBS
6663 >          CFLAGS=$lt_globsym_save_CFLAGS
6664          else
6665            echo "cannot find nm_test_func in $nlist" >&5
6666          fi
# Line 6282 | Line 6697 | else
6697   $as_echo "ok" >&6; }
6698   fi
6699  
6700 + # Response file support.
6701 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6702 +  nm_file_list_spec='@'
6703 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6704 +  nm_file_list_spec='@'
6705 + fi
6706 +
6707 +
6708 +
6709 +
6710 +
6711 +
6712 +
6713  
6714  
6715  
# Line 6302 | Line 6730 | fi
6730  
6731  
6732  
6733 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6734 + $as_echo_n "checking for sysroot... " >&6; }
6735 +
6736 + # Check whether --with-sysroot was given.
6737 + if test "${with_sysroot+set}" = set; then :
6738 +  withval=$with_sysroot;
6739 + else
6740 +  with_sysroot=no
6741 + fi
6742 +
6743 +
6744 + lt_sysroot=
6745 + case ${with_sysroot} in #(
6746 + yes)
6747 +   if test "$GCC" = yes; then
6748 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6749 +   fi
6750 +   ;; #(
6751 + /*)
6752 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6753 +   ;; #(
6754 + no|'')
6755 +   ;; #(
6756 + *)
6757 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6758 + $as_echo "${with_sysroot}" >&6; }
6759 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6760 +   ;;
6761 + esac
6762 +
6763 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6764 + $as_echo "${lt_sysroot:-no}" >&6; }
6765 +
6766 +
6767 +
6768 +
6769  
6770   # Check whether --enable-libtool-lock was given.
6771   if test "${enable_libtool_lock+set}" = set; then :
# Line 6334 | Line 6798 | ia64-*-hpux*)
6798    ;;
6799   *-*-irix6*)
6800    # Find out which ABI we are using.
6801 <  echo '#line 6337 "configure"' > conftest.$ac_ext
6801 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6802    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6803    (eval $ac_compile) 2>&5
6804    ac_status=$?
# Line 6428 | Line 6892 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6892    CFLAGS="$CFLAGS -belf"
6893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6894   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6895 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6895 > if ${lt_cv_cc_needs_belf+:} false; then :
6896    $as_echo_n "(cached) " >&6
6897   else
6898    ac_ext=c
# Line 6469 | Line 6933 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6933      CFLAGS="$SAVE_CFLAGS"
6934    fi
6935    ;;
6936 < sparc*-*solaris*)
6936 > *-*solaris*)
6937    # Find out which ABI we are using.
6938    echo 'int i;' > conftest.$ac_ext
6939    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6480 | Line 6944 | sparc*-*solaris*)
6944      case `/usr/bin/file conftest.o` in
6945      *64-bit*)
6946        case $lt_cv_prog_gnu_ld in
6947 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6947 >      yes*)
6948 >        case $host in
6949 >        i?86-*-solaris*)
6950 >          LD="${LD-ld} -m elf_x86_64"
6951 >          ;;
6952 >        sparc*-*-solaris*)
6953 >          LD="${LD-ld} -m elf64_sparc"
6954 >          ;;
6955 >        esac
6956 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6957 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6958 >          LD="${LD-ld}_sol2"
6959 >        fi
6960 >        ;;
6961        *)
6962          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6963            LD="${LD-ld} -64"
# Line 6496 | Line 6973 | esac
6973  
6974   need_locks="$enable_libtool_lock"
6975  
6976 + if test -n "$ac_tool_prefix"; then
6977 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6978 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6979 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 + $as_echo_n "checking for $ac_word... " >&6; }
6981 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6982 +  $as_echo_n "(cached) " >&6
6983 + else
6984 +  if test -n "$MANIFEST_TOOL"; then
6985 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6986 + else
6987 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 + for as_dir in $PATH
6989 + do
6990 +  IFS=$as_save_IFS
6991 +  test -z "$as_dir" && as_dir=.
6992 +    for ac_exec_ext in '' $ac_executable_extensions; do
6993 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6995 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 +    break 2
6997 +  fi
6998 + done
6999 +  done
7000 + IFS=$as_save_IFS
7001 +
7002 + fi
7003 + fi
7004 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7005 + if test -n "$MANIFEST_TOOL"; then
7006 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7007 + $as_echo "$MANIFEST_TOOL" >&6; }
7008 + else
7009 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 + $as_echo "no" >&6; }
7011 + fi
7012 +
7013 +
7014 + fi
7015 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7016 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7017 +  # Extract the first word of "mt", so it can be a program name with args.
7018 + set dummy mt; ac_word=$2
7019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 + $as_echo_n "checking for $ac_word... " >&6; }
7021 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7022 +  $as_echo_n "(cached) " >&6
7023 + else
7024 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7025 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7026 + else
7027 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 + for as_dir in $PATH
7029 + do
7030 +  IFS=$as_save_IFS
7031 +  test -z "$as_dir" && as_dir=.
7032 +    for ac_exec_ext in '' $ac_executable_extensions; do
7033 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7035 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036 +    break 2
7037 +  fi
7038 + done
7039 +  done
7040 + IFS=$as_save_IFS
7041 +
7042 + fi
7043 + fi
7044 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7045 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7046 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7047 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7048 + else
7049 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 + $as_echo "no" >&6; }
7051 + fi
7052 +
7053 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7054 +    MANIFEST_TOOL=":"
7055 +  else
7056 +    case $cross_compiling:$ac_tool_warned in
7057 + yes:)
7058 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7059 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7060 + ac_tool_warned=yes ;;
7061 + esac
7062 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7063 +  fi
7064 + else
7065 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7066 + fi
7067 +
7068 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7070 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7071 + if ${lt_cv_path_mainfest_tool+:} false; then :
7072 +  $as_echo_n "(cached) " >&6
7073 + else
7074 +  lt_cv_path_mainfest_tool=no
7075 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7076 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7077 +  cat conftest.err >&5
7078 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7079 +    lt_cv_path_mainfest_tool=yes
7080 +  fi
7081 +  rm -f conftest*
7082 + fi
7083 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7084 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7085 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7086 +  MANIFEST_TOOL=:
7087 + fi
7088 +
7089 +
7090 +
7091 +
7092 +
7093  
7094    case $host_os in
7095      rhapsody* | darwin*)
# Line 6504 | Line 7098 | need_locks="$enable_libtool_lock"
7098   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100   $as_echo_n "checking for $ac_word... " >&6; }
7101 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7101 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7102    $as_echo_n "(cached) " >&6
7103   else
7104    if test -n "$DSYMUTIL"; then
# Line 6516 | Line 7110 | do
7110    IFS=$as_save_IFS
7111    test -z "$as_dir" && as_dir=.
7112      for ac_exec_ext in '' $ac_executable_extensions; do
7113 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7115      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116      break 2
# Line 6544 | Line 7138 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7138   set dummy dsymutil; ac_word=$2
7139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140   $as_echo_n "checking for $ac_word... " >&6; }
7141 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7141 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7142    $as_echo_n "(cached) " >&6
7143   else
7144    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6556 | Line 7150 | do
7150    IFS=$as_save_IFS
7151    test -z "$as_dir" && as_dir=.
7152      for ac_exec_ext in '' $ac_executable_extensions; do
7153 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7153 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7155      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156      break 2
# Line 6596 | Line 7190 | fi
7190   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192   $as_echo_n "checking for $ac_word... " >&6; }
7193 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7193 > if ${ac_cv_prog_NMEDIT+:} false; then :
7194    $as_echo_n "(cached) " >&6
7195   else
7196    if test -n "$NMEDIT"; then
# Line 6608 | Line 7202 | do
7202    IFS=$as_save_IFS
7203    test -z "$as_dir" && as_dir=.
7204      for ac_exec_ext in '' $ac_executable_extensions; do
7205 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7207      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208      break 2
# Line 6636 | Line 7230 | if test -z "$ac_cv_prog_NMEDIT"; then
7230   set dummy nmedit; ac_word=$2
7231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232   $as_echo_n "checking for $ac_word... " >&6; }
7233 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7233 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7234    $as_echo_n "(cached) " >&6
7235   else
7236    if test -n "$ac_ct_NMEDIT"; then
# Line 6648 | Line 7242 | do
7242    IFS=$as_save_IFS
7243    test -z "$as_dir" && as_dir=.
7244      for ac_exec_ext in '' $ac_executable_extensions; do
7245 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7247      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248      break 2
# Line 6688 | Line 7282 | fi
7282   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284   $as_echo_n "checking for $ac_word... " >&6; }
7285 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7285 > if ${ac_cv_prog_LIPO+:} false; then :
7286    $as_echo_n "(cached) " >&6
7287   else
7288    if test -n "$LIPO"; then
# Line 6700 | Line 7294 | do
7294    IFS=$as_save_IFS
7295    test -z "$as_dir" && as_dir=.
7296      for ac_exec_ext in '' $ac_executable_extensions; do
7297 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7299      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300      break 2
# Line 6728 | Line 7322 | if test -z "$ac_cv_prog_LIPO"; then
7322   set dummy lipo; ac_word=$2
7323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324   $as_echo_n "checking for $ac_word... " >&6; }
7325 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7325 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7326    $as_echo_n "(cached) " >&6
7327   else
7328    if test -n "$ac_ct_LIPO"; then
# Line 6740 | Line 7334 | do
7334    IFS=$as_save_IFS
7335    test -z "$as_dir" && as_dir=.
7336      for ac_exec_ext in '' $ac_executable_extensions; do
7337 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338      ac_cv_prog_ac_ct_LIPO="lipo"
7339      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340      break 2
# Line 6780 | Line 7374 | fi
7374   set dummy ${ac_tool_prefix}otool; ac_word=$2
7375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376   $as_echo_n "checking for $ac_word... " >&6; }
7377 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7377 > if ${ac_cv_prog_OTOOL+:} false; then :
7378    $as_echo_n "(cached) " >&6
7379   else
7380    if test -n "$OTOOL"; then
# Line 6792 | Line 7386 | do
7386    IFS=$as_save_IFS
7387    test -z "$as_dir" && as_dir=.
7388      for ac_exec_ext in '' $ac_executable_extensions; do
7389 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7391      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392      break 2
# Line 6820 | Line 7414 | if test -z "$ac_cv_prog_OTOOL"; then
7414   set dummy otool; ac_word=$2
7415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416   $as_echo_n "checking for $ac_word... " >&6; }
7417 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7417 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7418    $as_echo_n "(cached) " >&6
7419   else
7420    if test -n "$ac_ct_OTOOL"; then
# Line 6832 | Line 7426 | do
7426    IFS=$as_save_IFS
7427    test -z "$as_dir" && as_dir=.
7428      for ac_exec_ext in '' $ac_executable_extensions; do
7429 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430      ac_cv_prog_ac_ct_OTOOL="otool"
7431      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432      break 2
# Line 6872 | Line 7466 | fi
7466   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468   $as_echo_n "checking for $ac_word... " >&6; }
7469 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7469 > if ${ac_cv_prog_OTOOL64+:} false; then :
7470    $as_echo_n "(cached) " >&6
7471   else
7472    if test -n "$OTOOL64"; then
# Line 6884 | Line 7478 | do
7478    IFS=$as_save_IFS
7479    test -z "$as_dir" && as_dir=.
7480      for ac_exec_ext in '' $ac_executable_extensions; do
7481 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7483      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484      break 2
# Line 6912 | Line 7506 | if test -z "$ac_cv_prog_OTOOL64"; then
7506   set dummy otool64; ac_word=$2
7507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508   $as_echo_n "checking for $ac_word... " >&6; }
7509 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7509 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7510    $as_echo_n "(cached) " >&6
7511   else
7512    if test -n "$ac_ct_OTOOL64"; then
# Line 6924 | Line 7518 | do
7518    IFS=$as_save_IFS
7519    test -z "$as_dir" && as_dir=.
7520      for ac_exec_ext in '' $ac_executable_extensions; do
7521 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522      ac_cv_prog_ac_ct_OTOOL64="otool64"
7523      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524      break 2
# Line 6987 | Line 7581 | fi
7581  
7582      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7583   $as_echo_n "checking for -single_module linker flag... " >&6; }
7584 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7584 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7585    $as_echo_n "(cached) " >&6
7586   else
7587    lt_cv_apple_cc_single_mod=no
# Line 7003 | Line 7597 | else
7597          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7598            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7599          _lt_result=$?
7600 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7600 >        # If there is a non-empty error log, and "single_module"
7601 >        # appears in it, assume the flag caused a linker warning
7602 >        if test -s conftest.err && $GREP single_module conftest.err; then
7603 >          cat conftest.err >&5
7604 >        # Otherwise, if the output was created with a 0 exit code from
7605 >        # the compiler, it worked.
7606 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7607            lt_cv_apple_cc_single_mod=yes
7608          else
7609            cat conftest.err >&5
# Line 7014 | Line 7614 | else
7614   fi
7615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7616   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7617 +
7618      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7619   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7620 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7620 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7621    $as_echo_n "(cached) " >&6
7622   else
7623    lt_cv_ld_exported_symbols_list=no
# Line 7046 | Line 7647 | rm -f core conftest.err conftest.$ac_obj
7647   fi
7648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7649   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7650 +
7651 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7652 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7653 + if ${lt_cv_ld_force_load+:} false; then :
7654 +  $as_echo_n "(cached) " >&6
7655 + else
7656 +  lt_cv_ld_force_load=no
7657 +      cat > conftest.c << _LT_EOF
7658 + int forced_loaded() { return 2;}
7659 + _LT_EOF
7660 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7661 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7662 +      echo "$AR cru libconftest.a conftest.o" >&5
7663 +      $AR cru libconftest.a conftest.o 2>&5
7664 +      echo "$RANLIB libconftest.a" >&5
7665 +      $RANLIB libconftest.a 2>&5
7666 +      cat > conftest.c << _LT_EOF
7667 + int main() { return 0;}
7668 + _LT_EOF
7669 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7670 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7671 +      _lt_result=$?
7672 +      if test -s conftest.err && $GREP force_load conftest.err; then
7673 +        cat conftest.err >&5
7674 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7675 +        lt_cv_ld_force_load=yes
7676 +      else
7677 +        cat conftest.err >&5
7678 +      fi
7679 +        rm -f conftest.err libconftest.a conftest conftest.c
7680 +        rm -rf conftest.dSYM
7681 +
7682 + fi
7683 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7684 + $as_echo "$lt_cv_ld_force_load" >&6; }
7685      case $host_os in
7686      rhapsody* | darwin1.[012])
7687        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7073 | Line 7709 | $as_echo "$lt_cv_ld_exported_symbols_lis
7709      else
7710        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7711      fi
7712 <    if test "$DSYMUTIL" != ":"; then
7712 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7713        _lt_dsymutil='~$DSYMUTIL $lib || :'
7714      else
7715        _lt_dsymutil=
# Line 7093 | Line 7729 | if test -n "$CPP" && test -d "$CPP"; the
7729    CPP=
7730   fi
7731   if test -z "$CPP"; then
7732 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7732 >  if ${ac_cv_prog_CPP+:} false; then :
7733    $as_echo_n "(cached) " >&6
7734   else
7735        # Double quotes because CPP needs to be expanded
# Line 7123 | Line 7759 | else
7759    # Broken: fails on valid input.
7760   continue
7761   fi
7762 < rm -f conftest.err conftest.$ac_ext
7762 > rm -f conftest.err conftest.i conftest.$ac_ext
7763  
7764    # OK, works on sane cases.  Now check whether nonexistent headers
7765    # can be detected and how.
# Line 7139 | Line 7775 | else
7775   ac_preproc_ok=:
7776   break
7777   fi
7778 < rm -f conftest.err conftest.$ac_ext
7778 > rm -f conftest.err conftest.i conftest.$ac_ext
7779  
7780   done
7781   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7782 < rm -f conftest.err conftest.$ac_ext
7782 > rm -f conftest.i conftest.err conftest.$ac_ext
7783   if $ac_preproc_ok; then :
7784    break
7785   fi
# Line 7182 | Line 7818 | else
7818    # Broken: fails on valid input.
7819   continue
7820   fi
7821 < rm -f conftest.err conftest.$ac_ext
7821 > rm -f conftest.err conftest.i conftest.$ac_ext
7822  
7823    # OK, works on sane cases.  Now check whether nonexistent headers
7824    # can be detected and how.
# Line 7198 | Line 7834 | else
7834   ac_preproc_ok=:
7835   break
7836   fi
7837 < rm -f conftest.err conftest.$ac_ext
7837 > rm -f conftest.err conftest.i conftest.$ac_ext
7838  
7839   done
7840   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7841 < rm -f conftest.err conftest.$ac_ext
7841 > rm -f conftest.i conftest.err conftest.$ac_ext
7842   if $ac_preproc_ok; then :
7843  
7844   else
7845    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7846   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7847 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7848 < See \`config.log' for more details." "$LINENO" 5; }
7847 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7848 > See \`config.log' for more details" "$LINENO" 5; }
7849   fi
7850  
7851   ac_ext=c
# Line 7221 | Line 7857 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7857  
7858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7859   $as_echo_n "checking for ANSI C header files... " >&6; }
7860 < if test "${ac_cv_header_stdc+set}" = set; then :
7860 > if ${ac_cv_header_stdc+:} false; then :
7861    $as_echo_n "(cached) " >&6
7862   else
7863    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7338 | Line 7974 | do :
7974    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7975   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7976   "
7977 < eval as_val=\$$as_ac_Header
7342 <   if test "x$as_val" = x""yes; then :
7977 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7978    cat >>confdefs.h <<_ACEOF
7979   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7980   _ACEOF
# Line 7353 | Line 7988 | for ac_header in dlfcn.h
7988   do :
7989    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7990   "
7991 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7991 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7992    cat >>confdefs.h <<_ACEOF
7993   #define HAVE_DLFCN_H 1
7994   _ACEOF
# Line 7364 | Line 7999 | done
7999  
8000  
8001  
7367 # Set options
7368 enable_dlopen=yes
7369
7370
7371
7372
7373  enable_win32_dll=no
8002  
8003  
8004 <            # Check whether --enable-shared was given.
8005 < if test "${enable_shared+set}" = set; then :
8006 <  enableval=$enable_shared; p=${PACKAGE-default}
8004 > # Set options
8005 > enable_dlopen=yes
8006 > # Check whether --enable-static was given.
8007 > if test "${enable_static+set}" = set; then :
8008 >  enableval=$enable_static; p=${PACKAGE-default}
8009      case $enableval in
8010 <    yes) enable_shared=yes ;;
8011 <    no) enable_shared=no ;;
8010 >    yes) enable_static=yes ;;
8011 >    no) enable_static=no ;;
8012      *)
8013 <      enable_shared=no
8013 >     enable_static=no
8014        # Look at the argument we got.  We use all the common list separators.
8015        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8016        for pkg in $enableval; do
8017          IFS="$lt_save_ifs"
8018          if test "X$pkg" = "X$p"; then
8019 <          enable_shared=yes
8019 >          enable_static=yes
8020          fi
8021        done
8022        IFS="$lt_save_ifs"
8023        ;;
8024      esac
8025   else
8026 <  enable_shared=yes
8026 >  enable_static=no
8027   fi
8028  
8029  
# Line 7404 | Line 8034 | fi
8034  
8035  
8036  
8037 <  # Check whether --enable-static was given.
8038 < if test "${enable_static+set}" = set; then :
8039 <  enableval=$enable_static; p=${PACKAGE-default}
8037 >
8038 >
8039 >  enable_win32_dll=no
8040 >
8041 >
8042 >            # Check whether --enable-shared was given.
8043 > if test "${enable_shared+set}" = set; then :
8044 >  enableval=$enable_shared; p=${PACKAGE-default}
8045      case $enableval in
8046 <    yes) enable_static=yes ;;
8047 <    no) enable_static=no ;;
8046 >    yes) enable_shared=yes ;;
8047 >    no) enable_shared=no ;;
8048      *)
8049 <     enable_static=no
8049 >      enable_shared=no
8050        # Look at the argument we got.  We use all the common list separators.
8051        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8052        for pkg in $enableval; do
8053          IFS="$lt_save_ifs"
8054          if test "X$pkg" = "X$p"; then
8055 <          enable_static=yes
8055 >          enable_shared=yes
8056          fi
8057        done
8058        IFS="$lt_save_ifs"
8059        ;;
8060      esac
8061   else
8062 <  enable_static=yes
8062 >  enable_shared=yes
8063   fi
8064  
8065  
# Line 7436 | Line 8071 | fi
8071  
8072  
8073  
8074 +
8075   # Check whether --with-pic was given.
8076   if test "${with_pic+set}" = set; then :
8077 <  withval=$with_pic; pic_mode="$withval"
8077 >  withval=$with_pic; lt_p=${PACKAGE-default}
8078 >    case $withval in
8079 >    yes|no) pic_mode=$withval ;;
8080 >    *)
8081 >      pic_mode=default
8082 >      # Look at the argument we got.  We use all the common list separators.
8083 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 >      for lt_pkg in $withval; do
8085 >        IFS="$lt_save_ifs"
8086 >        if test "X$lt_pkg" = "X$lt_p"; then
8087 >          pic_mode=yes
8088 >        fi
8089 >      done
8090 >      IFS="$lt_save_ifs"
8091 >      ;;
8092 >    esac
8093   else
8094    pic_mode=default
8095   fi
# Line 7515 | Line 8166 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8166  
8167  
8168  
8169 +
8170 +
8171 +
8172 +
8173 +
8174   test -z "$LN_S" && LN_S="ln -s"
8175  
8176  
# Line 7536 | Line 8192 | fi
8192  
8193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8194   $as_echo_n "checking for objdir... " >&6; }
8195 < if test "${lt_cv_objdir+set}" = set; then :
8195 > if ${lt_cv_objdir+:} false; then :
8196    $as_echo_n "(cached) " >&6
8197   else
8198    rm -f .libs 2>/dev/null
# Line 7564 | Line 8220 | _ACEOF
8220  
8221  
8222  
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
8223   case $host_os in
8224   aix3*)
8225    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7589 | Line 8232 | aix3*)
8232    ;;
8233   esac
8234  
7592 # Sed substitution that helps us do robust quoting.  It backslashifies
7593 # metacharacters that are still active within double-quoted strings.
7594 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7595
7596 # Same as above, but do not quote variable references.
7597 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7598
7599 # Sed substitution to delay expansion of an escaped shell variable in a
7600 # double_quote_subst'ed string.
7601 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7602
7603 # Sed substitution to delay expansion of an escaped single quote.
7604 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7605
7606 # Sed substitution to avoid accidental globbing in evaled expressions
7607 no_glob_subst='s/\*/\\\*/g'
7608
8235   # Global variables:
8236   ofile=libtool
8237   can_build_shared=yes
# Line 7634 | Line 8260 | for cc_temp in $compiler""; do
8260      *) break;;
8261    esac
8262   done
8263 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8263 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8264  
8265  
8266   # Only perform the check for file, if the check method requires it
# Line 7644 | Line 8270 | file_magic*)
8270    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8271      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8272   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8273 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8273 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8274    $as_echo_n "(cached) " >&6
8275   else
8276    case $MAGIC_CMD in
# Line 7710 | Line 8336 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8336    if test -n "$ac_tool_prefix"; then
8337      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8338   $as_echo_n "checking for file... " >&6; }
8339 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8339 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8340    $as_echo_n "(cached) " >&6
8341   else
8342    case $MAGIC_CMD in
# Line 7839 | Line 8465 | if test -n "$compiler"; then
8465   lt_prog_compiler_no_builtin_flag=
8466  
8467   if test "$GCC" = yes; then
8468 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8468 >  case $cc_basename in
8469 >  nvcc*)
8470 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8471 >  *)
8472 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8473 >  esac
8474  
8475    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8476   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8477 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8477 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8478    $as_echo_n "(cached) " >&6
8479   else
8480    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7859 | Line 8490 | else
8490     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8491     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8492     -e 's:$: $lt_compiler_flag:'`
8493 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
8493 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8494     (eval "$lt_compile" 2>conftest.err)
8495     ac_status=$?
8496     cat conftest.err >&5
8497 <   echo "$as_me:7866: \$? = $ac_status" >&5
8497 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498     if (exit $ac_status) && test -s "$ac_outfile"; then
8499       # The compiler can only warn and ignore the option if not recognized
8500       # So say no if there are warnings other than the usual output.
8501 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8501 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8502       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8503       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8504         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7896 | Line 8527 | fi
8527   lt_prog_compiler_pic=
8528   lt_prog_compiler_static=
8529  
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7900 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530  
8531    if test "$GCC" = yes; then
8532      lt_prog_compiler_wl='-Wl,'
# Line 7945 | Line 8574 | $as_echo_n "checking for $compiler optio
8574        lt_prog_compiler_pic='-fno-common'
8575        ;;
8576  
8577 +    haiku*)
8578 +      # PIC is the default for Haiku.
8579 +      # The "-static" flag exists, but is broken.
8580 +      lt_prog_compiler_static=
8581 +      ;;
8582 +
8583      hpux*)
8584        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8585        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7987 | Line 8622 | $as_echo_n "checking for $compiler optio
8622        lt_prog_compiler_pic='-fPIC'
8623        ;;
8624      esac
8625 +
8626 +    case $cc_basename in
8627 +    nvcc*) # Cuda Compiler Driver 2.2
8628 +      lt_prog_compiler_wl='-Xlinker '
8629 +      if test -n "$lt_prog_compiler_pic"; then
8630 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8631 +      fi
8632 +      ;;
8633 +    esac
8634    else
8635      # PORTME Check for flag to pass linker flags through the system compiler.
8636      case $host_os in
# Line 8028 | Line 8672 | $as_echo_n "checking for $compiler optio
8672        lt_prog_compiler_static='-non_shared'
8673        ;;
8674  
8675 <    linux* | k*bsd*-gnu)
8675 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8676        case $cc_basename in
8677        # old Intel for x86_64 which still supported -KPIC.
8678        ecc*)
# Line 8049 | Line 8693 | $as_echo_n "checking for $compiler optio
8693          lt_prog_compiler_pic='--shared'
8694          lt_prog_compiler_static='--static'
8695          ;;
8696 <      pgcc* | pgf77* | pgf90* | pgf95*)
8696 >      nagfor*)
8697 >        # NAG Fortran compiler
8698 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8699 >        lt_prog_compiler_pic='-PIC'
8700 >        lt_prog_compiler_static='-Bstatic'
8701 >        ;;
8702 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8703          # Portland Group compilers (*not* the Pentium gcc compiler,
8704          # which looks to be a dead project)
8705          lt_prog_compiler_wl='-Wl,'
# Line 8061 | Line 8711 | $as_echo_n "checking for $compiler optio
8711          # All Alpha code is PIC.
8712          lt_prog_compiler_static='-non_shared'
8713          ;;
8714 <      xl*)
8715 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8714 >      xl* | bgxl* | bgf* | mpixl*)
8715 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8716          lt_prog_compiler_wl='-Wl,'
8717          lt_prog_compiler_pic='-qpic'
8718          lt_prog_compiler_static='-qstaticlink'
8719          ;;
8720        *)
8721          case `$CC -V 2>&1 | sed 5q` in
8722 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8723 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8724 +          lt_prog_compiler_pic='-KPIC'
8725 +          lt_prog_compiler_static='-Bstatic'
8726 +          lt_prog_compiler_wl=''
8727 +          ;;
8728 +        *Sun\ F* | *Sun*Fortran*)
8729 +          lt_prog_compiler_pic='-KPIC'
8730 +          lt_prog_compiler_static='-Bstatic'
8731 +          lt_prog_compiler_wl='-Qoption ld '
8732 +          ;;
8733          *Sun\ C*)
8734            # Sun C 5.9
8735            lt_prog_compiler_pic='-KPIC'
8736            lt_prog_compiler_static='-Bstatic'
8737            lt_prog_compiler_wl='-Wl,'
8738            ;;
8739 <        *Sun\ F*)
8740 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8741 <          lt_prog_compiler_pic='-KPIC'
8739 >        *Intel*\ [CF]*Compiler*)
8740 >          lt_prog_compiler_wl='-Wl,'
8741 >          lt_prog_compiler_pic='-fPIC'
8742 >          lt_prog_compiler_static='-static'
8743 >          ;;
8744 >        *Portland\ Group*)
8745 >          lt_prog_compiler_wl='-Wl,'
8746 >          lt_prog_compiler_pic='-fpic'
8747            lt_prog_compiler_static='-Bstatic'
8082          lt_prog_compiler_wl=''
8748            ;;
8749          esac
8750          ;;
# Line 8111 | Line 8776 | $as_echo_n "checking for $compiler optio
8776        lt_prog_compiler_pic='-KPIC'
8777        lt_prog_compiler_static='-Bstatic'
8778        case $cc_basename in
8779 <      f77* | f90* | f95*)
8779 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8780          lt_prog_compiler_wl='-Qoption ld ';;
8781        *)
8782          lt_prog_compiler_wl='-Wl,';;
# Line 8168 | Line 8833 | case $host_os in
8833      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8834      ;;
8835   esac
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8172 $as_echo "$lt_prog_compiler_pic" >&6; }
8173
8174
8175
8176
8836  
8837 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8838 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8839 + if ${lt_cv_prog_compiler_pic+:} false; then :
8840 +  $as_echo_n "(cached) " >&6
8841 + else
8842 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8843 + fi
8844 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8845 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8846 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8847  
8848   #
8849   # Check to make sure the PIC flag actually works.
# Line 8182 | Line 8851 | $as_echo "$lt_prog_compiler_pic" >&6; }
8851   if test -n "$lt_prog_compiler_pic"; then
8852    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8853   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8854 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8854 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8855    $as_echo_n "(cached) " >&6
8856   else
8857    lt_cv_prog_compiler_pic_works=no
# Line 8198 | Line 8867 | else
8867     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869     -e 's:$: $lt_compiler_flag:'`
8870 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8870 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871     (eval "$lt_compile" 2>conftest.err)
8872     ac_status=$?
8873     cat conftest.err >&5
8874 <   echo "$as_me:8205: \$? = $ac_status" >&5
8874 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875     if (exit $ac_status) && test -s "$ac_outfile"; then
8876       # The compiler can only warn and ignore the option if not recognized
8877       # So say no if there are warnings other than the usual output.
8878 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8878 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8879       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881         lt_cv_prog_compiler_pic_works=yes
# Line 8235 | Line 8904 | fi
8904  
8905  
8906  
8907 +
8908 +
8909 +
8910 +
8911 +
8912   #
8913   # Check to make sure the static flag actually works.
8914   #
8915   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8917   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8918 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8918 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8919    $as_echo_n "(cached) " >&6
8920   else
8921    lt_cv_prog_compiler_static_works=no
# Line 8254 | Line 8928 | else
8928       if test -s conftest.err; then
8929         # Append any errors to the config.log.
8930         cat conftest.err 1>&5
8931 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8931 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8932         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8933         if diff conftest.exp conftest.er2 >/dev/null; then
8934           lt_cv_prog_compiler_static_works=yes
# Line 8284 | Line 8958 | fi
8958  
8959    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8960   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8961 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8962    $as_echo_n "(cached) " >&6
8963   else
8964    lt_cv_prog_compiler_c_o=no
# Line 8303 | Line 8977 | else
8977     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979     -e 's:$: $lt_compiler_flag:'`
8980 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8980 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981     (eval "$lt_compile" 2>out/conftest.err)
8982     ac_status=$?
8983     cat out/conftest.err >&5
8984 <   echo "$as_me:8310: \$? = $ac_status" >&5
8984 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8986     then
8987       # The compiler can only warn and ignore the option if not recognized
8988       # So say no if there are warnings
8989 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8989 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8990       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8991       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8992         lt_cv_prog_compiler_c_o=yes
# Line 8339 | Line 9013 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9013  
9014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9015   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9016 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9016 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9017    $as_echo_n "(cached) " >&6
9018   else
9019    lt_cv_prog_compiler_c_o=no
# Line 8358 | Line 9032 | else
9032     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9033     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9034     -e 's:$: $lt_compiler_flag:'`
9035 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
9035 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9036     (eval "$lt_compile" 2>out/conftest.err)
9037     ac_status=$?
9038     cat out/conftest.err >&5
9039 <   echo "$as_me:8365: \$? = $ac_status" >&5
9039 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9041     then
9042       # The compiler can only warn and ignore the option if not recognized
9043       # So say no if there are warnings
9044 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9044 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9045       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9046       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9047         lt_cv_prog_compiler_c_o=yes
# Line 8433 | Line 9107 | $as_echo_n "checking whether the $compil
9107    hardcode_direct=no
9108    hardcode_direct_absolute=no
9109    hardcode_libdir_flag_spec=
8436  hardcode_libdir_flag_spec_ld=
9110    hardcode_libdir_separator=
9111    hardcode_minus_L=no
9112    hardcode_shlibpath_var=unsupported
# Line 8480 | Line 9153 | $as_echo_n "checking whether the $compil
9153    esac
9154  
9155    ld_shlibs=yes
9156 +
9157 +  # On some targets, GNU ld is compatible enough with the native linker
9158 +  # that we're better off using the native interface for both.
9159 +  lt_use_gnu_ld_interface=no
9160    if test "$with_gnu_ld" = yes; then
9161 +    case $host_os in
9162 +      aix*)
9163 +        # The AIX port of GNU ld has always aspired to compatibility
9164 +        # with the native linker.  However, as the warning in the GNU ld
9165 +        # block says, versions before 2.19.5* couldn't really create working
9166 +        # shared libraries, regardless of the interface used.
9167 +        case `$LD -v 2>&1` in
9168 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9169 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9170 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9171 +          *)
9172 +            lt_use_gnu_ld_interface=yes
9173 +            ;;
9174 +        esac
9175 +        ;;
9176 +      *)
9177 +        lt_use_gnu_ld_interface=yes
9178 +        ;;
9179 +    esac
9180 +  fi
9181 +
9182 +  if test "$lt_use_gnu_ld_interface" = yes; then
9183      # If archive_cmds runs LD, not CC, wlarc should be empty
9184      wlarc='${wl}'
9185  
# Line 8498 | Line 9197 | $as_echo_n "checking whether the $compil
9197      fi
9198      supports_anon_versioning=no
9199      case `$LD -v 2>&1` in
9200 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9201        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9202        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9203        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8513 | Line 9213 | $as_echo_n "checking whether the $compil
9213          ld_shlibs=no
9214          cat <<_LT_EOF 1>&2
9215  
9216 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9216 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9217   *** to be unable to reliably create shared libraries on AIX.
9218   *** Therefore, libtool is disabling shared libraries support.  If you
9219 < *** really care for shared libraries, you may want to modify your PATH
9220 < *** so that a non-GNU linker is found, and then restart.
9219 > *** really care for shared libraries, you may want to install binutils
9220 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9221 > *** You will then need to restart the configuration process.
9222  
9223   _LT_EOF
9224        fi
# Line 8553 | Line 9254 | _LT_EOF
9254        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9255        # as there is no search path for DLLs.
9256        hardcode_libdir_flag_spec='-L$libdir'
9257 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9258        allow_undefined_flag=unsupported
9259        always_export_symbols=no
9260        enable_shared_with_static_runtimes=yes
9261 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9261 >      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'
9262 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9263  
9264        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9265          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8574 | Line 9277 | _LT_EOF
9277        fi
9278        ;;
9279  
9280 +    haiku*)
9281 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 +      link_all_deplibs=yes
9283 +      ;;
9284 +
9285      interix[3-9]*)
9286        hardcode_direct=no
9287        hardcode_shlibpath_var=no
# Line 8589 | Line 9297 | _LT_EOF
9297        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'
9298        ;;
9299  
9300 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9300 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9301        tmp_diet=no
9302        if test "$host_os" = linux-dietlibc; then
9303          case $cc_basename in
# Line 8599 | Line 9307 | _LT_EOF
9307        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9308           && test "$tmp_diet" = no
9309        then
9310 <        tmp_addflag=
9310 >        tmp_addflag=' $pic_flag'
9311          tmp_sharedflag='-shared'
9312          case $cc_basename,$host_cpu in
9313          pgcc*)                          # Portland Group C compiler
9314 <          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'
9314 >          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'
9315            tmp_addflag=' $pic_flag'
9316            ;;
9317 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9318 <          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'
9317 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9318 >                                        # Portland Group f77 and f90 compilers
9319 >          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'
9320            tmp_addflag=' $pic_flag -Mnomain' ;;
9321          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9322            tmp_addflag=' -i_dynamic' ;;
# Line 8618 | Line 9327 | _LT_EOF
9327          lf95*)                          # Lahey Fortran 8.1
9328            whole_archive_flag_spec=
9329            tmp_sharedflag='--shared' ;;
9330 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9330 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9331            tmp_sharedflag='-qmkshrobj'
9332            tmp_addflag= ;;
9333 +        nvcc*)  # Cuda Compiler Driver 2.2
9334 +          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'
9335 +          compiler_needs_object=yes
9336 +          ;;
9337          esac
9338          case `$CC -V 2>&1 | sed 5q` in
9339          *Sun\ C*)                       # Sun C 5.9
9340 <          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'
9340 >          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'
9341            compiler_needs_object=yes
9342            tmp_sharedflag='-G' ;;
9343          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8640 | Line 9353 | _LT_EOF
9353          fi
9354  
9355          case $cc_basename in
9356 <        xlf*)
9356 >        xlf* | bgf* | bgxlf* | mpixlf*)
9357            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9358            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9359 <          hardcode_libdir_flag_spec=
9360 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8648 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9359 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9360 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9361            if test "x$supports_anon_versioning" = xyes; then
9362              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9363                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9364                echo "local: *; };" >> $output_objdir/$libname.ver~
9365 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9365 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9366            fi
9367            ;;
9368          esac
# Line 8664 | Line 9376 | _LT_EOF
9376          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9377          wlarc=
9378        else
9379 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9379 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9381        fi
9382        ;;
9383  
# Line 8683 | Line 9395 | _LT_EOF
9395  
9396   _LT_EOF
9397        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9398 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9400        else
9401          ld_shlibs=no
9402        fi
# Line 8730 | Line 9442 | _LT_EOF
9442  
9443      *)
9444        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9445 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9445 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9447        else
9448          ld_shlibs=no
9449        fi
# Line 8771 | Line 9483 | _LT_EOF
9483        else
9484          # If we're using GNU nm, then we don't want the "-C" option.
9485          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9486 +        # Also, AIX nm treats weak defined symbols like other global
9487 +        # defined symbols, whereas GNU nm marks them as "W".
9488          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9489 <          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'
9489 >          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'
9490          else
9491            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'
9492          fi
# Line 8834 | Line 9548 | _LT_EOF
9548          if test "$aix_use_runtimelinking" = yes; then
9549            shared_flag="$shared_flag "'${wl}-G'
9550          fi
8837        link_all_deplibs=no
9551        else
9552          # not using gcc
9553          if test "$host_cpu" = ia64; then
# Line 8860 | Line 9573 | _LT_EOF
9573          allow_undefined_flag='-berok'
9574          # Determine the default libpath from the value encoded in an
9575          # empty executable.
9576 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 >        if test "${lt_cv_aix_libpath+set}" = set; then
9577 >  aix_libpath=$lt_cv_aix_libpath
9578 > else
9579 >  if ${lt_cv_aix_libpath_+:} false; then :
9580 >  $as_echo_n "(cached) " >&6
9581 > else
9582 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583   /* end confdefs.h.  */
9584  
9585   int
# Line 8873 | Line 9592 | main ()
9592   _ACEOF
9593   if ac_fn_c_try_link "$LINENO"; then :
9594  
9595 < lt_aix_libpath_sed='
9596 <    /Import File Strings/,/^$/ {
9597 <        /^0/ {
9598 <            s/^0  *\(.*\)$/\1/
9599 <            p
9600 <        }
9601 <    }'
9602 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 < # Check for a 64-bit object if we didn't find anything.
9604 < if test -z "$aix_libpath"; then
9605 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 < fi
9595 >  lt_aix_libpath_sed='
9596 >      /Import File Strings/,/^$/ {
9597 >          /^0/ {
9598 >              s/^0  *\([^ ]*\) *$/\1/
9599 >              p
9600 >          }
9601 >      }'
9602 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 >  # Check for a 64-bit object if we didn't find anything.
9604 >  if test -z "$lt_cv_aix_libpath_"; then
9605 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 >  fi
9607   fi
9608   rm -f core conftest.err conftest.$ac_objext \
9609      conftest$ac_exeext conftest.$ac_ext
9610 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9610 >  if test -z "$lt_cv_aix_libpath_"; then
9611 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9612 >  fi
9613 >
9614 > fi
9615 >
9616 >  aix_libpath=$lt_cv_aix_libpath_
9617 > fi
9618  
9619          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9620 <        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"
9620 >        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"
9621        else
9622          if test "$host_cpu" = ia64; then
9623            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8900 | Line 9626 | if test -z "$aix_libpath"; then aix_libp
9626          else
9627           # Determine the default libpath from the value encoded in an
9628           # empty executable.
9629 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 >         if test "${lt_cv_aix_libpath+set}" = set; then
9630 >  aix_libpath=$lt_cv_aix_libpath
9631 > else
9632 >  if ${lt_cv_aix_libpath_+:} false; then :
9633 >  $as_echo_n "(cached) " >&6
9634 > else
9635 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636   /* end confdefs.h.  */
9637  
9638   int
# Line 8913 | Line 9645 | main ()
9645   _ACEOF
9646   if ac_fn_c_try_link "$LINENO"; then :
9647  
9648 < lt_aix_libpath_sed='
9649 <    /Import File Strings/,/^$/ {
9650 <        /^0/ {
9651 <            s/^0  *\(.*\)$/\1/
9652 <            p
9653 <        }
9654 <    }'
9655 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 < # Check for a 64-bit object if we didn't find anything.
9657 < if test -z "$aix_libpath"; then
9658 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 < fi
9648 >  lt_aix_libpath_sed='
9649 >      /Import File Strings/,/^$/ {
9650 >          /^0/ {
9651 >              s/^0  *\([^ ]*\) *$/\1/
9652 >              p
9653 >          }
9654 >      }'
9655 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 >  # Check for a 64-bit object if we didn't find anything.
9657 >  if test -z "$lt_cv_aix_libpath_"; then
9658 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 >  fi
9660   fi
9661   rm -f core conftest.err conftest.$ac_objext \
9662      conftest$ac_exeext conftest.$ac_ext
9663 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9663 >  if test -z "$lt_cv_aix_libpath_"; then
9664 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9665 >  fi
9666 >
9667 > fi
9668 >
9669 >  aix_libpath=$lt_cv_aix_libpath_
9670 > fi
9671  
9672           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9673            # Warning - without using the other run time loading flags,
9674            # -berok will link without error, but may produce a broken library.
9675            no_undefined_flag=' ${wl}-bernotok'
9676            allow_undefined_flag=' ${wl}-berok'
9677 <          # Exported symbols can be pulled into shared objects from archives
9678 <          whole_archive_flag_spec='$convenience'
9677 >          if test "$with_gnu_ld" = yes; then
9678 >            # We only use this code for GNU lds that support --whole-archive.
9679 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9680 >          else
9681 >            # Exported symbols can be pulled into shared objects from archives
9682 >            whole_archive_flag_spec='$convenience'
9683 >          fi
9684            archive_cmds_need_lc=yes
9685            # This is similar to how AIX traditionally builds its shared libraries.
9686            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 8968 | Line 9712 | if test -z "$aix_libpath"; then aix_libp
9712        # Microsoft Visual C++.
9713        # hardcode_libdir_flag_spec is actually meaningless, as there is
9714        # no search path for DLLs.
9715 <      hardcode_libdir_flag_spec=' '
9716 <      allow_undefined_flag=unsupported
9717 <      # Tell ltmain to make .lib files, not .a files.
9718 <      libext=lib
9719 <      # Tell ltmain to make .dll files, not .so files.
9720 <      shrext_cmds=".dll"
9721 <      # FIXME: Setting linknames here is a bad hack.
9722 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9723 <      # The linker will automatically build a .lib file if we build a DLL.
9724 <      old_archive_from_new_cmds='true'
9725 <      # FIXME: Should let the user specify the lib program.
9726 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9727 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9728 <      enable_shared_with_static_runtimes=yes
9715 >      case $cc_basename in
9716 >      cl*)
9717 >        # Native MSVC
9718 >        hardcode_libdir_flag_spec=' '
9719 >        allow_undefined_flag=unsupported
9720 >        always_export_symbols=yes
9721 >        file_list_spec='@'
9722 >        # Tell ltmain to make .lib files, not .a files.
9723 >        libext=lib
9724 >        # Tell ltmain to make .dll files, not .so files.
9725 >        shrext_cmds=".dll"
9726 >        # FIXME: Setting linknames here is a bad hack.
9727 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9728 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9729 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9730 >          else
9731 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9732 >          fi~
9733 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9734 >          linknames='
9735 >        # The linker will not automatically build a static lib if we build a DLL.
9736 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9737 >        enable_shared_with_static_runtimes=yes
9738 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9739 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9740 >        # Don't use ranlib
9741 >        old_postinstall_cmds='chmod 644 $oldlib'
9742 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9743 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9744 >          case $lt_outputfile in
9745 >            *.exe|*.EXE) ;;
9746 >            *)
9747 >              lt_outputfile="$lt_outputfile.exe"
9748 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9749 >              ;;
9750 >          esac~
9751 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9752 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9753 >            $RM "$lt_outputfile.manifest";
9754 >          fi'
9755 >        ;;
9756 >      *)
9757 >        # Assume MSVC wrapper
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 `func_echo_all "$deplibs" | $SED '\''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 >        enable_shared_with_static_runtimes=yes
9771 >        ;;
9772 >      esac
9773        ;;
9774  
9775      darwin* | rhapsody*)
# Line 8991 | Line 9779 | if test -z "$aix_libpath"; then aix_libp
9779    hardcode_direct=no
9780    hardcode_automatic=yes
9781    hardcode_shlibpath_var=unsupported
9782 <  whole_archive_flag_spec=''
9782 >  if test "$lt_cv_ld_force_load" = "yes"; then
9783 >    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\"`'
9784 >
9785 >  else
9786 >    whole_archive_flag_spec=''
9787 >  fi
9788    link_all_deplibs=yes
9789    allow_undefined_flag="$_lt_dar_allow_undefined"
9790    case $cc_basename in
# Line 8999 | Line 9792 | if test -z "$aix_libpath"; then aix_libp
9792       *) _lt_dar_can_shared=$GCC ;;
9793    esac
9794    if test "$_lt_dar_can_shared" = "yes"; then
9795 <    output_verbose_link_cmd=echo
9795 >    output_verbose_link_cmd=func_echo_all
9796      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9797      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9798      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 9017 | Line 9810 | if test -z "$aix_libpath"; then aix_libp
9810        hardcode_shlibpath_var=no
9811        ;;
9812  
9020    freebsd1*)
9021      ld_shlibs=no
9022      ;;
9023
9813      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814      # support.  Future versions do this automatically, but an explicit c++rt0.o
9815      # does not break anything, and helps significantly (at the cost of a little
# Line 9033 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822        ;;
9823  
9824      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825 <    freebsd2*)
9825 >    freebsd2.*)
9826        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827        hardcode_direct=yes
9828        hardcode_minus_L=yes
# Line 9042 | Line 9831 | if test -z "$aix_libpath"; then aix_libp
9831  
9832      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833      freebsd* | dragonfly*)
9834 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835        hardcode_libdir_flag_spec='-R$libdir'
9836        hardcode_direct=yes
9837        hardcode_shlibpath_var=no
# Line 9050 | Line 9839 | if test -z "$aix_libpath"; then aix_libp
9839  
9840      hpux9*)
9841        if test "$GCC" = yes; then
9842 <        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'
9842 >        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'
9843        else
9844          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'
9845        fi
# Line 9065 | Line 9854 | if test -z "$aix_libpath"; then aix_libp
9854        ;;
9855  
9856      hpux10*)
9857 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9858 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9858 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859        else
9860          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861        fi
9862        if test "$with_gnu_ld" = no; then
9863          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075        hardcode_libdir_flag_spec_ld='+b $libdir'
9864          hardcode_libdir_separator=:
9865          hardcode_direct=yes
9866          hardcode_direct_absolute=yes
# Line 9084 | Line 9872 | if test -z "$aix_libpath"; then aix_libp
9872        ;;
9873  
9874      hpux11*)
9875 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9875 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876          case $host_cpu in
9877          hppa*64*)
9878            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879            ;;
9880          ia64*)
9881 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882            ;;
9883          *)
9884 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885            ;;
9886          esac
9887        else
# Line 9105 | Line 9893 | if test -z "$aix_libpath"; then aix_libp
9893            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894            ;;
9895          *)
9896 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9896 >
9897 >          # Older versions of the 11.00 compiler do not understand -b yet
9898 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 > $as_echo_n "checking if $CC understands -b... " >&6; }
9901 > if ${lt_cv_prog_compiler__b+:} false; then :
9902 >  $as_echo_n "(cached) " >&6
9903 > else
9904 >  lt_cv_prog_compiler__b=no
9905 >   save_LDFLAGS="$LDFLAGS"
9906 >   LDFLAGS="$LDFLAGS -b"
9907 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 >     # The linker can only warn and ignore the option if not recognized
9910 >     # So say no if there are warnings
9911 >     if test -s conftest.err; then
9912 >       # Append any errors to the config.log.
9913 >       cat conftest.err 1>&5
9914 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 >       if diff conftest.exp conftest.er2 >/dev/null; then
9917 >         lt_cv_prog_compiler__b=yes
9918 >       fi
9919 >     else
9920 >       lt_cv_prog_compiler__b=yes
9921 >     fi
9922 >   fi
9923 >   $RM -r conftest*
9924 >   LDFLAGS="$save_LDFLAGS"
9925 >
9926 > fi
9927 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929 >
9930 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 > else
9933 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9934 > fi
9935 >
9936            ;;
9937          esac
9938        fi
# Line 9133 | Line 9960 | if test -z "$aix_libpath"; then aix_libp
9960  
9961      irix5* | irix6* | nonstopux*)
9962        if test "$GCC" = yes; then
9963 <        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'
9963 >        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'
9964          # Try to use the -exported_symbol ld option, if it does not
9965          # work, assume that -exports_file does not work either and
9966          # implicitly export all symbols.
9967 <        save_LDFLAGS="$LDFLAGS"
9968 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 >        # This should be the same for all languages, so no per-tag cache variable.
9968 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9969 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9970 > if ${lt_cv_irix_exported_symbol+:} false; then :
9971 >  $as_echo_n "(cached) " >&6
9972 > else
9973 >  save_LDFLAGS="$LDFLAGS"
9974 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9975 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976   /* end confdefs.h.  */
9977 < int foo(void) {}
9977 > int foo (void) { return 0; }
9978   _ACEOF
9979   if ac_fn_c_try_link "$LINENO"; then :
9980 <  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'
9981 <
9980 >  lt_cv_irix_exported_symbol=yes
9981 > else
9982 >  lt_cv_irix_exported_symbol=no
9983   fi
9984   rm -f core conftest.err conftest.$ac_objext \
9985      conftest$ac_exeext conftest.$ac_ext
9986 <        LDFLAGS="$save_LDFLAGS"
9986 >           LDFLAGS="$save_LDFLAGS"
9987 > fi
9988 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9989 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9990 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9991 >          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'
9992 >        fi
9993        else
9994 <        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'
9995 <        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'
9994 >        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'
9995 >        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'
9996        fi
9997        archive_cmds_need_lc='no'
9998        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9214 | Line 10054 | rm -f core conftest.err conftest.$ac_obj
10054        hardcode_libdir_flag_spec='-L$libdir'
10055        hardcode_minus_L=yes
10056        allow_undefined_flag=unsupported
10057 <      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'
10057 >      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'
10058        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10059        ;;
10060  
10061      osf3*)
10062        if test "$GCC" = yes; then
10063          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10064 <        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'
10064 >        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'
10065        else
10066          allow_undefined_flag=' -expect_unresolved \*'
10067 <        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'
10067 >        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'
10068        fi
10069        archive_cmds_need_lc='no'
10070        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9234 | Line 10074 | rm -f core conftest.err conftest.$ac_obj
10074      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10075        if test "$GCC" = yes; then
10076          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10077 <        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'
10077 >        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'
10078          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10079        else
10080          allow_undefined_flag=' -expect_unresolved \*'
10081 <        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'
10081 >        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'
10082          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~
10083 <        $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'
10083 >        $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'
10084  
10085          # Both c and cxx compiler support -rpath directly
10086          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9253 | Line 10093 | rm -f core conftest.err conftest.$ac_obj
10093        no_undefined_flag=' -z defs'
10094        if test "$GCC" = yes; then
10095          wlarc='${wl}'
10096 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10097          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10098 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10098 >          $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'
10099        else
10100          case `$CC -V 2>&1` in
10101          *"Compilers 5.0"*)
# Line 9443 | Line 10283 | x|xyes)
10283        # to ld, don't add -lc before -lgcc.
10284        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10285   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10286 <      $RM conftest*
10287 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10286 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10287 >  $as_echo_n "(cached) " >&6
10288 > else
10289 >  $RM conftest*
10290 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10291  
10292 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10292 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10293    (eval $ac_compile) 2>&5
10294    ac_status=$?
10295    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10296    test $ac_status = 0; } 2>conftest.err; then
10297 <        soname=conftest
10298 <        lib=conftest
10299 <        libobjs=conftest.$ac_objext
10300 <        deplibs=
10301 <        wl=$lt_prog_compiler_wl
10302 <        pic_flag=$lt_prog_compiler_pic
10303 <        compiler_flags=-v
10304 <        linker_flags=-v
10305 <        verstring=
10306 <        output_objdir=.
10307 <        libname=conftest
10308 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10309 <        allow_undefined_flag=
10310 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10297 >          soname=conftest
10298 >          lib=conftest
10299 >          libobjs=conftest.$ac_objext
10300 >          deplibs=
10301 >          wl=$lt_prog_compiler_wl
10302 >          pic_flag=$lt_prog_compiler_pic
10303 >          compiler_flags=-v
10304 >          linker_flags=-v
10305 >          verstring=
10306 >          output_objdir=.
10307 >          libname=conftest
10308 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10309 >          allow_undefined_flag=
10310 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10311    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10312    ac_status=$?
10313    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10314    test $ac_status = 0; }
10315 <        then
10316 <          archive_cmds_need_lc=no
10317 <        else
10318 <          archive_cmds_need_lc=yes
10319 <        fi
10320 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10321 <      else
10322 <        cat conftest.err 1>&5
10323 <      fi
10324 <      $RM conftest*
10325 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10326 < $as_echo "$archive_cmds_need_lc" >&6; }
10315 >          then
10316 >            lt_cv_archive_cmds_need_lc=no
10317 >          else
10318 >            lt_cv_archive_cmds_need_lc=yes
10319 >          fi
10320 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10321 >        else
10322 >          cat conftest.err 1>&5
10323 >        fi
10324 >        $RM conftest*
10325 >
10326 > fi
10327 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10328 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10329 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10330        ;;
10331      esac
10332    fi
# Line 9638 | Line 10484 | esac
10484  
10485  
10486  
9641
9642
9643
9644
9645
10487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10488   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10489  
# Line 9651 | Line 10492 | if test "$GCC" = yes; then
10492      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10493      *) lt_awk_arg="/^libraries:/" ;;
10494    esac
10495 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10496 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10495 >  case $host_os in
10496 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10497 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10498 >  esac
10499 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10500 >  case $lt_search_path_spec in
10501 >  *\;*)
10502      # if the path contains ";" then we assume it to be the separator
10503      # otherwise default to the standard path separator (i.e. ":") - it is
10504      # assumed that no part of a normal pathname contains ";" but that should
10505      # okay in the real world where ";" in dirpaths is itself problematic.
10506 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10507 <  else
10508 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10509 <  fi
10506 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10507 >    ;;
10508 >  *)
10509 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10510 >    ;;
10511 >  esac
10512    # Ok, now we have the path, separated by spaces, we can step through it
10513    # and add multilib dir if necessary.
10514    lt_tmp_lt_search_path_spec=
# Line 9673 | Line 10521 | if test "$GCC" = yes; then
10521          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10522      fi
10523    done
10524 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10524 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10525   BEGIN {RS=" "; FS="/|\n";} {
10526    lt_foo="";
10527    lt_count=0;
# Line 9693 | Line 10541 | BEGIN {RS=" "; FS="/|\n";} {
10541    if (lt_foo != "") { lt_freq[lt_foo]++; }
10542    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10543   }'`
10544 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10544 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10545 >  # for these hosts.
10546 >  case $host_os in
10547 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10548 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10549 >  esac
10550 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10551   else
10552    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10553   fi
# Line 9719 | Line 10573 | need_version=unknown
10573  
10574   case $host_os in
10575   aix3*)
10576 <  version_type=linux
10576 >  version_type=linux # correct to gnu/linux during the next big refactor
10577    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10578    shlibpath_var=LIBPATH
10579  
# Line 9728 | Line 10582 | aix3*)
10582    ;;
10583  
10584   aix[4-9]*)
10585 <  version_type=linux
10585 >  version_type=linux # correct to gnu/linux during the next big refactor
10586    need_lib_prefix=no
10587    need_version=no
10588    hardcode_into_libs=yes
# Line 9781 | Line 10635 | amigaos*)
10635    m68k)
10636      library_names_spec='$libname.ixlibrary $libname.a'
10637      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10638 <    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'
10638 >    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'
10639      ;;
10640    esac
10641    ;;
# Line 9793 | Line 10647 | beos*)
10647    ;;
10648  
10649   bsdi[45]*)
10650 <  version_type=linux
10650 >  version_type=linux # correct to gnu/linux during the next big refactor
10651    need_version=no
10652    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10653    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9812 | Line 10666 | cygwin* | mingw* | pw32* | cegcc*)
10666    need_version=no
10667    need_lib_prefix=no
10668  
10669 <  case $GCC,$host_os in
10670 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10669 >  case $GCC,$cc_basename in
10670 >  yes,*)
10671 >    # gcc
10672      library_names_spec='$libname.dll.a'
10673      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10674      postinstall_cmds='base_file=`basename \${file}`~
# Line 9834 | Line 10689 | cygwin* | mingw* | pw32* | cegcc*)
10689      cygwin*)
10690        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10691        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10692 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10692 >
10693 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10694        ;;
10695      mingw* | cegcc*)
10696        # MinGW DLLs use traditional 'lib' prefix
10697        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9842      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9843      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9844        # It is most probably a Windows format PATH printed by
9845        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9846        # path with ; separators, and with drive letters. We can handle the
9847        # drive letters (cygwin fileutils understands them), so leave them,
9848        # especially as we might pass files found there to a mingw objdump,
9849        # which wouldn't understand a cygwinified path. Ahh.
9850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9851      else
9852        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9853      fi
10698        ;;
10699      pw32*)
10700        # pw32 DLLs use 'pw' prefix rather than 'lib'
10701        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10702        ;;
10703      esac
10704 +    dynamic_linker='Win32 ld.exe'
10705 +    ;;
10706 +
10707 +  *,cl*)
10708 +    # Native MSVC
10709 +    libname_spec='$name'
10710 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10711 +    library_names_spec='${libname}.dll.lib'
10712 +
10713 +    case $build_os in
10714 +    mingw*)
10715 +      sys_lib_search_path_spec=
10716 +      lt_save_ifs=$IFS
10717 +      IFS=';'
10718 +      for lt_path in $LIB
10719 +      do
10720 +        IFS=$lt_save_ifs
10721 +        # Let DOS variable expansion print the short 8.3 style file name.
10722 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10723 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10724 +      done
10725 +      IFS=$lt_save_ifs
10726 +      # Convert to MSYS style.
10727 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10728 +      ;;
10729 +    cygwin*)
10730 +      # Convert to unix form, then to dos form, then back to unix form
10731 +      # but this time dos style (no spaces!) so that the unix form looks
10732 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10733 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10734 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10735 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10736 +      ;;
10737 +    *)
10738 +      sys_lib_search_path_spec="$LIB"
10739 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10740 +        # It is most probably a Windows format PATH.
10741 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10742 +      else
10743 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10744 +      fi
10745 +      # FIXME: find the short name or the path components, as spaces are
10746 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10747 +      ;;
10748 +    esac
10749 +
10750 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10751 +    postinstall_cmds='base_file=`basename \${file}`~
10752 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10753 +      dldir=$destdir/`dirname \$dlpath`~
10754 +      test -d \$dldir || mkdir -p \$dldir~
10755 +      $install_prog $dir/$dlname \$dldir/$dlname'
10756 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10757 +      dlpath=$dir/\$dldll~
10758 +       $RM \$dlpath'
10759 +    shlibpath_overrides_runpath=yes
10760 +    dynamic_linker='Win32 link.exe'
10761      ;;
10762  
10763    *)
10764 +    # Assume MSVC wrapper
10765      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10766 +    dynamic_linker='Win32 ld.exe'
10767      ;;
10768    esac
9866  dynamic_linker='Win32 ld.exe'
10769    # FIXME: first we should search . and the directory the executable is in
10770    shlibpath_var=PATH
10771    ;;
# Line 9884 | Line 10786 | darwin* | rhapsody*)
10786    ;;
10787  
10788   dgux*)
10789 <  version_type=linux
10789 >  version_type=linux # correct to gnu/linux during the next big refactor
10790    need_lib_prefix=no
10791    need_version=no
10792    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9892 | Line 10794 | dgux*)
10794    shlibpath_var=LD_LIBRARY_PATH
10795    ;;
10796  
9895 freebsd1*)
9896  dynamic_linker=no
9897  ;;
9898
10797   freebsd* | dragonfly*)
10798    # DragonFly does not have aout.  When/if they implement a new
10799    # versioning mechanism, adjust this.
# Line 9903 | Line 10801 | freebsd* | dragonfly*)
10801      objformat=`/usr/bin/objformat`
10802    else
10803      case $host_os in
10804 <    freebsd[123]*) objformat=aout ;;
10804 >    freebsd[23].*) objformat=aout ;;
10805      *) objformat=elf ;;
10806      esac
10807    fi
# Line 9921 | Line 10819 | freebsd* | dragonfly*)
10819    esac
10820    shlibpath_var=LD_LIBRARY_PATH
10821    case $host_os in
10822 <  freebsd2*)
10822 >  freebsd2.*)
10823      shlibpath_overrides_runpath=yes
10824      ;;
10825    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9941 | Line 10839 | freebsd* | dragonfly*)
10839    ;;
10840  
10841   gnu*)
10842 <  version_type=linux
10842 >  version_type=linux # correct to gnu/linux during the next big refactor
10843    need_lib_prefix=no
10844    need_version=no
10845    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10846    soname_spec='${libname}${release}${shared_ext}$major'
10847    shlibpath_var=LD_LIBRARY_PATH
10848 +  shlibpath_overrides_runpath=no
10849 +  hardcode_into_libs=yes
10850 +  ;;
10851 +
10852 + haiku*)
10853 +  version_type=linux # correct to gnu/linux during the next big refactor
10854 +  need_lib_prefix=no
10855 +  need_version=no
10856 +  dynamic_linker="$host_os runtime_loader"
10857 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10858 +  soname_spec='${libname}${release}${shared_ext}$major'
10859 +  shlibpath_var=LIBRARY_PATH
10860 +  shlibpath_overrides_runpath=yes
10861 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10862    hardcode_into_libs=yes
10863    ;;
10864  
# Line 9992 | Line 10904 | hpux9* | hpux10* | hpux11*)
10904      soname_spec='${libname}${release}${shared_ext}$major'
10905      ;;
10906    esac
10907 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10907 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10908    postinstall_cmds='chmod 555 $lib'
10909 +  # or fails outright, so override atomically:
10910 +  install_override_mode=555
10911    ;;
10912  
10913   interix[3-9]*)
10914 <  version_type=linux
10914 >  version_type=linux # correct to gnu/linux during the next big refactor
10915    need_lib_prefix=no
10916    need_version=no
10917    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10013 | Line 10927 | irix5* | irix6* | nonstopux*)
10927      nonstopux*) version_type=nonstopux ;;
10928      *)
10929          if test "$lt_cv_prog_gnu_ld" = yes; then
10930 <                version_type=linux
10930 >                version_type=linux # correct to gnu/linux during the next big refactor
10931          else
10932                  version_type=irix
10933          fi ;;
# Line 10050 | Line 10964 | linux*oldld* | linux*aout* | linux*coff*
10964    dynamic_linker=no
10965    ;;
10966  
10967 < # This must be Linux ELF.
10968 < linux* | k*bsd*-gnu)
10969 <  version_type=linux
10967 > # This must be glibc/ELF.
10968 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10969 >  version_type=linux # correct to gnu/linux during the next big refactor
10970    need_lib_prefix=no
10971    need_version=no
10972    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10060 | Line 10974 | linux* | k*bsd*-gnu)
10974    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10975    shlibpath_var=LD_LIBRARY_PATH
10976    shlibpath_overrides_runpath=no
10977 +
10978    # Some binutils ld are patched to set DT_RUNPATH
10979 <  save_LDFLAGS=$LDFLAGS
10980 <  save_libdir=$libdir
10981 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10982 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10983 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10980 >  $as_echo_n "(cached) " >&6
10981 > else
10982 >  lt_cv_shlibpath_overrides_runpath=no
10983 >    save_LDFLAGS=$LDFLAGS
10984 >    save_libdir=$libdir
10985 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10986 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10987 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988   /* end confdefs.h.  */
10989  
10990   int
# Line 10078 | Line 10997 | main ()
10997   _ACEOF
10998   if ac_fn_c_try_link "$LINENO"; then :
10999    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11000 <  shlibpath_overrides_runpath=yes
11000 >  lt_cv_shlibpath_overrides_runpath=yes
11001   fi
11002   fi
11003   rm -f core conftest.err conftest.$ac_objext \
11004      conftest$ac_exeext conftest.$ac_ext
11005 <  LDFLAGS=$save_LDFLAGS
11006 <  libdir=$save_libdir
11005 >    LDFLAGS=$save_LDFLAGS
11006 >    libdir=$save_libdir
11007 >
11008 > fi
11009 >
11010 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11011  
11012    # This implies no fast_install, which is unacceptable.
11013    # Some rework will be needed to allow for fast_install
11014    # before this can be enabled.
11015    hardcode_into_libs=yes
11016  
10094  # find out which ABI we are using
10095  libsuff=
10096  case "$host_cpu" in
10097  x86_64*|s390x*|powerpc64*)
10098    echo '#line 10098 "configure"' > conftest.$ac_ext
10099    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100  (eval $ac_compile) 2>&5
10101  ac_status=$?
10102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103  test $ac_status = 0; }; then
10104      case `/usr/bin/file conftest.$ac_objext` in
10105      *64-bit*)
10106        libsuff=64
10107        ;;
10108      esac
10109    fi
10110    rm -rf conftest*
10111    ;;
10112  esac
10113
10114  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10115
11017    # Append ld.so.conf contents to the search path
11018    if test -f /etc/ld.so.conf; then
11019 <    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' ' '`
11020 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11019 >    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' ' '`
11020 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11021    fi
11022  
11023    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10147 | Line 11048 | netbsd*)
11048    ;;
11049  
11050   newsos6)
11051 <  version_type=linux
11051 >  version_type=linux # correct to gnu/linux during the next big refactor
11052    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11053    shlibpath_var=LD_LIBRARY_PATH
11054    shlibpath_overrides_runpath=yes
# Line 10216 | Line 11117 | rdos*)
11117    ;;
11118  
11119   solaris*)
11120 <  version_type=linux
11120 >  version_type=linux # correct to gnu/linux during the next big refactor
11121    need_lib_prefix=no
11122    need_version=no
11123    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10241 | Line 11142 | sunos4*)
11142    ;;
11143  
11144   sysv4 | sysv4.3*)
11145 <  version_type=linux
11145 >  version_type=linux # correct to gnu/linux during the next big refactor
11146    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147    soname_spec='${libname}${release}${shared_ext}$major'
11148    shlibpath_var=LD_LIBRARY_PATH
# Line 10265 | Line 11166 | sysv4 | sysv4.3*)
11166  
11167   sysv4*MP*)
11168    if test -d /usr/nec ;then
11169 <    version_type=linux
11169 >    version_type=linux # correct to gnu/linux during the next big refactor
11170      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11171      soname_spec='$libname${shared_ext}.$major'
11172      shlibpath_var=LD_LIBRARY_PATH
# Line 10296 | Line 11197 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11197  
11198   tpf*)
11199    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11200 <  version_type=linux
11200 >  version_type=linux # correct to gnu/linux during the next big refactor
11201    need_lib_prefix=no
11202    need_version=no
11203    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10306 | Line 11207 | tpf*)
11207    ;;
11208  
11209   uts4*)
11210 <  version_type=linux
11210 >  version_type=linux # correct to gnu/linux during the next big refactor
11211    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212    soname_spec='${libname}${release}${shared_ext}$major'
11213    shlibpath_var=LD_LIBRARY_PATH
# Line 10418 | Line 11319 | fi
11319  
11320  
11321  
11322 +
11323 +
11324 +
11325 +
11326 +
11327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11328   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11329   hardcode_action=
# Line 10490 | Line 11396 | else
11396    # if libdl is installed we need to link against it
11397      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11398   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11399 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11399 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11400    $as_echo_n "(cached) " >&6
11401   else
11402    ac_check_lib_save_LIBS=$LIBS
# Line 10524 | Line 11430 | LIBS=$ac_check_lib_save_LIBS
11430   fi
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11432   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11433 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11433 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11434    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11435   else
11436  
# Line 10538 | Line 11444 | fi
11444  
11445    *)
11446      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11447 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11447 > if test "x$ac_cv_func_shl_load" = xyes; then :
11448    lt_cv_dlopen="shl_load"
11449   else
11450    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11451   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11452 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11452 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11453    $as_echo_n "(cached) " >&6
11454   else
11455    ac_check_lib_save_LIBS=$LIBS
# Line 10577 | Line 11483 | LIBS=$ac_check_lib_save_LIBS
11483   fi
11484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11485   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11486 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11486 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11487    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11488   else
11489    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11490 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11490 > if test "x$ac_cv_func_dlopen" = xyes; then :
11491    lt_cv_dlopen="dlopen"
11492   else
11493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11494   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11495 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11495 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11496    $as_echo_n "(cached) " >&6
11497   else
11498    ac_check_lib_save_LIBS=$LIBS
# Line 10620 | Line 11526 | LIBS=$ac_check_lib_save_LIBS
11526   fi
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11528   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11529 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11529 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11530    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11531   else
11532    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11533   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11534 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11534 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11535    $as_echo_n "(cached) " >&6
11536   else
11537    ac_check_lib_save_LIBS=$LIBS
# Line 10659 | Line 11565 | LIBS=$ac_check_lib_save_LIBS
11565   fi
11566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11567   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11568 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11568 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11569    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11570   else
11571    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11572   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11573 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11573 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11574    $as_echo_n "(cached) " >&6
11575   else
11576    ac_check_lib_save_LIBS=$LIBS
# Line 10698 | Line 11604 | LIBS=$ac_check_lib_save_LIBS
11604   fi
11605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11606   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11607 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11607 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11608    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11609   fi
11610  
# Line 10739 | Line 11645 | fi
11645  
11646      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11647   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11648 < if test "${lt_cv_dlopen_self+set}" = set; then :
11648 > if ${lt_cv_dlopen_self+:} false; then :
11649    $as_echo_n "(cached) " >&6
11650   else
11651            if test "$cross_compiling" = yes; then :
# Line 10748 | Line 11654 | else
11654    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11655    lt_status=$lt_dlunknown
11656    cat > conftest.$ac_ext <<_LT_EOF
11657 < #line 10751 "configure"
11657 > #line $LINENO "configure"
11658   #include "confdefs.h"
11659  
11660   #if HAVE_DLFCN_H
# Line 10789 | Line 11695 | else
11695   #  endif
11696   #endif
11697  
11698 < void fnord() { int i=42;}
11698 > /* When -fvisbility=hidden is used, assume the code has been annotated
11699 >   correspondingly for the symbols needed.  */
11700 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11701 > int fnord () __attribute__((visibility("default")));
11702 > #endif
11703 >
11704 > int fnord () { return 42; }
11705   int main ()
11706   {
11707    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10798 | Line 11710 | int main ()
11710    if (self)
11711      {
11712        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11713 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11713 >      else
11714 >        {
11715 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11716 >          else puts (dlerror ());
11717 >        }
11718        /* dlclose (self); */
11719      }
11720    else
# Line 10835 | Line 11751 | $as_echo "$lt_cv_dlopen_self" >&6; }
11751        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11752        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11753   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11754 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11754 > if ${lt_cv_dlopen_self_static+:} false; then :
11755    $as_echo_n "(cached) " >&6
11756   else
11757            if test "$cross_compiling" = yes; then :
# Line 10844 | Line 11760 | else
11760    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11761    lt_status=$lt_dlunknown
11762    cat > conftest.$ac_ext <<_LT_EOF
11763 < #line 10847 "configure"
11763 > #line $LINENO "configure"
11764   #include "confdefs.h"
11765  
11766   #if HAVE_DLFCN_H
# Line 10885 | Line 11801 | else
11801   #  endif
11802   #endif
11803  
11804 < void fnord() { int i=42;}
11804 > /* When -fvisbility=hidden is used, assume the code has been annotated
11805 >   correspondingly for the symbols needed.  */
11806 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11807 > int fnord () __attribute__((visibility("default")));
11808 > #endif
11809 >
11810 > int fnord () { return 42; }
11811   int main ()
11812   {
11813    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10894 | Line 11816 | int main ()
11816    if (self)
11817      {
11818        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11819 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11819 >      else
11820 >        {
11821 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11822 >          else puts (dlerror ());
11823 >        }
11824        /* dlclose (self); */
11825      }
11826    else
# Line 11063 | Line 11989 | CC="$lt_save_CC"
11989  
11990  
11991  
11992 +
11993 +
11994          ac_config_commands="$ac_config_commands libtool"
11995  
11996  
# Line 11073 | Line 12001 | CC="$lt_save_CC"
12001  
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12003   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12004 < if test "${libltdl_cv_shlibext+set}" = set; then :
12004 > if ${libltdl_cv_shlibext+:} false; then :
12005    $as_echo_n "(cached) " >&6
12006   else
12007  
12008   module=yes
12009   eval libltdl_cv_shlibext=$shrext_cmds
12010 + module=no
12011 + eval libltdl_cv_shrext=$shrext_cmds
12012  
12013   fi
12014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11090 | Line 12020 | cat >>confdefs.h <<_ACEOF
12020   _ACEOF
12021  
12022   fi
12023 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12024 +
12025 + cat >>confdefs.h <<_ACEOF
12026 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12027 + _ACEOF
12028 +
12029 + fi
12030  
12031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12032   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12033 < if test "${lt_cv_module_path_var+set}" = set; then :
12033 > if ${lt_cv_module_path_var+:} false; then :
12034    $as_echo_n "(cached) " >&6
12035   else
12036    lt_cv_module_path_var="$shlibpath_var"
# Line 11110 | Line 12047 | fi
12047  
12048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12049   $as_echo_n "checking for the default library search path... " >&6; }
12050 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12050 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12051    $as_echo_n "(cached) " >&6
12052   else
12053    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11147 | Line 12084 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12084   LIBADD_DLOPEN=
12085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12086   $as_echo_n "checking for library containing dlopen... " >&6; }
12087 < if test "${ac_cv_search_dlopen+set}" = set; then :
12087 > if ${ac_cv_search_dlopen+:} false; then :
12088    $as_echo_n "(cached) " >&6
12089   else
12090    ac_func_search_save_LIBS=$LIBS
# Line 11181 | Line 12118 | for ac_lib in '' dl; do
12118   fi
12119   rm -f core conftest.err conftest.$ac_objext \
12120      conftest$ac_exeext
12121 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12121 >  if ${ac_cv_search_dlopen+:} false; then :
12122    break
12123   fi
12124   done
12125 < if test "${ac_cv_search_dlopen+set}" = set; then :
12125 > if ${ac_cv_search_dlopen+:} false; then :
12126  
12127   else
12128    ac_cv_search_dlopen=no
# Line 11230 | Line 12167 | $as_echo "#define HAVE_LIBDL 1" >>confde
12167   else
12168    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12169   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12170 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12170 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12171    $as_echo_n "(cached) " >&6
12172   else
12173    ac_check_lib_save_LIBS=$LIBS
# Line 11264 | Line 12201 | LIBS=$ac_check_lib_save_LIBS
12201   fi
12202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12203   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12204 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12204 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12205  
12206   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12207  
# Line 11284 | Line 12221 | then
12221    for ac_func in dlerror
12222   do :
12223    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12224 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12224 > if test "x$ac_cv_func_dlerror" = xyes; then :
12225    cat >>confdefs.h <<_ACEOF
12226   #define HAVE_DLERROR 1
12227   _ACEOF
# Line 11298 | Line 12235 | fi
12235  
12236   LIBADD_SHL_LOAD=
12237   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12238 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12238 > if test "x$ac_cv_func_shl_load" = xyes; then :
12239  
12240   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12241  
# Line 11306 | Line 12243 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12243   else
12244    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12245   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12246 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12246 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12247    $as_echo_n "(cached) " >&6
12248   else
12249    ac_check_lib_save_LIBS=$LIBS
# Line 11340 | Line 12277 | LIBS=$ac_check_lib_save_LIBS
12277   fi
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12279   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12280 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12280 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12281  
12282   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12283  
# Line 11356 | Line 12293 | case $host_os in
12293   darwin[1567].*)
12294   # We only want this for pre-Mac OS X 10.4.
12295    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12296 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12296 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12297  
12298   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12299  
# Line 11370 | Line 12307 | beos*)
12307   cygwin* | mingw* | os2* | pw32*)
12308    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12309   "
12310 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12310 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12311    ac_have_decl=1
12312   else
12313    ac_have_decl=0
# Line 11386 | Line 12323 | esac
12323  
12324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12325   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12326 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12326 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12327    $as_echo_n "(cached) " >&6
12328   else
12329    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12357 | LIBS=$ac_check_lib_save_LIBS
12357   fi
12358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12359   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12360 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12360 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12361  
12362   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12363  
# Line 11454 | Line 12391 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12391  
12392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12393   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12394 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12394 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12395    $as_echo_n "(cached) " >&6
12396   else
12397    lt_cv_sys_symbol_underscore=no
# Line 11504 | Line 12441 | if test x"$lt_cv_sys_symbol_underscore"
12441       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12442          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12443   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12444 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12444 > if ${libltdl_cv_need_uscore+:} false; then :
12445    $as_echo_n "(cached) " >&6
12446   else
12447    libltdl_cv_need_uscore=unknown
# Line 11516 | Line 12453 | else
12453    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12454    lt_status=$lt_dlunknown
12455    cat > conftest.$ac_ext <<_LT_EOF
12456 < #line 11519 "configure"
12456 > #line $LINENO "configure"
12457   #include "confdefs.h"
12458  
12459   #if HAVE_DLFCN_H
# Line 11557 | Line 12494 | else
12494   #  endif
12495   #endif
12496  
12497 < void fnord() { int i=42;}
12497 > /* When -fvisbility=hidden is used, assume the code has been annotated
12498 >   correspondingly for the symbols needed.  */
12499 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12500 > int fnord () __attribute__((visibility("default")));
12501 > #endif
12502 >
12503 > int fnord () { return 42; }
12504   int main ()
12505   {
12506    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11566 | Line 12509 | int main ()
12509    if (self)
12510      {
12511        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12512 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12512 >      else
12513 >        {
12514 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12515 >          else puts (dlerror ());
12516 >        }
12517        /* dlclose (self); */
12518      }
12519    else
# Line 11610 | Line 12557 | fi
12557  
12558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12559   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12560 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12560 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12561    $as_echo_n "(cached) " >&6
12562   else
12563    # PORTME does your system automatically load deplibs for dlopen?
# Line 11642 | Line 12589 | else
12589    freebsd* | dragonfly*)
12590      lt_cv_sys_dlopen_deplibs=yes
12591      ;;
12592 <  gnu* | linux* | k*bsd*-gnu)
12592 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12593      # GNU and its variants, using gnu ld.so (Glibc)
12594      lt_cv_sys_dlopen_deplibs=yes
12595      ;;
# Line 11716 | Line 12663 | for ac_header in argz.h
12663   do :
12664    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12665   "
12666 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12666 > if test "x$ac_cv_header_argz_h" = xyes; then :
12667    cat >>confdefs.h <<_ACEOF
12668   #define HAVE_ARGZ_H 1
12669   _ACEOF
# Line 11730 | Line 12677 | ac_fn_c_check_type "$LINENO" "error_t" "
12677   #  include <argz.h>
12678   #endif
12679   "
12680 < if test "x$ac_cv_type_error_t" = x""yes; then :
12680 > if test "x$ac_cv_type_error_t" = xyes; then :
12681  
12682   cat >>confdefs.h <<_ACEOF
12683   #define HAVE_ERROR_T 1
# Line 11753 | Line 12700 | for ac_func in argz_add argz_append argz
12700   do :
12701    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12702   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12703 < eval as_val=\$$as_ac_var
11757 <   if test "x$as_val" = x""yes; then :
12703 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12704    cat >>confdefs.h <<_ACEOF
12705   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12706   _ACEOF
# Line 11771 | Line 12717 | done
12717   if test -z "$ARGZ_H"; then :
12718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12719   $as_echo_n "checking if argz actually works... " >&6; }
12720 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12720 > if ${lt_cv_sys_argz_works+:} false; then :
12721    $as_echo_n "(cached) " >&6
12722   else
12723    case $host_os in #(
# Line 11802 | Line 12748 | else
12748   fi
12749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12750   $as_echo "$lt_cv_sys_argz_works" >&6; }
12751 <     if test $lt_cv_sys_argz_works = yes; then :
12751 >     if test "$lt_cv_sys_argz_works" = yes; then :
12752  
12753   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12754  
# Line 11819 | Line 12765 | fi
12765  
12766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12767   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12768 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12768 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12769    $as_echo_n "(cached) " >&6
12770   else
12771    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11837 | Line 12783 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12783  
12784   fi
12785  
11840
11841
12786   # Set options
12787  
12788  
# Line 11851 | Line 12795 | fi
12795  
12796  
12797  
11854
12798   # Check whether --with-included_ltdl was given.
12799   if test "${with_included_ltdl+set}" = set; then :
12800    withval=$with_included_ltdl;
# Line 11864 | Line 12807 | if test "x$with_included_ltdl" != xyes;
12807    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12808  
12809   "
12810 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12810 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12811    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12812              #include <ltdl.h>
12813   "
12814 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12814 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12816   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12817 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12817 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12818    $as_echo_n "(cached) " >&6
12819   else
12820    ac_check_lib_save_LIBS=$LIBS
# Line 11905 | Line 12848 | LIBS=$ac_check_lib_save_LIBS
12848   fi
12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12850   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12851 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12851 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12852    with_included_ltdl=no
12853   else
12854    with_included_ltdl=yes
# Line 11925 | Line 12868 | fi
12868  
12869  
12870  
11928
11929
11930
11931
11932
12871   # Check whether --with-ltdl_include was given.
12872   if test "${with_ltdl_include+set}" = set; then :
12873    withval=$with_ltdl_include;
# Line 11939 | Line 12877 | fi
12877   if test -n "$with_ltdl_include"; then
12878    if test -f "$with_ltdl_include/ltdl.h"; then :
12879    else
12880 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12880 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12881    fi
12882   else
12883    with_ltdl_include=no
# Line 11955 | Line 12893 | fi
12893   if test -n "$with_ltdl_lib"; then
12894    if test -f "$with_ltdl_lib/libltdl.la"; then :
12895    else
12896 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12896 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12897    fi
12898   else
12899    with_ltdl_lib=no
# Line 11964 | Line 12902 | fi
12902   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12903    ,yes,no,no,)
12904          case $enable_ltdl_convenience in
12905 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12905 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12906    "") enable_ltdl_convenience=yes
12907        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12908   esac
# Line 11992 | Line 12930 | $as_echo "#define HAVE_LTDL 1" >>confdef
12930          LTDLINCL=
12931          ;;
12932    ,no*,no,*)
12933 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12933 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12934          ;;
12935    *)    with_included_ltdl=no
12936          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12043 | Line 12981 | fi
12981  
12982  
12983  
12046    subdirs="$subdirs libltdl"
12047
12048
12984  
12985  
12986  
# Line 12062 | Line 12997 | do :
12997    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12998   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12999   "
13000 < eval as_val=\$$as_ac_Header
12066 <   if test "x$as_val" = x""yes; then :
13000 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13001    cat >>confdefs.h <<_ACEOF
13002   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13003   _ACEOF
# Line 12077 | Line 13011 | for ac_func in closedir opendir readdir
13011   do :
13012    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13013   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13014 < eval as_val=\$$as_ac_var
12081 <   if test "x$as_val" = x""yes; then :
13014 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13015    cat >>confdefs.h <<_ACEOF
13016   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13017   _ACEOF
# Line 12095 | Line 13028 | for ac_func in strlcat strlcpy
13028   do :
13029    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13030   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13031 < eval as_val=\$$as_ac_var
12099 <   if test "x$as_val" = x""yes; then :
13031 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13032    cat >>confdefs.h <<_ACEOF
13033   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13034   _ACEOF
# Line 12116 | Line 13048 | cat >>confdefs.h <<_ACEOF
13048   _ACEOF
13049  
13050  
13051 + name=
13052 + eval "lt_libprefix=\"$libname_spec\""
13053 +
13054 + cat >>confdefs.h <<_ACEOF
13055 + #define LT_LIBPREFIX "$lt_libprefix"
13056 + _ACEOF
13057 +
13058 +
13059   name=ltdl
13060 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13060 > eval "LTDLOPEN=\"$libname_spec\""
13061  
13062  
13063  
# Line 12131 | Line 13071 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13071  
13072   LIBTOOL="$LIBTOOL --silent"
13073  
12134
13074   # Checks for libraries.
13075  
13076 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13077 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13078 +
13079 + else
13080 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13081 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13082 + if ${ac_cv_search_getaddrinfo+:} false; then :
13083 +  $as_echo_n "(cached) " >&6
13084 + else
13085 +  ac_func_search_save_LIBS=$LIBS
13086 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 + /* end confdefs.h.  */
13088 +
13089 + /* Override any GCC internal prototype to avoid an error.
13090 +   Use char because int might match the return type of a GCC
13091 +   builtin and then its argument prototype would still apply.  */
13092 + #ifdef __cplusplus
13093 + extern "C"
13094 + #endif
13095 + char getaddrinfo ();
13096 + int
13097 + main ()
13098 + {
13099 + return getaddrinfo ();
13100 +  ;
13101 +  return 0;
13102 + }
13103 + _ACEOF
13104 + for ac_lib in '' nsl; do
13105 +  if test -z "$ac_lib"; then
13106 +    ac_res="none required"
13107 +  else
13108 +    ac_res=-l$ac_lib
13109 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13110 +  fi
13111 +  if ac_fn_c_try_link "$LINENO"; then :
13112 +  ac_cv_search_getaddrinfo=$ac_res
13113 + fi
13114 + rm -f core conftest.err conftest.$ac_objext \
13115 +    conftest$ac_exeext
13116 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13117 +  break
13118 + fi
13119 + done
13120 + if ${ac_cv_search_getaddrinfo+:} false; then :
13121 +
13122 + else
13123 +  ac_cv_search_getaddrinfo=no
13124 + fi
13125 + rm conftest.$ac_ext
13126 + LIBS=$ac_func_search_save_LIBS
13127 + fi
13128 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13129 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13130 + ac_res=$ac_cv_search_getaddrinfo
13131 + if test "$ac_res" != no; then :
13132 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13133 +
13134 + fi
13135 +
13136 + fi
13137 +
13138 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13139 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13140 +
13141 + else
13142 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13143 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13144 + if ${ac_cv_search_getnameinfo+:} false; then :
13145 +  $as_echo_n "(cached) " >&6
13146 + else
13147 +  ac_func_search_save_LIBS=$LIBS
13148 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 + /* end confdefs.h.  */
13150 +
13151 + /* Override any GCC internal prototype to avoid an error.
13152 +   Use char because int might match the return type of a GCC
13153 +   builtin and then its argument prototype would still apply.  */
13154 + #ifdef __cplusplus
13155 + extern "C"
13156 + #endif
13157 + char getnameinfo ();
13158 + int
13159 + main ()
13160 + {
13161 + return getnameinfo ();
13162 +  ;
13163 +  return 0;
13164 + }
13165 + _ACEOF
13166 + for ac_lib in '' nsl; do
13167 +  if test -z "$ac_lib"; then
13168 +    ac_res="none required"
13169 +  else
13170 +    ac_res=-l$ac_lib
13171 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13172 +  fi
13173 +  if ac_fn_c_try_link "$LINENO"; then :
13174 +  ac_cv_search_getnameinfo=$ac_res
13175 + fi
13176 + rm -f core conftest.err conftest.$ac_objext \
13177 +    conftest$ac_exeext
13178 +  if ${ac_cv_search_getnameinfo+:} false; then :
13179 +  break
13180 + fi
13181 + done
13182 + if ${ac_cv_search_getnameinfo+:} false; then :
13183 +
13184 + else
13185 +  ac_cv_search_getnameinfo=no
13186 + fi
13187 + rm conftest.$ac_ext
13188 + LIBS=$ac_func_search_save_LIBS
13189 + fi
13190 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13191 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13192 + ac_res=$ac_cv_search_getnameinfo
13193 + if test "$ac_res" != no; then :
13194 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13195 +
13196 + fi
13197 +
13198 + fi
13199 +
13200    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13201   $as_echo_n "checking for library containing socket... " >&6; }
13202 < if test "${ac_cv_search_socket+set}" = set; then :
13202 > if ${ac_cv_search_socket+:} false; then :
13203    $as_echo_n "(cached) " >&6
13204   else
13205    ac_func_search_save_LIBS=$LIBS
# Line 12170 | Line 13233 | for ac_lib in '' socket; do
13233   fi
13234   rm -f core conftest.err conftest.$ac_objext \
13235      conftest$ac_exeext
13236 <  if test "${ac_cv_search_socket+set}" = set; then :
13236 >  if ${ac_cv_search_socket+:} false; then :
13237    break
13238   fi
13239   done
13240 < if test "${ac_cv_search_socket+set}" = set; then :
13240 > if ${ac_cv_search_socket+:} false; then :
13241  
13242   else
13243    ac_cv_search_socket=no
# Line 12189 | Line 13252 | if test "$ac_res" != no; then :
13252    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13253  
13254   else
13255 <  as_fn_error "socket library not found" "$LINENO" 5
13255 >  as_fn_error $? "socket library not found" "$LINENO" 5
13256   fi
13257  
12195  for ac_func in inet_aton inet_ntop inet_pton
12196 do :
12197  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12199 eval as_val=\$$as_ac_var
12200   if test "x$as_val" = x""yes; then :
12201  cat >>confdefs.h <<_ACEOF
12202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12203 _ACEOF
12204
12205 fi
12206 done
12207
13258    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13259     #include <sys/socket.h>
13260     #include <netdb.h>
13261  
13262   "
13263 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13263 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13264  
13265   cat >>confdefs.h <<_ACEOF
13266   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12223 | Line 13273 | ac_fn_c_check_type "$LINENO" "struct soc
13273     #include <netdb.h>
13274  
13275   "
13276 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13276 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13277  
13278   cat >>confdefs.h <<_ACEOF
13279   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12236 | Line 13286 | ac_fn_c_check_type "$LINENO" "struct add
13286     #include <netdb.h>
13287  
13288   "
13289 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13289 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13290  
13291   cat >>confdefs.h <<_ACEOF
13292   #define HAVE_STRUCT_ADDRINFO 1
# Line 12248 | Line 13298 | fi
13298    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13299    <sys/socket.h>
13300   "
13301 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13301 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13302  
13303   cat >>confdefs.h <<_ACEOF
13304   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12259 | Line 13309 | fi
13309  
13310  
13311  
13312 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13313 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13314 <
12265 < cat >>confdefs.h <<_ACEOF
12266 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12267 < _ACEOF
12268 <
12269 <
12270 < else
13312 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13313 > "
13314 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13315  
13316   $as_echo "#define IPV6 1" >>confdefs.h
13317  
# Line 12275 | Line 13319 | fi
13319  
13320  
13321  
12278
13322   # Checks for typedefs, structures, and compiler characteristics.
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12281 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12282 if test "${ac_cv_c_const+set}" = set; then :
12283  $as_echo_n "(cached) " >&6
12284 else
12285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 int
12289 main ()
12290 {
12291 /* FIXME: Include the comments suggested by Paul. */
12292 #ifndef __cplusplus
12293  /* Ultrix mips cc rejects this.  */
12294  typedef int charset[2];
12295  const charset cs;
12296  /* SunOS 4.1.1 cc rejects this.  */
12297  char const *const *pcpcc;
12298  char **ppc;
12299  /* NEC SVR4.0.2 mips cc rejects this.  */
12300  struct point {int x, y;};
12301  static struct point const zero = {0,0};
12302  /* AIX XL C 1.02.0.0 rejects this.
12303     It does not let you subtract one const X* pointer from another in
12304     an arm of an if-expression whose if-part is not a constant
12305     expression */
12306  const char *g = "string";
12307  pcpcc = &g + (g ? g-g : 0);
12308  /* HPUX 7.0 cc rejects these. */
12309  ++pcpcc;
12310  ppc = (char**) pcpcc;
12311  pcpcc = (char const *const *) ppc;
12312  { /* SCO 3.2v4 cc rejects this.  */
12313    char *t;
12314    char const *s = 0 ? (char *) 0 : (char const *) 0;
12315
12316    *t++ = 0;
12317    if (s) return 0;
12318  }
12319  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12320    int x[] = {25, 17};
12321    const int *foo = &x[0];
12322    ++foo;
12323  }
12324  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12325    typedef const int *iptr;
12326    iptr p = 0;
12327    ++p;
12328  }
12329  { /* AIX XL C 1.02.0.0 rejects this saying
12330       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12331    struct s { int j; const int *ap[3]; };
12332    struct s *b; b->j = 5;
12333  }
12334  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12335    const int foo = 10;
12336    if (!foo) return 0;
12337  }
12338  return !cs[0] && !zero.x;
12339 #endif
12340
12341  ;
12342  return 0;
12343 }
12344 _ACEOF
12345 if ac_fn_c_try_compile "$LINENO"; then :
12346  ac_cv_c_const=yes
12347 else
12348  ac_cv_c_const=no
12349 fi
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 fi
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12353 $as_echo "$ac_cv_c_const" >&6; }
12354 if test $ac_cv_c_const = no; then
12355
12356 $as_echo "#define const /**/" >>confdefs.h
12357
12358 fi
12359
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12361 $as_echo_n "checking for inline... " >&6; }
12362 if test "${ac_cv_c_inline+set}" = set; then :
12363  $as_echo_n "(cached) " >&6
12364 else
12365  ac_cv_c_inline=no
12366 for ac_kw in inline __inline__ __inline; do
12367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h.  */
12369 #ifndef __cplusplus
12370 typedef int foo_t;
12371 static $ac_kw foo_t static_foo () {return 0; }
12372 $ac_kw foo_t foo () {return 0; }
12373 #endif
12374
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377  ac_cv_c_inline=$ac_kw
12378 fi
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380  test "$ac_cv_c_inline" != no && break
12381 done
12382
12383 fi
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12385 $as_echo "$ac_cv_c_inline" >&6; }
12386
12387 case $ac_cv_c_inline in
12388  inline | yes) ;;
12389  *)
12390    case $ac_cv_c_inline in
12391      no) ac_val=;;
12392      *) ac_val=$ac_cv_c_inline;;
12393    esac
12394    cat >>confdefs.h <<_ACEOF
12395 #ifndef __cplusplus
12396 #define inline $ac_val
12397 #endif
12398 _ACEOF
12399    ;;
12400 esac
12401
13323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13324   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13325 < if test "${ac_cv_c_bigendian+set}" = set; then :
13325 > if ${ac_cv_c_bigendian+:} false; then :
13326    $as_echo_n "(cached) " >&6
13327   else
13328    ac_cv_c_bigendian=unknown
# Line 12619 | Line 13540 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13540  
13541       ;; #(
13542     *)
13543 <     as_fn_error "unknown endianness
13543 >     as_fn_error $? "unknown endianness
13544   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13545   esac
13546  
13547  
12627 # The cast to long int works around a bug in the HP C Compiler
12628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12630 # This bug is HP SR number 8606223364.
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12632 $as_echo_n "checking size of int64_t... " >&6; }
12633 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635 else
12636  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12637
12638 else
12639  if test "$ac_cv_type_int64_t" = yes; then
12640     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12642 { as_fn_set_status 77
12643 as_fn_error "cannot compute sizeof (int64_t)
12644 See \`config.log' for more details." "$LINENO" 5; }; }
12645   else
12646     ac_cv_sizeof_int64_t=0
12647   fi
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12652 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12653
12654
12655
12656 cat >>confdefs.h <<_ACEOF
12657 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12658 _ACEOF
12659
12660
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12666 $as_echo_n "checking size of long long... " >&6; }
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12668  $as_echo_n "(cached) " >&6
12669 else
12670  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12671
12672 else
12673  if test "$ac_cv_type_long_long" = yes; then
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 { as_fn_set_status 77
12677 as_fn_error "cannot compute sizeof (long long)
12678 See \`config.log' for more details." "$LINENO" 5; }; }
12679   else
12680     ac_cv_sizeof_long_long=0
12681   fi
12682 fi
12683
12684 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12686 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12687
12688
12689
12690 cat >>confdefs.h <<_ACEOF
12691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12692 _ACEOF
12693
12694
12695
12696 if test "$ac_cv_sizeof_int64_t" = 8; then
12697  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12698 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12699
12700 fi
12701
12702  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_int64_t" = x""yes; then :
12704
12705 fi
12706
12707 elif test "$ac_cv_sizeof_long_long" = 8; then
12708  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12709 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12710
12711 else
12712
12713 cat >>confdefs.h <<_ACEOF
12714 #define uint64_t unsigned long long
12715 _ACEOF
12716
12717 fi
12718
12719  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12720 if test "x$ac_cv_type_int64_t" = x""yes; then :
12721
12722 else
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define int64_t long long
12726 _ACEOF
12727
12728 fi
12729
12730 else
12731  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12732 fi
12733
12734
13548   # Checks for library functions.
13549  
13550  
# Line 12740 | Line 13553 | fi
13553   do :
13554    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13555   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13556 < eval as_val=\$$as_ac_var
12744 <   if test "x$as_val" = x""yes; then :
13556 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13557    cat >>confdefs.h <<_ACEOF
13558   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13559   _ACEOF
# Line 12759 | Line 13571 | done
13571  
13572  
13573  
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
13574   # Checks for header files.
13575  
13576  
# Line 12780 | Line 13580 | do :
13580    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13581   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13582   "
13583 < eval as_val=\$$as_ac_Header
12784 <   if test "x$as_val" = x""yes; then :
13583 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13584    cat >>confdefs.h <<_ACEOF
13585   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13586   _ACEOF
# Line 12806 | Line 13605 | done
13605  
13606  
13607  
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12824 $as_echo_n "checking for /dev/null... " >&6; }
12825 if test -c /dev/null ; then
12826
12827 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12828
12829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12830 $as_echo "yes" >&6; }
12831 else
12832
12833 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12834
12835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12836 $as_echo "no - using devnull.log" >&6; }
12837 fi
12838
12839
13608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13609   $as_echo_n "checking for library containing crypt... " >&6; }
13610 < if test "${ac_cv_search_crypt+set}" = set; then :
13610 > if ${ac_cv_search_crypt+:} false; then :
13611    $as_echo_n "(cached) " >&6
13612   else
13613    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13629 | return crypt ();
13629    return 0;
13630   }
13631   _ACEOF
13632 < for ac_lib in '' crypt descrypt; do
13632 > for ac_lib in '' crypt; do
13633    if test -z "$ac_lib"; then
13634      ac_res="none required"
13635    else
# Line 12873 | Line 13641 | for ac_lib in '' crypt descrypt; do
13641   fi
13642   rm -f core conftest.err conftest.$ac_objext \
13643      conftest$ac_exeext
13644 <  if test "${ac_cv_search_crypt+set}" = set; then :
13644 >  if ${ac_cv_search_crypt+:} false; then :
13645    break
13646   fi
13647   done
13648 < if test "${ac_cv_search_crypt+set}" = set; then :
13648 > if ${ac_cv_search_crypt+:} false; then :
13649  
13650   else
13651    ac_cv_search_crypt=no
# Line 12893 | Line 13661 | if test "$ac_res" != no; then :
13661  
13662   fi
13663  
12896 if test "$ac_cv_search_crypt" = "none required"; then
12897  HAVE_CRYPT_TRUE=
12898  HAVE_CRYPT_FALSE='#'
12899 else
12900  HAVE_CRYPT_TRUE='#'
12901  HAVE_CRYPT_FALSE=
12902 fi
12903
13664  
13665 <
13666 <
13667 < # Check whether --with-zlib-path was given.
13668 < if test "${with_zlib_path+set}" = set; then :
13669 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13670 < fi
13671 <
13672 <
13673 < # Check whether --enable-zlib was given.
12914 < if test "${enable_zlib+set}" = set; then :
12915 <  enableval=$enable_zlib; zlib=$enableval
12916 < else
12917 <  zlib=yes
12918 < fi
12919 <
12920 <
12921 < if test "$zlib" = yes; then
12922 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12923 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12924 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12925 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12926 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13665 > # Check whether --enable-libpcre was given.
13666 > if test "${enable_libpcre+set}" = set; then :
13667 >  enableval=$enable_libpcre;
13668 > else
13669 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13670 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13672 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13673 > if ${ac_cv_search_pcre_study+:} false; then :
13674    $as_echo_n "(cached) " >&6
13675   else
13676 <  ac_check_lib_save_LIBS=$LIBS
12930 < LIBS="-lz  $LIBS"
13676 >  ac_func_search_save_LIBS=$LIBS
13677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13678   /* end confdefs.h.  */
13679  
# Line 12937 | Line 13683 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13683   #ifdef __cplusplus
13684   extern "C"
13685   #endif
13686 < char zlibVersion ();
13686 > char pcre_study ();
13687   int
13688   main ()
13689   {
13690 < return zlibVersion ();
13690 > return pcre_study ();
13691    ;
13692    return 0;
13693   }
13694   _ACEOF
13695 < if ac_fn_c_try_link "$LINENO"; then :
13696 <  ac_cv_lib_z_zlibVersion=yes
13697 < else
13698 <  ac_cv_lib_z_zlibVersion=no
13695 > for ac_lib in '' pcre; do
13696 >  if test -z "$ac_lib"; then
13697 >    ac_res="none required"
13698 >  else
13699 >    ac_res=-l$ac_lib
13700 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13701 >  fi
13702 >  if ac_fn_c_try_link "$LINENO"; then :
13703 >  ac_cv_search_pcre_study=$ac_res
13704   fi
13705   rm -f core conftest.err conftest.$ac_objext \
13706 <    conftest$ac_exeext conftest.$ac_ext
13707 < LIBS=$ac_check_lib_save_LIBS
13706 >    conftest$ac_exeext
13707 >  if ${ac_cv_search_pcre_study+:} false; then :
13708 >  break
13709   fi
13710 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13711 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12960 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12961 <
12962 <      LIBS="-lz $LIBS"
12963 <
12964 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12965 <
13710 > done
13711 > if ${ac_cv_search_pcre_study+:} false; then :
13712  
13713   else
13714 <  zlib=no
13714 >  ac_cv_search_pcre_study=no
13715 > fi
13716 > rm conftest.$ac_ext
13717 > LIBS=$ac_func_search_save_LIBS
13718   fi
13719 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13720 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13721 + ac_res=$ac_cv_search_pcre_study
13722 + if test "$ac_res" != no; then :
13723 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13724  
13725 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13726 +
13727 + fi
13728  
12972 else
12973  zlib=no
13729   fi
13730  
13731  
# Line 13016 | Line 13771 | if test "$cf_enable_openssl" != "no"; th
13771    fi
13772  
13773        if test ! -z "$cf_openssl_basedir"; then
13019    LIBS="-lcrypto -lssl $LIBS"
13774      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13775   $as_echo "$cf_openssl_basedir" >&6; }
13776      cf_enable_openssl="yes"
13023
13024 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13025
13777    else
13778 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13779 < $as_echo "not found.  Please check your path." >&6; }
13778 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13779 > $as_echo "not found. Please check your path." >&6; }
13780      cf_enable_openssl="no"
13781    fi
13782    unset cf_openssl_basedir
# Line 13033 | Line 13784 | else
13784      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13785   $as_echo "disabled" >&6; }
13786   fi
13787 < if test "$cf_enable_openssl" = yes; then
13788 <  ENABLE_SSL_TRUE=
13789 <  ENABLE_SSL_FALSE='#'
13787 >
13788 > if test "$cf_enable_openssl" != "no"; then :
13789 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13790 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13791 >  if test "$cross_compiling" = yes; then :
13792 >  cf_openssl_version_ok=no
13793   else
13794 <  ENABLE_SSL_TRUE='#'
13795 <  ENABLE_SSL_FALSE=
13794 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 > /* end confdefs.h.  */
13796 >
13797 >
13798 >    #include <openssl/opensslv.h>
13799 >    #include <stdlib.h>
13800 > int
13801 > main ()
13802 > {
13803 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13804 >  ;
13805 >  return 0;
13806 > }
13807 > _ACEOF
13808 > if ac_fn_c_try_run "$LINENO"; then :
13809 >  cf_openssl_version_ok=yes
13810 > else
13811 >  cf_openssl_version_ok=no
13812 > fi
13813 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13814 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13815   fi
13816  
13817  
13818 +  if test "$cf_openssl_version_ok" = "yes"; then :
13819 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13820 + $as_echo "found" >&6; }
13821 +
13822 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13823 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13824 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13825 +  $as_echo_n "(cached) " >&6
13826 + else
13827 +  ac_check_lib_save_LIBS=$LIBS
13828 + LIBS="-lcrypto  $LIBS"
13829 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 + /* end confdefs.h.  */
13831  
13832 < # Check whether --enable-assert was given.
13833 < if test "${enable_assert+set}" = set; then :
13834 <  enableval=$enable_assert; assert=$enableval
13832 > /* Override any GCC internal prototype to avoid an error.
13833 >   Use char because int might match the return type of a GCC
13834 >   builtin and then its argument prototype would still apply.  */
13835 > #ifdef __cplusplus
13836 > extern "C"
13837 > #endif
13838 > char RSA_free ();
13839 > int
13840 > main ()
13841 > {
13842 > return RSA_free ();
13843 >  ;
13844 >  return 0;
13845 > }
13846 > _ACEOF
13847 > if ac_fn_c_try_link "$LINENO"; then :
13848 >  ac_cv_lib_crypto_RSA_free=yes
13849   else
13850 <  assert=no
13850 >  ac_cv_lib_crypto_RSA_free=no
13851   fi
13852 + rm -f core conftest.err conftest.$ac_objext \
13853 +    conftest$ac_exeext conftest.$ac_ext
13854 + LIBS=$ac_check_lib_save_LIBS
13855 + fi
13856 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13857 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13858 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13859 +  cat >>confdefs.h <<_ACEOF
13860 + #define HAVE_LIBCRYPTO 1
13861 + _ACEOF
13862  
13863 < if test "$assert" = no; then
13054 <
13055 < $as_echo "#define NDEBUG 1" >>confdefs.h
13863 >  LIBS="-lcrypto $LIBS"
13864  
13865   fi
13866  
13867 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13868 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13869 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13870 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13871 +  $as_echo_n "(cached) " >&6
13872 + else
13873 +  ac_check_lib_save_LIBS=$LIBS
13874 + LIBS="-lssl  $LIBS"
13875 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 + /* end confdefs.h.  */
13877  
13878 < # Check whether --enable-small-net was given.
13879 < if test "${enable_small_net+set}" = set; then :
13880 <  enableval=$enable_small_net; small_net=$enableval
13878 > /* Override any GCC internal prototype to avoid an error.
13879 >   Use char because int might match the return type of a GCC
13880 >   builtin and then its argument prototype would still apply.  */
13881 > #ifdef __cplusplus
13882 > extern "C"
13883 > #endif
13884 > char SSL_connect ();
13885 > int
13886 > main ()
13887 > {
13888 > return SSL_connect ();
13889 >  ;
13890 >  return 0;
13891 > }
13892 > _ACEOF
13893 > if ac_fn_c_try_link "$LINENO"; then :
13894 >  ac_cv_lib_ssl_SSL_connect=yes
13895   else
13896 <  small_net=no
13896 >  ac_cv_lib_ssl_SSL_connect=no
13897   fi
13898 + rm -f core conftest.err conftest.$ac_objext \
13899 +    conftest$ac_exeext conftest.$ac_ext
13900 + LIBS=$ac_check_lib_save_LIBS
13901 + fi
13902 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13903 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13904 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13905 +  cat >>confdefs.h <<_ACEOF
13906 + #define HAVE_LIBSSL 1
13907 + _ACEOF
13908  
13909 +  LIBS="-lssl $LIBS"
13910  
13911 < if test "$small_net" = yes; then
13911 > fi
13912  
13913 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13913 > fi
13914  
13915 + else
13916 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13917 + $as_echo "no - OpenSSL support disabled" >&6; }
13918 +    cf_enable_openssl="no"
13919 + fi
13920 + fi
13921 +
13922 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13923 +  ENABLE_SSL_TRUE=
13924 +  ENABLE_SSL_FALSE='#'
13925 + else
13926 +  ENABLE_SSL_TRUE='#'
13927 +  ENABLE_SSL_FALSE=
13928 + fi
13929  
13073 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13930  
13931  
13932 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13932 > # Check whether --enable-assert was given.
13933 > if test "${enable_assert+set}" = set; then :
13934 >  enableval=$enable_assert; assert=$enableval
13935 > else
13936 >  assert=no
13937 > fi
13938  
13939  
13940 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13940 > if test "$assert" = "no"; then :
13941  
13942 + $as_echo "#define NDEBUG 1" >>confdefs.h
13943  
13944 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13944 > fi
13945  
13946  
13085 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13947  
13948 + $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13949  
13088 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13950  
13951 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
13952  
13091 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13953  
13954 < else
13954 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
13955  
13095 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13956  
13957 + $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
13958  
13098 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13959  
13960 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
13961  
13101 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13962  
13963 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
13964  
13104 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13965  
13966 + $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
13967  
13107 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13968  
13969 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13970  
13110 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13971  
13972 + $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
13973  
13113 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13974  
13975 + $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
13976  
13116 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13977  
13978 < fi
13978 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
13979  
13980  
13981   # Argument processing.
# Line 13222 | Line 14082 | _ACEOF
14082    if test "$cross_compiling" = yes; then :
14083    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14084   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14085 < as_fn_error "cannot run test program while cross compiling
14086 < See \`config.log' for more details." "$LINENO" 5; }
14085 > as_fn_error $? "cannot run test program while cross compiling
14086 > See \`config.log' for more details" "$LINENO" 5; }
14087   else
14088    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089   /* end confdefs.h.  */
# Line 13256 | Line 14116 | else
14116   #endif
14117   _syscall1(int, epoll_create, int, size)
14118   #endif
13259 main() { return epoll_create(256) == -1 ? 1 : 0; }
14119  
14120 + int
14121 + main ()
14122 + {
14123 + return epoll_create(256) == -1 ? 1 : 0
14124 +  ;
14125 +  return 0;
14126 + }
14127   _ACEOF
14128   if ac_fn_c_try_run "$LINENO"; then :
14129    is_epoll_mechanism_available="yes"
# Line 13327 | Line 14193 | _ACEOF
14193    if test "$cross_compiling" = yes; then :
14194    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14195   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14196 < as_fn_error "cannot run test program while cross compiling
14197 < See \`config.log' for more details." "$LINENO" 5; }
14196 > as_fn_error $? "cannot run test program while cross compiling
14197 > See \`config.log' for more details" "$LINENO" 5; }
14198   else
14199    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200   /* end confdefs.h.  */
14201  
14202 + #define _GNU_SOURCE
14203   #include <fcntl.h>
14204 < #ifdef F_SETSIG
13338 < main () { return 0; } /* F_SETSIG defined */
13339 < #else
13340 < main () { return 1; } /* F_SETSIG not defined */
13341 < #endif
14204 > static unsigned int have_f_setsig = 0;
14205  
14206   int
14207   main ()
14208   {
14209  
14210 + #ifdef F_SETSIG
14211 +  have_f_setsig = 1;
14212 + #endif
14213 +  return have_f_setsig == 0;
14214 +
14215    ;
14216    return 0;
14217   }
# Line 13477 | Line 14345 | rm -f core conftest.err conftest.$ac_obj
14345      if test "$optimal_iopoll_mechanism" = "none" ; then
14346        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14347   $as_echo "none" >&6; }
14348 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14348 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14349      else
14350        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14351        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13492 | Line 14360 | $as_echo "$selected_iopoll_mechanism" >&
14360      else
14361        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14362   $as_echo "none" >&6; }
14363 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14363 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14364      fi
14365    fi
14366        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13513 | Line 14381 | fi
14381  
14382  
14383   cat >>confdefs.h <<_ACEOF
14384 < #define NICKLEN ($nicklen+1)
14384 > #define NICKLEN ($nicklen)
14385   _ACEOF
14386  
14387  
# Line 13528 | Line 14396 | fi
14396  
14397  
14398   cat >>confdefs.h <<_ACEOF
14399 < #define TOPICLEN ($topiclen+1)
14399 > #define TOPICLEN ($topiclen)
14400   _ACEOF
14401  
14402  
14403  
13536
13537 # Check whether --with-syslog-facility was given.
13538 if test "${with_syslog_facility+set}" = set; then :
13539  withval=$with_syslog_facility; syslog_facility="$withval"
13540 else
13541  syslog_facility="LOG_LOCAL4"
13542 fi
13543
13544
13545 cat >>confdefs.h <<_ACEOF
13546 #define LOG_FACILITY $syslog_facility
13547 _ACEOF
13548
13549
13550
13551  # Check whether --enable-efnet was given.
13552 if test "${enable_efnet+set}" = set; then :
13553  enableval=$enable_efnet; efnet="$enableval"
13554 else
13555  efnet="no"
13556 fi
13557
13558  if test "$efnet" = "yes" ; then
13559                use_efnet="yes"
13560
13561 $as_echo "#define EFNET 1" >>confdefs.h
13562
13563
13564 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13565
13566        else
13567
13568 $as_echo "#define INVARIANTS 1" >>confdefs.h
13569
13570                use_efnet="no"
13571  fi
13572   if test "$use_efnet" = "yes"; then
13573  EFNET_TRUE=
13574  EFNET_FALSE='#'
13575 else
13576  EFNET_TRUE='#'
13577  EFNET_FALSE=
13578 fi
13579
13580
13581
14404    # Check whether --enable-halfops was given.
14405   if test "${enable_halfops+set}" = set; then :
14406    enableval=$enable_halfops; halfops="$enableval"
# Line 13601 | Line 14423 | else
14423   fi
14424  
14425    if test "$debugging" = "yes" ; then
14426 <
13605 < $as_echo "#define DEBUG 1" >>confdefs.h
13606 <
13607 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13608 <  else
13609 <
13610 < $as_echo "#define NDEBUG 1" >>confdefs.h
13611 <
14426 >    CFLAGS="-Wall -g -O0"
14427    fi
14428  
14429  
# Line 13620 | Line 14435 | else
14435   fi
14436  
14437    if test "$warnings" = "yes" ; then
14438 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13624 <  fi
13625 <
13626 <
13627 <  for ac_header in syslog.h sys/syslog.h
13628 < do :
13629 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13630 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13631 < eval as_val=\$$as_ac_Header
13632 <   if test "x$as_val" = x""yes; then :
13633 <  cat >>confdefs.h <<_ACEOF
13634 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13635 < _ACEOF
13636 <
13637 < fi
13638 <
13639 < done
13640 <
13641 <  # Check whether --enable-syslog was given.
13642 < if test "${enable_syslog+set}" = set; then :
13643 <  enableval=$enable_syslog; syslog="$enableval"
13644 < else
13645 <  syslog="no"
13646 < fi
13647 <
13648 <  if test "$enableval" != "no" ; then
13649 <    for option in $enableval ; do
13650 <      case "$option" in
13651 <        users)
13652 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13653 < ;;
13654 <        oper)
13655 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13656 < ;;
13657 <        yes) : ;;
13658 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13659 <      esac
13660 <    done
13661 <
13662 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13663 <
14438 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14439    fi
14440  
14441  
# Line 13750 | Line 14525 | _ACEOF
14525    test "$exec_prefix_NONE" && exec_prefix=NONE
14526  
14527  
14528 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf 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 lib/Makefile lib/pcre/Makefile tools/Makefile"
14528 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14529  
14530  
14531   cat >confcache <<\_ACEOF
# Line 13817 | Line 14592 | $as_echo "$as_me: WARNING: cache variabl
14592       :end' >>confcache
14593   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14594    if test -w "$cache_file"; then
14595 <    test "x$cache_file" != "x/dev/null" &&
14595 >    if test "x$cache_file" != "x/dev/null"; then
14596        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14597   $as_echo "$as_me: updating cache $cache_file" >&6;}
14598 <    cat confcache >$cache_file
14598 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14599 >        cat confcache >"$cache_file"
14600 >      else
14601 >        case $cache_file in #(
14602 >        */* | ?:*)
14603 >          mv -f confcache "$cache_file"$$ &&
14604 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14605 >        *)
14606 >          mv -f confcache "$cache_file" ;;
14607 >        esac
14608 >      fi
14609 >    fi
14610    else
14611      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14612   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13836 | Line 14622 | DEFS=-DHAVE_CONFIG_H
14622  
14623   ac_libobjs=
14624   ac_ltlibobjs=
14625 + U=
14626   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14627    # 1. Remove the extension, and $U if already installed.
14628    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13850 | Line 14637 | LIBOBJS=$ac_libobjs
14637   LTLIBOBJS=$ac_ltlibobjs
14638  
14639  
14640 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14641 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14642 +   if test -n "$am_sleep_pid"; then
14643 +     # Hide warnings about reused PIDs.
14644 +     wait $am_sleep_pid 2>/dev/null
14645 +   fi
14646 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14647 + $as_echo "done" >&6; }
14648   if test -n "$EXEEXT"; then
14649    am__EXEEXT_TRUE=
14650    am__EXEEXT_FALSE='#'
# Line 13859 | Line 14654 | else
14654   fi
14655  
14656   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14657 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14657 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14658   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14659   fi
14660   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14661 <  as_fn_error "conditional \"AMDEP\" was never defined.
14661 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14662   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14663   fi
14664   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14665 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14665 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14666   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14667   fi
14668   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14669 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14669 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14670   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14671   fi
14672   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14673 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14673 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14674   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14675   fi
14676   LT_CONFIG_H=config.h
# Line 13896 | Line 14691 | LT_CONFIG_H=config.h
14691  
14692  
14693  
13899 if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then
13900  as_fn_error "conditional \"HAVE_CRYPT\" was never defined.
13901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13902 fi
14694   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14695 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13905 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13906 < fi
13907 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13908 <  as_fn_error "conditional \"EFNET\" was never defined.
14695 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14696   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14697   fi
14698  
14699 < : ${CONFIG_STATUS=./config.status}
14699 > : "${CONFIG_STATUS=./config.status}"
14700   ac_write_fail=0
14701   ac_clean_files_save=$ac_clean_files
14702   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14010 | Line 14797 | fi
14797   IFS=" ""        $as_nl"
14798  
14799   # Find who we are.  Look in the path if we contain no directory separator.
14800 + as_myself=
14801   case $0 in #((
14802    *[\\/]* ) as_myself=$0 ;;
14803    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14055 | Line 14843 | export LANGUAGE
14843   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14844  
14845  
14846 < # as_fn_error ERROR [LINENO LOG_FD]
14847 < # ---------------------------------
14846 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14847 > # ----------------------------------------
14848   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14849   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14850 < # script with status $?, using 1 if that was 0.
14850 > # script with STATUS, using 1 if that was 0.
14851   as_fn_error ()
14852   {
14853 <  as_status=$?; test $as_status -eq 0 && as_status=1
14854 <  if test "$3"; then
14855 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14856 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14853 >  as_status=$1; test $as_status -eq 0 && as_status=1
14854 >  if test "$4"; then
14855 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14856 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14857    fi
14858 <  $as_echo "$as_me: error: $1" >&2
14858 >  $as_echo "$as_me: error: $2" >&2
14859    as_fn_exit $as_status
14860   } # as_fn_error
14861  
# Line 14205 | Line 14993 | if (echo >conf$$.file) 2>/dev/null; then
14993      # ... but there are two gotchas:
14994      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14995      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14996 <    # In both cases, we have to default to `cp -p'.
14996 >    # In both cases, we have to default to `cp -pR'.
14997      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14998 <      as_ln_s='cp -p'
14998 >      as_ln_s='cp -pR'
14999    elif ln conf$$.file conf$$ 2>/dev/null; then
15000      as_ln_s=ln
15001    else
15002 <    as_ln_s='cp -p'
15002 >    as_ln_s='cp -pR'
15003    fi
15004   else
15005 <  as_ln_s='cp -p'
15005 >  as_ln_s='cp -pR'
15006   fi
15007   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15008   rmdir conf$$.dir 2>/dev/null
# Line 14263 | Line 15051 | $as_echo X"$as_dir" |
15051        test -d "$as_dir" && break
15052      done
15053      test -z "$as_dirs" || eval "mkdir $as_dirs"
15054 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15054 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15055  
15056  
15057   } # as_fn_mkdir_p
# Line 14274 | Line 15062 | else
15062    as_mkdir_p=false
15063   fi
15064  
15065 < if test -x / >/dev/null 2>&1; then
15066 <  as_test_x='test -x'
15067 < else
15068 <  if ls -dL / >/dev/null 2>&1; then
15069 <    as_ls_L_option=L
15070 <  else
15071 <    as_ls_L_option=
15072 <  fi
15073 <  as_test_x='
15074 <    eval sh -c '\''
14287 <      if test -d "$1"; then
14288 <        test -d "$1/.";
14289 <      else
14290 <        case $1 in #(
14291 <        -*)set "./$1";;
14292 <        esac;
14293 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14294 <        ???[sx]*):;;*)false;;esac;fi
14295 <    '\'' sh
14296 <  '
14297 < fi
14298 < as_executable_p=$as_test_x
15065 >
15066 > # as_fn_executable_p FILE
15067 > # -----------------------
15068 > # Test if FILE is an executable regular file.
15069 > as_fn_executable_p ()
15070 > {
15071 >  test -f "$1" && test -x "$1"
15072 > } # as_fn_executable_p
15073 > as_test_x='test -x'
15074 > as_executable_p=as_fn_executable_p
15075  
15076   # Sed expression to map a string onto a valid CPP name.
15077   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14316 | Line 15092 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15092   # report actual input values of CONFIG_FILES etc. instead of their
15093   # values after options handling.
15094   ac_log="
15095 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15096 < generated by GNU Autoconf 2.64.  Invocation command line was
15095 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15096 > generated by GNU Autoconf 2.69.  Invocation command line was
15097  
15098    CONFIG_FILES    = $CONFIG_FILES
15099    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14357 | Line 15133 | Usage: $0 [OPTION]... [TAG]...
15133  
15134    -h, --help       print this help, then exit
15135    -V, --version    print version number and configuration settings, then exit
15136 +      --config     print configuration, then exit
15137    -q, --quiet, --silent
15138                     do not print progress messages
15139    -d, --debug      don't remove temporary files
# Line 14375 | Line 15152 | $config_headers
15152   Configuration commands:
15153   $config_commands
15154  
15155 < Report bugs to the package provider."
15155 > Report bugs to <bugs@ircd-hybrid.org>."
15156  
15157   _ACEOF
15158   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15159 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15160   ac_cs_version="\\
15161 < ircd-hybrid config.status 7.2.4
15162 < configured by $0, generated by GNU Autoconf 2.64,
15163 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15161 > ircd-hybrid config.status TRUNK
15162 > configured by $0, generated by GNU Autoconf 2.69,
15163 >  with options \\"\$ac_cs_config\\"
15164  
15165 < Copyright (C) 2009 Free Software Foundation, Inc.
15165 > Copyright (C) 2012 Free Software Foundation, Inc.
15166   This config.status script is free software; the Free Software Foundation
15167   gives unlimited permission to copy, distribute and modify it."
15168  
# Line 14402 | Line 15180 | ac_need_defaults=:
15180   while test $# != 0
15181   do
15182    case $1 in
15183 <  --*=*)
15183 >  --*=?*)
15184      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15185      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15186      ac_shift=:
15187      ;;
15188 +  --*=)
15189 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15190 +    ac_optarg=
15191 +    ac_shift=:
15192 +    ;;
15193    *)
15194      ac_option=$1
15195      ac_optarg=$2
# Line 14420 | Line 15203 | do
15203      ac_cs_recheck=: ;;
15204    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15205      $as_echo "$ac_cs_version"; exit ;;
15206 +  --config | --confi | --conf | --con | --co | --c )
15207 +    $as_echo "$ac_cs_config"; exit ;;
15208    --debug | --debu | --deb | --de | --d | -d )
15209      debug=: ;;
15210    --file | --fil | --fi | --f )
15211      $ac_shift
15212      case $ac_optarg in
15213      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15214 +    '') as_fn_error $? "missing file argument" ;;
15215      esac
15216      as_fn_append CONFIG_FILES " '$ac_optarg'"
15217      ac_need_defaults=false;;
# Line 14438 | Line 15224 | do
15224      ac_need_defaults=false;;
15225    --he | --h)
15226      # Conflict between --help and --header
15227 <    as_fn_error "ambiguous option: \`$1'
15227 >    as_fn_error $? "ambiguous option: \`$1'
15228   Try \`$0 --help' for more information.";;
15229    --help | --hel | -h )
15230      $as_echo "$ac_cs_usage"; exit ;;
# Line 14447 | Line 15233 | Try \`$0 --help' for more information.";
15233      ac_cs_silent=: ;;
15234  
15235    # This is an error.
15236 <  -*) as_fn_error "unrecognized option: \`$1'
15236 >  -*) as_fn_error $? "unrecognized option: \`$1'
15237   Try \`$0 --help' for more information." ;;
15238  
15239    *) as_fn_append ac_config_targets " $1"
# Line 14467 | Line 15253 | fi
15253   _ACEOF
15254   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15255   if \$ac_cs_recheck; then
15256 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15256 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15257    shift
15258    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15259    CONFIG_SHELL='$SHELL'
# Line 14501 | Line 15287 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15287   sed_quote_subst='$sed_quote_subst'
15288   double_quote_subst='$double_quote_subst'
15289   delay_variable_subst='$delay_variable_subst'
15290 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15291 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15292 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15293 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15294 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15295 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15296 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15297 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15298 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15299 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15300 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15301 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15302 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15303 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15304 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15305 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15306 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15307 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15308 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15309 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15310 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15311 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15312 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15313 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15314 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15315 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15316 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15317 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15318 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15319 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15320 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15321 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15322 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15323 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15324 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15325 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15326 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15327 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15328 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15329 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15330 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15331 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15332 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15333 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15334 < 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"`'
15335 < 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"`'
15336 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15337 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15338 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15339 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15340 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15341 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15342 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15343 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15344 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15345 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15346 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15347 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15348 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15349 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15350 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15351 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15352 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15353 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15354 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15355 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15356 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15357 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15358 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15359 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15360 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15361 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15362 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15363 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15364 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15365 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15366 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15367 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15368 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15369 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15370 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15371 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15372 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15373 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15374 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15375 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15376 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15377 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15378 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15379 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15380 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15381 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15382 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15383 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15384 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15385 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15386 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15387 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15388 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15389 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15390 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15391 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15392 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15393 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15394 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15395 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15396 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15397 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15398 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15399 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15400 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15401 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15402 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15403 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15404 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15405 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15406 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15407 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15290 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15291 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15292 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15293 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15294 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15295 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15296 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15297 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15298 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15299 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15300 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15301 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15302 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15303 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15304 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15305 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15306 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15307 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15308 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15309 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15310 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15311 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15312 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15313 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15314 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15315 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15316 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15317 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15318 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15319 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15320 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15321 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15322 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15323 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15324 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15325 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15326 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15327 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15328 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15329 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15330 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15331 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15332 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15333 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15334 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15335 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15336 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15337 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15338 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15339 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15340 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15341 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15342 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15343 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15344 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15345 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15346 > 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"`'
15347 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15348 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15349 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15350 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15351 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15352 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15353 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15354 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15355 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15356 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15357 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15358 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15359 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15360 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15361 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15362 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15363 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15364 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15365 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15366 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15367 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15368 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15369 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15370 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15371 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15372 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15373 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15374 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15375 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15376 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15377 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15378 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15379 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15380 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15381 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15382 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15383 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15384 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15385 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15386 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15387 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15388 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15389 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15390 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15391 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15392 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15393 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15394 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15395 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15396 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15397 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15398 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15399 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15400 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15401 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15402 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15403 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15404 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15405 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15406 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15407 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15408 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15409 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15410 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15411 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15412 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15413 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15414 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15415 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15416 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15417 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15418 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15419 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15420  
15421   LTCC='$LTCC'
15422   LTCFLAGS='$LTCFLAGS'
15423   compiler='$compiler_DEFAULT'
15424  
15425 + # A function that is used when there is no print builtin or printf.
15426 + func_fallback_echo ()
15427 + {
15428 +  eval 'cat <<_LTECHO_EOF
15429 + \$1
15430 + _LTECHO_EOF'
15431 + }
15432 +
15433   # Quote evaled strings.
15434 < for var in SED \
15434 > for var in SHELL \
15435 > ECHO \
15436 > PATH_SEPARATOR \
15437 > SED \
15438   GREP \
15439   EGREP \
15440   FGREP \
# Line 14638 | Line 15447 | reload_flag \
15447   OBJDUMP \
15448   deplibs_check_method \
15449   file_magic_cmd \
15450 + file_magic_glob \
15451 + want_nocaseglob \
15452 + DLLTOOL \
15453 + sharedlib_from_linklib_cmd \
15454   AR \
15455   AR_FLAGS \
15456 + archiver_list_spec \
15457   STRIP \
15458   RANLIB \
15459   CC \
# Line 14649 | Line 15463 | lt_cv_sys_global_symbol_pipe \
15463   lt_cv_sys_global_symbol_to_cdecl \
15464   lt_cv_sys_global_symbol_to_c_name_address \
15465   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15466 < SHELL \
14653 < ECHO \
15466 > nm_file_list_spec \
15467   lt_prog_compiler_no_builtin_flag \
14655 lt_prog_compiler_wl \
15468   lt_prog_compiler_pic \
15469 + lt_prog_compiler_wl \
15470   lt_prog_compiler_static \
15471   lt_cv_prog_compiler_c_o \
15472   need_locks \
15473 + MANIFEST_TOOL \
15474   DSYMUTIL \
15475   NMEDIT \
15476   LIPO \
# Line 14670 | Line 15484 | with_gnu_ld \
15484   allow_undefined_flag \
15485   no_undefined_flag \
15486   hardcode_libdir_flag_spec \
14673 hardcode_libdir_flag_spec_ld \
15487   hardcode_libdir_separator \
14675 fix_srcfile_path \
15488   exclude_expsyms \
15489   include_expsyms \
15490   file_list_spec \
# Line 14680 | Line 15492 | variables_saved_for_relink \
15492   libname_spec \
15493   library_names_spec \
15494   soname_spec \
15495 + install_override_mode \
15496   finish_eval \
15497   old_striplib \
15498   striplib; do
15499 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15499 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15500      *[\\\\\\\`\\"\\\$]*)
15501 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15501 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15502        ;;
15503      *)
15504        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14707 | Line 15520 | module_cmds \
15520   module_expsym_cmds \
15521   export_symbols_cmds \
15522   prelink_cmds \
15523 + postlink_cmds \
15524   postinstall_cmds \
15525   postuninstall_cmds \
15526   finish_cmds \
15527   sys_lib_search_path_spec \
15528   sys_lib_dlsearch_path_spec; do
15529 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15529 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15530      *[\\\\\\\`\\"\\\$]*)
15531 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15531 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15532        ;;
15533      *)
15534        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14722 | Line 15536 | sys_lib_dlsearch_path_spec; do
15536      esac
15537   done
15538  
14725 # Fix-up fallback echo if it was mangled by the above quoting rules.
14726 case \$lt_ECHO in
14727 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14728  ;;
14729 esac
14730
15539   ac_aux_dir='$ac_aux_dir'
15540   xsi_shell='$xsi_shell'
15541   lt_shell_append='$lt_shell_append'
# Line 14760 | Line 15568 | do
15568      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15569      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15570      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14763    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14764    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14765    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14766    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14767    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14768    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14769    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15571      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15572 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15573      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15574      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15575      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14775 | Line 15577 | do
15577      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15578      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15579      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14778    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14779    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
15580      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15581  
15582 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15582 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15583    esac
15584   done
15585  
# Line 14802 | Line 15602 | fi
15602   # after its creation but before its name has been assigned to `$tmp'.
15603   $debug ||
15604   {
15605 <  tmp=
15605 >  tmp= ac_tmp=
15606    trap 'exit_status=$?
15607 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15607 >  : "${ac_tmp:=$tmp}"
15608 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15609   ' 0
15610    trap 'as_fn_exit 1' 1 2 13 15
15611   }
# Line 14812 | Line 15613 | $debug ||
15613  
15614   {
15615    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15616 <  test -n "$tmp" && test -d "$tmp"
15616 >  test -d "$tmp"
15617   }  ||
15618   {
15619    tmp=./conf$$-$RANDOM
15620    (umask 077 && mkdir "$tmp")
15621 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15621 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15622 > ac_tmp=$tmp
15623  
15624   # Set up the scripts for CONFIG_FILES section.
15625   # No need to generate them if there are no CONFIG_FILES.
# Line 14834 | Line 15636 | if test "x$ac_cr" = x; then
15636   fi
15637   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15638   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15639 <  ac_cs_awk_cr='\r'
15639 >  ac_cs_awk_cr='\\r'
15640   else
15641    ac_cs_awk_cr=$ac_cr
15642   fi
15643  
15644 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15644 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15645   _ACEOF
15646  
15647  
# Line 14848 | Line 15650 | _ACEOF
15650    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15651    echo "_ACEOF"
15652   } >conf$$subs.sh ||
15653 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15654 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15653 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15654 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15655   ac_delim='%!_!# '
15656   for ac_last_try in false false false false false :; do
15657    . ./conf$$subs.sh ||
15658 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15658 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15659  
15660    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15661    if test $ac_delim_n = $ac_delim_num; then
15662      break
15663    elif $ac_last_try; then
15664 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15664 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15665    else
15666      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15667    fi
# Line 14867 | Line 15669 | done
15669   rm -f conf$$subs.sh
15670  
15671   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15672 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15672 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15673   _ACEOF
15674   sed -n '
15675   h
# Line 14881 | Line 15683 | s/'"$ac_delim"'$//
15683   t delim
15684   :nl
15685   h
15686 < s/\(.\{148\}\).*/\1/
15686 > s/\(.\{148\}\)..*/\1/
15687   t more1
15688   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15689   p
# Line 14895 | Line 15697 | s/.\{148\}//
15697   t nl
15698   :delim
15699   h
15700 < s/\(.\{148\}\).*/\1/
15700 > s/\(.\{148\}\)..*/\1/
15701   t more2
15702   s/["\\]/\\&/g; s/^/"/; s/$/"/
15703   p
# Line 14915 | Line 15717 | t delim
15717   rm -f conf$$subs.awk
15718   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15719   _ACAWK
15720 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15720 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15721    for (key in S) S_is_set[key] = 1
15722    FS = ""
15723  
# Line 14947 | Line 15749 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15749    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15750   else
15751    cat
15752 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15753 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15752 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15753 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15754   _ACEOF
15755  
15756 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15757 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15756 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15757 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15758   # trailing colons and then remove the whole line if VPATH becomes empty
15759   # (actually we leave an empty line to preserve line numbers).
15760   if test "x$srcdir" = x.; then
15761 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15762 < s/:*\$(srcdir):*/:/
15763 < s/:*\${srcdir}:*/:/
15764 < s/:*@srcdir@:*/:/
15765 < s/^\([^=]*=[     ]*\):*/\1/
15761 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15762 > h
15763 > s///
15764 > s/^/:/
15765 > s/[      ]*$/:/
15766 > s/:\$(srcdir):/:/g
15767 > s/:\${srcdir}:/:/g
15768 > s/:@srcdir@:/:/g
15769 > s/^:*//
15770   s/:*$//
15771 + x
15772 + s/\(=[   ]*\).*/\1/
15773 + G
15774 + s/\n//
15775   s/^[^=]*=[       ]*$//
15776   }'
15777   fi
# Line 14973 | Line 15783 | fi # test -n "$CONFIG_FILES"
15783   # No need to generate them if there are no CONFIG_HEADERS.
15784   # This happens for instance with `./config.status Makefile'.
15785   if test -n "$CONFIG_HEADERS"; then
15786 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15786 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15787   BEGIN {
15788   _ACEOF
15789  
# Line 14985 | Line 15795 | _ACEOF
15795   # handling of long lines.
15796   ac_delim='%!_!# '
15797   for ac_last_try in false false :; do
15798 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15799 <  if test -z "$ac_t"; then
15798 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15799 >  if test -z "$ac_tt"; then
15800      break
15801    elif $ac_last_try; then
15802 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15802 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15803    else
15804      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15805    fi
# Line 15074 | Line 15884 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15884   _ACAWK
15885   _ACEOF
15886   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15887 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15887 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15888   fi # test -n "$CONFIG_HEADERS"
15889  
15890  
# Line 15087 | Line 15897 | do
15897    esac
15898    case $ac_mode$ac_tag in
15899    :[FHL]*:*);;
15900 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15900 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15901    :[FH]-) ac_tag=-:-;;
15902    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15903    esac
# Line 15106 | Line 15916 | do
15916      for ac_f
15917      do
15918        case $ac_f in
15919 <      -) ac_f="$tmp/stdin";;
15919 >      -) ac_f="$ac_tmp/stdin";;
15920        *) # Look for the file first in the build tree, then in the source tree
15921           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15922           # because $ac_f cannot contain `:'.
# Line 15115 | Line 15925 | do
15925             [\\/$]*) false;;
15926             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15927             esac ||
15928 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15928 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15929        esac
15930        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15931        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15141 | Line 15951 | $as_echo "$as_me: creating $ac_file" >&6
15951      esac
15952  
15953      case $ac_tag in
15954 <    *:-:* | *:-) cat >"$tmp/stdin" \
15955 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15954 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15955 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15956      esac
15957      ;;
15958    esac
# Line 15278 | Line 16088 | s&@INSTALL@&$ac_INSTALL&;t t
16088   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16089   $ac_datarootdir_hack
16090   "
16091 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16092 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16091 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16092 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16093  
16094   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16095 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16096 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16095 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16096 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16097 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16098    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16099 < which seems to be undefined.  Please make sure it is defined." >&5
16099 > which seems to be undefined.  Please make sure it is defined" >&5
16100   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16101 < which seems to be undefined.  Please make sure it is defined." >&2;}
16101 > which seems to be undefined.  Please make sure it is defined" >&2;}
16102  
16103 <  rm -f "$tmp/stdin"
16103 >  rm -f "$ac_tmp/stdin"
16104    case $ac_file in
16105 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16106 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16105 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16106 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16107    esac \
16108 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16108 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16109   ;;
16110    :H)
16111    #
# Line 15303 | Line 16114 | which seems to be undefined.  Please mak
16114    if test x"$ac_file" != x-; then
16115      {
16116        $as_echo "/* $configure_input  */" \
16117 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16118 <    } >"$tmp/config.h" \
16119 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16120 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16117 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16118 >    } >"$ac_tmp/config.h" \
16119 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16120 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16121        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16122   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16123      else
16124        rm -f "$ac_file"
16125 <      mv "$tmp/config.h" "$ac_file" \
16126 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16125 >      mv "$ac_tmp/config.h" "$ac_file" \
16126 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16127      fi
16128    else
16129      $as_echo "/* $configure_input  */" \
16130 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16131 <      || as_fn_error "could not create -" "$LINENO" 5
16130 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16131 >      || as_fn_error $? "could not create -" "$LINENO" 5
16132    fi
16133   # Compute "$ac_file"'s index in $config_headers.
16134   _am_arg="$ac_file"
# Line 15363 | Line 16174 | $as_echo "$as_me: executing $ac_file com
16174  
16175    case $ac_file$ac_mode in
16176      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16177 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16177 >  # Older Autoconf quotes --file arguments for eval, but not when files
16178    # are listed without --file.  Let's play safe and only enable the eval
16179    # if we detect the quoting.
16180    case $CONFIG_FILES in
# Line 15376 | Line 16187 | $as_echo "$as_me: executing $ac_file com
16187      # Strip MF so we end up with the name of the file.
16188      mf=`echo "$mf" | sed -e 's/:.*$//'`
16189      # Check whether this is an Automake generated Makefile or not.
16190 <    # We used to match only the files named `Makefile.in', but
16190 >    # We used to match only the files named 'Makefile.in', but
16191      # some people rename them; so instead we look at the file content.
16192      # Grep'ing the first line is not enough: some people post-process
16193      # each Makefile.in and add a new line on top of each file to say so.
# Line 15410 | Line 16221 | $as_echo X"$mf" |
16221        continue
16222      fi
16223      # Extract the definition of DEPDIR, am__include, and am__quote
16224 <    # from the Makefile without running `make'.
16224 >    # from the Makefile without running 'make'.
16225      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16226      test -z "$DEPDIR" && continue
16227      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16228      test -z "am__include" && continue
16229      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15419    # When using ansi2knr, U may be empty or an underscore; expand it
15420    U=`sed -n 's/^U = //p' < "$mf"`
16230      # Find all dependency output files, they are included files with
16231      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16232      # simplest approach to changing $(DEPDIR) to its actual value in the
16233      # expansion.
16234      for file in `sed -n "
16235        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16236 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16236 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16237        # Make sure the directory exists.
16238        test -f "$dirpart/$file" && continue
16239        fdir=`$as_dirname -- "$file" ||
# Line 15478 | Line 16287 | $as_echo X"$file" |
16287   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16288   #
16289   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16290 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16290 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16291 > #                 Foundation, Inc.
16292   #   Written by Gordon Matzigkeit, 1996
16293   #
16294   #   This file is part of GNU Libtool.
# Line 15514 | Line 16324 | available_tags=""
16324   macro_version=$macro_version
16325   macro_revision=$macro_revision
16326  
15517 # Whether or not to build shared libraries.
15518 build_libtool_libs=$enable_shared
15519
16327   # Whether or not to build static libraries.
16328   build_old_libs=$enable_static
16329  
16330 + # Whether or not to build shared libraries.
16331 + build_libtool_libs=$enable_shared
16332 +
16333   # What type of objects to build.
16334   pic_mode=$pic_mode
16335  
16336   # Whether or not to optimize for fast installation.
16337   fast_install=$enable_fast_install
16338  
16339 + # Shell to use when invoking shell scripts.
16340 + SHELL=$lt_SHELL
16341 +
16342 + # An echo program that protects backslashes.
16343 + ECHO=$lt_ECHO
16344 +
16345 + # The PATH separator for the build system.
16346 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16347 +
16348   # The host system.
16349   host_alias=$host_alias
16350   host=$host
# Line 15575 | Line 16394 | SP2NL=$lt_lt_SP2NL
16394   # turn newlines into spaces.
16395   NL2SP=$lt_lt_NL2SP
16396  
16397 < # How to create reloadable object files.
16398 < reload_flag=$lt_reload_flag
16399 < reload_cmds=$lt_reload_cmds
16397 > # convert \$build file names to \$host format.
16398 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16399 >
16400 > # convert \$build files to toolchain format.
16401 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16402  
16403   # An object symbol dumper.
16404   OBJDUMP=$lt_OBJDUMP
# Line 15585 | Line 16406 | OBJDUMP=$lt_OBJDUMP
16406   # Method to check whether dependent libraries are shared objects.
16407   deplibs_check_method=$lt_deplibs_check_method
16408  
16409 < # Command to use when deplibs_check_method == "file_magic".
16409 > # Command to use when deplibs_check_method = "file_magic".
16410   file_magic_cmd=$lt_file_magic_cmd
16411  
16412 + # How to find potential files when deplibs_check_method = "file_magic".
16413 + file_magic_glob=$lt_file_magic_glob
16414 +
16415 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16416 + want_nocaseglob=$lt_want_nocaseglob
16417 +
16418 + # DLL creation program.
16419 + DLLTOOL=$lt_DLLTOOL
16420 +
16421 + # Command to associate shared and link libraries.
16422 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16423 +
16424   # The archiver.
16425   AR=$lt_AR
16426 +
16427 + # Flags to create an archive.
16428   AR_FLAGS=$lt_AR_FLAGS
16429  
16430 + # How to feed a file listing to the archiver.
16431 + archiver_list_spec=$lt_archiver_list_spec
16432 +
16433   # A symbol stripping program.
16434   STRIP=$lt_STRIP
16435  
# Line 15600 | Line 16438 | RANLIB=$lt_RANLIB
16438   old_postinstall_cmds=$lt_old_postinstall_cmds
16439   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16440  
16441 + # Whether to use a lock for old archive extraction.
16442 + lock_old_archive_extraction=$lock_old_archive_extraction
16443 +
16444   # A C compiler.
16445   LTCC=$lt_CC
16446  
# Line 15618 | Line 16459 | global_symbol_to_c_name_address=$lt_lt_c
16459   # Transform the output of nm in a C name address pair when lib prefix is needed.
16460   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16461  
16462 < # The name of the directory that contains temporary libtool files.
16463 < objdir=$objdir
16462 > # Specify filename containing input files for \$NM.
16463 > nm_file_list_spec=$lt_nm_file_list_spec
16464  
16465 < # Shell to use when invoking shell scripts.
16466 < SHELL=$lt_SHELL
16465 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16466 > lt_sysroot=$lt_sysroot
16467  
16468 < # An echo program that does not interpret backslashes.
16469 < ECHO=$lt_ECHO
16468 > # The name of the directory that contains temporary libtool files.
16469 > objdir=$objdir
16470  
16471   # Used to examine libraries when file_magic_cmd begins with "file".
16472   MAGIC_CMD=$MAGIC_CMD
# Line 15633 | Line 16474 | MAGIC_CMD=$MAGIC_CMD
16474   # Must we lock files when doing compilation?
16475   need_locks=$lt_need_locks
16476  
16477 + # Manifest tool.
16478 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16479 +
16480   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16481   DSYMUTIL=$lt_DSYMUTIL
16482  
# Line 15689 | Line 16533 | library_names_spec=$lt_library_names_spe
16533   # The coded name of the library, if different from the real name.
16534   soname_spec=$lt_soname_spec
16535  
16536 + # Permission mode override for installation of shared libraries.
16537 + install_override_mode=$lt_install_override_mode
16538 +
16539   # Command to use after installation of a shared archive.
16540   postinstall_cmds=$lt_postinstall_cmds
16541  
# Line 15728 | Line 16575 | striplib=$lt_striplib
16575   # The linker used to build libraries.
16576   LD=$lt_LD
16577  
16578 + # How to create reloadable object files.
16579 + reload_flag=$lt_reload_flag
16580 + reload_cmds=$lt_reload_cmds
16581 +
16582   # Commands used to build an old-style archive.
16583   old_archive_cmds=$lt_old_archive_cmds
16584  
# Line 15740 | Line 16591 | with_gcc=$GCC
16591   # Compiler flag to turn off builtin functions.
16592   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16593  
15743 # How to pass a linker flag through the compiler.
15744 wl=$lt_lt_prog_compiler_wl
15745
16594   # Additional compiler flags for building library objects.
16595   pic_flag=$lt_lt_prog_compiler_pic
16596  
16597 + # How to pass a linker flag through the compiler.
16598 + wl=$lt_lt_prog_compiler_wl
16599 +
16600   # Compiler flag to prevent dynamic linking.
16601   link_static_flag=$lt_lt_prog_compiler_static
16602  
# Line 15795 | Line 16646 | no_undefined_flag=$lt_no_undefined_flag
16646   # This must work even if \$libdir does not exist
16647   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16648  
15798 # If ld is used when linking, flag to hardcode \$libdir into a binary
15799 # during linking.  This must work even if \$libdir does not exist.
15800 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15801
16649   # Whether we need a single "-rpath" flag with a separated argument.
16650   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16651  
# Line 15832 | Line 16679 | inherit_rpath=$inherit_rpath
16679   # Whether libtool must link a program against all its dependency libraries.
16680   link_all_deplibs=$link_all_deplibs
16681  
15835 # Fix the shell variable \$srcfile for the compiler.
15836 fix_srcfile_path=$lt_fix_srcfile_path
15837
16682   # Set to "yes" if exported symbols are required.
16683   always_export_symbols=$always_export_symbols
16684  
# Line 15850 | Line 16694 | include_expsyms=$lt_include_expsyms
16694   # Commands necessary for linking programs (against libraries) with templates.
16695   prelink_cmds=$lt_prelink_cmds
16696  
16697 + # Commands necessary for finishing linking programs.
16698 + postlink_cmds=$lt_postlink_cmds
16699 +
16700   # Specify filename containing input files.
16701   file_list_spec=$lt_file_list_spec
16702  
# Line 15882 | Line 16729 | ltmain="$ac_aux_dir/ltmain.sh"
16729    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16730    # text mode, it properly converts lines to CR/LF.  This bash problem
16731    # is reportedly fixed, but why not run on old versions too?
16732 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16733 <    || (rm -f "$cfgfile"; exit 1)
15887 <
15888 <  case $xsi_shell in
15889 <  yes)
15890 <    cat << \_LT_EOF >> "$cfgfile"
15891 <
15892 < # func_dirname file append nondir_replacement
15893 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15894 < # otherwise set result to NONDIR_REPLACEMENT.
15895 < func_dirname ()
15896 < {
15897 <  case ${1} in
15898 <    */*) func_dirname_result="${1%/*}${2}" ;;
15899 <    *  ) func_dirname_result="${3}" ;;
15900 <  esac
15901 < }
15902 <
15903 < # func_basename file
15904 < func_basename ()
15905 < {
15906 <  func_basename_result="${1##*/}"
15907 < }
15908 <
15909 < # func_dirname_and_basename file append nondir_replacement
15910 < # perform func_basename and func_dirname in a single function
15911 < # call:
15912 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15913 < #             add APPEND to the result, otherwise set result
15914 < #             to NONDIR_REPLACEMENT.
15915 < #             value returned in "$func_dirname_result"
15916 < #   basename: Compute filename of FILE.
15917 < #             value retuned in "$func_basename_result"
15918 < # Implementation must be kept synchronized with func_dirname
15919 < # and func_basename. For efficiency, we do not delegate to
15920 < # those functions but instead duplicate the functionality here.
15921 < func_dirname_and_basename ()
15922 < {
15923 <  case ${1} in
15924 <    */*) func_dirname_result="${1%/*}${2}" ;;
15925 <    *  ) func_dirname_result="${3}" ;;
15926 <  esac
15927 <  func_basename_result="${1##*/}"
15928 < }
15929 <
15930 < # func_stripname prefix suffix name
15931 < # strip PREFIX and SUFFIX off of NAME.
15932 < # PREFIX and SUFFIX must not contain globbing or regex special
15933 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15934 < # dot (in which case that matches only a dot).
15935 < func_stripname ()
15936 < {
15937 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15938 <  # positional parameters, so assign one to ordinary parameter first.
15939 <  func_stripname_result=${3}
15940 <  func_stripname_result=${func_stripname_result#"${1}"}
15941 <  func_stripname_result=${func_stripname_result%"${2}"}
15942 < }
15943 <
15944 < # func_opt_split
15945 < func_opt_split ()
15946 < {
15947 <  func_opt_split_opt=${1%%=*}
15948 <  func_opt_split_arg=${1#*=}
15949 < }
15950 <
15951 < # func_lo2o object
15952 < func_lo2o ()
15953 < {
15954 <  case ${1} in
15955 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15956 <    *)    func_lo2o_result=${1} ;;
15957 <  esac
15958 < }
15959 <
15960 < # func_xform libobj-or-source
15961 < func_xform ()
15962 < {
15963 <  func_xform_result=${1%.*}.lo
15964 < }
15965 <
15966 < # func_arith arithmetic-term...
15967 < func_arith ()
15968 < {
15969 <  func_arith_result=$(( $* ))
15970 < }
15971 <
15972 < # func_len string
15973 < # STRING may not start with a hyphen.
15974 < func_len ()
15975 < {
15976 <  func_len_result=${#1}
15977 < }
15978 <
15979 < _LT_EOF
15980 <    ;;
15981 <  *) # Bourne compatible functions.
15982 <    cat << \_LT_EOF >> "$cfgfile"
15983 <
15984 < # func_dirname file append nondir_replacement
15985 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15986 < # otherwise set result to NONDIR_REPLACEMENT.
15987 < func_dirname ()
15988 < {
15989 <  # Extract subdirectory from the argument.
15990 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15991 <  if test "X$func_dirname_result" = "X${1}"; then
15992 <    func_dirname_result="${3}"
15993 <  else
15994 <    func_dirname_result="$func_dirname_result${2}"
15995 <  fi
15996 < }
15997 <
15998 < # func_basename file
15999 < func_basename ()
16000 < {
16001 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16002 < }
16003 <
16004 <
16005 < # func_stripname prefix suffix name
16006 < # strip PREFIX and SUFFIX off of NAME.
16007 < # PREFIX and SUFFIX must not contain globbing or regex special
16008 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16009 < # dot (in which case that matches only a dot).
16010 < # func_strip_suffix prefix name
16011 < func_stripname ()
16012 < {
16013 <  case ${2} in
16014 <    .*) func_stripname_result=`$ECHO "X${3}" \
16015 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16016 <    *)  func_stripname_result=`$ECHO "X${3}" \
16017 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16018 <  esac
16019 < }
16020 <
16021 < # sed scripts:
16022 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16023 < my_sed_long_arg='1s/^-[^=]*=//'
16024 <
16025 < # func_opt_split
16026 < func_opt_split ()
16027 < {
16028 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16029 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16030 < }
16031 <
16032 < # func_lo2o object
16033 < func_lo2o ()
16034 < {
16035 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16036 < }
16037 <
16038 < # func_xform libobj-or-source
16039 < func_xform ()
16040 < {
16041 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16042 < }
16043 <
16044 < # func_arith arithmetic-term...
16045 < func_arith ()
16046 < {
16047 <  func_arith_result=`expr "$@"`
16048 < }
16049 <
16050 < # func_len string
16051 < # STRING may not start with a hyphen.
16052 < func_len ()
16053 < {
16054 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16055 < }
16056 <
16057 < _LT_EOF
16058 < esac
16059 <
16060 < case $lt_shell_append in
16061 <  yes)
16062 <    cat << \_LT_EOF >> "$cfgfile"
16063 <
16064 < # func_append var value
16065 < # Append VALUE to the end of shell variable VAR.
16066 < func_append ()
16067 < {
16068 <  eval "$1+=\$2"
16069 < }
16070 < _LT_EOF
16071 <    ;;
16072 <  *)
16073 <    cat << \_LT_EOF >> "$cfgfile"
16074 <
16075 < # func_append var value
16076 < # Append VALUE to the end of shell variable VAR.
16077 < func_append ()
16078 < {
16079 <  eval "$1=\$$1\$2"
16080 < }
16081 <
16082 < _LT_EOF
16083 <    ;;
16084 <  esac
16732 >  sed '$q' "$ltmain" >> "$cfgfile" \
16733 >     || (rm -f "$cfgfile"; exit 1)
16734  
16735 +  if test x"$xsi_shell" = xyes; then
16736 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16737 + func_dirname ()\
16738 + {\
16739 + \    case ${1} in\
16740 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16741 + \      *  ) func_dirname_result="${3}" ;;\
16742 + \    esac\
16743 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16744 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16745 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16746 + test 0 -eq $? || _lt_function_replace_fail=:
16747 +
16748 +
16749 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16750 + func_basename ()\
16751 + {\
16752 + \    func_basename_result="${1##*/}"\
16753 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16754 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16755 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16756 + test 0 -eq $? || _lt_function_replace_fail=:
16757 +
16758 +
16759 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16760 + func_dirname_and_basename ()\
16761 + {\
16762 + \    case ${1} in\
16763 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16764 + \      *  ) func_dirname_result="${3}" ;;\
16765 + \    esac\
16766 + \    func_basename_result="${1##*/}"\
16767 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16768 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16769 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16770 + test 0 -eq $? || _lt_function_replace_fail=:
16771 +
16772 +
16773 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16774 + func_stripname ()\
16775 + {\
16776 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16777 + \    # positional parameters, so assign one to ordinary parameter first.\
16778 + \    func_stripname_result=${3}\
16779 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16780 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16781 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16782 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16783 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16784 + test 0 -eq $? || _lt_function_replace_fail=:
16785 +
16786 +
16787 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16788 + func_split_long_opt ()\
16789 + {\
16790 + \    func_split_long_opt_name=${1%%=*}\
16791 + \    func_split_long_opt_arg=${1#*=}\
16792 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16793 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16794 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16795 + test 0 -eq $? || _lt_function_replace_fail=:
16796 +
16797 +
16798 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16799 + func_split_short_opt ()\
16800 + {\
16801 + \    func_split_short_opt_arg=${1#??}\
16802 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16803 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16804 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16805 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16806 + test 0 -eq $? || _lt_function_replace_fail=:
16807 +
16808 +
16809 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16810 + func_lo2o ()\
16811 + {\
16812 + \    case ${1} in\
16813 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16814 + \      *)    func_lo2o_result=${1} ;;\
16815 + \    esac\
16816 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16817 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16818 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16819 + test 0 -eq $? || _lt_function_replace_fail=:
16820 +
16821 +
16822 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16823 + func_xform ()\
16824 + {\
16825 +    func_xform_result=${1%.*}.lo\
16826 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16827 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16828 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16829 + test 0 -eq $? || _lt_function_replace_fail=:
16830 +
16831 +
16832 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16833 + func_arith ()\
16834 + {\
16835 +    func_arith_result=$(( $* ))\
16836 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16837 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16838 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16839 + test 0 -eq $? || _lt_function_replace_fail=:
16840 +
16841 +
16842 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16843 + func_len ()\
16844 + {\
16845 +    func_len_result=${#1}\
16846 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16847 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16848 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16849 + test 0 -eq $? || _lt_function_replace_fail=:
16850 +
16851 + fi
16852 +
16853 + if test x"$lt_shell_append" = xyes; then
16854 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16855 + func_append ()\
16856 + {\
16857 +    eval "${1}+=\\${2}"\
16858 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16859 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16860 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16861 + test 0 -eq $? || _lt_function_replace_fail=:
16862 +
16863 +
16864 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16865 + func_append_quoted ()\
16866 + {\
16867 + \    func_quote_for_eval "${2}"\
16868 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16869 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16870 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16871 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16872 + test 0 -eq $? || _lt_function_replace_fail=:
16873 +
16874 +
16875 +  # Save a `func_append' function call where possible by direct use of '+='
16876 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16877 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16878 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16879 +  test 0 -eq $? || _lt_function_replace_fail=:
16880 + else
16881 +  # Save a `func_append' function call even when '+=' is not available
16882 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16883 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16884 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16885 +  test 0 -eq $? || _lt_function_replace_fail=:
16886 + fi
16887 +
16888 + if test x"$_lt_function_replace_fail" = x":"; then
16889 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16890 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16891 + fi
16892  
16087  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16088    || (rm -f "$cfgfile"; exit 1)
16893  
16894 <  mv -f "$cfgfile" "$ofile" ||
16894 >   mv -f "$cfgfile" "$ofile" ||
16895      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16896    chmod +x "$ofile"
16897  
# Line 16102 | Line 16906 | _ACEOF
16906   ac_clean_files=$ac_clean_files_save
16907  
16908   test $ac_write_fail = 0 ||
16909 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16909 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16910  
16911  
16912   # configure is writing to config.log, and then calls config.status.
# Line 16123 | Line 16927 | if test "$no_create" != yes; then
16927    exec 5>>config.log
16928    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16929    # would make configure fail if this is the last instruction.
16930 <  $ac_cs_success || as_fn_exit $?
16127 < fi
16128 <
16129 < #
16130 < # CONFIG_SUBDIRS section.
16131 < #
16132 < if test "$no_recursion" != yes; then
16133 <
16134 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16135 <  # so they do not pile up.
16136 <  ac_sub_configure_args=
16137 <  ac_prev=
16138 <  eval "set x $ac_configure_args"
16139 <  shift
16140 <  for ac_arg
16141 <  do
16142 <    if test -n "$ac_prev"; then
16143 <      ac_prev=
16144 <      continue
16145 <    fi
16146 <    case $ac_arg in
16147 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16148 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16149 <      ac_prev=cache_file ;;
16150 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16151 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16152 <    | --c=*)
16153 <      ;;
16154 <    --config-cache | -C)
16155 <      ;;
16156 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16157 <      ac_prev=srcdir ;;
16158 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16159 <      ;;
16160 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16161 <      ac_prev=prefix ;;
16162 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16163 <      ;;
16164 <    --disable-option-checking)
16165 <      ;;
16166 <    *)
16167 <      case $ac_arg in
16168 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16169 <      esac
16170 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16171 <    esac
16172 <  done
16173 <
16174 <  # Always prepend --prefix to ensure using the same prefix
16175 <  # in subdir configurations.
16176 <  ac_arg="--prefix=$prefix"
16177 <  case $ac_arg in
16178 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179 <  esac
16180 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16181 <
16182 <  # Pass --silent
16183 <  if test "$silent" = yes; then
16184 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16185 <  fi
16186 <
16187 <  # Always prepend --disable-option-checking to silence warnings, since
16188 <  # different subdirs can have different --enable and --with options.
16189 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16190 <
16191 <  ac_popdir=`pwd`
16192 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16193 <
16194 <    # Do not complain, so a configure script can configure whichever
16195 <    # parts of a large source tree are present.
16196 <    test -d "$srcdir/$ac_dir" || continue
16197 <
16198 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16199 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16200 <    $as_echo "$ac_msg" >&6
16201 <    as_dir="$ac_dir"; as_fn_mkdir_p
16202 <    ac_builddir=.
16203 <
16204 < case "$ac_dir" in
16205 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16206 < *)
16207 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16208 <  # A ".." for each directory in $ac_dir_suffix.
16209 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16210 <  case $ac_top_builddir_sub in
16211 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16212 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16213 <  esac ;;
16214 < esac
16215 < ac_abs_top_builddir=$ac_pwd
16216 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16217 < # for backward compatibility:
16218 < ac_top_builddir=$ac_top_build_prefix
16219 <
16220 < case $srcdir in
16221 <  .)  # We are building in place.
16222 <    ac_srcdir=.
16223 <    ac_top_srcdir=$ac_top_builddir_sub
16224 <    ac_abs_top_srcdir=$ac_pwd ;;
16225 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16226 <    ac_srcdir=$srcdir$ac_dir_suffix;
16227 <    ac_top_srcdir=$srcdir
16228 <    ac_abs_top_srcdir=$srcdir ;;
16229 <  *) # Relative name.
16230 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16231 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16232 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16233 < esac
16234 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16235 <
16236 <
16237 <    cd "$ac_dir"
16238 <
16239 <    # Check for guested configure; otherwise get Cygnus style configure.
16240 <    if test -f "$ac_srcdir/configure.gnu"; then
16241 <      ac_sub_configure=$ac_srcdir/configure.gnu
16242 <    elif test -f "$ac_srcdir/configure"; then
16243 <      ac_sub_configure=$ac_srcdir/configure
16244 <    elif test -f "$ac_srcdir/configure.in"; then
16245 <      # This should be Cygnus configure.
16246 <      ac_sub_configure=$ac_aux_dir/configure
16247 <    else
16248 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16249 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16250 <      ac_sub_configure=
16251 <    fi
16252 <
16253 <    # The recursion is here.
16254 <    if test -n "$ac_sub_configure"; then
16255 <      # Make the cache file name correct relative to the subdirectory.
16256 <      case $cache_file in
16257 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16258 <      *) # Relative name.
16259 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16260 <      esac
16261 <
16262 <      { $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
16263 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16264 <      # The eval makes quoting arguments work.
16265 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16266 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16267 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16268 <    fi
16269 <
16270 <    cd "$ac_popdir"
16271 <  done
16930 >  $ac_cs_success || as_fn_exit 1
16931   fi
16932   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.2/configure (property svn:eol-style), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 1730 by michael, Sun Jan 6 11:27:11 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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