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 1015 by michael, Sun Oct 25 00:08:06 2009 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 2318 by michael, Fri Jun 21 17:47:52 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1010 2009-09-17 17:06:11Z michael .
2 > # From configure.ac Id: configure.ac 2228 2013-06-13 19:46:30Z 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.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    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
572  
573 <          if test "$prev" != 'sed 50q "$0"'; then
574 <            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 ENABLE_PCRE_FALSE
764 ENABLE_PCRE_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
797   enable_static
# Line 904 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
913 < enable_zlib
914 < with_libpcre_path
915 < enable_libpcre
808 > enable_libGeoIP
809   enable_openssl
810   enable_assert
918 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
922 enable_rtsigio
814   enable_poll
815   enable_select
925 with_nicklen
926 with_topiclen
927 with_syslog_facility
928 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
932 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 942 | Line 828 | CPPFLAGS
828   YACC
829   YFLAGS
830   CPP'
831 < ac_subdirs_all='libltdl'
831 >
832  
833   # Initialize some variables set by options.
834   ac_init_help=
# Line 1004 | Line 890 | do
890    fi
891  
892    case $ac_option in
893 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 <  *)    ac_optarg=yes ;;
893 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 >  *=)   ac_optarg= ;;
895 >  *)    ac_optarg=yes ;;
896    esac
897  
898    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1050 | Line 937 | do
937      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938      # Reject names that are not valid shell variable names.
939      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 <      as_fn_error "invalid feature name: $ac_useropt"
940 >      as_fn_error $? "invalid feature name: $ac_useropt"
941      ac_useropt_orig=$ac_useropt
942      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943      case $ac_user_opts in
# Line 1076 | Line 963 | do
963      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964      # Reject names that are not valid shell variable names.
965      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 <      as_fn_error "invalid feature name: $ac_useropt"
966 >      as_fn_error $? "invalid feature name: $ac_useropt"
967      ac_useropt_orig=$ac_useropt
968      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969      case $ac_user_opts in
# Line 1280 | Line 1167 | do
1167      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168      # Reject names that are not valid shell variable names.
1169      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 <      as_fn_error "invalid package name: $ac_useropt"
1170 >      as_fn_error $? "invalid package name: $ac_useropt"
1171      ac_useropt_orig=$ac_useropt
1172      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173      case $ac_user_opts in
# Line 1296 | Line 1183 | do
1183      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184      # Reject names that are not valid shell variable names.
1185      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 <      as_fn_error "invalid package name: $ac_useropt"
1186 >      as_fn_error $? "invalid package name: $ac_useropt"
1187      ac_useropt_orig=$ac_useropt
1188      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189      case $ac_user_opts in
# Line 1326 | Line 1213 | do
1213    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214      x_libraries=$ac_optarg ;;
1215  
1216 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1217 < Try \`$0 --help' for more information."
1216 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 > Try \`$0 --help' for more information"
1218      ;;
1219  
1220    *=*)
# Line 1335 | Line 1222 | Try \`$0 --help' for more information."
1222      # Reject names that are not valid shell variable names.
1223      case $ac_envvar in #(
1224        '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226      esac
1227      eval $ac_envvar=\$ac_optarg
1228      export $ac_envvar ;;
# Line 1345 | Line 1232 | Try \`$0 --help' for more information."
1232      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236      ;;
1237  
1238    esac
# Line 1353 | Line 1240 | done
1240  
1241   if test -n "$ac_prev"; then
1242    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 <  as_fn_error "missing argument to $ac_option"
1243 >  as_fn_error $? "missing argument to $ac_option"
1244   fi
1245  
1246   if test -n "$ac_unrecognized_opts"; then
1247    case $enable_option_checking in
1248      no) ;;
1249 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1249 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251    esac
1252   fi
# Line 1382 | Line 1269 | do
1269      [\\/$]* | ?:[\\/]* )  continue;;
1270      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271    esac
1272 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1272 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273   done
1274  
1275   # There might be people who depend on the old broken behavior: `$host'
# Line 1396 | Line 1283 | target=$target_alias
1283   if test "x$host_alias" != x; then
1284    if test "x$build_alias" = x; then
1285      cross_compiling=maybe
1399    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1400    If a cross compiler is detected then cross compile mode will be used." >&2
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1412 | Line 1297 | test "$silent" = yes && exec 6>/dev/null
1297   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298   ac_ls_di=`ls -di .` &&
1299   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 <  as_fn_error "working directory cannot be determined"
1300 >  as_fn_error $? "working directory cannot be determined"
1301   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 <  as_fn_error "pwd does not report name of working directory"
1302 >  as_fn_error $? "pwd does not report name of working directory"
1303  
1304  
1305   # Find the source files, if location was not specified.
# Line 1453 | Line 1338 | else
1338   fi
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1341 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342   fi
1343   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344   ac_abs_confdir=`(
1345 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346          pwd)`
1347   # When building in place, set srcdir=.
1348   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1483 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1497 | Line 1382 | Configuration:
1382        --help=short        display options specific to this package
1383        --help=recursive    display the short help of all the included packages
1384    -V, --version           display version information and exit
1385 <  -q, --quiet, --silent   do not print \`checking...' messages
1385 >  -q, --quiet, --silent   do not print \`checking ...' messages
1386        --cache-file=FILE   cache test results in FILE [disabled]
1387    -C, --config-cache      alias for \`--cache-file=config.cache'
1388    -n, --no-create         do not create output files
# Line 1553 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1561 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1464 <  --disable-zlib          Disable ziplinks support
1575 <  --disable-libpcre       Disable PCRE support
1464 >  --disable-libgeoip      Disable GeoIP support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1579  --enable-small-net      Enable small network support.
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1583  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1586  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1590  --enable-syslog="EVENTS"
1591                          Enable syslog for events: users oper (space
1592                          separated in quotes; default: disabled).
1476  
1477   Optional Packages:
1478    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1479    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1480 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1480 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1481                            both]
1482    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483 +  --with-sysroot=DIR Search for dependent libraries within DIR
1484 +                        (or the compiler's sysroot if not specified).
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1603  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1604  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1605  --with-nicklen=<value>  Set nickname length (default 9).
1606  --with-topiclen=<value> Set topic length (default 160).
1607  --with-syslog-facility=LOG
1608                          Define the syslog facility to use (default:
1609                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1614 | Line 1492 | Some influential environment variables:
1492    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493                nonstandard directory <lib dir>
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1626 | Line 1505 | Some influential environment variables:
1505   Use these variables to override the choices made by `configure' or to help
1506   it to find libraries and programs with nonstandard names/locations.
1507  
1508 < Report bugs to the package provider.
1508 > Report bugs to <bugs@ircd-hybrid.org>.
1509   _ACEOF
1510   ac_status=$?
1511   fi
# Line 1689 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.2.4
1572 < generated by GNU Autoconf 2.64
1571 > ircd-hybrid configure TRUNK
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1736 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 <  return $ac_retval
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 >  as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
1622  
# Line 1768 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1782 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 <  return $ac_retval
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 >  as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
1668  
# Line 1796 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1814 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1839 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1850 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 <  return $ac_retval
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 >  as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
1736  
# Line 1892 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 <  return $ac_retval
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 >  as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
1778  
# Line 1905 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1960 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1981 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 1999 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 2012 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 2053 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
1946 + # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1947 + # --------------------------------------------
1948 + # Tries to find the compile-time value of EXPR in a program that includes
1949 + # INCLUDES, setting VAR accordingly. Returns whether the value could be
1950 + # computed
1951 + ac_fn_c_compute_int ()
1952 + {
1953 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 +  if test "$cross_compiling" = yes; then
1955 +    # Depending upon the size, compute the lo and hi bounds.
1956 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 + /* end confdefs.h.  */
1958 + $4
1959 + int
1960 + main ()
1961 + {
1962 + static int test_array [1 - 2 * !(($2) >= 0)];
1963 + test_array [0] = 0;
1964 + return test_array [0];
1965 +
1966 +  ;
1967 +  return 0;
1968 + }
1969 + _ACEOF
1970 + if ac_fn_c_try_compile "$LINENO"; then :
1971 +  ac_lo=0 ac_mid=0
1972 +  while :; do
1973 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 + /* end confdefs.h.  */
1975 + $4
1976 + int
1977 + main ()
1978 + {
1979 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1980 + test_array [0] = 0;
1981 + return test_array [0];
1982 +
1983 +  ;
1984 +  return 0;
1985 + }
1986 + _ACEOF
1987 + if ac_fn_c_try_compile "$LINENO"; then :
1988 +  ac_hi=$ac_mid; break
1989 + else
1990 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1991 +                        if test $ac_lo -le $ac_mid; then
1992 +                          ac_lo= ac_hi=
1993 +                          break
1994 +                        fi
1995 +                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1996 + fi
1997 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 +  done
1999 + else
2000 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 + /* end confdefs.h.  */
2002 + $4
2003 + int
2004 + main ()
2005 + {
2006 + static int test_array [1 - 2 * !(($2) < 0)];
2007 + test_array [0] = 0;
2008 + return test_array [0];
2009 +
2010 +  ;
2011 +  return 0;
2012 + }
2013 + _ACEOF
2014 + if ac_fn_c_try_compile "$LINENO"; then :
2015 +  ac_hi=-1 ac_mid=-1
2016 +  while :; do
2017 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 + /* end confdefs.h.  */
2019 + $4
2020 + int
2021 + main ()
2022 + {
2023 + static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2024 + test_array [0] = 0;
2025 + return test_array [0];
2026 +
2027 +  ;
2028 +  return 0;
2029 + }
2030 + _ACEOF
2031 + if ac_fn_c_try_compile "$LINENO"; then :
2032 +  ac_lo=$ac_mid; break
2033 + else
2034 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2035 +                        if test $ac_mid -le $ac_hi; then
2036 +                          ac_lo= ac_hi=
2037 +                          break
2038 +                        fi
2039 +                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2040 + fi
2041 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042 +  done
2043 + else
2044 +  ac_lo= ac_hi=
2045 + fi
2046 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 + fi
2048 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 + # Binary search between lo and hi bounds.
2050 + while test "x$ac_lo" != "x$ac_hi"; do
2051 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2052 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 + /* end confdefs.h.  */
2054 + $4
2055 + int
2056 + main ()
2057 + {
2058 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2059 + test_array [0] = 0;
2060 + return test_array [0];
2061 +
2062 +  ;
2063 +  return 0;
2064 + }
2065 + _ACEOF
2066 + if ac_fn_c_try_compile "$LINENO"; then :
2067 +  ac_hi=$ac_mid
2068 + else
2069 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2070 + fi
2071 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 + done
2073 + case $ac_lo in #((
2074 + ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2075 + '') ac_retval=1 ;;
2076 + esac
2077 +  else
2078 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 + /* end confdefs.h.  */
2080 + $4
2081 + static long int longval () { return $2; }
2082 + static unsigned long int ulongval () { return $2; }
2083 + #include <stdio.h>
2084 + #include <stdlib.h>
2085 + int
2086 + main ()
2087 + {
2088 +
2089 +  FILE *f = fopen ("conftest.val", "w");
2090 +  if (! f)
2091 +    return 1;
2092 +  if (($2) < 0)
2093 +    {
2094 +      long int i = longval ();
2095 +      if (i != ($2))
2096 +        return 1;
2097 +      fprintf (f, "%ld", i);
2098 +    }
2099 +  else
2100 +    {
2101 +      unsigned long int i = ulongval ();
2102 +      if (i != ($2))
2103 +        return 1;
2104 +      fprintf (f, "%lu", i);
2105 +    }
2106 +  /* Do not output a trailing newline, as this causes \r\n confusion
2107 +     on some platforms.  */
2108 +  return ferror (f) || fclose (f) != 0;
2109 +
2110 +  ;
2111 +  return 0;
2112 + }
2113 + _ACEOF
2114 + if ac_fn_c_try_run "$LINENO"; then :
2115 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2116 + else
2117 +  ac_retval=1
2118 + fi
2119 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2120 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
2121 + rm -f conftest.val
2122 +
2123 +  fi
2124 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 +  as_fn_set_status $ac_retval
2126 +
2127 + } # ac_fn_c_compute_int
2128 +
2129   # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2130   # ----------------------------------------------------
2131   # Tries to find if the field MEMBER exists in type AGGR, after including
# Line 2066 | Line 2135 | ac_fn_c_check_member ()
2135    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2136    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2137   $as_echo_n "checking for $2.$3... " >&6; }
2138 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2138 > if eval \${$4+:} false; then :
2139    $as_echo_n "(cached) " >&6
2140   else
2141    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2110 | Line 2179 | fi
2179   eval ac_res=\$$4
2180                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181   $as_echo "$ac_res" >&6; }
2182 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2182 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2183  
2184   } # ac_fn_c_check_member
2185  
# Line 2122 | Line 2191 | $as_echo "$ac_res" >&6; }
2191   ac_fn_c_check_header_mongrel ()
2192   {
2193    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2194 >  if eval \${$3+:} false; then :
2195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196   $as_echo_n "checking for $2... " >&6; }
2197 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2197 > if eval \${$3+:} false; then :
2198    $as_echo_n "(cached) " >&6
2199   fi
2200   eval ac_res=\$$3
# Line 2161 | Line 2230 | if ac_fn_c_try_cpp "$LINENO"; then :
2230   else
2231    ac_header_preproc=no
2232   fi
2233 < rm -f conftest.err conftest.$ac_ext
2233 > rm -f conftest.err conftest.i conftest.$ac_ext
2234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235   $as_echo "$ac_header_preproc" >&6; }
2236  
# Line 2184 | Line 2253 | $as_echo "$as_me: WARNING: $2: see the A
2253   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2254      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 + ( $as_echo "## ----------------------------------- ##
2257 + ## Report this to bugs@ircd-hybrid.org ##
2258 + ## ----------------------------------- ##"
2259 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2260      ;;
2261   esac
2262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2263   $as_echo_n "checking for $2... " >&6; }
2264 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2264 > if eval \${$3+:} false; then :
2265    $as_echo_n "(cached) " >&6
2266   else
2267    eval "$3=\$ac_header_compiler"
# Line 2197 | Line 2270 | eval ac_res=\$$3
2270                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2271   $as_echo "$ac_res" >&6; }
2272   fi
2273 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2273 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2274  
2275   } # ac_fn_c_check_header_mongrel
2276   cat >config.log <<_ACEOF
2277   This file contains any messages produced by compilers while
2278   running configure, to aid debugging if configure makes a mistake.
2279  
2280 < It was created by ircd-hybrid $as_me 7.2.4, which was
2281 < generated by GNU Autoconf 2.64.  Invocation command line was
2280 > It was created by ircd-hybrid $as_me TRUNK, which was
2281 > generated by GNU Autoconf 2.69.  Invocation command line was
2282  
2283    $ $0 $@
2284  
# Line 2315 | Line 2388 | trap 'exit_status=$?
2388    {
2389      echo
2390  
2391 <    cat <<\_ASBOX
2319 < ## ---------------- ##
2391 >    $as_echo "## ---------------- ##
2392   ## Cache variables. ##
2393 < ## ---------------- ##
2322 < _ASBOX
2393 > ## ---------------- ##"
2394      echo
2395      # The following way of writing the cache mishandles newlines in values,
2396   (
# Line 2353 | Line 2424 | $as_echo "$as_me: WARNING: cache variabl
2424   )
2425      echo
2426  
2427 <    cat <<\_ASBOX
2357 < ## ----------------- ##
2427 >    $as_echo "## ----------------- ##
2428   ## Output variables. ##
2429 < ## ----------------- ##
2360 < _ASBOX
2429 > ## ----------------- ##"
2430      echo
2431      for ac_var in $ac_subst_vars
2432      do
# Line 2370 | Line 2439 | _ASBOX
2439      echo
2440  
2441      if test -n "$ac_subst_files"; then
2442 <      cat <<\_ASBOX
2374 < ## ------------------- ##
2442 >      $as_echo "## ------------------- ##
2443   ## File substitutions. ##
2444 < ## ------------------- ##
2377 < _ASBOX
2444 > ## ------------------- ##"
2445        echo
2446        for ac_var in $ac_subst_files
2447        do
# Line 2388 | Line 2455 | _ASBOX
2455      fi
2456  
2457      if test -s confdefs.h; then
2458 <      cat <<\_ASBOX
2392 < ## ----------- ##
2458 >      $as_echo "## ----------- ##
2459   ## confdefs.h. ##
2460 < ## ----------- ##
2395 < _ASBOX
2460 > ## ----------- ##"
2461        echo
2462        cat confdefs.h
2463        echo
# Line 2447 | Line 2512 | _ACEOF
2512   ac_site_file1=NONE
2513   ac_site_file2=NONE
2514   if test -n "$CONFIG_SITE"; then
2515 <  ac_site_file1=$CONFIG_SITE
2515 >  # We do not want a PATH search for config.site.
2516 >  case $CONFIG_SITE in #((
2517 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2518 >    */*) ac_site_file1=$CONFIG_SITE;;
2519 >    *)   ac_site_file1=./$CONFIG_SITE;;
2520 >  esac
2521   elif test "x$prefix" != xNONE; then
2522    ac_site_file1=$prefix/share/config.site
2523    ac_site_file2=$prefix/etc/config.site
# Line 2458 | Line 2528 | fi
2528   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2529   do
2530    test "x$ac_site_file" = xNONE && continue
2531 <  if test -r "$ac_site_file"; then
2531 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2532      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2533   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2534      sed 's/^/| /' "$ac_site_file" >&5
2535 <    . "$ac_site_file"
2535 >    . "$ac_site_file" \
2536 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538 > as_fn_error $? "failed to load site script $ac_site_file
2539 > See \`config.log' for more details" "$LINENO" 5; }
2540    fi
2541   done
2542  
2543   if test -r "$cache_file"; then
2544 <  # Some versions of bash will fail to source /dev/null (special
2545 <  # files actually), so we avoid doing that.
2546 <  if test -f "$cache_file"; then
2544 >  # Some versions of bash will fail to source /dev/null (special files
2545 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2546 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2547      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2548   $as_echo "$as_me: loading cache $cache_file" >&6;}
2549      case $cache_file in
# Line 2483 | Line 2557 | $as_echo "$as_me: creating cache $cache_
2557    >$cache_file
2558   fi
2559  
2486 as_fn_append ac_func_list " mmap"
2560   as_fn_append ac_func_list " strtok_r"
2561   as_fn_append ac_func_list " usleep"
2562   as_fn_append ac_func_list " strlcat"
2563   as_fn_append ac_func_list " strlcpy"
2564   as_fn_append ac_header_list " crypt.h"
2492 as_fn_append ac_header_list " inttypes.h"
2493 as_fn_append ac_header_list " stdint.h"
2565   as_fn_append ac_header_list " sys/resource.h"
2566   as_fn_append ac_header_list " sys/param.h"
2496 as_fn_append ac_header_list " errno.h"
2497 as_fn_append ac_header_list " sys/syslog.h"
2567   as_fn_append ac_header_list " types.h"
2568   as_fn_append ac_header_list " socket.h"
2569   as_fn_append ac_header_list " sys/wait.h"
2570   as_fn_append ac_header_list " wait.h"
2502 as_fn_append ac_header_list " link.h"
2571   # Check that the precious variables saved in the cache have kept the same
2572   # value.
2573   ac_cache_corrupted=false
# Line 2555 | Line 2623 | if $ac_cache_corrupted; then
2623   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2625   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2626 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2626 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2627   fi
2628   ## -------------------- ##
2629   ## Main body of script. ##
# Line 2568 | Line 2636 | ac_link='$CC -o conftest$ac_exeext $CFLA
2636   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637  
2638  
2639 < am__api_version='1.11'
2639 > am__api_version='1.13'
2640  
2641   ac_aux_dir=
2642   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2643 <  for ac_t in install-sh install.sh shtool; do
2644 <    if test -f "$ac_dir/$ac_t"; then
2645 <      ac_aux_dir=$ac_dir
2646 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2647 <      break 2
2648 <    fi
2649 <  done
2643 >  if test -f "$ac_dir/install-sh"; then
2644 >    ac_aux_dir=$ac_dir
2645 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2646 >    break
2647 >  elif test -f "$ac_dir/install.sh"; then
2648 >    ac_aux_dir=$ac_dir
2649 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2650 >    break
2651 >  elif test -f "$ac_dir/shtool"; then
2652 >    ac_aux_dir=$ac_dir
2653 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2654 >    break
2655 >  fi
2656   done
2657   if test -z "$ac_aux_dir"; then
2658 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2658 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2659   fi
2660  
2661   # These three variables are undocumented and unsupported,
# Line 2610 | Line 2684 | ac_configure="$SHELL $ac_aux_dir/configu
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2685   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2686   if test -z "$INSTALL"; then
2687 < if test "${ac_cv_path_install+set}" = set; then :
2687 > if ${ac_cv_path_install+:} false; then :
2688    $as_echo_n "(cached) " >&6
2689   else
2690    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2630 | Line 2704 | case $as_dir/ in #((
2704      # by default.
2705      for ac_prog in ginstall scoinst install; do
2706        for ac_exec_ext in '' $ac_executable_extensions; do
2707 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2707 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2708            if test $ac_prog = install &&
2709              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2710              # AIX install.  It has an incompatible calling convention.
# Line 2688 | Line 2762 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2762  
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2764   $as_echo_n "checking whether build environment is sane... " >&6; }
2691 # Just in case
2692 sleep 1
2693 echo timestamp > conftest.file
2765   # Reject unsafe characters in $srcdir or the absolute working directory
2766   # name.  Accept space and tab only in the latter.
2767   am_lf='
2768   '
2769   case `pwd` in
2770    *[\\\"\#\$\&\'\`$am_lf]*)
2771 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2771 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2772   esac
2773   case $srcdir in
2774    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2775 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2775 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2776   esac
2777  
2778 < # Do `set' in a subshell so we don't clobber the current shell's
2778 > # Do 'set' in a subshell so we don't clobber the current shell's
2779   # arguments.  Must try -L first in case configure is actually a
2780   # symlink; some systems play weird games with the mod time of symlinks
2781   # (eg FreeBSD returns the mod time of the symlink's containing
2782   # directory).
2783   if (
2784 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2785 <   if test "$*" = "X"; then
2786 <      # -L didn't work.
2787 <      set X `ls -t "$srcdir/configure" conftest.file`
2788 <   fi
2789 <   rm -f conftest.file
2790 <   if test "$*" != "X $srcdir/configure conftest.file" \
2791 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2792 <
2793 <      # If neither matched, then we have a broken ls.  This can happen
2723 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2724 <      # broken ls alias from the environment.  This has actually
2725 <      # happened.  Such a system could not be considered "sane".
2726 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2727 < alias in your environment" "$LINENO" 5
2728 <   fi
2784 >   am_has_slept=no
2785 >   for am_try in 1 2; do
2786 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2787 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2788 >     if test "$*" = "X"; then
2789 >        # -L didn't work.
2790 >        set X `ls -t "$srcdir/configure" conftest.file`
2791 >     fi
2792 >     if test "$*" != "X $srcdir/configure conftest.file" \
2793 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2794  
2795 +        # If neither matched, then we have a broken ls.  This can happen
2796 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2797 +        # broken ls alias from the environment.  This has actually
2798 +        # happened.  Such a system could not be considered "sane".
2799 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2800 +  alias in your environment" "$LINENO" 5
2801 +     fi
2802 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2803 +       break
2804 +     fi
2805 +     # Just in case.
2806 +     sleep 1
2807 +     am_has_slept=yes
2808 +   done
2809     test "$2" = conftest.file
2810     )
2811   then
2812     # Ok.
2813     :
2814   else
2815 <   as_fn_error "newly created file is older than distributed files!
2815 >   as_fn_error $? "newly created file is older than distributed files!
2816   Check your system clock" "$LINENO" 5
2817   fi
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2819   $as_echo "yes" >&6; }
2820 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2821 + # generated files are strictly newer.
2822 + am_sleep_pid=
2823 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2824 +  ( sleep 1 ) &
2825 +  am_sleep_pid=$!
2826 + fi
2827 +
2828 + rm -f conftest.file
2829 +
2830   test "$program_prefix" != NONE &&
2831    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2832   # Use a double $ so make ignores it.
# Line 2760 | Line 2849 | if test x"${MISSING+set}" != xset; then
2849    esac
2850   fi
2851   # Use eval to expand $SHELL
2852 < if eval "$MISSING --run true"; then
2853 <  am_missing_run="$MISSING --run "
2852 > if eval "$MISSING --is-lightweight"; then
2853 >  am_missing_run="$MISSING "
2854   else
2855    am_missing_run=
2856 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2857 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2856 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2857 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2858   fi
2859  
2860   if test x"${install_sh}" != xset; then
# Line 2777 | Line 2866 | if test x"${install_sh}" != xset; then
2866    esac
2867   fi
2868  
2869 < # Installed binaries are usually stripped using `strip' when the user
2870 < # run `make install-strip'.  However `strip' might not be the right
2869 > # Installed binaries are usually stripped using 'strip' when the user
2870 > # run "make install-strip".  However 'strip' might not be the right
2871   # tool to use in cross-compilation environments, therefore Automake
2872 < # will honor the `STRIP' environment variable to overrule this program.
2872 > # will honor the 'STRIP' environment variable to overrule this program.
2873   if test "$cross_compiling" != no; then
2874    if test -n "$ac_tool_prefix"; then
2875    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2876   set dummy ${ac_tool_prefix}strip; ac_word=$2
2877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878   $as_echo_n "checking for $ac_word... " >&6; }
2879 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2879 > if ${ac_cv_prog_STRIP+:} false; then :
2880    $as_echo_n "(cached) " >&6
2881   else
2882    if test -n "$STRIP"; then
# Line 2799 | Line 2888 | do
2888    IFS=$as_save_IFS
2889    test -z "$as_dir" && as_dir=.
2890      for ac_exec_ext in '' $ac_executable_extensions; do
2891 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2893      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894      break 2
# Line 2827 | Line 2916 | if test -z "$ac_cv_prog_STRIP"; then
2916   set dummy strip; ac_word=$2
2917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918   $as_echo_n "checking for $ac_word... " >&6; }
2919 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2919 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2920    $as_echo_n "(cached) " >&6
2921   else
2922    if test -n "$ac_ct_STRIP"; then
# Line 2839 | Line 2928 | do
2928    IFS=$as_save_IFS
2929    test -z "$as_dir" && as_dir=.
2930      for ac_exec_ext in '' $ac_executable_extensions; do
2931 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932      ac_cv_prog_ac_ct_STRIP="strip"
2933      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934      break 2
# Line 2880 | Line 2969 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2970   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2971   if test -z "$MKDIR_P"; then
2972 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2972 >  if ${ac_cv_path_mkdir+:} false; then :
2973    $as_echo_n "(cached) " >&6
2974   else
2975    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2890 | Line 2979 | do
2979    test -z "$as_dir" && as_dir=.
2980      for ac_prog in mkdir gmkdir; do
2981           for ac_exec_ext in '' $ac_executable_extensions; do
2982 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2982 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2983             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2984               'mkdir (GNU coreutils) '* | \
2985               'mkdir (coreutils) '* | \
# Line 2905 | Line 2994 | IFS=$as_save_IFS
2994  
2995   fi
2996  
2997 +  test -d ./--version && rmdir ./--version
2998    if test "${ac_cv_path_mkdir+set}" = set; then
2999      MKDIR_P="$ac_cv_path_mkdir -p"
3000    else
# Line 2912 | Line 3002 | fi
3002      # value for MKDIR_P within a source directory, because that will
3003      # break other packages using the cache if that directory is
3004      # removed, or if the value is a relative name.
2915    test -d ./--version && rmdir ./--version
3005      MKDIR_P="$ac_install_sh -d"
3006    fi
3007   fi
3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3009   $as_echo "$MKDIR_P" >&6; }
3010  
2922 mkdir_p="$MKDIR_P"
2923 case $mkdir_p in
2924  [\\/$]* | ?:[\\/]*) ;;
2925  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2926 esac
2927
3011   for ac_prog in gawk mawk nawk awk
3012   do
3013    # Extract the first word of "$ac_prog", so it can be a program name with args.
3014   set dummy $ac_prog; ac_word=$2
3015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016   $as_echo_n "checking for $ac_word... " >&6; }
3017 < if test "${ac_cv_prog_AWK+set}" = set; then :
3017 > if ${ac_cv_prog_AWK+:} false; then :
3018    $as_echo_n "(cached) " >&6
3019   else
3020    if test -n "$AWK"; then
# Line 2943 | Line 3026 | do
3026    IFS=$as_save_IFS
3027    test -z "$as_dir" && as_dir=.
3028      for ac_exec_ext in '' $ac_executable_extensions; do
3029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030      ac_cv_prog_AWK="$ac_prog"
3031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032      break 2
# Line 2971 | Line 3054 | done
3054   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3055   set x ${MAKE-make}
3056   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3057 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3057 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3058    $as_echo_n "(cached) " >&6
3059   else
3060    cat >conftest.make <<\_ACEOF
# Line 2979 | Line 3062 | SHELL = /bin/sh
3062   all:
3063          @echo '@@@%%%=$(MAKE)=@@@%%%'
3064   _ACEOF
3065 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3065 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3066   case `${MAKE-make} -f conftest.make 2>/dev/null` in
3067    *@@@%%%=?*=@@@%%%*)
3068      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3007 | Line 3090 | else
3090   fi
3091   rmdir .tst 2>/dev/null
3092  
3093 + # Check whether --enable-silent-rules was given.
3094 + if test "${enable_silent_rules+set}" = set; then :
3095 +  enableval=$enable_silent_rules;
3096 + fi
3097 +
3098 + case $enable_silent_rules in # (((
3099 +  yes) AM_DEFAULT_VERBOSITY=0;;
3100 +   no) AM_DEFAULT_VERBOSITY=1;;
3101 +    *) AM_DEFAULT_VERBOSITY=1;;
3102 + esac
3103 + am_make=${MAKE-make}
3104 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3105 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3106 + if ${am_cv_make_support_nested_variables+:} false; then :
3107 +  $as_echo_n "(cached) " >&6
3108 + else
3109 +  if $as_echo 'TRUE=$(BAR$(V))
3110 + BAR0=false
3111 + BAR1=true
3112 + V=1
3113 + am__doit:
3114 +        @$(TRUE)
3115 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3116 +  am_cv_make_support_nested_variables=yes
3117 + else
3118 +  am_cv_make_support_nested_variables=no
3119 + fi
3120 + fi
3121 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3122 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
3123 + if test $am_cv_make_support_nested_variables = yes; then
3124 +    AM_V='$(V)'
3125 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3126 + else
3127 +  AM_V=$AM_DEFAULT_VERBOSITY
3128 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3129 + fi
3130 + AM_BACKSLASH='\'
3131 +
3132   if test "`cd $srcdir && pwd`" != "`pwd`"; then
3133    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3134    # is not polluted with repeated "-I."
3135    am__isrc=' -I$(srcdir)'
3136    # test to see if srcdir already configured
3137    if test -f $srcdir/config.status; then
3138 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3138 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3139    fi
3140   fi
3141  
# Line 3029 | Line 3151 | fi
3151  
3152   # Define the identity of the package.
3153   PACKAGE='ircd-hybrid'
3154 < VERSION='7.2.4'
3154 > VERSION='TRUNK'
3155  
3156  
3157   cat >>confdefs.h <<_ACEOF
# Line 3057 | Line 3179 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
3179  
3180   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3181  
3182 + # For better backward compatibility.  To be removed once Automake 1.9.x
3183 + # dies out for good.  For more background, see:
3184 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3185 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3186 + mkdir_p='$(MKDIR_P)'
3187 +
3188   # We need awk for the "check" target.  The system "awk" is bad on
3189   # some platforms.
3190 < # Always define AMTAR for backward compatibility.
3190 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3191 > # in the wild :-(  We should find a proper way to deprecate it ...
3192 > AMTAR='$${TAR-tar}'
3193 >
3194  
3195 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3195 > # We'll loop over all known methods to create a tar archive until one works.
3196 > _am_tools='gnutar  pax cpio none'
3197 >
3198 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3199  
3066 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3200  
3201  
3202  
# Line 3116 | Line 3249 | am__quote=
3249   _am_result=none
3250   # First try GNU make style include.
3251   echo "include confinc" > confmf
3252 < # Ignore all kinds of additional output from `make'.
3252 > # Ignore all kinds of additional output from 'make'.
3253   case `$am_make -s -f confmf 2> /dev/null` in #(
3254   *the\ am__doit\ target*)
3255    am__include=include
# Line 3149 | Line 3282 | fi
3282   if test "x$enable_dependency_tracking" != xno; then
3283    am_depcomp="$ac_aux_dir/depcomp"
3284    AMDEPBACKSLASH='\'
3285 +  am__nodep='_no'
3286   fi
3287   if test "x$enable_dependency_tracking" != xno; then
3288    AMDEP_TRUE=
# Line 3169 | Line 3303 | if test -n "$ac_tool_prefix"; then
3303   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305   $as_echo_n "checking for $ac_word... " >&6; }
3306 < if test "${ac_cv_prog_CC+set}" = set; then :
3306 > if ${ac_cv_prog_CC+:} false; then :
3307    $as_echo_n "(cached) " >&6
3308   else
3309    if test -n "$CC"; then
# Line 3181 | Line 3315 | do
3315    IFS=$as_save_IFS
3316    test -z "$as_dir" && as_dir=.
3317      for ac_exec_ext in '' $ac_executable_extensions; do
3318 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3319      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3320      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321      break 2
# Line 3209 | Line 3343 | if test -z "$ac_cv_prog_CC"; then
3343   set dummy gcc; ac_word=$2
3344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345   $as_echo_n "checking for $ac_word... " >&6; }
3346 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3346 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3347    $as_echo_n "(cached) " >&6
3348   else
3349    if test -n "$ac_ct_CC"; then
# Line 3221 | Line 3355 | do
3355    IFS=$as_save_IFS
3356    test -z "$as_dir" && as_dir=.
3357      for ac_exec_ext in '' $ac_executable_extensions; do
3358 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359      ac_cv_prog_ac_ct_CC="gcc"
3360      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361      break 2
# Line 3262 | Line 3396 | if test -z "$CC"; then
3396   set dummy ${ac_tool_prefix}cc; ac_word=$2
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398   $as_echo_n "checking for $ac_word... " >&6; }
3399 < if test "${ac_cv_prog_CC+set}" = set; then :
3399 > if ${ac_cv_prog_CC+:} false; then :
3400    $as_echo_n "(cached) " >&6
3401   else
3402    if test -n "$CC"; then
# Line 3274 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_CC="${ac_tool_prefix}cc"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3302 | Line 3436 | if test -z "$CC"; then
3436   set dummy cc; ac_word=$2
3437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438   $as_echo_n "checking for $ac_word... " >&6; }
3439 < if test "${ac_cv_prog_CC+set}" = set; then :
3439 > if ${ac_cv_prog_CC+:} false; then :
3440    $as_echo_n "(cached) " >&6
3441   else
3442    if test -n "$CC"; then
# Line 3315 | Line 3449 | do
3449    IFS=$as_save_IFS
3450    test -z "$as_dir" && as_dir=.
3451      for ac_exec_ext in '' $ac_executable_extensions; do
3452 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3454         ac_prog_rejected=yes
3455         continue
# Line 3361 | Line 3495 | if test -z "$CC"; then
3495   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497   $as_echo_n "checking for $ac_word... " >&6; }
3498 < if test "${ac_cv_prog_CC+set}" = set; then :
3498 > if ${ac_cv_prog_CC+:} false; then :
3499    $as_echo_n "(cached) " >&6
3500   else
3501    if test -n "$CC"; then
# Line 3373 | Line 3507 | do
3507    IFS=$as_save_IFS
3508    test -z "$as_dir" && as_dir=.
3509      for ac_exec_ext in '' $ac_executable_extensions; do
3510 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3512      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3513      break 2
# Line 3405 | Line 3539 | do
3539   set dummy $ac_prog; ac_word=$2
3540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3541   $as_echo_n "checking for $ac_word... " >&6; }
3542 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3542 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3543    $as_echo_n "(cached) " >&6
3544   else
3545    if test -n "$ac_ct_CC"; then
# Line 3417 | Line 3551 | do
3551    IFS=$as_save_IFS
3552    test -z "$as_dir" && as_dir=.
3553      for ac_exec_ext in '' $ac_executable_extensions; do
3554 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3555      ac_cv_prog_ac_ct_CC="$ac_prog"
3556      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557      break 2
# Line 3459 | Line 3593 | fi
3593  
3594   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3595   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3596 < as_fn_error "no acceptable C compiler found in \$PATH
3597 < See \`config.log' for more details." "$LINENO" 5; }
3596 > as_fn_error $? "no acceptable C compiler found in \$PATH
3597 > See \`config.log' for more details" "$LINENO" 5; }
3598  
3599   # Provide some information about the compiler.
3600   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3481 | Line 3615 | $as_echo "$ac_try_echo"; } >&5
3615   ... rest of stderr output deleted ...
3616           10q' conftest.err >conftest.er1
3617      cat conftest.er1 >&5
3484    rm -f conftest.er1 conftest.err
3618    fi
3619 +  rm -f conftest.er1 conftest.err
3620    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621    test $ac_status = 0; }
3622   done
3623  
3624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625   /* end confdefs.h.  */
3626 < #include <stdio.h>
3626 >
3627   int
3628   main ()
3629   {
3496 FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3630  
3631    ;
3632    return 0;
3633   }
3634   _ACEOF
3635   ac_clean_files_save=$ac_clean_files
3636 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3636 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3637   # Try to create an executable without -o first, disregard a.out.
3638   # It will help us diagnose broken compilers, and finding out an intuition
3639   # of exeext.
3640 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3641 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3640 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3641 > $as_echo_n "checking whether the C compiler works... " >&6; }
3642   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3643  
3644   # The possible output files:
# Line 3568 | Line 3700 | test "$ac_cv_exeext" = no && ac_cv_exeex
3700   else
3701    ac_file=''
3702   fi
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3572 $as_echo "$ac_file" >&6; }
3703   if test -z "$ac_file"; then :
3704 <  $as_echo "$as_me: failed program was:" >&5
3704 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 > $as_echo "no" >&6; }
3706 > $as_echo "$as_me: failed program was:" >&5
3707   sed 's/^/| /' conftest.$ac_ext >&5
3708  
3709   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 < { as_fn_set_status 77
3712 < as_fn_error "C compiler cannot create executables
3713 < See \`config.log' for more details." "$LINENO" 5; }; }
3711 > as_fn_error 77 "C compiler cannot create executables
3712 > See \`config.log' for more details" "$LINENO" 5; }
3713 > else
3714 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3715 > $as_echo "yes" >&6; }
3716   fi
3717 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3718 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3719 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3720 + $as_echo "$ac_file" >&6; }
3721   ac_exeext=$ac_cv_exeext
3722  
3723 < # Check that the compiler produces executables we can run.  If not, either
3586 < # the compiler is broken, or we cross compile.
3587 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3588 < $as_echo_n "checking whether the C compiler works... " >&6; }
3589 < # If not cross compiling, check that we can run a simple program.
3590 < if test "$cross_compiling" != yes; then
3591 <  if { ac_try='./$ac_file'
3592 <  { { case "(($ac_try" in
3593 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 <  *) ac_try_echo=$ac_try;;
3595 < esac
3596 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597 < $as_echo "$ac_try_echo"; } >&5
3598 <  (eval "$ac_try") 2>&5
3599 <  ac_status=$?
3600 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601 <  test $ac_status = 0; }; }; then
3602 <    cross_compiling=no
3603 <  else
3604 <    if test "$cross_compiling" = maybe; then
3605 <        cross_compiling=yes
3606 <    else
3607 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 < as_fn_error "cannot run C compiled programs.
3610 < If you meant to cross compile, use \`--host'.
3611 < See \`config.log' for more details." "$LINENO" 5; }
3612 <    fi
3613 <  fi
3614 < fi
3615 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 < $as_echo "yes" >&6; }
3617 <
3618 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3723 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3724   ac_clean_files=$ac_clean_files_save
3620 # Check that the compiler produces executables we can run.  If not, either
3621 # the compiler is broken, or we cross compile.
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3623 $as_echo_n "checking whether we are cross compiling... " >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3625 $as_echo "$cross_compiling" >&6; }
3626
3725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3726   $as_echo_n "checking for suffix of executables... " >&6; }
3727   if { { ac_try="$ac_link"
# Line 3653 | Line 3751 | done
3751   else
3752    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3753   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3755 < See \`config.log' for more details." "$LINENO" 5; }
3754 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3755 > See \`config.log' for more details" "$LINENO" 5; }
3756   fi
3757 < rm -f conftest$ac_cv_exeext
3757 > rm -f conftest conftest$ac_cv_exeext
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3759   $as_echo "$ac_cv_exeext" >&6; }
3760  
3761   rm -f conftest.$ac_ext
3762   EXEEXT=$ac_cv_exeext
3763   ac_exeext=$EXEEXT
3764 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 + /* end confdefs.h.  */
3766 + #include <stdio.h>
3767 + int
3768 + main ()
3769 + {
3770 + FILE *f = fopen ("conftest.out", "w");
3771 + return ferror (f) || fclose (f) != 0;
3772 +
3773 +  ;
3774 +  return 0;
3775 + }
3776 + _ACEOF
3777 + ac_clean_files="$ac_clean_files conftest.out"
3778 + # Check that the compiler produces executables we can run.  If not, either
3779 + # the compiler is broken, or we cross compile.
3780 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3781 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3782 + if test "$cross_compiling" != yes; then
3783 +  { { ac_try="$ac_link"
3784 + case "(($ac_try" in
3785 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 +  *) ac_try_echo=$ac_try;;
3787 + esac
3788 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3789 + $as_echo "$ac_try_echo"; } >&5
3790 +  (eval "$ac_link") 2>&5
3791 +  ac_status=$?
3792 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 +  test $ac_status = 0; }
3794 +  if { ac_try='./conftest$ac_cv_exeext'
3795 +  { { case "(($ac_try" in
3796 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 +  *) ac_try_echo=$ac_try;;
3798 + esac
3799 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3800 + $as_echo "$ac_try_echo"; } >&5
3801 +  (eval "$ac_try") 2>&5
3802 +  ac_status=$?
3803 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 +  test $ac_status = 0; }; }; then
3805 +    cross_compiling=no
3806 +  else
3807 +    if test "$cross_compiling" = maybe; then
3808 +        cross_compiling=yes
3809 +    else
3810 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 + as_fn_error $? "cannot run C compiled programs.
3813 + If you meant to cross compile, use \`--host'.
3814 + See \`config.log' for more details" "$LINENO" 5; }
3815 +    fi
3816 +  fi
3817 + fi
3818 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3819 + $as_echo "$cross_compiling" >&6; }
3820 +
3821 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3822 + ac_clean_files=$ac_clean_files_save
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3824   $as_echo_n "checking for suffix of object files... " >&6; }
3825 < if test "${ac_cv_objext+set}" = set; then :
3825 > if ${ac_cv_objext+:} false; then :
3826    $as_echo_n "(cached) " >&6
3827   else
3828    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3705 | Line 3862 | sed 's/^/| /' conftest.$ac_ext >&5
3862  
3863   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3864   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3865 < as_fn_error "cannot compute suffix of object files: cannot compile
3866 < See \`config.log' for more details." "$LINENO" 5; }
3865 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3866 > See \`config.log' for more details" "$LINENO" 5; }
3867   fi
3868   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3869   fi
# Line 3716 | Line 3873 | OBJEXT=$ac_cv_objext
3873   ac_objext=$OBJEXT
3874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3875   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3876 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3876 > if ${ac_cv_c_compiler_gnu+:} false; then :
3877    $as_echo_n "(cached) " >&6
3878   else
3879    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3753 | Line 3910 | ac_test_CFLAGS=${CFLAGS+set}
3910   ac_save_CFLAGS=$CFLAGS
3911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3912   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3913 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3913 > if ${ac_cv_prog_cc_g+:} false; then :
3914    $as_echo_n "(cached) " >&6
3915   else
3916    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3831 | Line 3988 | else
3988   fi
3989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3990   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3991 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3991 > if ${ac_cv_prog_cc_c89+:} false; then :
3992    $as_echo_n "(cached) " >&6
3993   else
3994    ac_cv_prog_cc_c89=no
# Line 3840 | Line 3997 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3997   /* end confdefs.h.  */
3998   #include <stdarg.h>
3999   #include <stdio.h>
4000 < #include <sys/types.h>
3844 < #include <sys/stat.h>
4000 > struct stat;
4001   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4002   struct buf { int x; };
4003   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3930 | Line 4086 | depcc="$CC"   am_compiler_list=
4086  
4087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4088   $as_echo_n "checking dependency style of $depcc... " >&6; }
4089 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4089 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4090    $as_echo_n "(cached) " >&6
4091   else
4092    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4093    # We make a subdir and do the tests there.  Otherwise we can end up
4094    # making bogus files that we don't know about and never remove.  For
4095    # instance it was reported that on HP-UX the gcc test will end up
4096 <  # making a dummy file named `D' -- because `-MD' means `put the output
4097 <  # in D'.
4096 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4097 >  # in D".
4098 >  rm -rf conftest.dir
4099    mkdir conftest.dir
4100    # Copy depcomp to subdir because otherwise we won't find it if we're
4101    # using a relative directory.
# Line 3972 | Line 4129 | else
4129      : > sub/conftest.c
4130      for i in 1 2 3 4 5 6; do
4131        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4132 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4133 <      # Solaris 8's {/usr,}/bin/sh.
4134 <      touch sub/conftst$i.h
4132 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4133 >      # Solaris 10 /bin/sh.
4134 >      echo '/* dummy */' > sub/conftst$i.h
4135      done
4136      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4137  
4138 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4138 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4139      # mode.  It turns out that the SunPro C++ compiler does not properly
4140 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4141 <    # versions had trouble with output in subdirs
4140 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4141 >    # versions had trouble with output in subdirs.
4142      am__obj=sub/conftest.${OBJEXT-o}
4143      am__minus_obj="-o $am__obj"
4144      case $depmode in
# Line 3990 | Line 4147 | else
4147        test "$am__universal" = false || continue
4148        ;;
4149      nosideeffect)
4150 <      # after this tag, mechanisms are not by side-effect, so they'll
4151 <      # only be used when explicitly requested
4150 >      # After this tag, mechanisms are not by side-effect, so they'll
4151 >      # only be used when explicitly requested.
4152        if test "x$enable_dependency_tracking" = xyes; then
4153          continue
4154        else
4155          break
4156        fi
4157        ;;
4158 <    msvisualcpp | msvcmsys)
4159 <      # This compiler won't grok `-c -o', but also, the minuso test has
4158 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4159 >      # This compiler won't grok '-c -o', but also, the minuso test has
4160        # not run yet.  These depmodes are late enough in the game, and
4161        # so weak that their functioning should not be impacted.
4162        am__obj=conftest.${OBJEXT-o}
# Line 4055 | Line 4212 | fi
4212  
4213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4214   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4215 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4215 > if ${ac_cv_prog_cc_c99+:} false; then :
4216    $as_echo_n "(cached) " >&6
4217   else
4218    ac_cv_prog_cc_c99=no
# Line 4199 | Line 4356 | main ()
4356    return 0;
4357   }
4358   _ACEOF
4359 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4359 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4360   do
4361    CC="$ac_save_CC $ac_arg"
4362    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4231 | Line 4388 | fi
4388  
4389  
4390   if test "$ac_cv_prog_cc_c99" = "no"; then :
4391 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4391 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4392   fi
4393   for ac_prog in 'bison -y' byacc
4394   do
# Line 4239 | Line 4396 | do
4396   set dummy $ac_prog; ac_word=$2
4397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398   $as_echo_n "checking for $ac_word... " >&6; }
4399 < if test "${ac_cv_prog_YACC+set}" = set; then :
4399 > if ${ac_cv_prog_YACC+:} false; then :
4400    $as_echo_n "(cached) " >&6
4401   else
4402    if test -n "$YACC"; then
# Line 4251 | Line 4408 | do
4408    IFS=$as_save_IFS
4409    test -z "$as_dir" && as_dir=.
4410      for ac_exec_ext in '' $ac_executable_extensions; do
4411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412      ac_cv_prog_YACC="$ac_prog"
4413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414      break 2
# Line 4283 | Line 4440 | do
4440   set dummy $ac_prog; ac_word=$2
4441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442   $as_echo_n "checking for $ac_word... " >&6; }
4443 < if test "${ac_cv_prog_LEX+set}" = set; then :
4443 > if ${ac_cv_prog_LEX+:} false; then :
4444    $as_echo_n "(cached) " >&6
4445   else
4446    if test -n "$LEX"; then
# Line 4295 | Line 4452 | do
4452    IFS=$as_save_IFS
4453    test -z "$as_dir" && as_dir=.
4454      for ac_exec_ext in '' $ac_executable_extensions; do
4455 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4455 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456      ac_cv_prog_LEX="$ac_prog"
4457      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458      break 2
# Line 4327 | Line 4484 | a { ECHO; }
4484   b { REJECT; }
4485   c { yymore (); }
4486   d { yyless (1); }
4487 < e { yyless (input () != 0); }
4487 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4488 >    yyless ((input () != 0)); }
4489   f { unput (yytext[0]); }
4490   . { BEGIN INITIAL; }
4491   %%
# Line 4353 | Line 4511 | $as_echo "$ac_try_echo"; } >&5
4511    test $ac_status = 0; }
4512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4513   $as_echo_n "checking lex output file root... " >&6; }
4514 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4514 > if ${ac_cv_prog_lex_root+:} false; then :
4515    $as_echo_n "(cached) " >&6
4516   else
4517  
# Line 4362 | Line 4520 | if test -f lex.yy.c; then
4520   elif test -f lexyy.c; then
4521    ac_cv_prog_lex_root=lexyy
4522   else
4523 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4523 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4524   fi
4525   fi
4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4372 | Line 4530 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4530   if test -z "${LEXLIB+set}"; then
4531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4532   $as_echo_n "checking lex library... " >&6; }
4533 < if test "${ac_cv_lib_lex+set}" = set; then :
4533 > if ${ac_cv_lib_lex+:} false; then :
4534    $as_echo_n "(cached) " >&6
4535   else
4536  
# Line 4402 | Line 4560 | fi
4560  
4561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4562   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4563 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4563 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4564    $as_echo_n "(cached) " >&6
4565   else
4566    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4413 | Line 4571 | ac_save_LIBS=$LIBS
4571   LIBS="$LEXLIB $ac_save_LIBS"
4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573   /* end confdefs.h.  */
4574 < #define YYTEXT_POINTER 1
4574 >
4575 >  #define YYTEXT_POINTER 1
4576   `cat $LEX_OUTPUT_ROOT.c`
4577   _ACEOF
4578   if ac_fn_c_try_link "$LINENO"; then :
# Line 4440 | Line 4599 | fi
4599  
4600  
4601   # Initializing libtool.
4602 +
4603 +
4604 +
4605 +
4606 +
4607 +
4608 +
4609   case `pwd` in
4610    *\ * | *\     *)
4611      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4448 | Line 4614 | esac
4614  
4615  
4616  
4617 < macro_version='2.2.6'
4618 < macro_revision='1.3012'
4617 > macro_version='2.4.2'
4618 > macro_revision='1.3337'
4619  
4620  
4621  
# Line 4467 | Line 4633 | ltmain="$ac_aux_dir/ltmain.sh"
4633  
4634   # Make sure we can run config.sub.
4635   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4636 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4636 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4637  
4638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4639   $as_echo_n "checking build system type... " >&6; }
4640 < if test "${ac_cv_build+set}" = set; then :
4640 > if ${ac_cv_build+:} false; then :
4641    $as_echo_n "(cached) " >&6
4642   else
4643    ac_build_alias=$build_alias
4644   test "x$ac_build_alias" = x &&
4645    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4646   test "x$ac_build_alias" = x &&
4647 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4647 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4648   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4649 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4649 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4650  
4651   fi
4652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4653   $as_echo "$ac_cv_build" >&6; }
4654   case $ac_cv_build in
4655   *-*-*) ;;
4656 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4656 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4657   esac
4658   build=$ac_cv_build
4659   ac_save_IFS=$IFS; IFS='-'
# Line 4505 | Line 4671 | case $build_os in *\ *) build_os=`echo "
4671  
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4673   $as_echo_n "checking host system type... " >&6; }
4674 < if test "${ac_cv_host+set}" = set; then :
4674 > if ${ac_cv_host+:} false; then :
4675    $as_echo_n "(cached) " >&6
4676   else
4677    if test "x$host_alias" = x; then
4678    ac_cv_host=$ac_cv_build
4679   else
4680    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4681 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4681 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4682   fi
4683  
4684   fi
# Line 4520 | Line 4686 | fi
4686   $as_echo "$ac_cv_host" >&6; }
4687   case $ac_cv_host in
4688   *-*-*) ;;
4689 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4689 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4690   esac
4691   host=$ac_cv_host
4692   ac_save_IFS=$IFS; IFS='-'
# Line 4536 | Line 4702 | IFS=$ac_save_IFS
4702   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4703  
4704  
4705 + # Backslashify metacharacters that are still active within
4706 + # double-quoted strings.
4707 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4708 +
4709 + # Same as above, but do not quote variable references.
4710 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4711 +
4712 + # Sed substitution to delay expansion of an escaped shell variable in a
4713 + # double_quote_subst'ed string.
4714 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4715 +
4716 + # Sed substitution to delay expansion of an escaped single quote.
4717 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4718 +
4719 + # Sed substitution to avoid accidental globbing in evaled expressions
4720 + no_glob_subst='s/\*/\\\*/g'
4721 +
4722 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4723 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4724 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4725 +
4726 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4727 + $as_echo_n "checking how to print strings... " >&6; }
4728 + # Test print first, because it will be a builtin if present.
4729 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4730 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4731 +  ECHO='print -r --'
4732 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4733 +  ECHO='printf %s\n'
4734 + else
4735 +  # Use this function as a fallback that always works.
4736 +  func_fallback_echo ()
4737 +  {
4738 +    eval 'cat <<_LTECHO_EOF
4739 + $1
4740 + _LTECHO_EOF'
4741 +  }
4742 +  ECHO='func_fallback_echo'
4743 + fi
4744 +
4745 + # func_echo_all arg...
4746 + # Invoke $ECHO with all args, space-separated.
4747 + func_echo_all ()
4748 + {
4749 +    $ECHO ""
4750 + }
4751 +
4752 + case "$ECHO" in
4753 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4754 + $as_echo "printf" >&6; } ;;
4755 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4756 + $as_echo "print -r" >&6; } ;;
4757 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4758 + $as_echo "cat" >&6; } ;;
4759 + esac
4760 +
4761 +
4762 +
4763 +
4764 +
4765 +
4766 +
4767 +
4768 +
4769 +
4770 +
4771 +
4772 +
4773 +
4774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4775   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4776 < if test "${ac_cv_path_SED+set}" = set; then :
4776 > if ${ac_cv_path_SED+:} false; then :
4777    $as_echo_n "(cached) " >&6
4778   else
4779              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4558 | Line 4793 | do
4793      for ac_prog in sed gsed; do
4794      for ac_exec_ext in '' $ac_executable_extensions; do
4795        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4796 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4796 >      as_fn_executable_p "$ac_path_SED" || continue
4797   # Check for GNU ac_path_SED and select it if it is found.
4798    # Check for GNU $ac_path_SED
4799   case `"$ac_path_SED" --version 2>&1` in
# Line 4593 | Line 4828 | esac
4828    done
4829   IFS=$as_save_IFS
4830    if test -z "$ac_cv_path_SED"; then
4831 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4831 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4832    fi
4833   else
4834    ac_cv_path_SED=$SED
# Line 4620 | Line 4855 | Xsed="$SED -e 1s/^X//"
4855  
4856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4857   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4858 < if test "${ac_cv_path_GREP+set}" = set; then :
4858 > if ${ac_cv_path_GREP+:} false; then :
4859    $as_echo_n "(cached) " >&6
4860   else
4861    if test -z "$GREP"; then
# Line 4634 | Line 4869 | do
4869      for ac_prog in grep ggrep; do
4870      for ac_exec_ext in '' $ac_executable_extensions; do
4871        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4872 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4872 >      as_fn_executable_p "$ac_path_GREP" || continue
4873   # Check for GNU ac_path_GREP and select it if it is found.
4874    # Check for GNU $ac_path_GREP
4875   case `"$ac_path_GREP" --version 2>&1` in
# Line 4669 | Line 4904 | esac
4904    done
4905   IFS=$as_save_IFS
4906    if test -z "$ac_cv_path_GREP"; then
4907 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4907 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4908    fi
4909   else
4910    ac_cv_path_GREP=$GREP
# Line 4683 | Line 4918 | $as_echo "$ac_cv_path_GREP" >&6; }
4918  
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4920   $as_echo_n "checking for egrep... " >&6; }
4921 < if test "${ac_cv_path_EGREP+set}" = set; then :
4921 > if ${ac_cv_path_EGREP+:} false; then :
4922    $as_echo_n "(cached) " >&6
4923   else
4924    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4700 | Line 4935 | do
4935      for ac_prog in egrep; do
4936      for ac_exec_ext in '' $ac_executable_extensions; do
4937        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4938 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4938 >      as_fn_executable_p "$ac_path_EGREP" || continue
4939   # Check for GNU ac_path_EGREP and select it if it is found.
4940    # Check for GNU $ac_path_EGREP
4941   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4735 | Line 4970 | esac
4970    done
4971   IFS=$as_save_IFS
4972    if test -z "$ac_cv_path_EGREP"; then
4973 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4973 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4974    fi
4975   else
4976    ac_cv_path_EGREP=$EGREP
# Line 4750 | Line 4985 | $as_echo "$ac_cv_path_EGREP" >&6; }
4985  
4986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4987   $as_echo_n "checking for fgrep... " >&6; }
4988 < if test "${ac_cv_path_FGREP+set}" = set; then :
4988 > if ${ac_cv_path_FGREP+:} false; then :
4989    $as_echo_n "(cached) " >&6
4990   else
4991    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4767 | Line 5002 | do
5002      for ac_prog in fgrep; do
5003      for ac_exec_ext in '' $ac_executable_extensions; do
5004        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5005 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5005 >      as_fn_executable_p "$ac_path_FGREP" || continue
5006   # Check for GNU ac_path_FGREP and select it if it is found.
5007    # Check for GNU $ac_path_FGREP
5008   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4802 | Line 5037 | esac
5037    done
5038   IFS=$as_save_IFS
5039    if test -z "$ac_cv_path_FGREP"; then
5040 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5040 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5041    fi
5042   else
5043    ac_cv_path_FGREP=$FGREP
# Line 4881 | Line 5116 | else
5116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5117   $as_echo_n "checking for non-GNU ld... " >&6; }
5118   fi
5119 < if test "${lt_cv_path_LD+set}" = set; then :
5119 > if ${lt_cv_path_LD+:} false; then :
5120    $as_echo_n "(cached) " >&6
5121   else
5122    if test -z "$LD"; then
# Line 4918 | Line 5153 | else
5153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154   $as_echo "no" >&6; }
5155   fi
5156 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5156 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5158   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5159 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5159 > if ${lt_cv_prog_gnu_ld+:} false; then :
5160    $as_echo_n "(cached) " >&6
5161   else
5162    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4948 | Line 5183 | with_gnu_ld=$lt_cv_prog_gnu_ld
5183  
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5185   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5186 < if test "${lt_cv_path_NM+set}" = set; then :
5186 > if ${lt_cv_path_NM+:} false; then :
5187    $as_echo_n "(cached) " >&6
5188   else
5189    if test -n "$NM"; then
# Line 5001 | Line 5236 | if test "$lt_cv_path_NM" != "no"; then
5236    NM="$lt_cv_path_NM"
5237   else
5238    # Didn't find any BSD compatible name lister, look for dumpbin.
5239 <  if test -n "$ac_tool_prefix"; then
5240 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5239 >  if test -n "$DUMPBIN"; then :
5240 >    # Let the user override the test.
5241 >  else
5242 >    if test -n "$ac_tool_prefix"; then
5243 >  for ac_prog in dumpbin "link -dump"
5244    do
5245      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5246   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248   $as_echo_n "checking for $ac_word... " >&6; }
5249 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5249 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5250    $as_echo_n "(cached) " >&6
5251   else
5252    if test -n "$DUMPBIN"; then
# Line 5020 | Line 5258 | do
5258    IFS=$as_save_IFS
5259    test -z "$as_dir" && as_dir=.
5260      for ac_exec_ext in '' $ac_executable_extensions; do
5261 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5263      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264      break 2
# Line 5046 | Line 5284 | fi
5284   fi
5285   if test -z "$DUMPBIN"; then
5286    ac_ct_DUMPBIN=$DUMPBIN
5287 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5287 >  for ac_prog in dumpbin "link -dump"
5288   do
5289    # Extract the first word of "$ac_prog", so it can be a program name with args.
5290   set dummy $ac_prog; ac_word=$2
5291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292   $as_echo_n "checking for $ac_word... " >&6; }
5293 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5293 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5294    $as_echo_n "(cached) " >&6
5295   else
5296    if test -n "$ac_ct_DUMPBIN"; then
# Line 5064 | Line 5302 | do
5302    IFS=$as_save_IFS
5303    test -z "$as_dir" && as_dir=.
5304      for ac_exec_ext in '' $ac_executable_extensions; do
5305 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5305 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5307      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308      break 2
# Line 5101 | Line 5339 | esac
5339    fi
5340   fi
5341  
5342 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5343 +    *COFF*)
5344 +      DUMPBIN="$DUMPBIN -symbols"
5345 +      ;;
5346 +    *)
5347 +      DUMPBIN=:
5348 +      ;;
5349 +    esac
5350 +  fi
5351  
5352    if test "$DUMPBIN" != ":"; then
5353      NM="$DUMPBIN"
# Line 5115 | Line 5362 | test -z "$NM" && NM=nm
5362  
5363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5364   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5365 < if test "${lt_cv_nm_interface+set}" = set; then :
5365 > if ${lt_cv_nm_interface+:} false; then :
5366    $as_echo_n "(cached) " >&6
5367   else
5368    lt_cv_nm_interface="BSD nm"
5369    echo "int some_variable = 0;" > conftest.$ac_ext
5370 <  (eval echo "\"\$as_me:5123: $ac_compile\"" >&5)
5370 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5371    (eval "$ac_compile" 2>conftest.err)
5372    cat conftest.err >&5
5373 <  (eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5373 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5374    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5375    cat conftest.err >&5
5376 <  (eval echo "\"\$as_me:5129: output\"" >&5)
5376 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5377    cat conftest.out >&5
5378    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5379      lt_cv_nm_interface="MS dumpbin"
# Line 5150 | Line 5397 | fi
5397   # find the maximum length of command line arguments
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5399   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5400 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5400 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5401    $as_echo_n "(cached) " >&6
5402   else
5403      i=0
# Line 5183 | Line 5430 | else
5430      lt_cv_sys_max_cmd_len=8192;
5431      ;;
5432  
5433 +  mint*)
5434 +    # On MiNT this can take a long time and run out of memory.
5435 +    lt_cv_sys_max_cmd_len=8192;
5436 +    ;;
5437 +
5438    amigaos*)
5439      # On AmigaOS with pdksh, this test takes hours, literally.
5440      # So we just punt and use a minimum line length of 8192.
# Line 5208 | Line 5460 | else
5460      lt_cv_sys_max_cmd_len=196608
5461      ;;
5462  
5463 +  os2*)
5464 +    # The test takes a long time on OS/2.
5465 +    lt_cv_sys_max_cmd_len=8192
5466 +    ;;
5467 +
5468    osf*)
5469      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5470      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5247 | Line 5504 | else
5504        # If test is not a shell built-in, we'll probably end up computing a
5505        # maximum length that is only half of the actual maximum length, but
5506        # we can't tell.
5507 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5508 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5507 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5508 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5509                test $i != 17 # 1/2 MB should be enough
5510        do
5511          i=`expr $i + 1`
# Line 5290 | Line 5547 | $as_echo_n "checking whether the shell u
5547   # Try some XSI features
5548   xsi_shell=no
5549   ( _lt_dummy="a/b/c"
5550 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5551 <      = c,a/b,, \
5550 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5551 >      = c,a/b,b/c, \
5552      && eval 'test $(( 1 + 1 )) -eq 2 \
5553      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5554    && xsi_shell=yes
# Line 5340 | Line 5597 | esac
5597  
5598  
5599  
5600 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5601 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5602 + if ${lt_cv_to_host_file_cmd+:} false; then :
5603 +  $as_echo_n "(cached) " >&6
5604 + else
5605 +  case $host in
5606 +  *-*-mingw* )
5607 +    case $build in
5608 +      *-*-mingw* ) # actually msys
5609 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5610 +        ;;
5611 +      *-*-cygwin* )
5612 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5613 +        ;;
5614 +      * ) # otherwise, assume *nix
5615 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5616 +        ;;
5617 +    esac
5618 +    ;;
5619 +  *-*-cygwin* )
5620 +    case $build in
5621 +      *-*-mingw* ) # actually msys
5622 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5623 +        ;;
5624 +      *-*-cygwin* )
5625 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5626 +        ;;
5627 +      * ) # otherwise, assume *nix
5628 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5629 +        ;;
5630 +    esac
5631 +    ;;
5632 +  * ) # unhandled hosts (and "normal" native builds)
5633 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5634 +    ;;
5635 + esac
5636 +
5637 + fi
5638 +
5639 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5640 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5641 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5642 +
5643 +
5644 +
5645 +
5646 +
5647 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5648 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5649 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5650 +  $as_echo_n "(cached) " >&6
5651 + else
5652 +  #assume ordinary cross tools, or native build.
5653 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5654 + case $host in
5655 +  *-*-mingw* )
5656 +    case $build in
5657 +      *-*-mingw* ) # actually msys
5658 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5659 +        ;;
5660 +    esac
5661 +    ;;
5662 + esac
5663 +
5664 + fi
5665 +
5666 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5667 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5668 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5669 +
5670 +
5671 +
5672 +
5673 +
5674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5675   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5676 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5676 > if ${lt_cv_ld_reload_flag+:} false; then :
5677    $as_echo_n "(cached) " >&6
5678   else
5679    lt_cv_ld_reload_flag='-r'
# Line 5356 | Line 5687 | case $reload_flag in
5687   esac
5688   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5689   case $host_os in
5690 +  cygwin* | mingw* | pw32* | cegcc*)
5691 +    if test "$GCC" != yes; then
5692 +      reload_cmds=false
5693 +    fi
5694 +    ;;
5695    darwin*)
5696      if test "$GCC" = yes; then
5697        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5378 | Line 5714 | if test -n "$ac_tool_prefix"; then
5714   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716   $as_echo_n "checking for $ac_word... " >&6; }
5717 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5717 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5718    $as_echo_n "(cached) " >&6
5719   else
5720    if test -n "$OBJDUMP"; then
# Line 5390 | Line 5726 | do
5726    IFS=$as_save_IFS
5727    test -z "$as_dir" && as_dir=.
5728      for ac_exec_ext in '' $ac_executable_extensions; do
5729 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5731      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732      break 2
# Line 5418 | Line 5754 | if test -z "$ac_cv_prog_OBJDUMP"; then
5754   set dummy objdump; ac_word=$2
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756   $as_echo_n "checking for $ac_word... " >&6; }
5757 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5757 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5758    $as_echo_n "(cached) " >&6
5759   else
5760    if test -n "$ac_ct_OBJDUMP"; then
# Line 5430 | Line 5766 | do
5766    IFS=$as_save_IFS
5767    test -z "$as_dir" && as_dir=.
5768      for ac_exec_ext in '' $ac_executable_extensions; do
5769 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5771      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772      break 2
# Line 5477 | Line 5813 | test -z "$OBJDUMP" && OBJDUMP=objdump
5813  
5814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5815   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5816 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5816 > if ${lt_cv_deplibs_check_method+:} false; then :
5817    $as_echo_n "(cached) " >&6
5818   else
5819    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5519 | Line 5855 | mingw* | pw32*)
5855    # Base MSYS/MinGW do not provide the 'file' command needed by
5856    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5857    # unless we find 'file', for example because we are cross-compiling.
5858 <  if ( file / ) >/dev/null 2>&1; then
5858 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5859 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5860      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5861      lt_cv_file_magic_cmd='func_win32_libid'
5862    else
5863 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5863 >    # Keep this pattern in sync with the one in func_win32_libid.
5864 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5865      lt_cv_file_magic_cmd='$OBJDUMP -f'
5866    fi
5867    ;;
5868  
5869 < cegcc)
5869 > cegcc*)
5870    # use the weaker test based on 'objdump'. See mingw*.
5871    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5872    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5558 | Line 5896 | gnu*)
5896    lt_cv_deplibs_check_method=pass_all
5897    ;;
5898  
5899 + haiku*)
5900 +  lt_cv_deplibs_check_method=pass_all
5901 +  ;;
5902 +
5903   hpux10.20* | hpux11*)
5904    lt_cv_file_magic_cmd=/usr/bin/file
5905    case $host_cpu in
# Line 5566 | Line 5908 | hpux10.20* | hpux11*)
5908      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5909      ;;
5910    hppa*64*)
5911 <    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]'
5911 >    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]'
5912      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5913      ;;
5914    *)
5915 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5915 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5916      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5917      ;;
5918    esac
# Line 5591 | Line 5933 | irix5* | irix6* | nonstopux*)
5933    lt_cv_deplibs_check_method=pass_all
5934    ;;
5935  
5936 < # This must be Linux ELF.
5937 < linux* | k*bsd*-gnu)
5936 > # This must be glibc/ELF.
5937 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5938    lt_cv_deplibs_check_method=pass_all
5939    ;;
5940  
# Line 5673 | Line 6015 | esac
6015   fi
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6017   $as_echo "$lt_cv_deplibs_check_method" >&6; }
6018 +
6019 + file_magic_glob=
6020 + want_nocaseglob=no
6021 + if test "$build" = "$host"; then
6022 +  case $host_os in
6023 +  mingw* | pw32*)
6024 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6025 +      want_nocaseglob=yes
6026 +    else
6027 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6028 +    fi
6029 +    ;;
6030 +  esac
6031 + fi
6032 +
6033   file_magic_cmd=$lt_cv_file_magic_cmd
6034   deplibs_check_method=$lt_cv_deplibs_check_method
6035   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5688 | Line 6045 | test -z "$deplibs_check_method" && depli
6045  
6046  
6047  
6048 +
6049 +
6050 +
6051 +
6052 +
6053 +
6054 +
6055 +
6056 +
6057 +
6058   if test -n "$ac_tool_prefix"; then
6059 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6060 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6059 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6060 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062   $as_echo_n "checking for $ac_word... " >&6; }
6063 < if test "${ac_cv_prog_AR+set}" = set; then :
6063 > if ${ac_cv_prog_DLLTOOL+:} false; then :
6064 >  $as_echo_n "(cached) " >&6
6065 > else
6066 >  if test -n "$DLLTOOL"; then
6067 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6068 > else
6069 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 > for as_dir in $PATH
6071 > do
6072 >  IFS=$as_save_IFS
6073 >  test -z "$as_dir" && as_dir=.
6074 >    for ac_exec_ext in '' $ac_executable_extensions; do
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6077 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 >    break 2
6079 >  fi
6080 > done
6081 >  done
6082 > IFS=$as_save_IFS
6083 >
6084 > fi
6085 > fi
6086 > DLLTOOL=$ac_cv_prog_DLLTOOL
6087 > if test -n "$DLLTOOL"; then
6088 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6089 > $as_echo "$DLLTOOL" >&6; }
6090 > else
6091 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 > $as_echo "no" >&6; }
6093 > fi
6094 >
6095 >
6096 > fi
6097 > if test -z "$ac_cv_prog_DLLTOOL"; then
6098 >  ac_ct_DLLTOOL=$DLLTOOL
6099 >  # Extract the first word of "dlltool", so it can be a program name with args.
6100 > set dummy dlltool; ac_word=$2
6101 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 > $as_echo_n "checking for $ac_word... " >&6; }
6103 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6104 >  $as_echo_n "(cached) " >&6
6105 > else
6106 >  if test -n "$ac_ct_DLLTOOL"; then
6107 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6108 > else
6109 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 > for as_dir in $PATH
6111 > do
6112 >  IFS=$as_save_IFS
6113 >  test -z "$as_dir" && as_dir=.
6114 >    for ac_exec_ext in '' $ac_executable_extensions; do
6115 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6117 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 >    break 2
6119 >  fi
6120 > done
6121 >  done
6122 > IFS=$as_save_IFS
6123 >
6124 > fi
6125 > fi
6126 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6127 > if test -n "$ac_ct_DLLTOOL"; then
6128 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6129 > $as_echo "$ac_ct_DLLTOOL" >&6; }
6130 > else
6131 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 > $as_echo "no" >&6; }
6133 > fi
6134 >
6135 >  if test "x$ac_ct_DLLTOOL" = x; then
6136 >    DLLTOOL="false"
6137 >  else
6138 >    case $cross_compiling:$ac_tool_warned in
6139 > yes:)
6140 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 > ac_tool_warned=yes ;;
6143 > esac
6144 >    DLLTOOL=$ac_ct_DLLTOOL
6145 >  fi
6146 > else
6147 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
6148 > fi
6149 >
6150 > test -z "$DLLTOOL" && DLLTOOL=dlltool
6151 >
6152 >
6153 >
6154 >
6155 >
6156 >
6157 >
6158 >
6159 >
6160 >
6161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6162 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6163 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6164 >  $as_echo_n "(cached) " >&6
6165 > else
6166 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6167 >
6168 > case $host_os in
6169 > cygwin* | mingw* | pw32* | cegcc*)
6170 >  # two different shell functions defined in ltmain.sh
6171 >  # decide which to use based on capabilities of $DLLTOOL
6172 >  case `$DLLTOOL --help 2>&1` in
6173 >  *--identify-strict*)
6174 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6175 >    ;;
6176 >  *)
6177 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6178 >    ;;
6179 >  esac
6180 >  ;;
6181 > *)
6182 >  # fallback: assume linklib IS sharedlib
6183 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6184 >  ;;
6185 > esac
6186 >
6187 > fi
6188 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6189 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6190 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6191 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6192 >
6193 >
6194 >
6195 >
6196 >
6197 >
6198 >
6199 > if test -n "$ac_tool_prefix"; then
6200 >  for ac_prog in ar
6201 >  do
6202 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6203 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6204 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 > $as_echo_n "checking for $ac_word... " >&6; }
6206 > if ${ac_cv_prog_AR+:} false; then :
6207    $as_echo_n "(cached) " >&6
6208   else
6209    if test -n "$AR"; then
# Line 5705 | Line 6215 | do
6215    IFS=$as_save_IFS
6216    test -z "$as_dir" && as_dir=.
6217      for ac_exec_ext in '' $ac_executable_extensions; do
6218 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6218 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6219 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6220      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221      break 2
6222    fi
# Line 5726 | Line 6236 | $as_echo "no" >&6; }
6236   fi
6237  
6238  
6239 +    test -n "$AR" && break
6240 +  done
6241   fi
6242 < if test -z "$ac_cv_prog_AR"; then
6242 > if test -z "$AR"; then
6243    ac_ct_AR=$AR
6244 <  # Extract the first word of "ar", so it can be a program name with args.
6245 < set dummy ar; ac_word=$2
6244 >  for ac_prog in ar
6245 > do
6246 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6247 > set dummy $ac_prog; ac_word=$2
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249   $as_echo_n "checking for $ac_word... " >&6; }
6250 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6250 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6251    $as_echo_n "(cached) " >&6
6252   else
6253    if test -n "$ac_ct_AR"; then
# Line 5745 | Line 6259 | do
6259    IFS=$as_save_IFS
6260    test -z "$as_dir" && as_dir=.
6261      for ac_exec_ext in '' $ac_executable_extensions; do
6262 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263 <    ac_cv_prog_ac_ct_AR="ar"
6262 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6263 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6264      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265      break 2
6266    fi
# Line 5765 | Line 6279 | else
6279   $as_echo "no" >&6; }
6280   fi
6281  
6282 +
6283 +  test -n "$ac_ct_AR" && break
6284 + done
6285 +
6286    if test "x$ac_ct_AR" = x; then
6287      AR="false"
6288    else
# Line 5776 | Line 6294 | ac_tool_warned=yes ;;
6294   esac
6295      AR=$ac_ct_AR
6296    fi
5779 else
5780  AR="$ac_cv_prog_AR"
6297   fi
6298  
6299 < test -z "$AR" && AR=ar
6300 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6299 > : ${AR=ar}
6300 > : ${AR_FLAGS=cru}
6301 >
6302 >
6303  
6304  
6305  
# Line 5791 | Line 6309 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6309  
6310  
6311  
6312 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6313 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6314 + if ${lt_cv_ar_at_file+:} false; then :
6315 +  $as_echo_n "(cached) " >&6
6316 + else
6317 +  lt_cv_ar_at_file=no
6318 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 + /* end confdefs.h.  */
6320 +
6321 + int
6322 + main ()
6323 + {
6324 +
6325 +  ;
6326 +  return 0;
6327 + }
6328 + _ACEOF
6329 + if ac_fn_c_try_compile "$LINENO"; then :
6330 +  echo conftest.$ac_objext > conftest.lst
6331 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6332 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6333 +  (eval $lt_ar_try) 2>&5
6334 +  ac_status=$?
6335 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6336 +  test $ac_status = 0; }
6337 +      if test "$ac_status" -eq 0; then
6338 +        # Ensure the archiver fails upon bogus file names.
6339 +        rm -f conftest.$ac_objext libconftest.a
6340 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6341 +  (eval $lt_ar_try) 2>&5
6342 +  ac_status=$?
6343 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6344 +  test $ac_status = 0; }
6345 +        if test "$ac_status" -ne 0; then
6346 +          lt_cv_ar_at_file=@
6347 +        fi
6348 +      fi
6349 +      rm -f conftest.* libconftest.a
6350 +
6351 + fi
6352 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6353 +
6354 + fi
6355 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6356 + $as_echo "$lt_cv_ar_at_file" >&6; }
6357 +
6358 + if test "x$lt_cv_ar_at_file" = xno; then
6359 +  archiver_list_spec=
6360 + else
6361 +  archiver_list_spec=$lt_cv_ar_at_file
6362 + fi
6363 +
6364 +
6365 +
6366 +
6367 +
6368  
6369  
6370   if test -n "$ac_tool_prefix"; then
# Line 5798 | Line 6372 | if test -n "$ac_tool_prefix"; then
6372   set dummy ${ac_tool_prefix}strip; ac_word=$2
6373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374   $as_echo_n "checking for $ac_word... " >&6; }
6375 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6375 > if ${ac_cv_prog_STRIP+:} false; then :
6376    $as_echo_n "(cached) " >&6
6377   else
6378    if test -n "$STRIP"; then
# Line 5810 | Line 6384 | do
6384    IFS=$as_save_IFS
6385    test -z "$as_dir" && as_dir=.
6386      for ac_exec_ext in '' $ac_executable_extensions; do
6387 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6389      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390      break 2
# Line 5838 | Line 6412 | if test -z "$ac_cv_prog_STRIP"; then
6412   set dummy strip; ac_word=$2
6413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414   $as_echo_n "checking for $ac_word... " >&6; }
6415 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6415 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6416    $as_echo_n "(cached) " >&6
6417   else
6418    if test -n "$ac_ct_STRIP"; then
# Line 5850 | Line 6424 | do
6424    IFS=$as_save_IFS
6425    test -z "$as_dir" && as_dir=.
6426      for ac_exec_ext in '' $ac_executable_extensions; do
6427 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6427 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6428      ac_cv_prog_ac_ct_STRIP="strip"
6429      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430      break 2
# Line 5897 | Line 6471 | if test -n "$ac_tool_prefix"; then
6471   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473   $as_echo_n "checking for $ac_word... " >&6; }
6474 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6474 > if ${ac_cv_prog_RANLIB+:} false; then :
6475    $as_echo_n "(cached) " >&6
6476   else
6477    if test -n "$RANLIB"; then
# Line 5909 | Line 6483 | do
6483    IFS=$as_save_IFS
6484    test -z "$as_dir" && as_dir=.
6485      for ac_exec_ext in '' $ac_executable_extensions; do
6486 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6488      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489      break 2
# Line 5937 | Line 6511 | if test -z "$ac_cv_prog_RANLIB"; then
6511   set dummy ranlib; ac_word=$2
6512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513   $as_echo_n "checking for $ac_word... " >&6; }
6514 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6514 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6515    $as_echo_n "(cached) " >&6
6516   else
6517    if test -n "$ac_ct_RANLIB"; then
# Line 5949 | Line 6523 | do
6523    IFS=$as_save_IFS
6524    test -z "$as_dir" && as_dir=.
6525      for ac_exec_ext in '' $ac_executable_extensions; do
6526 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6526 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527      ac_cv_prog_ac_ct_RANLIB="ranlib"
6528      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529      break 2
# Line 5999 | Line 6573 | old_postuninstall_cmds=
6573   if test -n "$RANLIB"; then
6574    case $host_os in
6575    openbsd*)
6576 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6576 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6577      ;;
6578    *)
6579 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6579 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6580      ;;
6581    esac
6582 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6582 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6583   fi
6584  
6585 + case $host_os in
6586 +  darwin*)
6587 +    lock_old_archive_extraction=yes ;;
6588 +  *)
6589 +    lock_old_archive_extraction=no ;;
6590 + esac
6591 +
6592 +
6593 +
6594 +
6595 +
6596 +
6597  
6598  
6599  
# Line 6054 | Line 6640 | compiler=$CC
6640   # Check for command to grab the raw symbol name followed by C symbol from nm.
6641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6642   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6643 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6643 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6644    $as_echo_n "(cached) " >&6
6645   else
6646  
# Line 6115 | Line 6701 | esac
6701   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6702  
6703   # Transform an extracted symbol line into symbol name and symbol address
6704 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6705 < 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'"
6704 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6705 > 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'"
6706  
6707   # Handle CRLF in mingw tool chain
6708   opt_cr=
# Line 6140 | Line 6726 | for ac_symprfx in "" "_"; do
6726      # which start with @ or ?.
6727      lt_cv_sys_global_symbol_pipe="$AWK '"\
6728   "     {last_section=section; section=\$ 3};"\
6729 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6730   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6731   "     \$ 0!~/External *\|/{next};"\
6732   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6152 | Line 6739 | for ac_symprfx in "" "_"; do
6739    else
6740      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6741    fi
6742 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6743  
6744    # Check to see that the pipe works correctly.
6745    pipe_works=no
# Line 6177 | Line 6765 | _LT_EOF
6765    test $ac_status = 0; }; then
6766      # Now try to grab the symbols.
6767      nlist=conftest.nm
6768 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6769 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6768 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6769 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6770    ac_status=$?
6771    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6193 | Line 6781 | _LT_EOF
6781        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6782          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6783            cat <<_LT_EOF > conftest.$ac_ext
6784 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6785 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6786 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6787 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6788 + # define LT_DLSYM_CONST
6789 + #elif defined(__osf__)
6790 + /* This system does not cope well with relocations in const data.  */
6791 + # define LT_DLSYM_CONST
6792 + #else
6793 + # define LT_DLSYM_CONST const
6794 + #endif
6795 +
6796   #ifdef __cplusplus
6797   extern "C" {
6798   #endif
# Line 6204 | Line 6804 | _LT_EOF
6804            cat <<_LT_EOF >> conftest.$ac_ext
6805  
6806   /* The mapping between symbol names and symbols.  */
6807 < const struct {
6807 > LT_DLSYM_CONST struct {
6808    const char *name;
6809    void       *address;
6810   }
# Line 6230 | Line 6830 | static const void *lt_preloaded_setup()
6830   _LT_EOF
6831            # Now try linking the two files.
6832            mv conftest.$ac_objext conftstm.$ac_objext
6833 <          lt_save_LIBS="$LIBS"
6834 <          lt_save_CFLAGS="$CFLAGS"
6833 >          lt_globsym_save_LIBS=$LIBS
6834 >          lt_globsym_save_CFLAGS=$CFLAGS
6835            LIBS="conftstm.$ac_objext"
6836            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6837            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6241 | Line 6841 | _LT_EOF
6841    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6842              pipe_works=yes
6843            fi
6844 <          LIBS="$lt_save_LIBS"
6845 <          CFLAGS="$lt_save_CFLAGS"
6844 >          LIBS=$lt_globsym_save_LIBS
6845 >          CFLAGS=$lt_globsym_save_CFLAGS
6846          else
6847            echo "cannot find nm_test_func in $nlist" >&5
6848          fi
# Line 6279 | Line 6879 | else
6879   $as_echo "ok" >&6; }
6880   fi
6881  
6882 + # Response file support.
6883 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6884 +  nm_file_list_spec='@'
6885 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6886 +  nm_file_list_spec='@'
6887 + fi
6888 +
6889 +
6890 +
6891 +
6892 +
6893  
6894  
6895  
# Line 6300 | Line 6911 | fi
6911  
6912  
6913  
6914 +
6915 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6916 + $as_echo_n "checking for sysroot... " >&6; }
6917 +
6918 + # Check whether --with-sysroot was given.
6919 + if test "${with_sysroot+set}" = set; then :
6920 +  withval=$with_sysroot;
6921 + else
6922 +  with_sysroot=no
6923 + fi
6924 +
6925 +
6926 + lt_sysroot=
6927 + case ${with_sysroot} in #(
6928 + yes)
6929 +   if test "$GCC" = yes; then
6930 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6931 +   fi
6932 +   ;; #(
6933 + /*)
6934 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6935 +   ;; #(
6936 + no|'')
6937 +   ;; #(
6938 + *)
6939 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6940 + $as_echo "${with_sysroot}" >&6; }
6941 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6942 +   ;;
6943 + esac
6944 +
6945 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6946 + $as_echo "${lt_sysroot:-no}" >&6; }
6947 +
6948 +
6949 +
6950 +
6951 +
6952   # Check whether --enable-libtool-lock was given.
6953   if test "${enable_libtool_lock+set}" = set; then :
6954    enableval=$enable_libtool_lock;
# Line 6331 | Line 6980 | ia64-*-hpux*)
6980    ;;
6981   *-*-irix6*)
6982    # Find out which ABI we are using.
6983 <  echo '#line 6334 "configure"' > conftest.$ac_ext
6983 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6984    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6985    (eval $ac_compile) 2>&5
6986    ac_status=$?
# Line 6425 | Line 7074 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7074    CFLAGS="$CFLAGS -belf"
7075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7076   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7077 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7077 > if ${lt_cv_cc_needs_belf+:} false; then :
7078    $as_echo_n "(cached) " >&6
7079   else
7080    ac_ext=c
# Line 6466 | Line 7115 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7115      CFLAGS="$SAVE_CFLAGS"
7116    fi
7117    ;;
7118 < sparc*-*solaris*)
7118 > *-*solaris*)
7119    # Find out which ABI we are using.
7120    echo 'int i;' > conftest.$ac_ext
7121    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6477 | Line 7126 | sparc*-*solaris*)
7126      case `/usr/bin/file conftest.o` in
7127      *64-bit*)
7128        case $lt_cv_prog_gnu_ld in
7129 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7129 >      yes*)
7130 >        case $host in
7131 >        i?86-*-solaris*)
7132 >          LD="${LD-ld} -m elf_x86_64"
7133 >          ;;
7134 >        sparc*-*-solaris*)
7135 >          LD="${LD-ld} -m elf64_sparc"
7136 >          ;;
7137 >        esac
7138 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7139 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7140 >          LD="${LD-ld}_sol2"
7141 >        fi
7142 >        ;;
7143        *)
7144          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7145            LD="${LD-ld} -64"
# Line 6493 | Line 7155 | esac
7155  
7156   need_locks="$enable_libtool_lock"
7157  
7158 + if test -n "$ac_tool_prefix"; then
7159 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7160 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7161 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 + $as_echo_n "checking for $ac_word... " >&6; }
7163 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7164 +  $as_echo_n "(cached) " >&6
7165 + else
7166 +  if test -n "$MANIFEST_TOOL"; then
7167 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7168 + else
7169 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 + for as_dir in $PATH
7171 + do
7172 +  IFS=$as_save_IFS
7173 +  test -z "$as_dir" && as_dir=.
7174 +    for ac_exec_ext in '' $ac_executable_extensions; do
7175 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7177 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 +    break 2
7179 +  fi
7180 + done
7181 +  done
7182 + IFS=$as_save_IFS
7183 +
7184 + fi
7185 + fi
7186 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7187 + if test -n "$MANIFEST_TOOL"; then
7188 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7189 + $as_echo "$MANIFEST_TOOL" >&6; }
7190 + else
7191 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 + $as_echo "no" >&6; }
7193 + fi
7194 +
7195 +
7196 + fi
7197 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7198 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7199 +  # Extract the first word of "mt", so it can be a program name with args.
7200 + set dummy mt; ac_word=$2
7201 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 + $as_echo_n "checking for $ac_word... " >&6; }
7203 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7204 +  $as_echo_n "(cached) " >&6
7205 + else
7206 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7207 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7208 + else
7209 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 + for as_dir in $PATH
7211 + do
7212 +  IFS=$as_save_IFS
7213 +  test -z "$as_dir" && as_dir=.
7214 +    for ac_exec_ext in '' $ac_executable_extensions; do
7215 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7216 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7217 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 +    break 2
7219 +  fi
7220 + done
7221 +  done
7222 + IFS=$as_save_IFS
7223 +
7224 + fi
7225 + fi
7226 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7227 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7228 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7229 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7230 + else
7231 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 + $as_echo "no" >&6; }
7233 + fi
7234 +
7235 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7236 +    MANIFEST_TOOL=":"
7237 +  else
7238 +    case $cross_compiling:$ac_tool_warned in
7239 + yes:)
7240 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7241 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7242 + ac_tool_warned=yes ;;
7243 + esac
7244 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7245 +  fi
7246 + else
7247 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7248 + fi
7249 +
7250 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7251 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7252 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7253 + if ${lt_cv_path_mainfest_tool+:} false; then :
7254 +  $as_echo_n "(cached) " >&6
7255 + else
7256 +  lt_cv_path_mainfest_tool=no
7257 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7258 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7259 +  cat conftest.err >&5
7260 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7261 +    lt_cv_path_mainfest_tool=yes
7262 +  fi
7263 +  rm -f conftest*
7264 + fi
7265 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7266 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7267 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7268 +  MANIFEST_TOOL=:
7269 + fi
7270 +
7271 +
7272 +
7273 +
7274 +
7275  
7276    case $host_os in
7277      rhapsody* | darwin*)
# Line 6501 | Line 7280 | need_locks="$enable_libtool_lock"
7280   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282   $as_echo_n "checking for $ac_word... " >&6; }
7283 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7283 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7284    $as_echo_n "(cached) " >&6
7285   else
7286    if test -n "$DSYMUTIL"; then
# Line 6513 | Line 7292 | do
7292    IFS=$as_save_IFS
7293    test -z "$as_dir" && as_dir=.
7294      for ac_exec_ext in '' $ac_executable_extensions; do
7295 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7296      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7297      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298      break 2
# Line 6541 | Line 7320 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7320   set dummy dsymutil; ac_word=$2
7321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322   $as_echo_n "checking for $ac_word... " >&6; }
7323 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7323 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7324    $as_echo_n "(cached) " >&6
7325   else
7326    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6553 | Line 7332 | do
7332    IFS=$as_save_IFS
7333    test -z "$as_dir" && as_dir=.
7334      for ac_exec_ext in '' $ac_executable_extensions; do
7335 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7336      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7337      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338      break 2
# Line 6593 | Line 7372 | fi
7372   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374   $as_echo_n "checking for $ac_word... " >&6; }
7375 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7375 > if ${ac_cv_prog_NMEDIT+:} false; then :
7376    $as_echo_n "(cached) " >&6
7377   else
7378    if test -n "$NMEDIT"; then
# Line 6605 | Line 7384 | do
7384    IFS=$as_save_IFS
7385    test -z "$as_dir" && as_dir=.
7386      for ac_exec_ext in '' $ac_executable_extensions; do
7387 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7389      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390      break 2
# Line 6633 | Line 7412 | if test -z "$ac_cv_prog_NMEDIT"; then
7412   set dummy nmedit; ac_word=$2
7413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414   $as_echo_n "checking for $ac_word... " >&6; }
7415 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7415 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7416    $as_echo_n "(cached) " >&6
7417   else
7418    if test -n "$ac_ct_NMEDIT"; then
# Line 6645 | Line 7424 | do
7424    IFS=$as_save_IFS
7425    test -z "$as_dir" && as_dir=.
7426      for ac_exec_ext in '' $ac_executable_extensions; do
7427 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7427 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7428      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7429      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430      break 2
# Line 6685 | Line 7464 | fi
7464   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466   $as_echo_n "checking for $ac_word... " >&6; }
7467 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7467 > if ${ac_cv_prog_LIPO+:} false; then :
7468    $as_echo_n "(cached) " >&6
7469   else
7470    if test -n "$LIPO"; then
# Line 6697 | Line 7476 | do
7476    IFS=$as_save_IFS
7477    test -z "$as_dir" && as_dir=.
7478      for ac_exec_ext in '' $ac_executable_extensions; do
7479 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7479 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7481      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482      break 2
# Line 6725 | Line 7504 | if test -z "$ac_cv_prog_LIPO"; then
7504   set dummy lipo; ac_word=$2
7505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506   $as_echo_n "checking for $ac_word... " >&6; }
7507 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7507 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7508    $as_echo_n "(cached) " >&6
7509   else
7510    if test -n "$ac_ct_LIPO"; then
# Line 6737 | Line 7516 | do
7516    IFS=$as_save_IFS
7517    test -z "$as_dir" && as_dir=.
7518      for ac_exec_ext in '' $ac_executable_extensions; do
7519 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7519 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520      ac_cv_prog_ac_ct_LIPO="lipo"
7521      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522      break 2
# Line 6777 | Line 7556 | fi
7556   set dummy ${ac_tool_prefix}otool; ac_word=$2
7557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558   $as_echo_n "checking for $ac_word... " >&6; }
7559 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7559 > if ${ac_cv_prog_OTOOL+:} false; then :
7560    $as_echo_n "(cached) " >&6
7561   else
7562    if test -n "$OTOOL"; then
# Line 6789 | Line 7568 | do
7568    IFS=$as_save_IFS
7569    test -z "$as_dir" && as_dir=.
7570      for ac_exec_ext in '' $ac_executable_extensions; do
7571 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7573      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574      break 2
# Line 6817 | Line 7596 | if test -z "$ac_cv_prog_OTOOL"; then
7596   set dummy otool; ac_word=$2
7597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598   $as_echo_n "checking for $ac_word... " >&6; }
7599 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7599 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7600    $as_echo_n "(cached) " >&6
7601   else
7602    if test -n "$ac_ct_OTOOL"; then
# Line 6829 | Line 7608 | do
7608    IFS=$as_save_IFS
7609    test -z "$as_dir" && as_dir=.
7610      for ac_exec_ext in '' $ac_executable_extensions; do
7611 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612      ac_cv_prog_ac_ct_OTOOL="otool"
7613      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614      break 2
# Line 6869 | Line 7648 | fi
7648   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650   $as_echo_n "checking for $ac_word... " >&6; }
7651 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7651 > if ${ac_cv_prog_OTOOL64+:} false; then :
7652    $as_echo_n "(cached) " >&6
7653   else
7654    if test -n "$OTOOL64"; then
# Line 6881 | Line 7660 | do
7660    IFS=$as_save_IFS
7661    test -z "$as_dir" && as_dir=.
7662      for ac_exec_ext in '' $ac_executable_extensions; do
7663 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7665      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666      break 2
# Line 6909 | Line 7688 | if test -z "$ac_cv_prog_OTOOL64"; then
7688   set dummy otool64; ac_word=$2
7689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690   $as_echo_n "checking for $ac_word... " >&6; }
7691 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7691 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7692    $as_echo_n "(cached) " >&6
7693   else
7694    if test -n "$ac_ct_OTOOL64"; then
# Line 6921 | Line 7700 | do
7700    IFS=$as_save_IFS
7701    test -z "$as_dir" && as_dir=.
7702      for ac_exec_ext in '' $ac_executable_extensions; do
7703 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7704      ac_cv_prog_ac_ct_OTOOL64="otool64"
7705      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7706      break 2
# Line 6984 | Line 7763 | fi
7763  
7764      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7765   $as_echo_n "checking for -single_module linker flag... " >&6; }
7766 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7766 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7767    $as_echo_n "(cached) " >&6
7768   else
7769    lt_cv_apple_cc_single_mod=no
# Line 7000 | Line 7779 | else
7779          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7781          _lt_result=$?
7782 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7782 >        # If there is a non-empty error log, and "single_module"
7783 >        # appears in it, assume the flag caused a linker warning
7784 >        if test -s conftest.err && $GREP single_module conftest.err; then
7785 >          cat conftest.err >&5
7786 >        # Otherwise, if the output was created with a 0 exit code from
7787 >        # the compiler, it worked.
7788 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7789            lt_cv_apple_cc_single_mod=yes
7790          else
7791            cat conftest.err >&5
# Line 7011 | Line 7796 | else
7796   fi
7797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7798   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7799 +
7800      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7801   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7802 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7802 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7803    $as_echo_n "(cached) " >&6
7804   else
7805    lt_cv_ld_exported_symbols_list=no
# Line 7043 | Line 7829 | rm -f core conftest.err conftest.$ac_obj
7829   fi
7830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7831   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7832 +
7833 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7834 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7835 + if ${lt_cv_ld_force_load+:} false; then :
7836 +  $as_echo_n "(cached) " >&6
7837 + else
7838 +  lt_cv_ld_force_load=no
7839 +      cat > conftest.c << _LT_EOF
7840 + int forced_loaded() { return 2;}
7841 + _LT_EOF
7842 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7843 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7844 +      echo "$AR cru libconftest.a conftest.o" >&5
7845 +      $AR cru libconftest.a conftest.o 2>&5
7846 +      echo "$RANLIB libconftest.a" >&5
7847 +      $RANLIB libconftest.a 2>&5
7848 +      cat > conftest.c << _LT_EOF
7849 + int main() { return 0;}
7850 + _LT_EOF
7851 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7852 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7853 +      _lt_result=$?
7854 +      if test -s conftest.err && $GREP force_load conftest.err; then
7855 +        cat conftest.err >&5
7856 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7857 +        lt_cv_ld_force_load=yes
7858 +      else
7859 +        cat conftest.err >&5
7860 +      fi
7861 +        rm -f conftest.err libconftest.a conftest conftest.c
7862 +        rm -rf conftest.dSYM
7863 +
7864 + fi
7865 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7866 + $as_echo "$lt_cv_ld_force_load" >&6; }
7867      case $host_os in
7868      rhapsody* | darwin1.[012])
7869        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7070 | Line 7891 | $as_echo "$lt_cv_ld_exported_symbols_lis
7891      else
7892        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7893      fi
7894 <    if test "$DSYMUTIL" != ":"; then
7894 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7895        _lt_dsymutil='~$DSYMUTIL $lib || :'
7896      else
7897        _lt_dsymutil=
# Line 7090 | Line 7911 | if test -n "$CPP" && test -d "$CPP"; the
7911    CPP=
7912   fi
7913   if test -z "$CPP"; then
7914 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7914 >  if ${ac_cv_prog_CPP+:} false; then :
7915    $as_echo_n "(cached) " >&6
7916   else
7917        # Double quotes because CPP needs to be expanded
# Line 7120 | Line 7941 | else
7941    # Broken: fails on valid input.
7942   continue
7943   fi
7944 < rm -f conftest.err conftest.$ac_ext
7944 > rm -f conftest.err conftest.i conftest.$ac_ext
7945  
7946    # OK, works on sane cases.  Now check whether nonexistent headers
7947    # can be detected and how.
# Line 7136 | Line 7957 | else
7957   ac_preproc_ok=:
7958   break
7959   fi
7960 < rm -f conftest.err conftest.$ac_ext
7960 > rm -f conftest.err conftest.i conftest.$ac_ext
7961  
7962   done
7963   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7964 < rm -f conftest.err conftest.$ac_ext
7964 > rm -f conftest.i conftest.err conftest.$ac_ext
7965   if $ac_preproc_ok; then :
7966    break
7967   fi
# Line 7179 | Line 8000 | else
8000    # Broken: fails on valid input.
8001   continue
8002   fi
8003 < rm -f conftest.err conftest.$ac_ext
8003 > rm -f conftest.err conftest.i conftest.$ac_ext
8004  
8005    # OK, works on sane cases.  Now check whether nonexistent headers
8006    # can be detected and how.
# Line 7195 | Line 8016 | else
8016   ac_preproc_ok=:
8017   break
8018   fi
8019 < rm -f conftest.err conftest.$ac_ext
8019 > rm -f conftest.err conftest.i conftest.$ac_ext
8020  
8021   done
8022   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8023 < rm -f conftest.err conftest.$ac_ext
8023 > rm -f conftest.i conftest.err conftest.$ac_ext
8024   if $ac_preproc_ok; then :
8025  
8026   else
8027    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8028   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8029 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8030 < See \`config.log' for more details." "$LINENO" 5; }
8029 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8030 > See \`config.log' for more details" "$LINENO" 5; }
8031   fi
8032  
8033   ac_ext=c
# Line 7218 | Line 8039 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8039  
8040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8041   $as_echo_n "checking for ANSI C header files... " >&6; }
8042 < if test "${ac_cv_header_stdc+set}" = set; then :
8042 > if ${ac_cv_header_stdc+:} false; then :
8043    $as_echo_n "(cached) " >&6
8044   else
8045    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7335 | Line 8156 | do :
8156    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8157   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8158   "
8159 < eval as_val=\$$as_ac_Header
7339 <   if test "x$as_val" = x""yes; then :
8159 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8160    cat >>confdefs.h <<_ACEOF
8161   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8162   _ACEOF
# Line 7350 | Line 8170 | for ac_header in dlfcn.h
8170   do :
8171    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8172   "
8173 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8173 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8174    cat >>confdefs.h <<_ACEOF
8175   #define HAVE_DLFCN_H 1
8176   _ACEOF
# Line 7361 | Line 8181 | done
8181  
8182  
8183  
8184 +
8185 +
8186   # Set options
8187   enable_dlopen=yes
8188   # Check whether --enable-static was given.
# Line 7434 | Line 8256 | fi
8256  
8257   # Check whether --with-pic was given.
8258   if test "${with_pic+set}" = set; then :
8259 <  withval=$with_pic; pic_mode="$withval"
8259 >  withval=$with_pic; lt_p=${PACKAGE-default}
8260 >    case $withval in
8261 >    yes|no) pic_mode=$withval ;;
8262 >    *)
8263 >      pic_mode=default
8264 >      # Look at the argument we got.  We use all the common list separators.
8265 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8266 >      for lt_pkg in $withval; do
8267 >        IFS="$lt_save_ifs"
8268 >        if test "X$lt_pkg" = "X$lt_p"; then
8269 >          pic_mode=yes
8270 >        fi
8271 >      done
8272 >      IFS="$lt_save_ifs"
8273 >      ;;
8274 >    esac
8275   else
8276    pic_mode=default
8277   fi
# Line 7511 | Line 8348 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8348  
8349  
8350  
8351 +
8352 +
8353 +
8354 +
8355 +
8356   test -z "$LN_S" && LN_S="ln -s"
8357  
8358  
# Line 7532 | Line 8374 | fi
8374  
8375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8376   $as_echo_n "checking for objdir... " >&6; }
8377 < if test "${lt_cv_objdir+set}" = set; then :
8377 > if ${lt_cv_objdir+:} false; then :
8378    $as_echo_n "(cached) " >&6
8379   else
8380    rm -f .libs 2>/dev/null
# Line 7560 | Line 8402 | _ACEOF
8402  
8403  
8404  
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
8405   case $host_os in
8406   aix3*)
8407    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7585 | Line 8414 | aix3*)
8414    ;;
8415   esac
8416  
7588 # Sed substitution that helps us do robust quoting.  It backslashifies
7589 # metacharacters that are still active within double-quoted strings.
7590 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7591
7592 # Same as above, but do not quote variable references.
7593 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7594
7595 # Sed substitution to delay expansion of an escaped shell variable in a
7596 # double_quote_subst'ed string.
7597 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7598
7599 # Sed substitution to delay expansion of an escaped single quote.
7600 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7601
7602 # Sed substitution to avoid accidental globbing in evaled expressions
7603 no_glob_subst='s/\*/\\\*/g'
7604
8417   # Global variables:
8418   ofile=libtool
8419   can_build_shared=yes
# Line 7630 | Line 8442 | for cc_temp in $compiler""; do
8442      *) break;;
8443    esac
8444   done
8445 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8445 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8446  
8447  
8448   # Only perform the check for file, if the check method requires it
# Line 7640 | Line 8452 | file_magic*)
8452    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8453      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8454   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8455 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8455 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8456    $as_echo_n "(cached) " >&6
8457   else
8458    case $MAGIC_CMD in
# Line 7706 | Line 8518 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8518    if test -n "$ac_tool_prefix"; then
8519      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8520   $as_echo_n "checking for file... " >&6; }
8521 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8521 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8522    $as_echo_n "(cached) " >&6
8523   else
8524    case $MAGIC_CMD in
# Line 7835 | Line 8647 | if test -n "$compiler"; then
8647   lt_prog_compiler_no_builtin_flag=
8648  
8649   if test "$GCC" = yes; then
8650 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8650 >  case $cc_basename in
8651 >  nvcc*)
8652 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8653 >  *)
8654 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8655 >  esac
8656  
8657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8658   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8659 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8659 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8660    $as_echo_n "(cached) " >&6
8661   else
8662    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7855 | Line 8672 | else
8672     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674     -e 's:$: $lt_compiler_flag:'`
8675 <   (eval echo "\"\$as_me:7858: $lt_compile\"" >&5)
8675 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8676     (eval "$lt_compile" 2>conftest.err)
8677     ac_status=$?
8678     cat conftest.err >&5
8679 <   echo "$as_me:7862: \$? = $ac_status" >&5
8679 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680     if (exit $ac_status) && test -s "$ac_outfile"; then
8681       # The compiler can only warn and ignore the option if not recognized
8682       # So say no if there are warnings other than the usual output.
8683 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8683 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8684       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8685       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8686         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7892 | Line 8709 | fi
8709   lt_prog_compiler_pic=
8710   lt_prog_compiler_static=
8711  
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7896 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8712  
8713    if test "$GCC" = yes; then
8714      lt_prog_compiler_wl='-Wl,'
# Line 7941 | Line 8756 | $as_echo_n "checking for $compiler optio
8756        lt_prog_compiler_pic='-fno-common'
8757        ;;
8758  
8759 +    haiku*)
8760 +      # PIC is the default for Haiku.
8761 +      # The "-static" flag exists, but is broken.
8762 +      lt_prog_compiler_static=
8763 +      ;;
8764 +
8765      hpux*)
8766        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8767        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7983 | Line 8804 | $as_echo_n "checking for $compiler optio
8804        lt_prog_compiler_pic='-fPIC'
8805        ;;
8806      esac
8807 +
8808 +    case $cc_basename in
8809 +    nvcc*) # Cuda Compiler Driver 2.2
8810 +      lt_prog_compiler_wl='-Xlinker '
8811 +      if test -n "$lt_prog_compiler_pic"; then
8812 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8813 +      fi
8814 +      ;;
8815 +    esac
8816    else
8817      # PORTME Check for flag to pass linker flags through the system compiler.
8818      case $host_os in
# Line 8024 | Line 8854 | $as_echo_n "checking for $compiler optio
8854        lt_prog_compiler_static='-non_shared'
8855        ;;
8856  
8857 <    linux* | k*bsd*-gnu)
8857 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8858        case $cc_basename in
8859        # old Intel for x86_64 which still supported -KPIC.
8860        ecc*)
# Line 8045 | Line 8875 | $as_echo_n "checking for $compiler optio
8875          lt_prog_compiler_pic='--shared'
8876          lt_prog_compiler_static='--static'
8877          ;;
8878 <      pgcc* | pgf77* | pgf90* | pgf95*)
8878 >      nagfor*)
8879 >        # NAG Fortran compiler
8880 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8881 >        lt_prog_compiler_pic='-PIC'
8882 >        lt_prog_compiler_static='-Bstatic'
8883 >        ;;
8884 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8885          # Portland Group compilers (*not* the Pentium gcc compiler,
8886          # which looks to be a dead project)
8887          lt_prog_compiler_wl='-Wl,'
# Line 8057 | Line 8893 | $as_echo_n "checking for $compiler optio
8893          # All Alpha code is PIC.
8894          lt_prog_compiler_static='-non_shared'
8895          ;;
8896 <      xl*)
8897 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8896 >      xl* | bgxl* | bgf* | mpixl*)
8897 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8898          lt_prog_compiler_wl='-Wl,'
8899          lt_prog_compiler_pic='-qpic'
8900          lt_prog_compiler_static='-qstaticlink'
8901          ;;
8902        *)
8903          case `$CC -V 2>&1 | sed 5q` in
8904 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8905 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8906 +          lt_prog_compiler_pic='-KPIC'
8907 +          lt_prog_compiler_static='-Bstatic'
8908 +          lt_prog_compiler_wl=''
8909 +          ;;
8910 +        *Sun\ F* | *Sun*Fortran*)
8911 +          lt_prog_compiler_pic='-KPIC'
8912 +          lt_prog_compiler_static='-Bstatic'
8913 +          lt_prog_compiler_wl='-Qoption ld '
8914 +          ;;
8915          *Sun\ C*)
8916            # Sun C 5.9
8917            lt_prog_compiler_pic='-KPIC'
8918            lt_prog_compiler_static='-Bstatic'
8919            lt_prog_compiler_wl='-Wl,'
8920            ;;
8921 <        *Sun\ F*)
8922 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8923 <          lt_prog_compiler_pic='-KPIC'
8921 >        *Intel*\ [CF]*Compiler*)
8922 >          lt_prog_compiler_wl='-Wl,'
8923 >          lt_prog_compiler_pic='-fPIC'
8924 >          lt_prog_compiler_static='-static'
8925 >          ;;
8926 >        *Portland\ Group*)
8927 >          lt_prog_compiler_wl='-Wl,'
8928 >          lt_prog_compiler_pic='-fpic'
8929            lt_prog_compiler_static='-Bstatic'
8078          lt_prog_compiler_wl=''
8930            ;;
8931          esac
8932          ;;
# Line 8107 | Line 8958 | $as_echo_n "checking for $compiler optio
8958        lt_prog_compiler_pic='-KPIC'
8959        lt_prog_compiler_static='-Bstatic'
8960        case $cc_basename in
8961 <      f77* | f90* | f95*)
8961 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8962          lt_prog_compiler_wl='-Qoption ld ';;
8963        *)
8964          lt_prog_compiler_wl='-Wl,';;
# Line 8164 | Line 9015 | case $host_os in
9015      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9016      ;;
9017   esac
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8168 $as_echo "$lt_prog_compiler_pic" >&6; }
8169
8170
8171
8172
9018  
9019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9020 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9021 + if ${lt_cv_prog_compiler_pic+:} false; then :
9022 +  $as_echo_n "(cached) " >&6
9023 + else
9024 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9025 + fi
9026 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9027 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9028 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9029  
9030   #
9031   # Check to make sure the PIC flag actually works.
# Line 8178 | Line 9033 | $as_echo "$lt_prog_compiler_pic" >&6; }
9033   if test -n "$lt_prog_compiler_pic"; then
9034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9035   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9036 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9036 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9037    $as_echo_n "(cached) " >&6
9038   else
9039    lt_cv_prog_compiler_pic_works=no
# Line 8194 | Line 9049 | else
9049     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9050     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9051     -e 's:$: $lt_compiler_flag:'`
9052 <   (eval echo "\"\$as_me:8197: $lt_compile\"" >&5)
9052 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9053     (eval "$lt_compile" 2>conftest.err)
9054     ac_status=$?
9055     cat conftest.err >&5
9056 <   echo "$as_me:8201: \$? = $ac_status" >&5
9056 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057     if (exit $ac_status) && test -s "$ac_outfile"; then
9058       # The compiler can only warn and ignore the option if not recognized
9059       # So say no if there are warnings other than the usual output.
9060 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9060 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9061       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9062       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9063         lt_cv_prog_compiler_pic_works=yes
# Line 8231 | Line 9086 | fi
9086  
9087  
9088  
9089 +
9090 +
9091 +
9092 +
9093 +
9094   #
9095   # Check to make sure the static flag actually works.
9096   #
9097   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9099   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9100 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9100 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9101    $as_echo_n "(cached) " >&6
9102   else
9103    lt_cv_prog_compiler_static_works=no
# Line 8250 | Line 9110 | else
9110       if test -s conftest.err; then
9111         # Append any errors to the config.log.
9112         cat conftest.err 1>&5
9113 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9113 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9114         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9115         if diff conftest.exp conftest.er2 >/dev/null; then
9116           lt_cv_prog_compiler_static_works=yes
# Line 8280 | Line 9140 | fi
9140  
9141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9142   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9143 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9143 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9144    $as_echo_n "(cached) " >&6
9145   else
9146    lt_cv_prog_compiler_c_o=no
# Line 8299 | Line 9159 | else
9159     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9160     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9161     -e 's:$: $lt_compiler_flag:'`
9162 <   (eval echo "\"\$as_me:8302: $lt_compile\"" >&5)
9162 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9163     (eval "$lt_compile" 2>out/conftest.err)
9164     ac_status=$?
9165     cat out/conftest.err >&5
9166 <   echo "$as_me:8306: \$? = $ac_status" >&5
9166 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9168     then
9169       # The compiler can only warn and ignore the option if not recognized
9170       # So say no if there are warnings
9171 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9171 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9172       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9173       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9174         lt_cv_prog_compiler_c_o=yes
# Line 8335 | Line 9195 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9195  
9196    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9197   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9198 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9198 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9199    $as_echo_n "(cached) " >&6
9200   else
9201    lt_cv_prog_compiler_c_o=no
# Line 8354 | Line 9214 | else
9214     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9215     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9216     -e 's:$: $lt_compiler_flag:'`
9217 <   (eval echo "\"\$as_me:8357: $lt_compile\"" >&5)
9217 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9218     (eval "$lt_compile" 2>out/conftest.err)
9219     ac_status=$?
9220     cat out/conftest.err >&5
9221 <   echo "$as_me:8361: \$? = $ac_status" >&5
9221 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9223     then
9224       # The compiler can only warn and ignore the option if not recognized
9225       # So say no if there are warnings
9226 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9226 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9227       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9228       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9229         lt_cv_prog_compiler_c_o=yes
# Line 8429 | Line 9289 | $as_echo_n "checking whether the $compil
9289    hardcode_direct=no
9290    hardcode_direct_absolute=no
9291    hardcode_libdir_flag_spec=
8432  hardcode_libdir_flag_spec_ld=
9292    hardcode_libdir_separator=
9293    hardcode_minus_L=no
9294    hardcode_shlibpath_var=unsupported
# Line 8476 | Line 9335 | $as_echo_n "checking whether the $compil
9335    esac
9336  
9337    ld_shlibs=yes
9338 +
9339 +  # On some targets, GNU ld is compatible enough with the native linker
9340 +  # that we're better off using the native interface for both.
9341 +  lt_use_gnu_ld_interface=no
9342    if test "$with_gnu_ld" = yes; then
9343 +    case $host_os in
9344 +      aix*)
9345 +        # The AIX port of GNU ld has always aspired to compatibility
9346 +        # with the native linker.  However, as the warning in the GNU ld
9347 +        # block says, versions before 2.19.5* couldn't really create working
9348 +        # shared libraries, regardless of the interface used.
9349 +        case `$LD -v 2>&1` in
9350 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9351 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9352 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9353 +          *)
9354 +            lt_use_gnu_ld_interface=yes
9355 +            ;;
9356 +        esac
9357 +        ;;
9358 +      *)
9359 +        lt_use_gnu_ld_interface=yes
9360 +        ;;
9361 +    esac
9362 +  fi
9363 +
9364 +  if test "$lt_use_gnu_ld_interface" = yes; then
9365      # If archive_cmds runs LD, not CC, wlarc should be empty
9366      wlarc='${wl}'
9367  
# Line 8494 | Line 9379 | $as_echo_n "checking whether the $compil
9379      fi
9380      supports_anon_versioning=no
9381      case `$LD -v 2>&1` in
9382 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9383        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9384        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9385        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8509 | Line 9395 | $as_echo_n "checking whether the $compil
9395          ld_shlibs=no
9396          cat <<_LT_EOF 1>&2
9397  
9398 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9398 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9399   *** to be unable to reliably create shared libraries on AIX.
9400   *** Therefore, libtool is disabling shared libraries support.  If you
9401 < *** really care for shared libraries, you may want to modify your PATH
9402 < *** so that a non-GNU linker is found, and then restart.
9401 > *** really care for shared libraries, you may want to install binutils
9402 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9403 > *** You will then need to restart the configuration process.
9404  
9405   _LT_EOF
9406        fi
# Line 8549 | Line 9436 | _LT_EOF
9436        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9437        # as there is no search path for DLLs.
9438        hardcode_libdir_flag_spec='-L$libdir'
9439 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9440        allow_undefined_flag=unsupported
9441        always_export_symbols=no
9442        enable_shared_with_static_runtimes=yes
9443 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9443 >      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'
9444 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9445  
9446        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9447          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8570 | Line 9459 | _LT_EOF
9459        fi
9460        ;;
9461  
9462 +    haiku*)
9463 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 +      link_all_deplibs=yes
9465 +      ;;
9466 +
9467      interix[3-9]*)
9468        hardcode_direct=no
9469        hardcode_shlibpath_var=no
# Line 8585 | Line 9479 | _LT_EOF
9479        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'
9480        ;;
9481  
9482 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9482 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9483        tmp_diet=no
9484        if test "$host_os" = linux-dietlibc; then
9485          case $cc_basename in
# Line 8595 | Line 9489 | _LT_EOF
9489        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9490           && test "$tmp_diet" = no
9491        then
9492 <        tmp_addflag=
9492 >        tmp_addflag=' $pic_flag'
9493          tmp_sharedflag='-shared'
9494          case $cc_basename,$host_cpu in
9495          pgcc*)                          # Portland Group C compiler
9496 <          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'
9496 >          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'
9497            tmp_addflag=' $pic_flag'
9498            ;;
9499 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9500 <          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'
9499 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9500 >                                        # Portland Group f77 and f90 compilers
9501 >          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'
9502            tmp_addflag=' $pic_flag -Mnomain' ;;
9503          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9504            tmp_addflag=' -i_dynamic' ;;
# Line 8614 | Line 9509 | _LT_EOF
9509          lf95*)                          # Lahey Fortran 8.1
9510            whole_archive_flag_spec=
9511            tmp_sharedflag='--shared' ;;
9512 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9512 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9513            tmp_sharedflag='-qmkshrobj'
9514            tmp_addflag= ;;
9515 +        nvcc*)  # Cuda Compiler Driver 2.2
9516 +          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'
9517 +          compiler_needs_object=yes
9518 +          ;;
9519          esac
9520          case `$CC -V 2>&1 | sed 5q` in
9521          *Sun\ C*)                       # Sun C 5.9
9522 <          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'
9522 >          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'
9523            compiler_needs_object=yes
9524            tmp_sharedflag='-G' ;;
9525          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8636 | Line 9535 | _LT_EOF
9535          fi
9536  
9537          case $cc_basename in
9538 <        xlf*)
9538 >        xlf* | bgf* | bgxlf* | mpixlf*)
9539            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9540            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9541 <          hardcode_libdir_flag_spec=
9542 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8644 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9541 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9542 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9543            if test "x$supports_anon_versioning" = xyes; then
9544              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9545                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9546                echo "local: *; };" >> $output_objdir/$libname.ver~
9547 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9547 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9548            fi
9549            ;;
9550          esac
# Line 8660 | Line 9558 | _LT_EOF
9558          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9559          wlarc=
9560        else
9561 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9561 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9563        fi
9564        ;;
9565  
# Line 8679 | Line 9577 | _LT_EOF
9577  
9578   _LT_EOF
9579        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9580 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9581 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9580 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9581 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9582        else
9583          ld_shlibs=no
9584        fi
# Line 8726 | Line 9624 | _LT_EOF
9624  
9625      *)
9626        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9627 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9628 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9627 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9628 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9629        else
9630          ld_shlibs=no
9631        fi
# Line 8767 | Line 9665 | _LT_EOF
9665        else
9666          # If we're using GNU nm, then we don't want the "-C" option.
9667          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9668 +        # Also, AIX nm treats weak defined symbols like other global
9669 +        # defined symbols, whereas GNU nm marks them as "W".
9670          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9671 <          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'
9671 >          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'
9672          else
9673            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'
9674          fi
# Line 8830 | Line 9730 | _LT_EOF
9730          if test "$aix_use_runtimelinking" = yes; then
9731            shared_flag="$shared_flag "'${wl}-G'
9732          fi
8833        link_all_deplibs=no
9733        else
9734          # not using gcc
9735          if test "$host_cpu" = ia64; then
# Line 8856 | Line 9755 | _LT_EOF
9755          allow_undefined_flag='-berok'
9756          # Determine the default libpath from the value encoded in an
9757          # empty executable.
9758 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 >        if test "${lt_cv_aix_libpath+set}" = set; then
9759 >  aix_libpath=$lt_cv_aix_libpath
9760 > else
9761 >  if ${lt_cv_aix_libpath_+:} false; then :
9762 >  $as_echo_n "(cached) " >&6
9763 > else
9764 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765   /* end confdefs.h.  */
9766  
9767   int
# Line 8869 | Line 9774 | main ()
9774   _ACEOF
9775   if ac_fn_c_try_link "$LINENO"; then :
9776  
9777 < lt_aix_libpath_sed='
9778 <    /Import File Strings/,/^$/ {
9779 <        /^0/ {
9780 <            s/^0  *\(.*\)$/\1/
9781 <            p
9782 <        }
9783 <    }'
9784 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9785 < # Check for a 64-bit object if we didn't find anything.
9786 < if test -z "$aix_libpath"; then
9787 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788 < fi
9777 >  lt_aix_libpath_sed='
9778 >      /Import File Strings/,/^$/ {
9779 >          /^0/ {
9780 >              s/^0  *\([^ ]*\) *$/\1/
9781 >              p
9782 >          }
9783 >      }'
9784 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9785 >  # Check for a 64-bit object if we didn't find anything.
9786 >  if test -z "$lt_cv_aix_libpath_"; then
9787 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788 >  fi
9789   fi
9790   rm -f core conftest.err conftest.$ac_objext \
9791      conftest$ac_exeext conftest.$ac_ext
9792 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9792 >  if test -z "$lt_cv_aix_libpath_"; then
9793 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9794 >  fi
9795 >
9796 > fi
9797 >
9798 >  aix_libpath=$lt_cv_aix_libpath_
9799 > fi
9800  
9801          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9802 <        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"
9802 >        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"
9803        else
9804          if test "$host_cpu" = ia64; then
9805            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8896 | Line 9808 | if test -z "$aix_libpath"; then aix_libp
9808          else
9809           # Determine the default libpath from the value encoded in an
9810           # empty executable.
9811 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 >         if test "${lt_cv_aix_libpath+set}" = set; then
9812 >  aix_libpath=$lt_cv_aix_libpath
9813 > else
9814 >  if ${lt_cv_aix_libpath_+:} false; then :
9815 >  $as_echo_n "(cached) " >&6
9816 > else
9817 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818   /* end confdefs.h.  */
9819  
9820   int
# Line 8909 | Line 9827 | main ()
9827   _ACEOF
9828   if ac_fn_c_try_link "$LINENO"; then :
9829  
9830 < lt_aix_libpath_sed='
9831 <    /Import File Strings/,/^$/ {
9832 <        /^0/ {
9833 <            s/^0  *\(.*\)$/\1/
9834 <            p
9835 <        }
9836 <    }'
9837 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9838 < # Check for a 64-bit object if we didn't find anything.
9839 < if test -z "$aix_libpath"; then
9840 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 < fi
9830 >  lt_aix_libpath_sed='
9831 >      /Import File Strings/,/^$/ {
9832 >          /^0/ {
9833 >              s/^0  *\([^ ]*\) *$/\1/
9834 >              p
9835 >          }
9836 >      }'
9837 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9838 >  # Check for a 64-bit object if we didn't find anything.
9839 >  if test -z "$lt_cv_aix_libpath_"; then
9840 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 >  fi
9842   fi
9843   rm -f core conftest.err conftest.$ac_objext \
9844      conftest$ac_exeext conftest.$ac_ext
9845 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9845 >  if test -z "$lt_cv_aix_libpath_"; then
9846 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9847 >  fi
9848 >
9849 > fi
9850 >
9851 >  aix_libpath=$lt_cv_aix_libpath_
9852 > fi
9853  
9854           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9855            # Warning - without using the other run time loading flags,
9856            # -berok will link without error, but may produce a broken library.
9857            no_undefined_flag=' ${wl}-bernotok'
9858            allow_undefined_flag=' ${wl}-berok'
9859 <          # Exported symbols can be pulled into shared objects from archives
9860 <          whole_archive_flag_spec='$convenience'
9859 >          if test "$with_gnu_ld" = yes; then
9860 >            # We only use this code for GNU lds that support --whole-archive.
9861 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9862 >          else
9863 >            # Exported symbols can be pulled into shared objects from archives
9864 >            whole_archive_flag_spec='$convenience'
9865 >          fi
9866            archive_cmds_need_lc=yes
9867            # This is similar to how AIX traditionally builds its shared libraries.
9868            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 8964 | Line 9894 | if test -z "$aix_libpath"; then aix_libp
9894        # Microsoft Visual C++.
9895        # hardcode_libdir_flag_spec is actually meaningless, as there is
9896        # no search path for DLLs.
9897 <      hardcode_libdir_flag_spec=' '
9898 <      allow_undefined_flag=unsupported
9899 <      # Tell ltmain to make .lib files, not .a files.
9900 <      libext=lib
9901 <      # Tell ltmain to make .dll files, not .so files.
9902 <      shrext_cmds=".dll"
9903 <      # FIXME: Setting linknames here is a bad hack.
9904 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9905 <      # The linker will automatically build a .lib file if we build a DLL.
9906 <      old_archive_from_new_cmds='true'
9907 <      # FIXME: Should let the user specify the lib program.
9908 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9909 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9910 <      enable_shared_with_static_runtimes=yes
9897 >      case $cc_basename in
9898 >      cl*)
9899 >        # Native MSVC
9900 >        hardcode_libdir_flag_spec=' '
9901 >        allow_undefined_flag=unsupported
9902 >        always_export_symbols=yes
9903 >        file_list_spec='@'
9904 >        # Tell ltmain to make .lib files, not .a files.
9905 >        libext=lib
9906 >        # Tell ltmain to make .dll files, not .so files.
9907 >        shrext_cmds=".dll"
9908 >        # FIXME: Setting linknames here is a bad hack.
9909 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9910 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9911 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9912 >          else
9913 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9914 >          fi~
9915 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9916 >          linknames='
9917 >        # The linker will not automatically build a static lib if we build a DLL.
9918 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9919 >        enable_shared_with_static_runtimes=yes
9920 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9921 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9922 >        # Don't use ranlib
9923 >        old_postinstall_cmds='chmod 644 $oldlib'
9924 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9925 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9926 >          case $lt_outputfile in
9927 >            *.exe|*.EXE) ;;
9928 >            *)
9929 >              lt_outputfile="$lt_outputfile.exe"
9930 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9931 >              ;;
9932 >          esac~
9933 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9934 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9935 >            $RM "$lt_outputfile.manifest";
9936 >          fi'
9937 >        ;;
9938 >      *)
9939 >        # Assume MSVC wrapper
9940 >        hardcode_libdir_flag_spec=' '
9941 >        allow_undefined_flag=unsupported
9942 >        # Tell ltmain to make .lib files, not .a files.
9943 >        libext=lib
9944 >        # Tell ltmain to make .dll files, not .so files.
9945 >        shrext_cmds=".dll"
9946 >        # FIXME: Setting linknames here is a bad hack.
9947 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9948 >        # The linker will automatically build a .lib file if we build a DLL.
9949 >        old_archive_from_new_cmds='true'
9950 >        # FIXME: Should let the user specify the lib program.
9951 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9952 >        enable_shared_with_static_runtimes=yes
9953 >        ;;
9954 >      esac
9955        ;;
9956  
9957      darwin* | rhapsody*)
# Line 8987 | Line 9961 | if test -z "$aix_libpath"; then aix_libp
9961    hardcode_direct=no
9962    hardcode_automatic=yes
9963    hardcode_shlibpath_var=unsupported
9964 <  whole_archive_flag_spec=''
9964 >  if test "$lt_cv_ld_force_load" = "yes"; then
9965 >    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\"`'
9966 >
9967 >  else
9968 >    whole_archive_flag_spec=''
9969 >  fi
9970    link_all_deplibs=yes
9971    allow_undefined_flag="$_lt_dar_allow_undefined"
9972    case $cc_basename in
# Line 8995 | Line 9974 | if test -z "$aix_libpath"; then aix_libp
9974       *) _lt_dar_can_shared=$GCC ;;
9975    esac
9976    if test "$_lt_dar_can_shared" = "yes"; then
9977 <    output_verbose_link_cmd=echo
9977 >    output_verbose_link_cmd=func_echo_all
9978      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9979      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9980      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 9013 | Line 9992 | if test -z "$aix_libpath"; then aix_libp
9992        hardcode_shlibpath_var=no
9993        ;;
9994  
9016    freebsd1*)
9017      ld_shlibs=no
9018      ;;
9019
9995      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9996      # support.  Future versions do this automatically, but an explicit c++rt0.o
9997      # does not break anything, and helps significantly (at the cost of a little
# Line 9029 | Line 10004 | if test -z "$aix_libpath"; then aix_libp
10004        ;;
10005  
10006      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10007 <    freebsd2*)
10007 >    freebsd2.*)
10008        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10009        hardcode_direct=yes
10010        hardcode_minus_L=yes
# Line 9038 | Line 10013 | if test -z "$aix_libpath"; then aix_libp
10013  
10014      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10015      freebsd* | dragonfly*)
10016 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10016 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017        hardcode_libdir_flag_spec='-R$libdir'
10018        hardcode_direct=yes
10019        hardcode_shlibpath_var=no
# Line 9046 | Line 10021 | if test -z "$aix_libpath"; then aix_libp
10021  
10022      hpux9*)
10023        if test "$GCC" = yes; then
10024 <        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'
10024 >        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'
10025        else
10026          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'
10027        fi
# Line 9061 | Line 10036 | if test -z "$aix_libpath"; then aix_libp
10036        ;;
10037  
10038      hpux10*)
10039 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10040 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10039 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10040 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10041        else
10042          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10043        fi
10044        if test "$with_gnu_ld" = no; then
10045          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9071        hardcode_libdir_flag_spec_ld='+b $libdir'
10046          hardcode_libdir_separator=:
10047          hardcode_direct=yes
10048          hardcode_direct_absolute=yes
# Line 9080 | Line 10054 | if test -z "$aix_libpath"; then aix_libp
10054        ;;
10055  
10056      hpux11*)
10057 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10057 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10058          case $host_cpu in
10059          hppa*64*)
10060            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10061            ;;
10062          ia64*)
10063 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10063 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10064            ;;
10065          *)
10066 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10066 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10067            ;;
10068          esac
10069        else
# Line 9101 | Line 10075 | if test -z "$aix_libpath"; then aix_libp
10075            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10076            ;;
10077          *)
10078 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10078 >
10079 >          # Older versions of the 11.00 compiler do not understand -b yet
10080 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10081 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10082 > $as_echo_n "checking if $CC understands -b... " >&6; }
10083 > if ${lt_cv_prog_compiler__b+:} false; then :
10084 >  $as_echo_n "(cached) " >&6
10085 > else
10086 >  lt_cv_prog_compiler__b=no
10087 >   save_LDFLAGS="$LDFLAGS"
10088 >   LDFLAGS="$LDFLAGS -b"
10089 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10090 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10091 >     # The linker can only warn and ignore the option if not recognized
10092 >     # So say no if there are warnings
10093 >     if test -s conftest.err; then
10094 >       # Append any errors to the config.log.
10095 >       cat conftest.err 1>&5
10096 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10097 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10098 >       if diff conftest.exp conftest.er2 >/dev/null; then
10099 >         lt_cv_prog_compiler__b=yes
10100 >       fi
10101 >     else
10102 >       lt_cv_prog_compiler__b=yes
10103 >     fi
10104 >   fi
10105 >   $RM -r conftest*
10106 >   LDFLAGS="$save_LDFLAGS"
10107 >
10108 > fi
10109 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10110 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10111 >
10112 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10113 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10114 > else
10115 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10116 > fi
10117 >
10118            ;;
10119          esac
10120        fi
# Line 9129 | Line 10142 | if test -z "$aix_libpath"; then aix_libp
10142  
10143      irix5* | irix6* | nonstopux*)
10144        if test "$GCC" = yes; then
10145 <        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'
10145 >        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'
10146          # Try to use the -exported_symbol ld option, if it does not
10147          # work, assume that -exports_file does not work either and
10148          # implicitly export all symbols.
10149 <        save_LDFLAGS="$LDFLAGS"
10150 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10151 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 >        # This should be the same for all languages, so no per-tag cache variable.
10150 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10151 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10152 > if ${lt_cv_irix_exported_symbol+:} false; then :
10153 >  $as_echo_n "(cached) " >&6
10154 > else
10155 >  save_LDFLAGS="$LDFLAGS"
10156 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10157 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158   /* end confdefs.h.  */
10159 < int foo(void) {}
10159 > int foo (void) { return 0; }
10160   _ACEOF
10161   if ac_fn_c_try_link "$LINENO"; then :
10162 <  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'
10163 <
10162 >  lt_cv_irix_exported_symbol=yes
10163 > else
10164 >  lt_cv_irix_exported_symbol=no
10165   fi
10166   rm -f core conftest.err conftest.$ac_objext \
10167      conftest$ac_exeext conftest.$ac_ext
10168 <        LDFLAGS="$save_LDFLAGS"
10168 >           LDFLAGS="$save_LDFLAGS"
10169 > fi
10170 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10171 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10172 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10173 >          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'
10174 >        fi
10175        else
10176 <        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'
10177 <        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'
10176 >        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'
10177 >        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'
10178        fi
10179        archive_cmds_need_lc='no'
10180        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9210 | Line 10236 | rm -f core conftest.err conftest.$ac_obj
10236        hardcode_libdir_flag_spec='-L$libdir'
10237        hardcode_minus_L=yes
10238        allow_undefined_flag=unsupported
10239 <      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'
10239 >      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'
10240        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10241        ;;
10242  
10243      osf3*)
10244        if test "$GCC" = yes; then
10245          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10246 <        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'
10246 >        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'
10247        else
10248          allow_undefined_flag=' -expect_unresolved \*'
10249 <        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'
10249 >        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'
10250        fi
10251        archive_cmds_need_lc='no'
10252        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9230 | Line 10256 | rm -f core conftest.err conftest.$ac_obj
10256      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10257        if test "$GCC" = yes; then
10258          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10259 <        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'
10259 >        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'
10260          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10261        else
10262          allow_undefined_flag=' -expect_unresolved \*'
10263 <        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'
10263 >        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'
10264          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~
10265 <        $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'
10265 >        $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'
10266  
10267          # Both c and cxx compiler support -rpath directly
10268          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9249 | Line 10275 | rm -f core conftest.err conftest.$ac_obj
10275        no_undefined_flag=' -z defs'
10276        if test "$GCC" = yes; then
10277          wlarc='${wl}'
10278 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10278 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10279          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10280 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10280 >          $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'
10281        else
10282          case `$CC -V 2>&1` in
10283          *"Compilers 5.0"*)
# Line 9439 | Line 10465 | x|xyes)
10465        # to ld, don't add -lc before -lgcc.
10466        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10467   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10468 <      $RM conftest*
10469 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10468 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10469 >  $as_echo_n "(cached) " >&6
10470 > else
10471 >  $RM conftest*
10472 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10473  
10474 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10474 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10475    (eval $ac_compile) 2>&5
10476    ac_status=$?
10477    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10478    test $ac_status = 0; } 2>conftest.err; then
10479 <        soname=conftest
10480 <        lib=conftest
10481 <        libobjs=conftest.$ac_objext
10482 <        deplibs=
10483 <        wl=$lt_prog_compiler_wl
10484 <        pic_flag=$lt_prog_compiler_pic
10485 <        compiler_flags=-v
10486 <        linker_flags=-v
10487 <        verstring=
10488 <        output_objdir=.
10489 <        libname=conftest
10490 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10491 <        allow_undefined_flag=
10492 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10479 >          soname=conftest
10480 >          lib=conftest
10481 >          libobjs=conftest.$ac_objext
10482 >          deplibs=
10483 >          wl=$lt_prog_compiler_wl
10484 >          pic_flag=$lt_prog_compiler_pic
10485 >          compiler_flags=-v
10486 >          linker_flags=-v
10487 >          verstring=
10488 >          output_objdir=.
10489 >          libname=conftest
10490 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10491 >          allow_undefined_flag=
10492 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10493    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10494    ac_status=$?
10495    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10496    test $ac_status = 0; }
10497 <        then
10498 <          archive_cmds_need_lc=no
10499 <        else
10500 <          archive_cmds_need_lc=yes
10501 <        fi
10502 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10503 <      else
10504 <        cat conftest.err 1>&5
10505 <      fi
10506 <      $RM conftest*
10507 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10508 < $as_echo "$archive_cmds_need_lc" >&6; }
10497 >          then
10498 >            lt_cv_archive_cmds_need_lc=no
10499 >          else
10500 >            lt_cv_archive_cmds_need_lc=yes
10501 >          fi
10502 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10503 >        else
10504 >          cat conftest.err 1>&5
10505 >        fi
10506 >        $RM conftest*
10507 >
10508 > fi
10509 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10510 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10511 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10512        ;;
10513      esac
10514    fi
# Line 9634 | Line 10666 | esac
10666  
10667  
10668  
9637
9638
9639
9640
9641
10669    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10670   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10671  
# Line 9647 | Line 10674 | if test "$GCC" = yes; then
10674      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10675      *) lt_awk_arg="/^libraries:/" ;;
10676    esac
10677 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10678 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10677 >  case $host_os in
10678 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10679 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10680 >  esac
10681 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10682 >  case $lt_search_path_spec in
10683 >  *\;*)
10684      # if the path contains ";" then we assume it to be the separator
10685      # otherwise default to the standard path separator (i.e. ":") - it is
10686      # assumed that no part of a normal pathname contains ";" but that should
10687      # okay in the real world where ";" in dirpaths is itself problematic.
10688 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10689 <  else
10690 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10691 <  fi
10688 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10689 >    ;;
10690 >  *)
10691 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10692 >    ;;
10693 >  esac
10694    # Ok, now we have the path, separated by spaces, we can step through it
10695    # and add multilib dir if necessary.
10696    lt_tmp_lt_search_path_spec=
# Line 9669 | Line 10703 | if test "$GCC" = yes; then
10703          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10704      fi
10705    done
10706 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10706 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10707   BEGIN {RS=" "; FS="/|\n";} {
10708    lt_foo="";
10709    lt_count=0;
# Line 9689 | Line 10723 | BEGIN {RS=" "; FS="/|\n";} {
10723    if (lt_foo != "") { lt_freq[lt_foo]++; }
10724    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10725   }'`
10726 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10726 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10727 >  # for these hosts.
10728 >  case $host_os in
10729 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10730 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10731 >  esac
10732 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10733   else
10734    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10735   fi
# Line 9715 | Line 10755 | need_version=unknown
10755  
10756   case $host_os in
10757   aix3*)
10758 <  version_type=linux
10758 >  version_type=linux # correct to gnu/linux during the next big refactor
10759    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10760    shlibpath_var=LIBPATH
10761  
# Line 9724 | Line 10764 | aix3*)
10764    ;;
10765  
10766   aix[4-9]*)
10767 <  version_type=linux
10767 >  version_type=linux # correct to gnu/linux during the next big refactor
10768    need_lib_prefix=no
10769    need_version=no
10770    hardcode_into_libs=yes
# Line 9777 | Line 10817 | amigaos*)
10817    m68k)
10818      library_names_spec='$libname.ixlibrary $libname.a'
10819      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10820 <    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'
10820 >    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'
10821      ;;
10822    esac
10823    ;;
# Line 9789 | Line 10829 | beos*)
10829    ;;
10830  
10831   bsdi[45]*)
10832 <  version_type=linux
10832 >  version_type=linux # correct to gnu/linux during the next big refactor
10833    need_version=no
10834    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9808 | Line 10848 | cygwin* | mingw* | pw32* | cegcc*)
10848    need_version=no
10849    need_lib_prefix=no
10850  
10851 <  case $GCC,$host_os in
10852 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10851 >  case $GCC,$cc_basename in
10852 >  yes,*)
10853 >    # gcc
10854      library_names_spec='$libname.dll.a'
10855      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10856      postinstall_cmds='base_file=`basename \${file}`~
# Line 9830 | Line 10871 | cygwin* | mingw* | pw32* | cegcc*)
10871      cygwin*)
10872        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10873        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10874 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10874 >
10875 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10876        ;;
10877      mingw* | cegcc*)
10878        # MinGW DLLs use traditional 'lib' prefix
10879        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9838      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9839      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9840        # It is most probably a Windows format PATH printed by
9841        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9842        # path with ; separators, and with drive letters. We can handle the
9843        # drive letters (cygwin fileutils understands them), so leave them,
9844        # especially as we might pass files found there to a mingw objdump,
9845        # which wouldn't understand a cygwinified path. Ahh.
9846        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9847      else
9848        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9849      fi
10880        ;;
10881      pw32*)
10882        # pw32 DLLs use 'pw' prefix rather than 'lib'
10883        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10884        ;;
10885      esac
10886 +    dynamic_linker='Win32 ld.exe'
10887 +    ;;
10888 +
10889 +  *,cl*)
10890 +    # Native MSVC
10891 +    libname_spec='$name'
10892 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10893 +    library_names_spec='${libname}.dll.lib'
10894 +
10895 +    case $build_os in
10896 +    mingw*)
10897 +      sys_lib_search_path_spec=
10898 +      lt_save_ifs=$IFS
10899 +      IFS=';'
10900 +      for lt_path in $LIB
10901 +      do
10902 +        IFS=$lt_save_ifs
10903 +        # Let DOS variable expansion print the short 8.3 style file name.
10904 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10905 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10906 +      done
10907 +      IFS=$lt_save_ifs
10908 +      # Convert to MSYS style.
10909 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10910 +      ;;
10911 +    cygwin*)
10912 +      # Convert to unix form, then to dos form, then back to unix form
10913 +      # but this time dos style (no spaces!) so that the unix form looks
10914 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10915 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10916 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10917 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10918 +      ;;
10919 +    *)
10920 +      sys_lib_search_path_spec="$LIB"
10921 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10922 +        # It is most probably a Windows format PATH.
10923 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10924 +      else
10925 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10926 +      fi
10927 +      # FIXME: find the short name or the path components, as spaces are
10928 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10929 +      ;;
10930 +    esac
10931 +
10932 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10933 +    postinstall_cmds='base_file=`basename \${file}`~
10934 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10935 +      dldir=$destdir/`dirname \$dlpath`~
10936 +      test -d \$dldir || mkdir -p \$dldir~
10937 +      $install_prog $dir/$dlname \$dldir/$dlname'
10938 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10939 +      dlpath=$dir/\$dldll~
10940 +       $RM \$dlpath'
10941 +    shlibpath_overrides_runpath=yes
10942 +    dynamic_linker='Win32 link.exe'
10943      ;;
10944  
10945    *)
10946 +    # Assume MSVC wrapper
10947      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10948 +    dynamic_linker='Win32 ld.exe'
10949      ;;
10950    esac
9862  dynamic_linker='Win32 ld.exe'
10951    # FIXME: first we should search . and the directory the executable is in
10952    shlibpath_var=PATH
10953    ;;
# Line 9880 | Line 10968 | darwin* | rhapsody*)
10968    ;;
10969  
10970   dgux*)
10971 <  version_type=linux
10971 >  version_type=linux # correct to gnu/linux during the next big refactor
10972    need_lib_prefix=no
10973    need_version=no
10974    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9888 | Line 10976 | dgux*)
10976    shlibpath_var=LD_LIBRARY_PATH
10977    ;;
10978  
9891 freebsd1*)
9892  dynamic_linker=no
9893  ;;
9894
10979   freebsd* | dragonfly*)
10980    # DragonFly does not have aout.  When/if they implement a new
10981    # versioning mechanism, adjust this.
# Line 9899 | Line 10983 | freebsd* | dragonfly*)
10983      objformat=`/usr/bin/objformat`
10984    else
10985      case $host_os in
10986 <    freebsd[123]*) objformat=aout ;;
10986 >    freebsd[23].*) objformat=aout ;;
10987      *) objformat=elf ;;
10988      esac
10989    fi
# Line 9917 | Line 11001 | freebsd* | dragonfly*)
11001    esac
11002    shlibpath_var=LD_LIBRARY_PATH
11003    case $host_os in
11004 <  freebsd2*)
11004 >  freebsd2.*)
11005      shlibpath_overrides_runpath=yes
11006      ;;
11007    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9937 | Line 11021 | freebsd* | dragonfly*)
11021    ;;
11022  
11023   gnu*)
11024 <  version_type=linux
11024 >  version_type=linux # correct to gnu/linux during the next big refactor
11025    need_lib_prefix=no
11026    need_version=no
11027    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11028    soname_spec='${libname}${release}${shared_ext}$major'
11029    shlibpath_var=LD_LIBRARY_PATH
11030 +  shlibpath_overrides_runpath=no
11031 +  hardcode_into_libs=yes
11032 +  ;;
11033 +
11034 + haiku*)
11035 +  version_type=linux # correct to gnu/linux during the next big refactor
11036 +  need_lib_prefix=no
11037 +  need_version=no
11038 +  dynamic_linker="$host_os runtime_loader"
11039 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11040 +  soname_spec='${libname}${release}${shared_ext}$major'
11041 +  shlibpath_var=LIBRARY_PATH
11042 +  shlibpath_overrides_runpath=yes
11043 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11044    hardcode_into_libs=yes
11045    ;;
11046  
# Line 9988 | Line 11086 | hpux9* | hpux10* | hpux11*)
11086      soname_spec='${libname}${release}${shared_ext}$major'
11087      ;;
11088    esac
11089 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11089 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11090    postinstall_cmds='chmod 555 $lib'
11091 +  # or fails outright, so override atomically:
11092 +  install_override_mode=555
11093    ;;
11094  
11095   interix[3-9]*)
11096 <  version_type=linux
11096 >  version_type=linux # correct to gnu/linux during the next big refactor
11097    need_lib_prefix=no
11098    need_version=no
11099    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10009 | Line 11109 | irix5* | irix6* | nonstopux*)
11109      nonstopux*) version_type=nonstopux ;;
11110      *)
11111          if test "$lt_cv_prog_gnu_ld" = yes; then
11112 <                version_type=linux
11112 >                version_type=linux # correct to gnu/linux during the next big refactor
11113          else
11114                  version_type=irix
11115          fi ;;
# Line 10046 | Line 11146 | linux*oldld* | linux*aout* | linux*coff*
11146    dynamic_linker=no
11147    ;;
11148  
11149 < # This must be Linux ELF.
11150 < linux* | k*bsd*-gnu)
11151 <  version_type=linux
11149 > # This must be glibc/ELF.
11150 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11151 >  version_type=linux # correct to gnu/linux during the next big refactor
11152    need_lib_prefix=no
11153    need_version=no
11154    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10056 | Line 11156 | linux* | k*bsd*-gnu)
11156    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11157    shlibpath_var=LD_LIBRARY_PATH
11158    shlibpath_overrides_runpath=no
11159 +
11160    # Some binutils ld are patched to set DT_RUNPATH
11161 <  save_LDFLAGS=$LDFLAGS
11162 <  save_libdir=$libdir
11163 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11164 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11165 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11162 >  $as_echo_n "(cached) " >&6
11163 > else
11164 >  lt_cv_shlibpath_overrides_runpath=no
11165 >    save_LDFLAGS=$LDFLAGS
11166 >    save_libdir=$libdir
11167 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11168 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11169 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170   /* end confdefs.h.  */
11171  
11172   int
# Line 10074 | Line 11179 | main ()
11179   _ACEOF
11180   if ac_fn_c_try_link "$LINENO"; then :
11181    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11182 <  shlibpath_overrides_runpath=yes
11182 >  lt_cv_shlibpath_overrides_runpath=yes
11183   fi
11184   fi
11185   rm -f core conftest.err conftest.$ac_objext \
11186      conftest$ac_exeext conftest.$ac_ext
11187 <  LDFLAGS=$save_LDFLAGS
11188 <  libdir=$save_libdir
11187 >    LDFLAGS=$save_LDFLAGS
11188 >    libdir=$save_libdir
11189 >
11190 > fi
11191 >
11192 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11193  
11194    # This implies no fast_install, which is unacceptable.
11195    # Some rework will be needed to allow for fast_install
11196    # before this can be enabled.
11197    hardcode_into_libs=yes
11198  
10090  # find out which ABI we are using
10091  libsuff=
10092  case "$host_cpu" in
10093  x86_64*|s390x*|powerpc64*)
10094    echo '#line 10094 "configure"' > conftest.$ac_ext
10095    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10096  (eval $ac_compile) 2>&5
10097  ac_status=$?
10098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10099  test $ac_status = 0; }; then
10100      case `/usr/bin/file conftest.$ac_objext` in
10101      *64-bit*)
10102        libsuff=64
10103        ;;
10104      esac
10105    fi
10106    rm -rf conftest*
10107    ;;
10108  esac
10109
10110  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10111
11199    # Append ld.so.conf contents to the search path
11200    if test -f /etc/ld.so.conf; then
11201 <    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' ' '`
11202 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11201 >    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' ' '`
11202 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11203    fi
11204  
11205    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10143 | Line 11230 | netbsd*)
11230    ;;
11231  
11232   newsos6)
11233 <  version_type=linux
11233 >  version_type=linux # correct to gnu/linux during the next big refactor
11234    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11235    shlibpath_var=LD_LIBRARY_PATH
11236    shlibpath_overrides_runpath=yes
# Line 10212 | Line 11299 | rdos*)
11299    ;;
11300  
11301   solaris*)
11302 <  version_type=linux
11302 >  version_type=linux # correct to gnu/linux during the next big refactor
11303    need_lib_prefix=no
11304    need_version=no
11305    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10237 | Line 11324 | sunos4*)
11324    ;;
11325  
11326   sysv4 | sysv4.3*)
11327 <  version_type=linux
11327 >  version_type=linux # correct to gnu/linux during the next big refactor
11328    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329    soname_spec='${libname}${release}${shared_ext}$major'
11330    shlibpath_var=LD_LIBRARY_PATH
# Line 10261 | Line 11348 | sysv4 | sysv4.3*)
11348  
11349   sysv4*MP*)
11350    if test -d /usr/nec ;then
11351 <    version_type=linux
11351 >    version_type=linux # correct to gnu/linux during the next big refactor
11352      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11353      soname_spec='$libname${shared_ext}.$major'
11354      shlibpath_var=LD_LIBRARY_PATH
# Line 10292 | Line 11379 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11379  
11380   tpf*)
11381    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11382 <  version_type=linux
11382 >  version_type=linux # correct to gnu/linux during the next big refactor
11383    need_lib_prefix=no
11384    need_version=no
11385    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10302 | Line 11389 | tpf*)
11389    ;;
11390  
11391   uts4*)
11392 <  version_type=linux
11392 >  version_type=linux # correct to gnu/linux during the next big refactor
11393    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394    soname_spec='${libname}${release}${shared_ext}$major'
11395    shlibpath_var=LD_LIBRARY_PATH
# Line 10414 | Line 11501 | fi
11501  
11502  
11503  
11504 +
11505 +
11506 +
11507 +
11508 +
11509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11510   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11511   hardcode_action=
# Line 10486 | Line 11578 | else
11578    # if libdl is installed we need to link against it
11579      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11580   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11581 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11581 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11582    $as_echo_n "(cached) " >&6
11583   else
11584    ac_check_lib_save_LIBS=$LIBS
# Line 10520 | Line 11612 | LIBS=$ac_check_lib_save_LIBS
11612   fi
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11614   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11615 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11615 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11616    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11617   else
11618  
# Line 10534 | Line 11626 | fi
11626  
11627    *)
11628      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11629 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11629 > if test "x$ac_cv_func_shl_load" = xyes; then :
11630    lt_cv_dlopen="shl_load"
11631   else
11632    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11633   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11634 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11634 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11635    $as_echo_n "(cached) " >&6
11636   else
11637    ac_check_lib_save_LIBS=$LIBS
# Line 10573 | Line 11665 | LIBS=$ac_check_lib_save_LIBS
11665   fi
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11667   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11668 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11668 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11669    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11670   else
11671    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11672 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11672 > if test "x$ac_cv_func_dlopen" = xyes; then :
11673    lt_cv_dlopen="dlopen"
11674   else
11675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11676   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11677 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11677 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11678    $as_echo_n "(cached) " >&6
11679   else
11680    ac_check_lib_save_LIBS=$LIBS
# Line 10616 | Line 11708 | LIBS=$ac_check_lib_save_LIBS
11708   fi
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11710   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11711 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11711 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11712    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11713   else
11714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11715   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11716 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11716 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11717    $as_echo_n "(cached) " >&6
11718   else
11719    ac_check_lib_save_LIBS=$LIBS
# Line 10655 | Line 11747 | LIBS=$ac_check_lib_save_LIBS
11747   fi
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11749   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11750 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11750 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11751    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11752   else
11753    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11754   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11755 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11755 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11756    $as_echo_n "(cached) " >&6
11757   else
11758    ac_check_lib_save_LIBS=$LIBS
# Line 10694 | Line 11786 | LIBS=$ac_check_lib_save_LIBS
11786   fi
11787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11788   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11789 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11789 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11790    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11791   fi
11792  
# Line 10735 | Line 11827 | fi
11827  
11828      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11829   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11830 < if test "${lt_cv_dlopen_self+set}" = set; then :
11830 > if ${lt_cv_dlopen_self+:} false; then :
11831    $as_echo_n "(cached) " >&6
11832   else
11833            if test "$cross_compiling" = yes; then :
# Line 10744 | Line 11836 | else
11836    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11837    lt_status=$lt_dlunknown
11838    cat > conftest.$ac_ext <<_LT_EOF
11839 < #line 10747 "configure"
11839 > #line $LINENO "configure"
11840   #include "confdefs.h"
11841  
11842   #if HAVE_DLFCN_H
# Line 10785 | Line 11877 | else
11877   #  endif
11878   #endif
11879  
11880 < void fnord() { int i=42;}
11880 > /* When -fvisbility=hidden is used, assume the code has been annotated
11881 >   correspondingly for the symbols needed.  */
11882 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11883 > int fnord () __attribute__((visibility("default")));
11884 > #endif
11885 >
11886 > int fnord () { return 42; }
11887   int main ()
11888   {
11889    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10794 | Line 11892 | int main ()
11892    if (self)
11893      {
11894        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11895 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11895 >      else
11896 >        {
11897 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11898 >          else puts (dlerror ());
11899 >        }
11900        /* dlclose (self); */
11901      }
11902    else
# Line 10831 | Line 11933 | $as_echo "$lt_cv_dlopen_self" >&6; }
11933        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11934        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11935   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11936 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11936 > if ${lt_cv_dlopen_self_static+:} false; then :
11937    $as_echo_n "(cached) " >&6
11938   else
11939            if test "$cross_compiling" = yes; then :
# Line 10840 | Line 11942 | else
11942    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11943    lt_status=$lt_dlunknown
11944    cat > conftest.$ac_ext <<_LT_EOF
11945 < #line 10843 "configure"
11945 > #line $LINENO "configure"
11946   #include "confdefs.h"
11947  
11948   #if HAVE_DLFCN_H
# Line 10881 | Line 11983 | else
11983   #  endif
11984   #endif
11985  
11986 < void fnord() { int i=42;}
11986 > /* When -fvisbility=hidden is used, assume the code has been annotated
11987 >   correspondingly for the symbols needed.  */
11988 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11989 > int fnord () __attribute__((visibility("default")));
11990 > #endif
11991 >
11992 > int fnord () { return 42; }
11993   int main ()
11994   {
11995    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10890 | Line 11998 | int main ()
11998    if (self)
11999      {
12000        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12001 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12001 >      else
12002 >        {
12003 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12004 >          else puts (dlerror ());
12005 >        }
12006        /* dlclose (self); */
12007      }
12008    else
# Line 11059 | Line 12171 | CC="$lt_save_CC"
12171  
12172  
12173  
12174 +
12175 +
12176          ac_config_commands="$ac_config_commands libtool"
12177  
12178  
# Line 11069 | Line 12183 | CC="$lt_save_CC"
12183  
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12185   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12186 < if test "${libltdl_cv_shlibext+set}" = set; then :
12186 > if ${libltdl_cv_shlibext+:} false; then :
12187    $as_echo_n "(cached) " >&6
12188   else
12189  
12190   module=yes
12191   eval libltdl_cv_shlibext=$shrext_cmds
12192 + module=no
12193 + eval libltdl_cv_shrext=$shrext_cmds
12194  
12195   fi
12196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11086 | Line 12202 | cat >>confdefs.h <<_ACEOF
12202   _ACEOF
12203  
12204   fi
12205 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12206 +
12207 + cat >>confdefs.h <<_ACEOF
12208 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12209 + _ACEOF
12210 +
12211 + fi
12212  
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12214   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12215 < if test "${lt_cv_module_path_var+set}" = set; then :
12215 > if ${lt_cv_module_path_var+:} false; then :
12216    $as_echo_n "(cached) " >&6
12217   else
12218    lt_cv_module_path_var="$shlibpath_var"
# Line 11106 | Line 12229 | fi
12229  
12230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12231   $as_echo_n "checking for the default library search path... " >&6; }
12232 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12232 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12233    $as_echo_n "(cached) " >&6
12234   else
12235    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11143 | Line 12266 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12266   LIBADD_DLOPEN=
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12268   $as_echo_n "checking for library containing dlopen... " >&6; }
12269 < if test "${ac_cv_search_dlopen+set}" = set; then :
12269 > if ${ac_cv_search_dlopen+:} false; then :
12270    $as_echo_n "(cached) " >&6
12271   else
12272    ac_func_search_save_LIBS=$LIBS
# Line 11177 | Line 12300 | for ac_lib in '' dl; do
12300   fi
12301   rm -f core conftest.err conftest.$ac_objext \
12302      conftest$ac_exeext
12303 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12303 >  if ${ac_cv_search_dlopen+:} false; then :
12304    break
12305   fi
12306   done
12307 < if test "${ac_cv_search_dlopen+set}" = set; then :
12307 > if ${ac_cv_search_dlopen+:} false; then :
12308  
12309   else
12310    ac_cv_search_dlopen=no
# Line 11226 | Line 12349 | $as_echo "#define HAVE_LIBDL 1" >>confde
12349   else
12350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12351   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12352 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12352 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12353    $as_echo_n "(cached) " >&6
12354   else
12355    ac_check_lib_save_LIBS=$LIBS
# Line 11260 | Line 12383 | LIBS=$ac_check_lib_save_LIBS
12383   fi
12384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12385   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12386 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12386 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12387  
12388   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12389  
# Line 11280 | Line 12403 | then
12403    for ac_func in dlerror
12404   do :
12405    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12406 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12406 > if test "x$ac_cv_func_dlerror" = xyes; then :
12407    cat >>confdefs.h <<_ACEOF
12408   #define HAVE_DLERROR 1
12409   _ACEOF
# Line 11294 | Line 12417 | fi
12417  
12418   LIBADD_SHL_LOAD=
12419   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12420 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12420 > if test "x$ac_cv_func_shl_load" = xyes; then :
12421  
12422   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12423  
# Line 11302 | Line 12425 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12425   else
12426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12427   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12428 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12428 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12429    $as_echo_n "(cached) " >&6
12430   else
12431    ac_check_lib_save_LIBS=$LIBS
# Line 11336 | Line 12459 | LIBS=$ac_check_lib_save_LIBS
12459   fi
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12461   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12462 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12462 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12463  
12464   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12465  
# Line 11352 | Line 12475 | case $host_os in
12475   darwin[1567].*)
12476   # We only want this for pre-Mac OS X 10.4.
12477    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12478 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12478 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12479  
12480   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12481  
# Line 11366 | Line 12489 | beos*)
12489   cygwin* | mingw* | os2* | pw32*)
12490    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12491   "
12492 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12492 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12493    ac_have_decl=1
12494   else
12495    ac_have_decl=0
# Line 11382 | Line 12505 | esac
12505  
12506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12507   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12508 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12508 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12509    $as_echo_n "(cached) " >&6
12510   else
12511    ac_check_lib_save_LIBS=$LIBS
# Line 11416 | Line 12539 | LIBS=$ac_check_lib_save_LIBS
12539   fi
12540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12541   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12542 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12542 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12543  
12544   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12545  
# Line 11450 | Line 12573 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12573  
12574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12575   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12576 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12576 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12577    $as_echo_n "(cached) " >&6
12578   else
12579    lt_cv_sys_symbol_underscore=no
# Line 11500 | Line 12623 | if test x"$lt_cv_sys_symbol_underscore"
12623       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12624          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12625   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12626 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12626 > if ${libltdl_cv_need_uscore+:} false; then :
12627    $as_echo_n "(cached) " >&6
12628   else
12629    libltdl_cv_need_uscore=unknown
# Line 11512 | Line 12635 | else
12635    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12636    lt_status=$lt_dlunknown
12637    cat > conftest.$ac_ext <<_LT_EOF
12638 < #line 11515 "configure"
12638 > #line $LINENO "configure"
12639   #include "confdefs.h"
12640  
12641   #if HAVE_DLFCN_H
# Line 11553 | Line 12676 | else
12676   #  endif
12677   #endif
12678  
12679 < void fnord() { int i=42;}
12679 > /* When -fvisbility=hidden is used, assume the code has been annotated
12680 >   correspondingly for the symbols needed.  */
12681 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12682 > int fnord () __attribute__((visibility("default")));
12683 > #endif
12684 >
12685 > int fnord () { return 42; }
12686   int main ()
12687   {
12688    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11562 | Line 12691 | int main ()
12691    if (self)
12692      {
12693        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12694 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12694 >      else
12695 >        {
12696 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12697 >          else puts (dlerror ());
12698 >        }
12699        /* dlclose (self); */
12700      }
12701    else
# Line 11606 | Line 12739 | fi
12739  
12740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12741   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12742 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12742 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12743    $as_echo_n "(cached) " >&6
12744   else
12745    # PORTME does your system automatically load deplibs for dlopen?
# Line 11638 | Line 12771 | else
12771    freebsd* | dragonfly*)
12772      lt_cv_sys_dlopen_deplibs=yes
12773      ;;
12774 <  gnu* | linux* | k*bsd*-gnu)
12774 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12775      # GNU and its variants, using gnu ld.so (Glibc)
12776      lt_cv_sys_dlopen_deplibs=yes
12777      ;;
# Line 11712 | Line 12845 | for ac_header in argz.h
12845   do :
12846    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12847   "
12848 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12848 > if test "x$ac_cv_header_argz_h" = xyes; then :
12849    cat >>confdefs.h <<_ACEOF
12850   #define HAVE_ARGZ_H 1
12851   _ACEOF
# Line 11726 | Line 12859 | ac_fn_c_check_type "$LINENO" "error_t" "
12859   #  include <argz.h>
12860   #endif
12861   "
12862 < if test "x$ac_cv_type_error_t" = x""yes; then :
12862 > if test "x$ac_cv_type_error_t" = xyes; then :
12863  
12864   cat >>confdefs.h <<_ACEOF
12865   #define HAVE_ERROR_T 1
# Line 11749 | Line 12882 | for ac_func in argz_add argz_append argz
12882   do :
12883    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12884   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12885 < eval as_val=\$$as_ac_var
11753 <   if test "x$as_val" = x""yes; then :
12885 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12886    cat >>confdefs.h <<_ACEOF
12887   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12888   _ACEOF
# Line 11767 | Line 12899 | done
12899   if test -z "$ARGZ_H"; then :
12900    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12901   $as_echo_n "checking if argz actually works... " >&6; }
12902 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12902 > if ${lt_cv_sys_argz_works+:} false; then :
12903    $as_echo_n "(cached) " >&6
12904   else
12905    case $host_os in #(
# Line 11798 | Line 12930 | else
12930   fi
12931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12932   $as_echo "$lt_cv_sys_argz_works" >&6; }
12933 <     if test $lt_cv_sys_argz_works = yes; then :
12933 >     if test "$lt_cv_sys_argz_works" = yes; then :
12934  
12935   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12936  
# Line 11815 | Line 12947 | fi
12947  
12948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12949   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12950 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12950 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12951    $as_echo_n "(cached) " >&6
12952   else
12953    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11833 | Line 12965 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12965  
12966   fi
12967  
11836
11837
12968   # Set options
12969  
12970  
# Line 11847 | Line 12977 | fi
12977  
12978  
12979  
11850
12980   # Check whether --with-included_ltdl was given.
12981   if test "${with_included_ltdl+set}" = set; then :
12982    withval=$with_included_ltdl;
# Line 11860 | Line 12989 | if test "x$with_included_ltdl" != xyes;
12989    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12990  
12991   "
12992 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12992 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12993    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12994              #include <ltdl.h>
12995   "
12996 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12996 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12997    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12998   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12999 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12999 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13000    $as_echo_n "(cached) " >&6
13001   else
13002    ac_check_lib_save_LIBS=$LIBS
# Line 11901 | Line 13030 | LIBS=$ac_check_lib_save_LIBS
13030   fi
13031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13032   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13033 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13033 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13034    with_included_ltdl=no
13035   else
13036    with_included_ltdl=yes
# Line 11921 | Line 13050 | fi
13050  
13051  
13052  
11924
11925
11926
11927
11928
13053   # Check whether --with-ltdl_include was given.
13054   if test "${with_ltdl_include+set}" = set; then :
13055    withval=$with_ltdl_include;
# Line 11935 | Line 13059 | fi
13059   if test -n "$with_ltdl_include"; then
13060    if test -f "$with_ltdl_include/ltdl.h"; then :
13061    else
13062 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13062 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13063    fi
13064   else
13065    with_ltdl_include=no
# Line 11951 | Line 13075 | fi
13075   if test -n "$with_ltdl_lib"; then
13076    if test -f "$with_ltdl_lib/libltdl.la"; then :
13077    else
13078 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13078 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13079    fi
13080   else
13081    with_ltdl_lib=no
# Line 11960 | Line 13084 | fi
13084   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13085    ,yes,no,no,)
13086          case $enable_ltdl_convenience in
13087 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13087 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13088    "") enable_ltdl_convenience=yes
13089        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13090   esac
# Line 11988 | Line 13112 | $as_echo "#define HAVE_LTDL 1" >>confdef
13112          LTDLINCL=
13113          ;;
13114    ,no*,no,*)
13115 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13115 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13116          ;;
13117    *)    with_included_ltdl=no
13118          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12039 | Line 13163 | fi
13163  
13164  
13165  
12042    subdirs="$subdirs libltdl"
12043
12044
13166  
13167  
13168  
# Line 12058 | Line 13179 | do :
13179    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13180   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13181   "
13182 < eval as_val=\$$as_ac_Header
12062 <   if test "x$as_val" = x""yes; then :
13182 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13183    cat >>confdefs.h <<_ACEOF
13184   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13185   _ACEOF
# Line 12073 | Line 13193 | for ac_func in closedir opendir readdir
13193   do :
13194    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13195   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13196 < eval as_val=\$$as_ac_var
12077 <   if test "x$as_val" = x""yes; then :
13196 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13197    cat >>confdefs.h <<_ACEOF
13198   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13199   _ACEOF
# Line 12091 | Line 13210 | for ac_func in strlcat strlcpy
13210   do :
13211    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13212   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13213 < eval as_val=\$$as_ac_var
12095 <   if test "x$as_val" = x""yes; then :
13213 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13214    cat >>confdefs.h <<_ACEOF
13215   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13216   _ACEOF
# Line 12112 | Line 13230 | cat >>confdefs.h <<_ACEOF
13230   _ACEOF
13231  
13232  
13233 + name=
13234 + eval "lt_libprefix=\"$libname_spec\""
13235 +
13236 + cat >>confdefs.h <<_ACEOF
13237 + #define LT_LIBPREFIX "$lt_libprefix"
13238 + _ACEOF
13239 +
13240 +
13241   name=ltdl
13242 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13242 > eval "LTDLOPEN=\"$libname_spec\""
13243  
13244  
13245  
# Line 12125 | Line 13251 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13251   # Only expand once:
13252  
13253  
13254 + LIBTOOL="$LIBTOOL --silent"
13255 +
13256 + # The cast to long int works around a bug in the HP C Compiler
13257 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13258 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13259 + # This bug is HP SR number 8606223364.
13260 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13261 + $as_echo_n "checking size of short... " >&6; }
13262 + if ${ac_cv_sizeof_short+:} false; then :
13263 +  $as_echo_n "(cached) " >&6
13264 + else
13265 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13266 +
13267 + else
13268 +  if test "$ac_cv_type_short" = yes; then
13269 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13270 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13271 + as_fn_error 77 "cannot compute sizeof (short)
13272 + See \`config.log' for more details" "$LINENO" 5; }
13273 +   else
13274 +     ac_cv_sizeof_short=0
13275 +   fi
13276 + fi
13277 +
13278 + fi
13279 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13280 + $as_echo "$ac_cv_sizeof_short" >&6; }
13281 +
13282 +
13283 +
13284 + cat >>confdefs.h <<_ACEOF
13285 + #define SIZEOF_SHORT $ac_cv_sizeof_short
13286 + _ACEOF
13287 +
13288 +
13289 + # The cast to long int works around a bug in the HP C Compiler
13290 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13291 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13292 + # This bug is HP SR number 8606223364.
13293 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13294 + $as_echo_n "checking size of int... " >&6; }
13295 + if ${ac_cv_sizeof_int+:} false; then :
13296 +  $as_echo_n "(cached) " >&6
13297 + else
13298 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13299 +
13300 + else
13301 +  if test "$ac_cv_type_int" = yes; then
13302 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13303 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13304 + as_fn_error 77 "cannot compute sizeof (int)
13305 + See \`config.log' for more details" "$LINENO" 5; }
13306 +   else
13307 +     ac_cv_sizeof_int=0
13308 +   fi
13309 + fi
13310 +
13311 + fi
13312 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13313 + $as_echo "$ac_cv_sizeof_int" >&6; }
13314 +
13315 +
13316 +
13317 + cat >>confdefs.h <<_ACEOF
13318 + #define SIZEOF_INT $ac_cv_sizeof_int
13319 + _ACEOF
13320 +
13321 +
13322 + # The cast to long int works around a bug in the HP C Compiler
13323 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13324 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13325 + # This bug is HP SR number 8606223364.
13326 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13327 + $as_echo_n "checking size of long... " >&6; }
13328 + if ${ac_cv_sizeof_long+:} false; then :
13329 +  $as_echo_n "(cached) " >&6
13330 + else
13331 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13332 +
13333 + else
13334 +  if test "$ac_cv_type_long" = yes; then
13335 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13336 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13337 + as_fn_error 77 "cannot compute sizeof (long)
13338 + See \`config.log' for more details" "$LINENO" 5; }
13339 +   else
13340 +     ac_cv_sizeof_long=0
13341 +   fi
13342 + fi
13343 +
13344 + fi
13345 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13346 + $as_echo "$ac_cv_sizeof_long" >&6; }
13347 +
13348 +
13349 +
13350 + cat >>confdefs.h <<_ACEOF
13351 + #define SIZEOF_LONG $ac_cv_sizeof_long
13352 + _ACEOF
13353 +
13354 +
13355 + # The cast to long int works around a bug in the HP C Compiler
13356 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13357 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13358 + # This bug is HP SR number 8606223364.
13359 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13360 + $as_echo_n "checking size of void *... " >&6; }
13361 + if ${ac_cv_sizeof_void_p+:} false; then :
13362 +  $as_echo_n "(cached) " >&6
13363 + else
13364 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13365 +
13366 + else
13367 +  if test "$ac_cv_type_void_p" = yes; then
13368 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13369 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13370 + as_fn_error 77 "cannot compute sizeof (void *)
13371 + See \`config.log' for more details" "$LINENO" 5; }
13372 +   else
13373 +     ac_cv_sizeof_void_p=0
13374 +   fi
13375 + fi
13376 +
13377 + fi
13378 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13379 + $as_echo "$ac_cv_sizeof_void_p" >&6; }
13380 +
13381 +
13382 +
13383 + cat >>confdefs.h <<_ACEOF
13384 + #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13385 + _ACEOF
13386 +
13387 +
13388 + # The cast to long int works around a bug in the HP C Compiler
13389 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13390 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13391 + # This bug is HP SR number 8606223364.
13392 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
13393 + $as_echo_n "checking size of int64_t... " >&6; }
13394 + if ${ac_cv_sizeof_int64_t+:} false; then :
13395 +  $as_echo_n "(cached) " >&6
13396 + else
13397 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
13398 +
13399 + else
13400 +  if test "$ac_cv_type_int64_t" = yes; then
13401 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13402 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13403 + as_fn_error 77 "cannot compute sizeof (int64_t)
13404 + See \`config.log' for more details" "$LINENO" 5; }
13405 +   else
13406 +     ac_cv_sizeof_int64_t=0
13407 +   fi
13408 + fi
13409 +
13410 + fi
13411 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
13412 + $as_echo "$ac_cv_sizeof_int64_t" >&6; }
13413 +
13414 +
13415 +
13416 + cat >>confdefs.h <<_ACEOF
13417 + #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
13418 + _ACEOF
13419 +
13420 +
13421 + # The cast to long int works around a bug in the HP C Compiler
13422 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13423 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13424 + # This bug is HP SR number 8606223364.
13425 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13426 + $as_echo_n "checking size of long long... " >&6; }
13427 + if ${ac_cv_sizeof_long_long+:} false; then :
13428 +  $as_echo_n "(cached) " >&6
13429 + else
13430 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
13431 +
13432 + else
13433 +  if test "$ac_cv_type_long_long" = yes; then
13434 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13435 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13436 + as_fn_error 77 "cannot compute sizeof (long long)
13437 + See \`config.log' for more details" "$LINENO" 5; }
13438 +   else
13439 +     ac_cv_sizeof_long_long=0
13440 +   fi
13441 + fi
13442 +
13443 + fi
13444 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13445 + $as_echo "$ac_cv_sizeof_long_long" >&6; }
13446 +
13447 +
13448 +
13449 + cat >>confdefs.h <<_ACEOF
13450 + #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13451 + _ACEOF
13452 +
13453 +
13454 +
13455 + if test "$ac_cv_sizeof_int" = 2 ; then
13456 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13457 + if test "x$ac_cv_type_int16_t" = xyes; then :
13458 +
13459 + else
13460 +
13461 + cat >>confdefs.h <<_ACEOF
13462 + #define int16_t int
13463 + _ACEOF
13464 +
13465 + fi
13466 +
13467 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13468 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13469 +
13470 + else
13471 +
13472 + cat >>confdefs.h <<_ACEOF
13473 + #define uint16_t unsigned int
13474 + _ACEOF
13475 +
13476 + fi
13477 +
13478 + elif test "$ac_cv_sizeof_short" = 2 ; then
13479 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13480 + if test "x$ac_cv_type_int16_t" = xyes; then :
13481 +
13482 + else
13483 +
13484 + cat >>confdefs.h <<_ACEOF
13485 + #define int16_t short
13486 + _ACEOF
13487 +
13488 + fi
13489 +
13490 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13491 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13492 +
13493 + else
13494 +
13495 + cat >>confdefs.h <<_ACEOF
13496 + #define uint16_t unsigned short
13497 + _ACEOF
13498 +
13499 + fi
13500 +
13501 + else
13502 +  as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5
13503 + fi
13504 + if test "$ac_cv_sizeof_int" = 4 ; then
13505 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13506 + if test "x$ac_cv_type_int32_t" = xyes; then :
13507 +
13508 + else
13509 +
13510 + cat >>confdefs.h <<_ACEOF
13511 + #define int32_t int
13512 + _ACEOF
13513 +
13514 + fi
13515 +
13516 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13517 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13518 +
13519 + else
13520 +
13521 + cat >>confdefs.h <<_ACEOF
13522 + #define uint32_t unsigned int
13523 + _ACEOF
13524 +
13525 + fi
13526 +
13527 + elif test "$ac_cv_sizeof_short" = 4 ; then
13528 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13529 + if test "x$ac_cv_type_int32_t" = xyes; then :
13530 +
13531 + else
13532 +
13533 + cat >>confdefs.h <<_ACEOF
13534 + #define int32_t short
13535 + _ACEOF
13536 +
13537 + fi
13538 +
13539 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13540 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13541 +
13542 + else
13543 +
13544 + cat >>confdefs.h <<_ACEOF
13545 + #define uint32_t unsigned short
13546 + _ACEOF
13547 +
13548 + fi
13549 +
13550 + elif test "$ac_cv_sizeof_long" = 4 ; then
13551 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13552 + if test "x$ac_cv_type_int32_t" = xyes; then :
13553 +
13554 + else
13555 +
13556 + cat >>confdefs.h <<_ACEOF
13557 + #define int32_t long
13558 + _ACEOF
13559 +
13560 + fi
13561 +
13562 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13563 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13564 +
13565 + else
13566 +
13567 + cat >>confdefs.h <<_ACEOF
13568 + #define uint32_t unsigned long
13569 + _ACEOF
13570 +
13571 + fi
13572 +
13573 + else
13574 +  as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5
13575 + fi
13576 + if test "$ac_cv_sizeof_int64_t" = 8 ; then
13577 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13578 + if test "x$ac_cv_type_int64_t" = xyes; then :
13579 +
13580 + fi
13581 +
13582 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13583 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13584 +
13585 + fi
13586 +
13587 + elif test "$ac_cv_sizeof_long_long" = 8 ; then
13588 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13589 + if test "x$ac_cv_type_int64_t" = xyes; then :
13590 +
13591 + else
13592 +
13593 + cat >>confdefs.h <<_ACEOF
13594 + #define int64_t long long
13595 + _ACEOF
13596 +
13597 + fi
13598 +
13599 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13600 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13601 +
13602 + else
13603 +
13604 + cat >>confdefs.h <<_ACEOF
13605 + #define uint64_t unsigned long long
13606 + _ACEOF
13607 +
13608 + fi
13609 +
13610 + else
13611 +  as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5
13612 + fi
13613 +
13614  
13615   # Checks for libraries.
13616  
13617 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13618 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13619 +
13620 + else
13621 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13622 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13623 + if ${ac_cv_search_getaddrinfo+:} false; then :
13624 +  $as_echo_n "(cached) " >&6
13625 + else
13626 +  ac_func_search_save_LIBS=$LIBS
13627 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 + /* end confdefs.h.  */
13629 +
13630 + /* Override any GCC internal prototype to avoid an error.
13631 +   Use char because int might match the return type of a GCC
13632 +   builtin and then its argument prototype would still apply.  */
13633 + #ifdef __cplusplus
13634 + extern "C"
13635 + #endif
13636 + char getaddrinfo ();
13637 + int
13638 + main ()
13639 + {
13640 + return getaddrinfo ();
13641 +  ;
13642 +  return 0;
13643 + }
13644 + _ACEOF
13645 + for ac_lib in '' nsl; do
13646 +  if test -z "$ac_lib"; then
13647 +    ac_res="none required"
13648 +  else
13649 +    ac_res=-l$ac_lib
13650 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13651 +  fi
13652 +  if ac_fn_c_try_link "$LINENO"; then :
13653 +  ac_cv_search_getaddrinfo=$ac_res
13654 + fi
13655 + rm -f core conftest.err conftest.$ac_objext \
13656 +    conftest$ac_exeext
13657 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13658 +  break
13659 + fi
13660 + done
13661 + if ${ac_cv_search_getaddrinfo+:} false; then :
13662 +
13663 + else
13664 +  ac_cv_search_getaddrinfo=no
13665 + fi
13666 + rm conftest.$ac_ext
13667 + LIBS=$ac_func_search_save_LIBS
13668 + fi
13669 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13670 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13671 + ac_res=$ac_cv_search_getaddrinfo
13672 + if test "$ac_res" != no; then :
13673 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13674 +
13675 + fi
13676 +
13677 + fi
13678 +
13679 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13680 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13681 +
13682 + else
13683 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13684 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13685 + if ${ac_cv_search_getnameinfo+:} false; then :
13686 +  $as_echo_n "(cached) " >&6
13687 + else
13688 +  ac_func_search_save_LIBS=$LIBS
13689 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 + /* end confdefs.h.  */
13691 +
13692 + /* Override any GCC internal prototype to avoid an error.
13693 +   Use char because int might match the return type of a GCC
13694 +   builtin and then its argument prototype would still apply.  */
13695 + #ifdef __cplusplus
13696 + extern "C"
13697 + #endif
13698 + char getnameinfo ();
13699 + int
13700 + main ()
13701 + {
13702 + return getnameinfo ();
13703 +  ;
13704 +  return 0;
13705 + }
13706 + _ACEOF
13707 + for ac_lib in '' nsl; do
13708 +  if test -z "$ac_lib"; then
13709 +    ac_res="none required"
13710 +  else
13711 +    ac_res=-l$ac_lib
13712 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13713 +  fi
13714 +  if ac_fn_c_try_link "$LINENO"; then :
13715 +  ac_cv_search_getnameinfo=$ac_res
13716 + fi
13717 + rm -f core conftest.err conftest.$ac_objext \
13718 +    conftest$ac_exeext
13719 +  if ${ac_cv_search_getnameinfo+:} false; then :
13720 +  break
13721 + fi
13722 + done
13723 + if ${ac_cv_search_getnameinfo+:} false; then :
13724 +
13725 + else
13726 +  ac_cv_search_getnameinfo=no
13727 + fi
13728 + rm conftest.$ac_ext
13729 + LIBS=$ac_func_search_save_LIBS
13730 + fi
13731 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13732 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13733 + ac_res=$ac_cv_search_getnameinfo
13734 + if test "$ac_res" != no; then :
13735 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13736 +
13737 + fi
13738 +
13739 + fi
13740 +
13741    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13742   $as_echo_n "checking for library containing socket... " >&6; }
13743 < if test "${ac_cv_search_socket+set}" = set; then :
13743 > if ${ac_cv_search_socket+:} false; then :
13744    $as_echo_n "(cached) " >&6
13745   else
13746    ac_func_search_save_LIBS=$LIBS
# Line 12164 | Line 13774 | for ac_lib in '' socket; do
13774   fi
13775   rm -f core conftest.err conftest.$ac_objext \
13776      conftest$ac_exeext
13777 <  if test "${ac_cv_search_socket+set}" = set; then :
13777 >  if ${ac_cv_search_socket+:} false; then :
13778    break
13779   fi
13780   done
13781 < if test "${ac_cv_search_socket+set}" = set; then :
13781 > if ${ac_cv_search_socket+:} false; then :
13782  
13783   else
13784    ac_cv_search_socket=no
# Line 12183 | Line 13793 | if test "$ac_res" != no; then :
13793    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13794  
13795   else
13796 <  as_fn_error "socket library not found" "$LINENO" 5
13796 >  as_fn_error $? "socket library not found" "$LINENO" 5
13797   fi
13798  
12189  for ac_func in inet_aton inet_ntop inet_pton
12190 do :
12191  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12193 eval as_val=\$$as_ac_var
12194   if test "x$as_val" = x""yes; then :
12195  cat >>confdefs.h <<_ACEOF
12196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12197 _ACEOF
12198
12199 fi
12200 done
12201
13799    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13800     #include <sys/socket.h>
13801     #include <netdb.h>
13802  
13803   "
13804 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13804 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13805  
13806   cat >>confdefs.h <<_ACEOF
13807   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12217 | Line 13814 | ac_fn_c_check_type "$LINENO" "struct soc
13814     #include <netdb.h>
13815  
13816   "
13817 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13817 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13818  
13819   cat >>confdefs.h <<_ACEOF
13820   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12230 | Line 13827 | ac_fn_c_check_type "$LINENO" "struct add
13827     #include <netdb.h>
13828  
13829   "
13830 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13830 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13831  
13832   cat >>confdefs.h <<_ACEOF
13833   #define HAVE_STRUCT_ADDRINFO 1
# Line 12242 | Line 13839 | fi
13839    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13840    <sys/socket.h>
13841   "
13842 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13842 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13843  
13844   cat >>confdefs.h <<_ACEOF
13845   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12253 | Line 13850 | fi
13850  
13851  
13852  
13853 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13854 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13855 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < else
13853 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13854 > "
13855 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13856  
13857   $as_echo "#define IPV6 1" >>confdefs.h
13858  
# Line 12272 | Line 13863 | fi
13863   # Checks for typedefs, structures, and compiler characteristics.
13864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13865   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13866 < if test "${ac_cv_c_bigendian+set}" = set; then :
13866 > if ${ac_cv_c_bigendian+:} false; then :
13867    $as_echo_n "(cached) " >&6
13868   else
13869    ac_cv_c_bigendian=unknown
# Line 12490 | Line 14081 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14081  
14082       ;; #(
14083     *)
14084 <     as_fn_error "unknown endianness
14084 >     as_fn_error $? "unknown endianness
14085   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14086   esac
14087  
# Line 12503 | Line 14094 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14094   do :
14095    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14096   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14097 < eval as_val=\$$as_ac_var
12507 <   if test "x$as_val" = x""yes; then :
14097 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14098    cat >>confdefs.h <<_ACEOF
14099   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14100   _ACEOF
# Line 12522 | Line 14112 | done
14112  
14113  
14114  
12525
12526
14115   # Checks for header files.
14116  
14117  
# Line 12533 | Line 14121 | do :
14121    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14122   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14123   "
14124 < eval as_val=\$$as_ac_Header
12537 <   if test "x$as_val" = x""yes; then :
14124 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14125    cat >>confdefs.h <<_ACEOF
14126   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14127   _ACEOF
# Line 12559 | Line 14146 | done
14146  
14147  
14148  
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572 # check for /dev/null so we can use it to hold evil fd's
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12574 $as_echo_n "checking for /dev/null... " >&6; }
12575 if test -c /dev/null; then :
12576
12577
12578 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12579
12580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12581 $as_echo "yes" >&6; }
12582 else
12583
12584
12585 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12586
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12588 $as_echo "no - using devnull.log" >&6; }
12589 fi
12590
12591
14149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14150   $as_echo_n "checking for library containing crypt... " >&6; }
14151 < if test "${ac_cv_search_crypt+set}" = set; then :
14151 > if ${ac_cv_search_crypt+:} false; then :
14152    $as_echo_n "(cached) " >&6
14153   else
14154    ac_func_search_save_LIBS=$LIBS
# Line 12625 | Line 14182 | for ac_lib in '' crypt; do
14182   fi
14183   rm -f core conftest.err conftest.$ac_objext \
14184      conftest$ac_exeext
14185 <  if test "${ac_cv_search_crypt+set}" = set; then :
14185 >  if ${ac_cv_search_crypt+:} false; then :
14186    break
14187   fi
14188   done
14189 < if test "${ac_cv_search_crypt+set}" = set; then :
14189 > if ${ac_cv_search_crypt+:} false; then :
14190  
14191   else
14192    ac_cv_search_crypt=no
# Line 12646 | Line 14203 | if test "$ac_res" != no; then :
14203   fi
14204  
14205  
14206 <
14207 <
14208 < # Check whether --with-zlib-path was given.
14209 < if test "${with_zlib_path+set}" = set; then :
14210 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
14211 < fi
14212 <
14213 <
14214 < # Check whether --enable-zlib was given.
12658 < if test "${enable_zlib+set}" = set; then :
12659 <  enableval=$enable_zlib; zlib=$enableval
12660 < else
12661 <  zlib=yes
12662 < fi
12663 <
12664 <
12665 < if test "$zlib" = "yes"; then :
12666 <
12667 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12668 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12669 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12670 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12671 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
14206 > # Check whether --enable-libGeoIP was given.
14207 > if test "${enable_libGeoIP+set}" = set; then :
14208 >  enableval=$enable_libGeoIP;
14209 > else
14210 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
14211 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
14212 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
14213 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
14214 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14215    $as_echo_n "(cached) " >&6
14216   else
14217 <  ac_check_lib_save_LIBS=$LIBS
12675 < LIBS="-lz  $LIBS"
14217 >  ac_func_search_save_LIBS=$LIBS
14218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219   /* end confdefs.h.  */
14220  
# Line 12682 | Line 14224 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14224   #ifdef __cplusplus
14225   extern "C"
14226   #endif
14227 < char zlibVersion ();
14227 > char GeoIP_id_by_ipnum_v6_gl ();
14228   int
14229   main ()
14230   {
14231 < return zlibVersion ();
14231 > return GeoIP_id_by_ipnum_v6_gl ();
14232    ;
14233    return 0;
14234   }
14235   _ACEOF
14236 < if ac_fn_c_try_link "$LINENO"; then :
14237 <  ac_cv_lib_z_zlibVersion=yes
14238 < else
14239 <  ac_cv_lib_z_zlibVersion=no
14236 > for ac_lib in '' GeoIP; do
14237 >  if test -z "$ac_lib"; then
14238 >    ac_res="none required"
14239 >  else
14240 >    ac_res=-l$ac_lib
14241 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14242 >  fi
14243 >  if ac_fn_c_try_link "$LINENO"; then :
14244 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
14245   fi
14246   rm -f core conftest.err conftest.$ac_objext \
14247 <    conftest$ac_exeext conftest.$ac_ext
14248 < LIBS=$ac_check_lib_save_LIBS
14249 < fi
12703 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12704 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12705 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12706 <
12707 <      LIBS="-lz $LIBS"
12708 <
12709 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12710 <
12711 <
12712 < else
12713 <  zlib=no
12714 < fi
12715 <
12716 <
12717 < else
12718 <  zlib=no
12719 < fi
12720 <
12721 <
12722 <
12723 < fi
12724 <
12725 <
12726 < # Check whether --with-libpcre-path was given.
12727 < if test "${with_libpcre_path+set}" = set; then :
12728 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
14247 >    conftest$ac_exeext
14248 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14249 >  break
14250   fi
14251 + done
14252 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14253  
12731
12732 # Check whether --enable-libpcre was given.
12733 if test "${enable_libpcre+set}" = set; then :
12734  enableval=$enable_libpcre; libpcre=$enableval
14254   else
14255 <  libpcre=yes
14255 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14256   fi
14257 <
14258 <
12740 < if test "$libpcre" = "yes"; then :
12741 <
12742 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12743 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
12744 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12745 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12746 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12747 <  $as_echo_n "(cached) " >&6
12748 < else
12749 <  ac_check_lib_save_LIBS=$LIBS
12750 < LIBS="-lpcre  $LIBS"
12751 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 < /* end confdefs.h.  */
12753 <
12754 < /* Override any GCC internal prototype to avoid an error.
12755 <   Use char because int might match the return type of a GCC
12756 <   builtin and then its argument prototype would still apply.  */
12757 < #ifdef __cplusplus
12758 < extern "C"
12759 < #endif
12760 < char pcre_study ();
12761 < int
12762 < main ()
12763 < {
12764 < return pcre_study ();
12765 <  ;
12766 <  return 0;
12767 < }
12768 < _ACEOF
12769 < if ac_fn_c_try_link "$LINENO"; then :
12770 <  ac_cv_lib_pcre_pcre_study=yes
12771 < else
12772 <  ac_cv_lib_pcre_pcre_study=no
12773 < fi
12774 < rm -f core conftest.err conftest.$ac_objext \
12775 <    conftest$ac_exeext conftest.$ac_ext
12776 < LIBS=$ac_check_lib_save_LIBS
14257 > rm conftest.$ac_ext
14258 > LIBS=$ac_func_search_save_LIBS
14259   fi
14260 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
14261 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
14262 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
14263 <
14264 <      LIBS="-lpcre $LIBS"
12783 <
12784 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14260 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
14261 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
14262 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
14263 > if test "$ac_res" != no; then :
14264 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14265  
14266 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
14267  
12787 else
12788  libpcre=no
14268   fi
14269  
12791
12792 else
12793  libpcre=no
14270   fi
14271  
14272  
12797
12798 fi
12799 if test "$libpcre" = yes; then
12800  ENABLE_PCRE_TRUE=
12801  ENABLE_PCRE_FALSE='#'
12802 else
12803  ENABLE_PCRE_TRUE='#'
12804  ENABLE_PCRE_FALSE=
14273   fi
14274  
14275  
12808
14276   # Check whether --enable-openssl was given.
14277   if test "${enable_openssl+set}" = set; then :
14278    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 12845 | Line 14312 | if test "$cf_enable_openssl" != "no"; th
14312    fi
14313  
14314        if test ! -z "$cf_openssl_basedir"; then
12848    LIBS="-lcrypto -lssl $LIBS"
14315      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14316   $as_echo "$cf_openssl_basedir" >&6; }
14317      cf_enable_openssl="yes"
12852
12853 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12854
14318    else
14319      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14320   $as_echo "not found. Please check your path." >&6; }
# Line 12864 | Line 14327 | $as_echo "disabled" >&6; }
14327   fi
14328  
14329   if test "$cf_enable_openssl" != "no"; then :
14330 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14331 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14330 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14331 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14332    if test "$cross_compiling" = yes; then :
14333    cf_openssl_version_ok=no
14334   else
14335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336   /* end confdefs.h.  */
14337  
14338 +
14339      #include <openssl/opensslv.h>
14340      #include <stdlib.h>
14341   int
14342   main ()
14343   {
14344 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14344 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14345    ;
14346    return 0;
14347   }
# Line 12898 | Line 14362 | $as_echo "found" >&6; }
14362  
14363      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14364   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14365 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14365 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14366    $as_echo_n "(cached) " >&6
14367   else
14368    ac_check_lib_save_LIBS=$LIBS
# Line 12932 | Line 14396 | LIBS=$ac_check_lib_save_LIBS
14396   fi
14397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14398   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14399 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14399 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14400    cat >>confdefs.h <<_ACEOF
14401   #define HAVE_LIBCRYPTO 1
14402   _ACEOF
# Line 12942 | Line 14406 | _ACEOF
14406   fi
14407  
14408      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14409 <  for ac_func in EVP_bf_cfb           \
14410 <                      EVP_cast5_cfb        \
14411 <                      EVP_idea_cfb         \
14412 <                      EVP_rc5_32_12_16_cfb \
14413 <                      EVP_des_ede3_cfb     \
14414 <                      EVP_des_cfb
14415 < do :
14416 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14417 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14418 < eval as_val=\$$as_ac_var
14419 <   if test "x$as_val" = x""yes; then :
14409 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14410 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14411 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14412 >  $as_echo_n "(cached) " >&6
14413 > else
14414 >  ac_check_lib_save_LIBS=$LIBS
14415 > LIBS="-lssl  $LIBS"
14416 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 > /* end confdefs.h.  */
14418 >
14419 > /* Override any GCC internal prototype to avoid an error.
14420 >   Use char because int might match the return type of a GCC
14421 >   builtin and then its argument prototype would still apply.  */
14422 > #ifdef __cplusplus
14423 > extern "C"
14424 > #endif
14425 > char SSL_connect ();
14426 > int
14427 > main ()
14428 > {
14429 > return SSL_connect ();
14430 >  ;
14431 >  return 0;
14432 > }
14433 > _ACEOF
14434 > if ac_fn_c_try_link "$LINENO"; then :
14435 >  ac_cv_lib_ssl_SSL_connect=yes
14436 > else
14437 >  ac_cv_lib_ssl_SSL_connect=no
14438 > fi
14439 > rm -f core conftest.err conftest.$ac_objext \
14440 >    conftest$ac_exeext conftest.$ac_ext
14441 > LIBS=$ac_check_lib_save_LIBS
14442 > fi
14443 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14444 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14445 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14446    cat >>confdefs.h <<_ACEOF
14447 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14447 > #define HAVE_LIBSSL 1
14448   _ACEOF
14449  
14450 +  LIBS="-lssl $LIBS"
14451 +
14452   fi
12961 done
14453  
14454   fi
14455  
# Line 12969 | Line 14460 | $as_echo "no - OpenSSL support disabled"
14460   fi
14461   fi
14462  
14463 < if test "$cf_enable_openssl" = yes; then
14463 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14464    ENABLE_SSL_TRUE=
14465    ENABLE_SSL_FALSE='#'
14466   else
# Line 12994 | Line 14485 | $as_echo "#define NDEBUG 1" >>confdefs.h
14485   fi
14486  
14487  
14488 < # Check whether --enable-small-net was given.
12998 < if test "${enable_small_net+set}" = set; then :
12999 <  enableval=$enable_small_net; small_net=$enableval
13000 < else
13001 <  small_net=no
13002 < fi
13003 <
14488 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14489  
13005 if test "$small_net" = "yes"; then :
14490  
14491 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14492  
13008 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14493  
14494 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14495  
13011 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14496  
14497 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14498  
13014 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14499  
14500 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14501  
13017 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14502  
14503 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14504  
13020 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14505  
14506 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14507  
13023 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14508  
14509 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14510  
13026 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14511  
14512 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14513  
13029 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14514  
14515 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14516  
13032 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14517  
14518 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14519  
13035 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14520  
14521 < else
14521 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14522  
14523  
14524 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14525  
13041 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14526  
14527 <
13044 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13045 <
13046 <
13047 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13048 <
13049 <
13050 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13051 <
13052 <
13053 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13054 <
13055 <
13056 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13057 <
13058 <
13059 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13060 <
13061 <
13062 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13063 <
13064 <
13065 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13066 <
13067 <
13068 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13069 <
13070 < fi
14527 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14528  
14529  
14530   # Argument processing.
# Line 13088 | Line 14545 | if test "${enable_devpoll+set}" = set; t
14545    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14546   fi
14547  
13091  # Check whether --enable-rtsigio was given.
13092 if test "${enable_rtsigio+set}" = set; then :
13093  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13094 fi
13095
14548    # Check whether --enable-poll was given.
14549   if test "${enable_poll+set}" = set; then :
14550    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13174 | Line 14626 | _ACEOF
14626    if test "$cross_compiling" = yes; then :
14627    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14628   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14629 < as_fn_error "cannot run test program while cross compiling
14630 < See \`config.log' for more details." "$LINENO" 5; }
14629 > as_fn_error $? "cannot run test program while cross compiling
14630 > See \`config.log' for more details" "$LINENO" 5; }
14631   else
14632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633   /* end confdefs.h.  */
# Line 13208 | Line 14660 | else
14660   #endif
14661   _syscall1(int, epoll_create, int, size)
14662   #endif
13211 main() { return epoll_create(256) == -1 ? 1 : 0; }
14663  
14664 + int
14665 + main ()
14666 + {
14667 + return epoll_create(256) == -1 ? 1 : 0
14668 +  ;
14669 +  return 0;
14670 + }
14671   _ACEOF
14672   if ac_fn_c_try_run "$LINENO"; then :
14673    is_epoll_mechanism_available="yes"
# Line 13270 | Line 14728 | rm -f core conftest.err conftest.$ac_obj
14728   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14729  
14730    fi
14731 <      iopoll_mechanism_rtsigio=4
13274 <
13275 < cat >>confdefs.h <<_ACEOF
13276 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13277 < _ACEOF
13278 <
13279 <  if test "$cross_compiling" = yes; then :
13280 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13281 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13282 < as_fn_error "cannot run test program while cross compiling
13283 < See \`config.log' for more details." "$LINENO" 5; }
13284 < else
13285 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 < /* end confdefs.h.  */
13287 <
13288 < #include <fcntl.h>
13289 < #ifdef F_SETSIG
13290 < main () { return 0; } /* F_SETSIG defined */
13291 < #else
13292 < main () { return 1; } /* F_SETSIG not defined */
13293 < #endif
13294 <
13295 < int
13296 < main ()
13297 < {
13298 <
13299 <  ;
13300 <  return 0;
13301 < }
13302 < _ACEOF
13303 < if ac_fn_c_try_run "$LINENO"; then :
13304 <  is_rtsigio_mechanism_available="yes"
13305 < else
13306 <  is_rtsigio_mechanism_available="no"
13307 < fi
13308 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13309 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13310 < fi
13311 <
13312 <      iopoll_mechanism_poll=5
14731 >      iopoll_mechanism_poll=4
14732  
14733   cat >>confdefs.h <<_ACEOF
14734   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13363 | Line 14782 | else
14782   fi
14783   rm -f core conftest.err conftest.$ac_objext \
14784      conftest$ac_exeext conftest.$ac_ext
14785 <      iopoll_mechanism_select=6
14785 >      iopoll_mechanism_select=5
14786  
14787   cat >>confdefs.h <<_ACEOF
14788   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13418 | Line 14837 | fi
14837   rm -f core conftest.err conftest.$ac_objext \
14838      conftest$ac_exeext conftest.$ac_ext
14839        optimal_iopoll_mechanism="none"
14840 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14840 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14841      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14842      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14843        optimal_iopoll_mechanism="$mechanism"
# Line 13429 | Line 14848 | rm -f core conftest.err conftest.$ac_obj
14848      if test "$optimal_iopoll_mechanism" = "none" ; then
14849        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14850   $as_echo "none" >&6; }
14851 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14851 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14852      else
14853        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14854        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13444 | Line 14863 | $as_echo "$selected_iopoll_mechanism" >&
14863      else
14864        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14865   $as_echo "none" >&6; }
14866 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14866 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14867      fi
14868    fi
14869        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13455 | Line 14874 | _ACEOF
14874  
14875  
14876  
13458
13459 # Check whether --with-nicklen was given.
13460 if test "${with_nicklen+set}" = set; then :
13461  withval=$with_nicklen; nicklen="$withval"
13462 else
13463  nicklen="9"
13464 fi
13465
13466
13467 cat >>confdefs.h <<_ACEOF
13468 #define NICKLEN ($nicklen+1)
13469 _ACEOF
13470
13471
13472
13473
13474 # Check whether --with-topiclen was given.
13475 if test "${with_topiclen+set}" = set; then :
13476  withval=$with_topiclen; topiclen="$withval"
13477 else
13478  topiclen="160"
13479 fi
13480
13481
13482 cat >>confdefs.h <<_ACEOF
13483 #define TOPICLEN ($topiclen)
13484 _ACEOF
13485
13486
13487
13488
13489 # Check whether --with-syslog-facility was given.
13490 if test "${with_syslog_facility+set}" = set; then :
13491  withval=$with_syslog_facility; syslog_facility="$withval"
13492 else
13493  syslog_facility="LOG_LOCAL4"
13494 fi
13495
13496
13497 cat >>confdefs.h <<_ACEOF
13498 #define LOG_FACILITY $syslog_facility
13499 _ACEOF
13500
13501
13502
13503  # Check whether --enable-efnet was given.
13504 if test "${enable_efnet+set}" = set; then :
13505  enableval=$enable_efnet; efnet="$enableval"
13506 else
13507  efnet="no"
13508 fi
13509
13510  if test "$efnet" = "yes" ; then
13511                use_efnet="yes"
13512
13513 $as_echo "#define EFNET 1" >>confdefs.h
13514
13515
13516 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13517
13518        else
13519                use_efnet="no"
13520  fi
13521   if test "$use_efnet" = "yes"; then
13522  EFNET_TRUE=
13523  EFNET_FALSE='#'
13524 else
13525  EFNET_TRUE='#'
13526  EFNET_FALSE=
13527 fi
13528
13529
13530
14877    # Check whether --enable-halfops was given.
14878   if test "${enable_halfops+set}" = set; then :
14879    enableval=$enable_halfops; halfops="$enableval"
# Line 13550 | Line 14896 | else
14896   fi
14897  
14898    if test "$debugging" = "yes" ; then
14899 <
13554 < $as_echo "#define DEBUG 1" >>confdefs.h
13555 <
13556 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13557 <  else
13558 <
13559 < $as_echo "#define NDEBUG 1" >>confdefs.h
13560 <
14899 >    CFLAGS="-Wall -g -O0"
14900    fi
14901  
14902  
# Line 13573 | Line 14912 | fi
14912    fi
14913  
14914  
13576  for ac_header in syslog.h sys/syslog.h
13577 do :
13578  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13579 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13580 eval as_val=\$$as_ac_Header
13581   if test "x$as_val" = x""yes; then :
13582  cat >>confdefs.h <<_ACEOF
13583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13584 _ACEOF
13585
13586 fi
13587
13588 done
13589
13590  # Check whether --enable-syslog was given.
13591 if test "${enable_syslog+set}" = set; then :
13592  enableval=$enable_syslog; syslog="$enableval"
13593 else
13594  syslog="no"
13595 fi
13596
13597  if test "$enableval" != "no" ; then
13598    for option in $enableval ; do
13599      case "$option" in
13600        users)
13601 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13602 ;;
13603        oper)
13604 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13605 ;;
13606        yes) : ;;
13607        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13608      esac
13609    done
13610
13611 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13612
13613  fi
13614
13615
14915  
14916    prefix_NONE=
14917    exec_prefix_NONE=
# Line 13699 | Line 14998 | _ACEOF
14998    test "$exec_prefix_NONE" && exec_prefix=NONE
14999  
15000  
15001 < 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 tools/Makefile"
15001 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15002  
15003  
15004   cat >confcache <<\_ACEOF
# Line 13766 | Line 15065 | $as_echo "$as_me: WARNING: cache variabl
15065       :end' >>confcache
15066   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15067    if test -w "$cache_file"; then
15068 <    test "x$cache_file" != "x/dev/null" &&
15068 >    if test "x$cache_file" != "x/dev/null"; then
15069        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15070   $as_echo "$as_me: updating cache $cache_file" >&6;}
15071 <    cat confcache >$cache_file
15071 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15072 >        cat confcache >"$cache_file"
15073 >      else
15074 >        case $cache_file in #(
15075 >        */* | ?:*)
15076 >          mv -f confcache "$cache_file"$$ &&
15077 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15078 >        *)
15079 >          mv -f confcache "$cache_file" ;;
15080 >        esac
15081 >      fi
15082 >    fi
15083    else
15084      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15085   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13785 | Line 15095 | DEFS=-DHAVE_CONFIG_H
15095  
15096   ac_libobjs=
15097   ac_ltlibobjs=
15098 + U=
15099   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15100    # 1. Remove the extension, and $U if already installed.
15101    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13799 | Line 15110 | LIBOBJS=$ac_libobjs
15110   LTLIBOBJS=$ac_ltlibobjs
15111  
15112  
15113 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15114 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15115 +   if test -n "$am_sleep_pid"; then
15116 +     # Hide warnings about reused PIDs.
15117 +     wait $am_sleep_pid 2>/dev/null
15118 +   fi
15119 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15120 + $as_echo "done" >&6; }
15121   if test -n "$EXEEXT"; then
15122    am__EXEEXT_TRUE=
15123    am__EXEEXT_FALSE='#'
# Line 13808 | Line 15127 | else
15127   fi
15128  
15129   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15130 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15130 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15131   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15132   fi
15133   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15134 <  as_fn_error "conditional \"AMDEP\" was never defined.
15134 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15135   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15136   fi
15137   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15138 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15138 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15139   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15140   fi
15141   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15142 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15142 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15143   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15144   fi
15145   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15146 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15146 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15147   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15148   fi
15149   LT_CONFIG_H=config.h
# Line 13845 | Line 15164 | LT_CONFIG_H=config.h
15164  
15165  
15166  
13848 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13849  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13851 fi
15167   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15168 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13854 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13855 < fi
13856 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13857 <  as_fn_error "conditional \"EFNET\" was never defined.
15168 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15169   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15170   fi
15171  
15172 < : ${CONFIG_STATUS=./config.status}
15172 > : "${CONFIG_STATUS=./config.status}"
15173   ac_write_fail=0
15174   ac_clean_files_save=$ac_clean_files
15175   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13959 | Line 15270 | fi
15270   IFS=" ""        $as_nl"
15271  
15272   # Find who we are.  Look in the path if we contain no directory separator.
15273 + as_myself=
15274   case $0 in #((
15275    *[\\/]* ) as_myself=$0 ;;
15276    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14004 | Line 15316 | export LANGUAGE
15316   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15317  
15318  
15319 < # as_fn_error ERROR [LINENO LOG_FD]
15320 < # ---------------------------------
15319 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15320 > # ----------------------------------------
15321   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15322   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15323 < # script with status $?, using 1 if that was 0.
15323 > # script with STATUS, using 1 if that was 0.
15324   as_fn_error ()
15325   {
15326 <  as_status=$?; test $as_status -eq 0 && as_status=1
15327 <  if test "$3"; then
15328 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15329 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15326 >  as_status=$1; test $as_status -eq 0 && as_status=1
15327 >  if test "$4"; then
15328 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15329 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15330    fi
15331 <  $as_echo "$as_me: error: $1" >&2
15331 >  $as_echo "$as_me: error: $2" >&2
15332    as_fn_exit $as_status
15333   } # as_fn_error
15334  
# Line 14154 | Line 15466 | if (echo >conf$$.file) 2>/dev/null; then
15466      # ... but there are two gotchas:
15467      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15468      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15469 <    # In both cases, we have to default to `cp -p'.
15469 >    # In both cases, we have to default to `cp -pR'.
15470      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15471 <      as_ln_s='cp -p'
15471 >      as_ln_s='cp -pR'
15472    elif ln conf$$.file conf$$ 2>/dev/null; then
15473      as_ln_s=ln
15474    else
15475 <    as_ln_s='cp -p'
15475 >    as_ln_s='cp -pR'
15476    fi
15477   else
15478 <  as_ln_s='cp -p'
15478 >  as_ln_s='cp -pR'
15479   fi
15480   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15481   rmdir conf$$.dir 2>/dev/null
# Line 14212 | Line 15524 | $as_echo X"$as_dir" |
15524        test -d "$as_dir" && break
15525      done
15526      test -z "$as_dirs" || eval "mkdir $as_dirs"
15527 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15527 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15528  
15529  
15530   } # as_fn_mkdir_p
# Line 14223 | Line 15535 | else
15535    as_mkdir_p=false
15536   fi
15537  
15538 < if test -x / >/dev/null 2>&1; then
15539 <  as_test_x='test -x'
15540 < else
15541 <  if ls -dL / >/dev/null 2>&1; then
15542 <    as_ls_L_option=L
15543 <  else
15544 <    as_ls_L_option=
15545 <  fi
15546 <  as_test_x='
15547 <    eval sh -c '\''
14236 <      if test -d "$1"; then
14237 <        test -d "$1/.";
14238 <      else
14239 <        case $1 in #(
14240 <        -*)set "./$1";;
14241 <        esac;
14242 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14243 <        ???[sx]*):;;*)false;;esac;fi
14244 <    '\'' sh
14245 <  '
14246 < fi
14247 < as_executable_p=$as_test_x
15538 >
15539 > # as_fn_executable_p FILE
15540 > # -----------------------
15541 > # Test if FILE is an executable regular file.
15542 > as_fn_executable_p ()
15543 > {
15544 >  test -f "$1" && test -x "$1"
15545 > } # as_fn_executable_p
15546 > as_test_x='test -x'
15547 > as_executable_p=as_fn_executable_p
15548  
15549   # Sed expression to map a string onto a valid CPP name.
15550   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14265 | Line 15565 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15565   # report actual input values of CONFIG_FILES etc. instead of their
15566   # values after options handling.
15567   ac_log="
15568 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15569 < generated by GNU Autoconf 2.64.  Invocation command line was
15568 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15569 > generated by GNU Autoconf 2.69.  Invocation command line was
15570  
15571    CONFIG_FILES    = $CONFIG_FILES
15572    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14306 | Line 15606 | Usage: $0 [OPTION]... [TAG]...
15606  
15607    -h, --help       print this help, then exit
15608    -V, --version    print version number and configuration settings, then exit
15609 +      --config     print configuration, then exit
15610    -q, --quiet, --silent
15611                     do not print progress messages
15612    -d, --debug      don't remove temporary files
# Line 14324 | Line 15625 | $config_headers
15625   Configuration commands:
15626   $config_commands
15627  
15628 < Report bugs to the package provider."
15628 > Report bugs to <bugs@ircd-hybrid.org>."
15629  
15630   _ACEOF
15631   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15632 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15633   ac_cs_version="\\
15634 < ircd-hybrid config.status 7.2.4
15635 < configured by $0, generated by GNU Autoconf 2.64,
15636 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15634 > ircd-hybrid config.status TRUNK
15635 > configured by $0, generated by GNU Autoconf 2.69,
15636 >  with options \\"\$ac_cs_config\\"
15637  
15638 < Copyright (C) 2009 Free Software Foundation, Inc.
15638 > Copyright (C) 2012 Free Software Foundation, Inc.
15639   This config.status script is free software; the Free Software Foundation
15640   gives unlimited permission to copy, distribute and modify it."
15641  
# Line 14351 | Line 15653 | ac_need_defaults=:
15653   while test $# != 0
15654   do
15655    case $1 in
15656 <  --*=*)
15656 >  --*=?*)
15657      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15658      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15659      ac_shift=:
15660      ;;
15661 +  --*=)
15662 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15663 +    ac_optarg=
15664 +    ac_shift=:
15665 +    ;;
15666    *)
15667      ac_option=$1
15668      ac_optarg=$2
# Line 14369 | Line 15676 | do
15676      ac_cs_recheck=: ;;
15677    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15678      $as_echo "$ac_cs_version"; exit ;;
15679 +  --config | --confi | --conf | --con | --co | --c )
15680 +    $as_echo "$ac_cs_config"; exit ;;
15681    --debug | --debu | --deb | --de | --d | -d )
15682      debug=: ;;
15683    --file | --fil | --fi | --f )
15684      $ac_shift
15685      case $ac_optarg in
15686      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15687 +    '') as_fn_error $? "missing file argument" ;;
15688      esac
15689      as_fn_append CONFIG_FILES " '$ac_optarg'"
15690      ac_need_defaults=false;;
# Line 14387 | Line 15697 | do
15697      ac_need_defaults=false;;
15698    --he | --h)
15699      # Conflict between --help and --header
15700 <    as_fn_error "ambiguous option: \`$1'
15700 >    as_fn_error $? "ambiguous option: \`$1'
15701   Try \`$0 --help' for more information.";;
15702    --help | --hel | -h )
15703      $as_echo "$ac_cs_usage"; exit ;;
# Line 14396 | Line 15706 | Try \`$0 --help' for more information.";
15706      ac_cs_silent=: ;;
15707  
15708    # This is an error.
15709 <  -*) as_fn_error "unrecognized option: \`$1'
15709 >  -*) as_fn_error $? "unrecognized option: \`$1'
15710   Try \`$0 --help' for more information." ;;
15711  
15712    *) as_fn_append ac_config_targets " $1"
# Line 14416 | Line 15726 | fi
15726   _ACEOF
15727   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15728   if \$ac_cs_recheck; then
15729 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15729 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15730    shift
15731    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15732    CONFIG_SHELL='$SHELL'
# Line 14450 | Line 15760 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15760   sed_quote_subst='$sed_quote_subst'
15761   double_quote_subst='$double_quote_subst'
15762   delay_variable_subst='$delay_variable_subst'
15763 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15764 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15765 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15766 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15767 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15768 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15769 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15770 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15771 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15772 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15773 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15774 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15775 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15776 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15777 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15778 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15779 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15780 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15781 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15782 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15783 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15784 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15785 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15786 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15787 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15788 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15789 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15790 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15791 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15792 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15793 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15794 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15795 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15796 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15797 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15798 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15799 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15800 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15801 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15802 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15803 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15804 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15805 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15806 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15807 < 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"`'
15808 < 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"`'
15809 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15810 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15811 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15812 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15813 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15814 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15815 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15816 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15817 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15818 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15819 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15820 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15821 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15822 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15823 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15824 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15825 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15826 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15827 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15828 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15829 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15830 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15831 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15832 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15833 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15834 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15835 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15836 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15837 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15838 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15839 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15840 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15841 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15842 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15843 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15844 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15845 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15846 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15847 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15848 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15849 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15850 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15851 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15852 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15853 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15854 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15855 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15856 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15857 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15858 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15859 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15860 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15861 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15862 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15863 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15864 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15865 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15866 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15867 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15868 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15869 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15870 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15871 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15872 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15873 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15874 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15875 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15876 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15877 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15878 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15879 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15880 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15763 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15764 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15765 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15766 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15767 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15768 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15769 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15770 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15771 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15772 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15773 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15774 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15775 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15776 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15777 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15778 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15779 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15780 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15781 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15782 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15783 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15784 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15785 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15786 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15787 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15788 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15789 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15790 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15791 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15792 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15793 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15794 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15795 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15796 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15797 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15798 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15799 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15800 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15801 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15802 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15803 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15804 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15805 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15806 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15807 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15808 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15809 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15810 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15811 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15812 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15813 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15814 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15815 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15816 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15817 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15818 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15819 > 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"`'
15820 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15821 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15822 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15823 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15824 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15825 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15826 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15827 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15828 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15829 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15830 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15831 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15832 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15833 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15834 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15835 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15836 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15837 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15838 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15839 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15840 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15841 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15842 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15843 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15844 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15845 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15846 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15847 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15848 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15849 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15850 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15851 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15852 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15853 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15854 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15855 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15856 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15857 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15858 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15859 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15860 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15861 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15862 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15863 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15864 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15865 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15866 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15867 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15868 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15869 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15870 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15871 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15872 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15873 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15874 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15875 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15876 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15877 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15878 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15879 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15880 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15881 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15882 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15883 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15884 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15885 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15886 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15887 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15888 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15889 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15890 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15891 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15892 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15893  
15894   LTCC='$LTCC'
15895   LTCFLAGS='$LTCFLAGS'
15896   compiler='$compiler_DEFAULT'
15897  
15898 + # A function that is used when there is no print builtin or printf.
15899 + func_fallback_echo ()
15900 + {
15901 +  eval 'cat <<_LTECHO_EOF
15902 + \$1
15903 + _LTECHO_EOF'
15904 + }
15905 +
15906   # Quote evaled strings.
15907 < for var in SED \
15907 > for var in SHELL \
15908 > ECHO \
15909 > PATH_SEPARATOR \
15910 > SED \
15911   GREP \
15912   EGREP \
15913   FGREP \
# Line 14587 | Line 15920 | reload_flag \
15920   OBJDUMP \
15921   deplibs_check_method \
15922   file_magic_cmd \
15923 + file_magic_glob \
15924 + want_nocaseglob \
15925 + DLLTOOL \
15926 + sharedlib_from_linklib_cmd \
15927   AR \
15928   AR_FLAGS \
15929 + archiver_list_spec \
15930   STRIP \
15931   RANLIB \
15932   CC \
# Line 14598 | Line 15936 | lt_cv_sys_global_symbol_pipe \
15936   lt_cv_sys_global_symbol_to_cdecl \
15937   lt_cv_sys_global_symbol_to_c_name_address \
15938   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15939 < SHELL \
14602 < ECHO \
15939 > nm_file_list_spec \
15940   lt_prog_compiler_no_builtin_flag \
14604 lt_prog_compiler_wl \
15941   lt_prog_compiler_pic \
15942 + lt_prog_compiler_wl \
15943   lt_prog_compiler_static \
15944   lt_cv_prog_compiler_c_o \
15945   need_locks \
15946 + MANIFEST_TOOL \
15947   DSYMUTIL \
15948   NMEDIT \
15949   LIPO \
# Line 14619 | Line 15957 | with_gnu_ld \
15957   allow_undefined_flag \
15958   no_undefined_flag \
15959   hardcode_libdir_flag_spec \
14622 hardcode_libdir_flag_spec_ld \
15960   hardcode_libdir_separator \
14624 fix_srcfile_path \
15961   exclude_expsyms \
15962   include_expsyms \
15963   file_list_spec \
# Line 14629 | Line 15965 | variables_saved_for_relink \
15965   libname_spec \
15966   library_names_spec \
15967   soname_spec \
15968 + install_override_mode \
15969   finish_eval \
15970   old_striplib \
15971   striplib; do
15972 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15972 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15973      *[\\\\\\\`\\"\\\$]*)
15974 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15974 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15975        ;;
15976      *)
15977        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14656 | Line 15993 | module_cmds \
15993   module_expsym_cmds \
15994   export_symbols_cmds \
15995   prelink_cmds \
15996 + postlink_cmds \
15997   postinstall_cmds \
15998   postuninstall_cmds \
15999   finish_cmds \
16000   sys_lib_search_path_spec \
16001   sys_lib_dlsearch_path_spec; do
16002 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16002 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16003      *[\\\\\\\`\\"\\\$]*)
16004 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16004 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16005        ;;
16006      *)
16007        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14671 | Line 16009 | sys_lib_dlsearch_path_spec; do
16009      esac
16010   done
16011  
14674 # Fix-up fallback echo if it was mangled by the above quoting rules.
14675 case \$lt_ECHO in
14676 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14677  ;;
14678 esac
14679
16012   ac_aux_dir='$ac_aux_dir'
16013   xsi_shell='$xsi_shell'
16014   lt_shell_append='$lt_shell_append'
# Line 14709 | Line 16041 | do
16041      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16042      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16043      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14712    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14713    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14714    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14715    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14716    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14717    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14718    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16044      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16045 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16045 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16046      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16047      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16048      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16049      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14725    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14726    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16050      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16051  
16052 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16052 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16053    esac
16054   done
16055  
# Line 14749 | Line 16072 | fi
16072   # after its creation but before its name has been assigned to `$tmp'.
16073   $debug ||
16074   {
16075 <  tmp=
16075 >  tmp= ac_tmp=
16076    trap 'exit_status=$?
16077 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16077 >  : "${ac_tmp:=$tmp}"
16078 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16079   ' 0
16080    trap 'as_fn_exit 1' 1 2 13 15
16081   }
# Line 14759 | Line 16083 | $debug ||
16083  
16084   {
16085    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16086 <  test -n "$tmp" && test -d "$tmp"
16086 >  test -d "$tmp"
16087   }  ||
16088   {
16089    tmp=./conf$$-$RANDOM
16090    (umask 077 && mkdir "$tmp")
16091 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16091 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16092 > ac_tmp=$tmp
16093  
16094   # Set up the scripts for CONFIG_FILES section.
16095   # No need to generate them if there are no CONFIG_FILES.
# Line 14781 | Line 16106 | if test "x$ac_cr" = x; then
16106   fi
16107   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16108   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16109 <  ac_cs_awk_cr='\r'
16109 >  ac_cs_awk_cr='\\r'
16110   else
16111    ac_cs_awk_cr=$ac_cr
16112   fi
16113  
16114 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16114 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16115   _ACEOF
16116  
16117  
# Line 14795 | Line 16120 | _ACEOF
16120    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16121    echo "_ACEOF"
16122   } >conf$$subs.sh ||
16123 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16124 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16123 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16124 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16125   ac_delim='%!_!# '
16126   for ac_last_try in false false false false false :; do
16127    . ./conf$$subs.sh ||
16128 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16128 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16129  
16130    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16131    if test $ac_delim_n = $ac_delim_num; then
16132      break
16133    elif $ac_last_try; then
16134 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16134 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16135    else
16136      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16137    fi
# Line 14814 | Line 16139 | done
16139   rm -f conf$$subs.sh
16140  
16141   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16142 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16142 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16143   _ACEOF
16144   sed -n '
16145   h
# Line 14828 | Line 16153 | s/'"$ac_delim"'$//
16153   t delim
16154   :nl
16155   h
16156 < s/\(.\{148\}\).*/\1/
16156 > s/\(.\{148\}\)..*/\1/
16157   t more1
16158   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16159   p
# Line 14842 | Line 16167 | s/.\{148\}//
16167   t nl
16168   :delim
16169   h
16170 < s/\(.\{148\}\).*/\1/
16170 > s/\(.\{148\}\)..*/\1/
16171   t more2
16172   s/["\\]/\\&/g; s/^/"/; s/$/"/
16173   p
# Line 14862 | Line 16187 | t delim
16187   rm -f conf$$subs.awk
16188   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16189   _ACAWK
16190 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16190 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16191    for (key in S) S_is_set[key] = 1
16192    FS = ""
16193  
# Line 14894 | Line 16219 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16219    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16220   else
16221    cat
16222 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16223 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16222 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16223 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16224   _ACEOF
16225  
16226 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16227 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16226 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16227 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16228   # trailing colons and then remove the whole line if VPATH becomes empty
16229   # (actually we leave an empty line to preserve line numbers).
16230   if test "x$srcdir" = x.; then
16231 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16232 < s/:*\$(srcdir):*/:/
16233 < s/:*\${srcdir}:*/:/
16234 < s/:*@srcdir@:*/:/
16235 < s/^\([^=]*=[     ]*\):*/\1/
16231 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16232 > h
16233 > s///
16234 > s/^/:/
16235 > s/[      ]*$/:/
16236 > s/:\$(srcdir):/:/g
16237 > s/:\${srcdir}:/:/g
16238 > s/:@srcdir@:/:/g
16239 > s/^:*//
16240   s/:*$//
16241 + x
16242 + s/\(=[   ]*\).*/\1/
16243 + G
16244 + s/\n//
16245   s/^[^=]*=[       ]*$//
16246   }'
16247   fi
# Line 14920 | Line 16253 | fi # test -n "$CONFIG_FILES"
16253   # No need to generate them if there are no CONFIG_HEADERS.
16254   # This happens for instance with `./config.status Makefile'.
16255   if test -n "$CONFIG_HEADERS"; then
16256 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16256 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16257   BEGIN {
16258   _ACEOF
16259  
# Line 14932 | Line 16265 | _ACEOF
16265   # handling of long lines.
16266   ac_delim='%!_!# '
16267   for ac_last_try in false false :; do
16268 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16269 <  if test -z "$ac_t"; then
16268 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16269 >  if test -z "$ac_tt"; then
16270      break
16271    elif $ac_last_try; then
16272 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16272 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16273    else
16274      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16275    fi
# Line 15021 | Line 16354 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16354   _ACAWK
16355   _ACEOF
16356   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16357 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16357 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16358   fi # test -n "$CONFIG_HEADERS"
16359  
16360  
# Line 15034 | Line 16367 | do
16367    esac
16368    case $ac_mode$ac_tag in
16369    :[FHL]*:*);;
16370 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16370 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16371    :[FH]-) ac_tag=-:-;;
16372    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16373    esac
# Line 15053 | Line 16386 | do
16386      for ac_f
16387      do
16388        case $ac_f in
16389 <      -) ac_f="$tmp/stdin";;
16389 >      -) ac_f="$ac_tmp/stdin";;
16390        *) # Look for the file first in the build tree, then in the source tree
16391           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16392           # because $ac_f cannot contain `:'.
# Line 15062 | Line 16395 | do
16395             [\\/$]*) false;;
16396             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16397             esac ||
16398 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16398 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16399        esac
16400        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16401        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15088 | Line 16421 | $as_echo "$as_me: creating $ac_file" >&6
16421      esac
16422  
16423      case $ac_tag in
16424 <    *:-:* | *:-) cat >"$tmp/stdin" \
16425 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16424 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16425 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16426      esac
16427      ;;
16428    esac
# Line 15225 | Line 16558 | s&@INSTALL@&$ac_INSTALL&;t t
16558   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16559   $ac_datarootdir_hack
16560   "
16561 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16562 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16561 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16562 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16563  
16564   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16565 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16566 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16565 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16566 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16567 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16568    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16569 < which seems to be undefined.  Please make sure it is defined." >&5
16569 > which seems to be undefined.  Please make sure it is defined" >&5
16570   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16571 < which seems to be undefined.  Please make sure it is defined." >&2;}
16571 > which seems to be undefined.  Please make sure it is defined" >&2;}
16572  
16573 <  rm -f "$tmp/stdin"
16573 >  rm -f "$ac_tmp/stdin"
16574    case $ac_file in
16575 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16576 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16575 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16576 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16577    esac \
16578 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16578 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16579   ;;
16580    :H)
16581    #
# Line 15250 | Line 16584 | which seems to be undefined.  Please mak
16584    if test x"$ac_file" != x-; then
16585      {
16586        $as_echo "/* $configure_input  */" \
16587 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16588 <    } >"$tmp/config.h" \
16589 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16590 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16587 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16588 >    } >"$ac_tmp/config.h" \
16589 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16590 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16591        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16592   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16593      else
16594        rm -f "$ac_file"
16595 <      mv "$tmp/config.h" "$ac_file" \
16596 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16595 >      mv "$ac_tmp/config.h" "$ac_file" \
16596 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16597      fi
16598    else
16599      $as_echo "/* $configure_input  */" \
16600 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16601 <      || as_fn_error "could not create -" "$LINENO" 5
16600 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16601 >      || as_fn_error $? "could not create -" "$LINENO" 5
16602    fi
16603   # Compute "$ac_file"'s index in $config_headers.
16604   _am_arg="$ac_file"
# Line 15310 | Line 16644 | $as_echo "$as_me: executing $ac_file com
16644  
16645    case $ac_file$ac_mode in
16646      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16647 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16647 >  # Older Autoconf quotes --file arguments for eval, but not when files
16648    # are listed without --file.  Let's play safe and only enable the eval
16649    # if we detect the quoting.
16650    case $CONFIG_FILES in
# Line 15323 | Line 16657 | $as_echo "$as_me: executing $ac_file com
16657      # Strip MF so we end up with the name of the file.
16658      mf=`echo "$mf" | sed -e 's/:.*$//'`
16659      # Check whether this is an Automake generated Makefile or not.
16660 <    # We used to match only the files named `Makefile.in', but
16660 >    # We used to match only the files named 'Makefile.in', but
16661      # some people rename them; so instead we look at the file content.
16662      # Grep'ing the first line is not enough: some people post-process
16663      # each Makefile.in and add a new line on top of each file to say so.
# Line 15357 | Line 16691 | $as_echo X"$mf" |
16691        continue
16692      fi
16693      # Extract the definition of DEPDIR, am__include, and am__quote
16694 <    # from the Makefile without running `make'.
16694 >    # from the Makefile without running 'make'.
16695      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16696      test -z "$DEPDIR" && continue
16697      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16698 <    test -z "am__include" && continue
16698 >    test -z "$am__include" && continue
16699      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15366    # When using ansi2knr, U may be empty or an underscore; expand it
15367    U=`sed -n 's/^U = //p' < "$mf"`
16700      # Find all dependency output files, they are included files with
16701      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16702      # simplest approach to changing $(DEPDIR) to its actual value in the
16703      # expansion.
16704      for file in `sed -n "
16705        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16706 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16706 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16707        # Make sure the directory exists.
16708        test -f "$dirpart/$file" && continue
16709        fdir=`$as_dirname -- "$file" ||
# Line 15425 | Line 16757 | $as_echo X"$file" |
16757   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16758   #
16759   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16760 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16760 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16761 > #                 Foundation, Inc.
16762   #   Written by Gordon Matzigkeit, 1996
16763   #
16764   #   This file is part of GNU Libtool.
# Line 15473 | Line 16806 | pic_mode=$pic_mode
16806   # Whether or not to optimize for fast installation.
16807   fast_install=$enable_fast_install
16808  
16809 + # Shell to use when invoking shell scripts.
16810 + SHELL=$lt_SHELL
16811 +
16812 + # An echo program that protects backslashes.
16813 + ECHO=$lt_ECHO
16814 +
16815 + # The PATH separator for the build system.
16816 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16817 +
16818   # The host system.
16819   host_alias=$host_alias
16820   host=$host
# Line 15522 | Line 16864 | SP2NL=$lt_lt_SP2NL
16864   # turn newlines into spaces.
16865   NL2SP=$lt_lt_NL2SP
16866  
16867 < # How to create reloadable object files.
16868 < reload_flag=$lt_reload_flag
16869 < reload_cmds=$lt_reload_cmds
16867 > # convert \$build file names to \$host format.
16868 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16869 >
16870 > # convert \$build files to toolchain format.
16871 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16872  
16873   # An object symbol dumper.
16874   OBJDUMP=$lt_OBJDUMP
# Line 15532 | Line 16876 | OBJDUMP=$lt_OBJDUMP
16876   # Method to check whether dependent libraries are shared objects.
16877   deplibs_check_method=$lt_deplibs_check_method
16878  
16879 < # Command to use when deplibs_check_method == "file_magic".
16879 > # Command to use when deplibs_check_method = "file_magic".
16880   file_magic_cmd=$lt_file_magic_cmd
16881  
16882 + # How to find potential files when deplibs_check_method = "file_magic".
16883 + file_magic_glob=$lt_file_magic_glob
16884 +
16885 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16886 + want_nocaseglob=$lt_want_nocaseglob
16887 +
16888 + # DLL creation program.
16889 + DLLTOOL=$lt_DLLTOOL
16890 +
16891 + # Command to associate shared and link libraries.
16892 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16893 +
16894   # The archiver.
16895   AR=$lt_AR
16896 +
16897 + # Flags to create an archive.
16898   AR_FLAGS=$lt_AR_FLAGS
16899  
16900 + # How to feed a file listing to the archiver.
16901 + archiver_list_spec=$lt_archiver_list_spec
16902 +
16903   # A symbol stripping program.
16904   STRIP=$lt_STRIP
16905  
# Line 15547 | Line 16908 | RANLIB=$lt_RANLIB
16908   old_postinstall_cmds=$lt_old_postinstall_cmds
16909   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16910  
16911 + # Whether to use a lock for old archive extraction.
16912 + lock_old_archive_extraction=$lock_old_archive_extraction
16913 +
16914   # A C compiler.
16915   LTCC=$lt_CC
16916  
# Line 15565 | Line 16929 | global_symbol_to_c_name_address=$lt_lt_c
16929   # Transform the output of nm in a C name address pair when lib prefix is needed.
16930   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16931  
16932 < # The name of the directory that contains temporary libtool files.
16933 < objdir=$objdir
16932 > # Specify filename containing input files for \$NM.
16933 > nm_file_list_spec=$lt_nm_file_list_spec
16934  
16935 < # Shell to use when invoking shell scripts.
16936 < SHELL=$lt_SHELL
16935 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16936 > lt_sysroot=$lt_sysroot
16937  
16938 < # An echo program that does not interpret backslashes.
16939 < ECHO=$lt_ECHO
16938 > # The name of the directory that contains temporary libtool files.
16939 > objdir=$objdir
16940  
16941   # Used to examine libraries when file_magic_cmd begins with "file".
16942   MAGIC_CMD=$MAGIC_CMD
# Line 15580 | Line 16944 | MAGIC_CMD=$MAGIC_CMD
16944   # Must we lock files when doing compilation?
16945   need_locks=$lt_need_locks
16946  
16947 + # Manifest tool.
16948 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16949 +
16950   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16951   DSYMUTIL=$lt_DSYMUTIL
16952  
# Line 15636 | Line 17003 | library_names_spec=$lt_library_names_spe
17003   # The coded name of the library, if different from the real name.
17004   soname_spec=$lt_soname_spec
17005  
17006 + # Permission mode override for installation of shared libraries.
17007 + install_override_mode=$lt_install_override_mode
17008 +
17009   # Command to use after installation of a shared archive.
17010   postinstall_cmds=$lt_postinstall_cmds
17011  
# Line 15675 | Line 17045 | striplib=$lt_striplib
17045   # The linker used to build libraries.
17046   LD=$lt_LD
17047  
17048 + # How to create reloadable object files.
17049 + reload_flag=$lt_reload_flag
17050 + reload_cmds=$lt_reload_cmds
17051 +
17052   # Commands used to build an old-style archive.
17053   old_archive_cmds=$lt_old_archive_cmds
17054  
# Line 15687 | Line 17061 | with_gcc=$GCC
17061   # Compiler flag to turn off builtin functions.
17062   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17063  
15690 # How to pass a linker flag through the compiler.
15691 wl=$lt_lt_prog_compiler_wl
15692
17064   # Additional compiler flags for building library objects.
17065   pic_flag=$lt_lt_prog_compiler_pic
17066  
17067 + # How to pass a linker flag through the compiler.
17068 + wl=$lt_lt_prog_compiler_wl
17069 +
17070   # Compiler flag to prevent dynamic linking.
17071   link_static_flag=$lt_lt_prog_compiler_static
17072  
# Line 15742 | Line 17116 | no_undefined_flag=$lt_no_undefined_flag
17116   # This must work even if \$libdir does not exist
17117   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17118  
15745 # If ld is used when linking, flag to hardcode \$libdir into a binary
15746 # during linking.  This must work even if \$libdir does not exist.
15747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15748
17119   # Whether we need a single "-rpath" flag with a separated argument.
17120   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17121  
# Line 15779 | Line 17149 | inherit_rpath=$inherit_rpath
17149   # Whether libtool must link a program against all its dependency libraries.
17150   link_all_deplibs=$link_all_deplibs
17151  
15782 # Fix the shell variable \$srcfile for the compiler.
15783 fix_srcfile_path=$lt_fix_srcfile_path
15784
17152   # Set to "yes" if exported symbols are required.
17153   always_export_symbols=$always_export_symbols
17154  
# Line 15797 | Line 17164 | include_expsyms=$lt_include_expsyms
17164   # Commands necessary for linking programs (against libraries) with templates.
17165   prelink_cmds=$lt_prelink_cmds
17166  
17167 + # Commands necessary for finishing linking programs.
17168 + postlink_cmds=$lt_postlink_cmds
17169 +
17170   # Specify filename containing input files.
17171   file_list_spec=$lt_file_list_spec
17172  
# Line 15829 | Line 17199 | ltmain="$ac_aux_dir/ltmain.sh"
17199    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17200    # text mode, it properly converts lines to CR/LF.  This bash problem
17201    # is reportedly fixed, but why not run on old versions too?
17202 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17203 <    || (rm -f "$cfgfile"; exit 1)
15834 <
15835 <  case $xsi_shell in
15836 <  yes)
15837 <    cat << \_LT_EOF >> "$cfgfile"
15838 <
15839 < # func_dirname file append nondir_replacement
15840 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15841 < # otherwise set result to NONDIR_REPLACEMENT.
15842 < func_dirname ()
15843 < {
15844 <  case ${1} in
15845 <    */*) func_dirname_result="${1%/*}${2}" ;;
15846 <    *  ) func_dirname_result="${3}" ;;
15847 <  esac
15848 < }
15849 <
15850 < # func_basename file
15851 < func_basename ()
15852 < {
15853 <  func_basename_result="${1##*/}"
15854 < }
15855 <
15856 < # func_dirname_and_basename file append nondir_replacement
15857 < # perform func_basename and func_dirname in a single function
15858 < # call:
15859 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15860 < #             add APPEND to the result, otherwise set result
15861 < #             to NONDIR_REPLACEMENT.
15862 < #             value returned in "$func_dirname_result"
15863 < #   basename: Compute filename of FILE.
15864 < #             value retuned in "$func_basename_result"
15865 < # Implementation must be kept synchronized with func_dirname
15866 < # and func_basename. For efficiency, we do not delegate to
15867 < # those functions but instead duplicate the functionality here.
15868 < func_dirname_and_basename ()
15869 < {
15870 <  case ${1} in
15871 <    */*) func_dirname_result="${1%/*}${2}" ;;
15872 <    *  ) func_dirname_result="${3}" ;;
15873 <  esac
15874 <  func_basename_result="${1##*/}"
15875 < }
15876 <
15877 < # func_stripname prefix suffix name
15878 < # strip PREFIX and SUFFIX off of NAME.
15879 < # PREFIX and SUFFIX must not contain globbing or regex special
15880 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15881 < # dot (in which case that matches only a dot).
15882 < func_stripname ()
15883 < {
15884 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15885 <  # positional parameters, so assign one to ordinary parameter first.
15886 <  func_stripname_result=${3}
15887 <  func_stripname_result=${func_stripname_result#"${1}"}
15888 <  func_stripname_result=${func_stripname_result%"${2}"}
15889 < }
15890 <
15891 < # func_opt_split
15892 < func_opt_split ()
15893 < {
15894 <  func_opt_split_opt=${1%%=*}
15895 <  func_opt_split_arg=${1#*=}
15896 < }
15897 <
15898 < # func_lo2o object
15899 < func_lo2o ()
15900 < {
15901 <  case ${1} in
15902 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15903 <    *)    func_lo2o_result=${1} ;;
15904 <  esac
15905 < }
15906 <
15907 < # func_xform libobj-or-source
15908 < func_xform ()
15909 < {
15910 <  func_xform_result=${1%.*}.lo
15911 < }
15912 <
15913 < # func_arith arithmetic-term...
15914 < func_arith ()
15915 < {
15916 <  func_arith_result=$(( $* ))
15917 < }
15918 <
15919 < # func_len string
15920 < # STRING may not start with a hyphen.
15921 < func_len ()
15922 < {
15923 <  func_len_result=${#1}
15924 < }
15925 <
15926 < _LT_EOF
15927 <    ;;
15928 <  *) # Bourne compatible functions.
15929 <    cat << \_LT_EOF >> "$cfgfile"
15930 <
15931 < # func_dirname file append nondir_replacement
15932 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15933 < # otherwise set result to NONDIR_REPLACEMENT.
15934 < func_dirname ()
15935 < {
15936 <  # Extract subdirectory from the argument.
15937 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15938 <  if test "X$func_dirname_result" = "X${1}"; then
15939 <    func_dirname_result="${3}"
15940 <  else
15941 <    func_dirname_result="$func_dirname_result${2}"
15942 <  fi
15943 < }
15944 <
15945 < # func_basename file
15946 < func_basename ()
15947 < {
15948 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15949 < }
15950 <
15951 <
15952 < # func_stripname prefix suffix name
15953 < # strip PREFIX and SUFFIX off of NAME.
15954 < # PREFIX and SUFFIX must not contain globbing or regex special
15955 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15956 < # dot (in which case that matches only a dot).
15957 < # func_strip_suffix prefix name
15958 < func_stripname ()
15959 < {
15960 <  case ${2} in
15961 <    .*) func_stripname_result=`$ECHO "X${3}" \
15962 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15963 <    *)  func_stripname_result=`$ECHO "X${3}" \
15964 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15965 <  esac
15966 < }
15967 <
15968 < # sed scripts:
15969 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15970 < my_sed_long_arg='1s/^-[^=]*=//'
15971 <
15972 < # func_opt_split
15973 < func_opt_split ()
15974 < {
15975 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15976 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15977 < }
15978 <
15979 < # func_lo2o object
15980 < func_lo2o ()
15981 < {
15982 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15983 < }
15984 <
15985 < # func_xform libobj-or-source
15986 < func_xform ()
15987 < {
15988 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15989 < }
15990 <
15991 < # func_arith arithmetic-term...
15992 < func_arith ()
15993 < {
15994 <  func_arith_result=`expr "$@"`
15995 < }
15996 <
15997 < # func_len string
15998 < # STRING may not start with a hyphen.
15999 < func_len ()
16000 < {
16001 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16002 < }
16003 <
16004 < _LT_EOF
16005 < esac
16006 <
16007 < case $lt_shell_append in
16008 <  yes)
16009 <    cat << \_LT_EOF >> "$cfgfile"
16010 <
16011 < # func_append var value
16012 < # Append VALUE to the end of shell variable VAR.
16013 < func_append ()
16014 < {
16015 <  eval "$1+=\$2"
16016 < }
16017 < _LT_EOF
16018 <    ;;
16019 <  *)
16020 <    cat << \_LT_EOF >> "$cfgfile"
16021 <
16022 < # func_append var value
16023 < # Append VALUE to the end of shell variable VAR.
16024 < func_append ()
16025 < {
16026 <  eval "$1=\$$1\$2"
16027 < }
16028 <
16029 < _LT_EOF
16030 <    ;;
16031 <  esac
17202 >  sed '$q' "$ltmain" >> "$cfgfile" \
17203 >     || (rm -f "$cfgfile"; exit 1)
17204  
17205 +  if test x"$xsi_shell" = xyes; then
17206 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17207 + func_dirname ()\
17208 + {\
17209 + \    case ${1} in\
17210 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17211 + \      *  ) func_dirname_result="${3}" ;;\
17212 + \    esac\
17213 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17214 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17215 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17216 + test 0 -eq $? || _lt_function_replace_fail=:
17217 +
17218 +
17219 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17220 + func_basename ()\
17221 + {\
17222 + \    func_basename_result="${1##*/}"\
17223 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17224 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17225 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17226 + test 0 -eq $? || _lt_function_replace_fail=:
17227 +
17228 +
17229 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17230 + func_dirname_and_basename ()\
17231 + {\
17232 + \    case ${1} in\
17233 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17234 + \      *  ) func_dirname_result="${3}" ;;\
17235 + \    esac\
17236 + \    func_basename_result="${1##*/}"\
17237 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17238 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17239 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17240 + test 0 -eq $? || _lt_function_replace_fail=:
17241 +
17242 +
17243 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17244 + func_stripname ()\
17245 + {\
17246 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17247 + \    # positional parameters, so assign one to ordinary parameter first.\
17248 + \    func_stripname_result=${3}\
17249 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17250 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17251 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17252 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17253 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17254 + test 0 -eq $? || _lt_function_replace_fail=:
17255 +
17256 +
17257 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17258 + func_split_long_opt ()\
17259 + {\
17260 + \    func_split_long_opt_name=${1%%=*}\
17261 + \    func_split_long_opt_arg=${1#*=}\
17262 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17263 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17264 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17265 + test 0 -eq $? || _lt_function_replace_fail=:
17266 +
17267 +
17268 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17269 + func_split_short_opt ()\
17270 + {\
17271 + \    func_split_short_opt_arg=${1#??}\
17272 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17273 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17274 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17275 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17276 + test 0 -eq $? || _lt_function_replace_fail=:
17277 +
17278 +
17279 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17280 + func_lo2o ()\
17281 + {\
17282 + \    case ${1} in\
17283 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17284 + \      *)    func_lo2o_result=${1} ;;\
17285 + \    esac\
17286 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17287 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17288 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17289 + test 0 -eq $? || _lt_function_replace_fail=:
17290 +
17291 +
17292 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17293 + func_xform ()\
17294 + {\
17295 +    func_xform_result=${1%.*}.lo\
17296 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17297 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17298 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17299 + test 0 -eq $? || _lt_function_replace_fail=:
17300 +
17301 +
17302 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17303 + func_arith ()\
17304 + {\
17305 +    func_arith_result=$(( $* ))\
17306 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17307 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17308 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17309 + test 0 -eq $? || _lt_function_replace_fail=:
17310 +
17311 +
17312 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17313 + func_len ()\
17314 + {\
17315 +    func_len_result=${#1}\
17316 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17317 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17318 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17319 + test 0 -eq $? || _lt_function_replace_fail=:
17320 +
17321 + fi
17322 +
17323 + if test x"$lt_shell_append" = xyes; then
17324 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17325 + func_append ()\
17326 + {\
17327 +    eval "${1}+=\\${2}"\
17328 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17329 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17330 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17331 + test 0 -eq $? || _lt_function_replace_fail=:
17332 +
17333 +
17334 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17335 + func_append_quoted ()\
17336 + {\
17337 + \    func_quote_for_eval "${2}"\
17338 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17339 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17340 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17341 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17342 + test 0 -eq $? || _lt_function_replace_fail=:
17343 +
17344 +
17345 +  # Save a `func_append' function call where possible by direct use of '+='
17346 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17347 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17348 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17349 +  test 0 -eq $? || _lt_function_replace_fail=:
17350 + else
17351 +  # Save a `func_append' function call even when '+=' is not available
17352 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17353 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17354 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17355 +  test 0 -eq $? || _lt_function_replace_fail=:
17356 + fi
17357 +
17358 + if test x"$_lt_function_replace_fail" = x":"; then
17359 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17360 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17361 + fi
17362  
16034  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16035    || (rm -f "$cfgfile"; exit 1)
17363  
17364 <  mv -f "$cfgfile" "$ofile" ||
17364 >   mv -f "$cfgfile" "$ofile" ||
17365      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17366    chmod +x "$ofile"
17367  
# Line 16049 | Line 17376 | _ACEOF
17376   ac_clean_files=$ac_clean_files_save
17377  
17378   test $ac_write_fail = 0 ||
17379 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17379 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17380  
17381  
17382   # configure is writing to config.log, and then calls config.status.
# Line 16070 | Line 17397 | if test "$no_create" != yes; then
17397    exec 5>>config.log
17398    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17399    # would make configure fail if this is the last instruction.
17400 <  $ac_cs_success || as_fn_exit $?
16074 < fi
16075 <
16076 < #
16077 < # CONFIG_SUBDIRS section.
16078 < #
16079 < if test "$no_recursion" != yes; then
16080 <
16081 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16082 <  # so they do not pile up.
16083 <  ac_sub_configure_args=
16084 <  ac_prev=
16085 <  eval "set x $ac_configure_args"
16086 <  shift
16087 <  for ac_arg
16088 <  do
16089 <    if test -n "$ac_prev"; then
16090 <      ac_prev=
16091 <      continue
16092 <    fi
16093 <    case $ac_arg in
16094 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16095 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16096 <      ac_prev=cache_file ;;
16097 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16098 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16099 <    | --c=*)
16100 <      ;;
16101 <    --config-cache | -C)
16102 <      ;;
16103 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16104 <      ac_prev=srcdir ;;
16105 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16106 <      ;;
16107 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16108 <      ac_prev=prefix ;;
16109 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16110 <      ;;
16111 <    --disable-option-checking)
16112 <      ;;
16113 <    *)
16114 <      case $ac_arg in
16115 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16116 <      esac
16117 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16118 <    esac
16119 <  done
16120 <
16121 <  # Always prepend --prefix to ensure using the same prefix
16122 <  # in subdir configurations.
16123 <  ac_arg="--prefix=$prefix"
16124 <  case $ac_arg in
16125 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16126 <  esac
16127 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16128 <
16129 <  # Pass --silent
16130 <  if test "$silent" = yes; then
16131 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16132 <  fi
16133 <
16134 <  # Always prepend --disable-option-checking to silence warnings, since
16135 <  # different subdirs can have different --enable and --with options.
16136 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16137 <
16138 <  ac_popdir=`pwd`
16139 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16140 <
16141 <    # Do not complain, so a configure script can configure whichever
16142 <    # parts of a large source tree are present.
16143 <    test -d "$srcdir/$ac_dir" || continue
16144 <
16145 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16146 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16147 <    $as_echo "$ac_msg" >&6
16148 <    as_dir="$ac_dir"; as_fn_mkdir_p
16149 <    ac_builddir=.
16150 <
16151 < case "$ac_dir" in
16152 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16153 < *)
16154 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16155 <  # A ".." for each directory in $ac_dir_suffix.
16156 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16157 <  case $ac_top_builddir_sub in
16158 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16159 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16160 <  esac ;;
16161 < esac
16162 < ac_abs_top_builddir=$ac_pwd
16163 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16164 < # for backward compatibility:
16165 < ac_top_builddir=$ac_top_build_prefix
16166 <
16167 < case $srcdir in
16168 <  .)  # We are building in place.
16169 <    ac_srcdir=.
16170 <    ac_top_srcdir=$ac_top_builddir_sub
16171 <    ac_abs_top_srcdir=$ac_pwd ;;
16172 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16173 <    ac_srcdir=$srcdir$ac_dir_suffix;
16174 <    ac_top_srcdir=$srcdir
16175 <    ac_abs_top_srcdir=$srcdir ;;
16176 <  *) # Relative name.
16177 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16178 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16179 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16180 < esac
16181 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16182 <
16183 <
16184 <    cd "$ac_dir"
16185 <
16186 <    # Check for guested configure; otherwise get Cygnus style configure.
16187 <    if test -f "$ac_srcdir/configure.gnu"; then
16188 <      ac_sub_configure=$ac_srcdir/configure.gnu
16189 <    elif test -f "$ac_srcdir/configure"; then
16190 <      ac_sub_configure=$ac_srcdir/configure
16191 <    elif test -f "$ac_srcdir/configure.in"; then
16192 <      # This should be Cygnus configure.
16193 <      ac_sub_configure=$ac_aux_dir/configure
16194 <    else
16195 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16196 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16197 <      ac_sub_configure=
16198 <    fi
16199 <
16200 <    # The recursion is here.
16201 <    if test -n "$ac_sub_configure"; then
16202 <      # Make the cache file name correct relative to the subdirectory.
16203 <      case $cache_file in
16204 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16205 <      *) # Relative name.
16206 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16207 <      esac
16208 <
16209 <      { $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
16210 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16211 <      # The eval makes quoting arguments work.
16212 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16213 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16214 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16215 <    fi
16216 <
16217 <    cd "$ac_popdir"
16218 <  done
17400 >  $ac_cs_success || as_fn_exit 1
17401   fi
17402   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17403    { $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 1015 by michael, Sun Oct 25 00:08:06 2009 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 2318 by michael, Fri Jun 21 17:47:52 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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